From owner-freebsd-x11@FreeBSD.ORG Thu Oct 11 11:49:52 2012 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D94F64A for ; Thu, 11 Oct 2012 11:49:52 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 648D88FC14 for ; Thu, 11 Oct 2012 11:49:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9BBnqbo062980 for ; Thu, 11 Oct 2012 11:49:52 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9BBnqRw062979; Thu, 11 Oct 2012 11:49:52 GMT (envelope-from gnats) Date: Thu, 11 Oct 2012 11:49:52 GMT Message-Id: <201210111149.q9BBnqRw062979@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org Cc: From: J B Subject: Re: ports/171433: x11/xorg: xorg hal: mouse input devices psm0 and usm0 not correctly recognized (" No Device specified, looking for one" ) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: J B List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2012 11:49:52 -0000 The following reply was made to PR ports/171433; it has been noted by GNATS. From: J B To: bug-followup@FreeBSD.org, Martin.Birgmeier@aon.at Cc: Subject: Re: ports/171433: x11/xorg: xorg hal: mouse input devices psm0 and usm0 not correctly recognized ("No Device specified, looking for one") Date: Thu, 11 Oct 2012 09:58:25 +0200 I have Lenovo ThinkPad with built-in PS/2 mouse (stick) and also plug in external USB mouse. $ lshal |egrep 'psm0|ums0' freebsd.device_file = '/dev/psm0' (string) input.device = '/dev/psm0' (string) freebsd.device_file = '/dev/ums0' (string) usb.freebsd.devname = 'ums0' (string) $ ps auxwww |grep mouse root 10274 0.5 0.1 9608 1532 ?? Ss 12:35AM 0:10.88 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid root 10153 0.0 0.2 12248 3496 ?? I 12:34AM 0:00.28 hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy) root 10293 0.0 0.2 12248 3488 ?? I 12:35AM 0:00.01 hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy) Case 1: both mouses: PS/2, USB plugged in $ startx PS/2 mouse becomes disabled, USB mouse seems to work (movable), but there is a problem with responses to mouse clicks and commands in xterm (delay in appearance of typed input chars, missing output from commands). $ cat /var/log/Xorg.0.log X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 9.1-RC1 i386 Current Operating System: FreeBSD localhost.localdomain 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct 2 17:11:45 UTC 2012 root@obrian.cse.buffalo.edu:/usr/ob j/usr/src/sys/GENERIC i386 Build Date: 03 October 2012 10:23:17PM ... (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 ... (WW) PS/2 Mouse: No Device specified, looking for one... (II) PS/2 Mouse: Setting Device option to "/dev/sysmouse" (--) PS/2 Mouse: Device: "/dev/sysmouse" (==) PS/2 Mouse: Protocol: "Auto" (**) PS/2 Mouse: always reports core events (**) Option "Device" "/dev/sysmouse" (==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50 (**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5 (**) PS/2 Mouse: Buttons: 9 (II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE) (**) PS/2 Mouse: (accel) keeping acceleration scheme 1 (**) PS/2 Mouse: (accel) acceleration profile 0 (II) PS/2 Mouse: SetupAuto: hw.iftype is 4, hw.model is 0 (II) PS/2 Mouse: SetupAuto: protocol is SysMouse (II) config/hal: Adding input device Optical Mouse (WW) Optical Mouse: No Device specified, looking for one... (II) Optical Mouse: Setting Device option to "/dev/sysmouse" (--) Optical Mouse: Device: "/dev/sysmouse" (==) Optical Mouse: Protocol: "Auto" (**) Optical Mouse: always reports core events (**) Option "Device" "/dev/sysmouse" (==) Optical Mouse: Emulate3Buttons, Emulate3Timeout: 50 (**) Optical Mouse: ZAxisMapping: buttons 4 and 5 (**) Optical Mouse: Buttons: 9 (II) XINPUT: Adding extended input device "Optical Mouse" (type: MOUSE) (**) Optical Mouse: (accel) keeping acceleration scheme 1 (**) Optical Mouse: (accel) acceleration profile 0 (II) Optical Mouse: SetupAuto: hw.iftype is 4, hw.model is 0 (II) Optical Mouse: SetupAuto: protocol is SysMouse (II) config/hal: Adding input device AT Keyboard ... Case 2: mouses: PS/2 only (note: USB mouse will be plugged in after startx). $ startx PS/2 mouse works. $ cat /var/log/Xorg.0.log ... (WW) PS/2 Mouse: No Device specified, looking for one... (II) PS/2 Mouse: Setting Device option to "/dev/psm0" (--) PS/2 Mouse: Device: "/dev/psm0" (==) PS/2 Mouse: Protocol: "Auto" (**) PS/2 Mouse: always reports core events (**) Option "Device" "/dev/psm0" (==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50 (**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5 (**) PS/2 Mouse: Buttons: 9 (II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE) (**) PS/2 Mouse: (accel) keeping acceleration scheme 1 (**) PS/2 Mouse: (accel) acceleration profile 0 (II) PS/2 Mouse: SetupAuto: hw.iftype is 3, hw.model is 0 (II) PS/2 Mouse: SetupAuto: protocol is PS/2 (II) PS/2 Mouse: ps2EnableDataReporting: succeeded (II) config/hal: Adding input device AT Keyboard ... $ USB mouse plugged in. $ cat /var/log/Xorg.0.log ... (II) config/hal: Adding input device Optical Mouse (WW) Optical Mouse: No Device specified, looking for one... (II) Optical Mouse: Setting Device option to "/dev/sysmouse" (--) Optical Mouse: Device: "/dev/sysmouse" (==) Optical Mouse: Protocol: "Auto" (**) Optical Mouse: always reports core events (**) Option "Device" "/dev/sysmouse" (==) Optical Mouse: Emulate3Buttons, Emulate3Timeout: 50 (**) Optical Mouse: ZAxisMapping: buttons 4 and 5 (**) Optical Mouse: Buttons: 9 (II) XINPUT: Adding extended input device "Optical Mouse" (type: MOUSE) (**) Optical Mouse: (accel) keeping acceleration scheme 1 (**) Optical Mouse: (accel) acceleration profile 0 (II) Optical Mouse: SetupAuto: hw.iftype is 4, hw.model is 0 (II) Optical Mouse: SetupAuto: protocol is SysMouse $ Both mouses work.