From owner-freebsd-stable@FreeBSD.ORG Sun Mar 17 22:25:15 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A6BCF490 for ; Sun, 17 Mar 2013 22:25:15 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) by mx1.freebsd.org (Postfix) with ESMTP id 6C4A46CE for ; Sun, 17 Mar 2013 22:25:15 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id r2HMOg25013615; Sun, 17 Mar 2013 14:24:46 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201303172224.r2HMOg25013615@gw.catspoiler.org> Date: Sun, 17 Mar 2013 15:24:42 -0700 (PDT) From: Don Lewis Subject: =?iso-2022-jp?Q?Re:_What_is_the_Right_Way(=1B$(D"o=1B(B)_to_run?= X? To: andrnils@gmail.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: darius@dons.net.au, freebsd-stable@FreeBSD.org, fullermd@over-yonder.net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Mar 2013 22:25:15 -0000 On 17 Mar, Andreas Nilsson wrote: > On Sun, Mar 17, 2013 at 1:58 PM, Daniel O'Connor wrote: > >> >> On 17/03/2013, at 23:08, "Matthew D. Fuller" >> wrote: >> > However, some time back, X _did_ start being all stupid about finding >> > the mouse for me. Un/re-plugging it (USB) after starting X made it >> > show up working, but that's annoying and stupid (and not an option on >> > other systems with e.g. PS/2 meece). I wound up sticking the "other >> > half" of that oft-cargo-culted incantation: >> > >> > Section "ServerFlags" >> > Option "AutoAddDevices" "off" >> > EndSection >> > >> > in my config, and it's worked OK since. 's probably worth a try... >> >> >> Yeah, that does work too. It's just annoying it's necessary :) >> > > Sure is. One thing that also comes to mind is moused. Do you have it > running? I seem to remember having weird troubles when moused wasn't > running. I ran into this problem a while back. The problem turned out to be that moused was exclusively opening /dev/psm0 before hald so that hald was unable open it. This happened first on my laptop, and I just disabled moused and everything seemed to work except that the trackpad no longer worked in console mode. I tried the same thing later when my primary desktop broke and it sort of worked. The problem that I ran into was that Xorg would occasionally wedge and spam its log with messages about problems with detecting the mouse protocol. Even worse, I found that my KVM switch would very reliably trigger this problem. After much hair pulling, I eventually re-enabled moused and added this to xorg.conf: Option "AllowEmptyInput" "Off" so that it would obey this mouse configuration section: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection I don't recall if I disabled hald and changed xorg.conf to point to /dev/psm0 before I re-enabled moused. I do know that hald is currently disabled and nothing obvious seems to be broken in Gnome. I haven't had any issues with AllowEmptyInput so I never bothered to switch over to the preferred AutoAddDevices.