From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 2 23:58:55 2008 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id A43551065671; Wed, 2 Apr 2008 23:58:55 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-x11@FreeBSD.org Date: Wed, 2 Apr 2008 19:58:44 -0400 User-Agent: KMail/1.6.2 References: <200804020055.m320tEKh075558@freefall.freebsd.org> <200804021717.52043.jkim@FreeBSD.org> <200804021946.43074.jkim@FreeBSD.org> In-Reply-To: <200804021946.43074.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200804021958.48128.jkim@FreeBSD.org> Cc: Warren Block , freebsd-ports-bugs@freebsd.org Subject: Re: ports/122363: x11-servers/xorg-server 1.4_7, 1 locks up on mouse detection X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 23:58:55 -0000 On Wednesday 02 April 2008 07:46 pm, Jung-uk Kim wrote: > On Wednesday 02 April 2008 05:17 pm, Jung-uk Kim wrote: > > On Wednesday 02 April 2008 04:29 pm, Warren Block wrote: > > > On Wed, 2 Apr 2008, Jung-uk Kim wrote: > > > > Nothing seems obviously wrong to me. :-( In fact, I was not > > > > able to replicate the problem, i.e., hal, xorg-server, USB > > > > mouse, PS/2 mouse, and moused on /dev/ums0. Is moused > > > > running on /dev/ums0 and/or /dev/psm0? > > > > > > > > ps -p `pgrep -x moused` > > > > > > > > If not, please add the following line in /etc/rc.conf and > > > > reboot: > > > > > > > > moused_enable="YES" > > > > > > moused_enable was "NO", and enabling it fixes the problem, > > > allowing xorg-server to continue startup. > > > > > > The new requirement for moused should be mentioned in > > > /usr/ports/UPDATING. > > > > > > The combination of moused disabled, hald, and xorg-server 1.4_7 > > > stops/locks on mouse detection and prevents keyboard console > > > switching. That seems like a bug. > > > > > > New xorg log XINPUT section: > > > > > > (II) evaluating device (Keyboard0) > > > (II) XINPUT: Adding extended input device "Keyboard0" (type: > > > KEYBOARD) (II) evaluating device (Mouse0) > > > (II) XINPUT: Adding extended input device "Mouse0" (type: > > > MOUSE) (II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0 > > > (II) Mouse0: SetupAuto: protocol is SysMouse, level is 1 > > > ...and continues on, unlike the earlier log. > > > > Good. If you still want to turn off moused on /dev/psm0, you may > > try to specify mouse protocol in /etc/xorg.conf because your > > mouse does not work with PS/2 protocol and auto-detection does > > not work for you. > > Can you test the attached patch without moused? The patch was eaten by mail server. :-( http://people.freebsd.org/~jkim/xorg-server.diff Jung-uk Kim