From owner-freebsd-questions@FreeBSD.ORG Sun May 15 09:37:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 898A4106566C for ; Sun, 15 May 2011 09:37:48 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from mail.team1internet.com (mail.team1internet.com [216.110.13.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5C4578FC0C for ; Sun, 15 May 2011 09:37:48 +0000 (UTC) Received: from larseighner.com (unknown [216.110.13.88]) by mail.team1internet.com (Postfix) with SMTP id CF92A16B4A5; Sun, 15 May 2011 04:11:18 -0500 (CDT) Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Sun, 15 May 2011 04:10:23 -0500 (CDT) Date: Sun, 15 May 2011 04:10:20 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@noos.6dollardialup.com To: Rob Clark In-Reply-To: <117637.44743.qm@web111903.mail.gq1.yahoo.com> Message-ID: References: <117637.44743.qm@web111903.mail.gq1.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="21774345-1633320634-1305450620=:13285" Cc: freebsd-questions@freebsd.org Subject: Re: No keyboard after ports update, 2x moused_enable="YES" culprit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2011 09:37:48 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --21774345-1633320634-1305450620=:13285 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 14 May 2011, Rob Clark wrote: > After restarting X, prior to any reboot, I lost the mouse in X. > So I figured a reboot was in order. This is almost certainly HAL. If you do not know you need HAL for something, mark the hal and hal-info ports FORBIDDEN (set FORBIDDEN to any value in the Makefiles) whenever you update your ports tree. Grep /var/db/= ports for hal and then remove the with hal option in the affected ports using mak= e config. Force reinstall the affected ports. Try to pkg_delete hal, to che= ck for dependencies you haven't resolved. When all the dependencies are removed, then remove hal. > Some digging around revealed that I had the following line in /etc/rc.con= f > twice: moused_enable=3D"YES" > > I removed one of these (which I guess was the culprit) and left one as it > should have been, then all was well.=A0 Keyboard found at reboot, no furt= her > issues -- mouse was available in X too. > > I have no idea why I had=A0 moused_enable=3D"YES"=A0 in there twice, whet= her it > was from an old or recent rc.conf edit, but it clearly seems to have been > causing the issue. This cannot be. Once or a million times should have exactly the same effect. Commonly ports, people, and sysinstall just add stuff to the end o= f this file. They add everything they know they need because only the last o= f similar entries has effect. rc.conf can become unwieldly over time because of this. It is safe to delete duplicate entries, but that should not affec= t the result. When the same value is assigned differing values only the last is effective. The defaults are in /etc/defaults/rc.conf which should never be edited. --=20 Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 --21774345-1633320634-1305450620=:13285--