Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2012 17:06:16 +0200
From:      Mel Flynn <rflynn@acsalaska.net>
To:        freebsd-x11@freebsd.org
Subject:   Re: Odd mouse issue with new xorg-server
Message-ID:  <4FC8DA68.4020702@acsalaska.net>
In-Reply-To: <CAN6yY1sGJV4sbjbJZ_qwhwhmGewnb_AuAKkDCwCvTJAAU1vPHw@mail.gmail.com>
References:  <CAN6yY1sGJV4sbjbJZ_qwhwhmGewnb_AuAKkDCwCvTJAAU1vPHw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080509080802040804000307
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On 26-4-2012 4:30, Kevin Oberman wrote:

> Any idea what is going on? It is OK on this system as it is fine with
> no config file, but my two-headed work system is likely to require a
> config, so I am worried about hitting it there.

I think I know what's going on.
Attached is startup diff for working and non-working version. The key
difference being what Xorg gets offered first. if it's the sysmouse,
then things work fine. If hald presents psm0 first, things won't work.
Which is also why shutting off moused makes things always work.

I have to test it (and lookup syntax and so on), but I suspect if you
hide psm0 from hald through fdi/policy mechanism and only expose
sysmouse, then the problem will be worked around.

-- 
Mel

--------------080509080802040804000307
Content-Type: text/plain; charset=windows-1252;
 name="Xorg.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="Xorg.diff"

--- /var/log/Xorg.0.log	2012-06-01 08:20:42.000000000 +0200
+++ /var/log/Xorg.0.log.old	2012-05-31 23:21:42.000000000 +0200
@@ -12,7 +12,7 @@
 Markers: (--) probed, (**) from config file, (==) default setting,
 	(++) from command line, (!!) notice, (II) informational,
 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
-(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun  1 08:20:09 2012
+(==) Log file: "/var/log/Xorg.0.log", Time: Thu May 31 15:22:34 2012
 (==) Using config file: "/etc/X11/xorg.conf"
 (==) ServerLayout "X.org Configured"
 (**) |-->Screen "Screen0" (0)
@@ -579,14 +579,18 @@
 	Module class: X.Org XInput Driver
 	ABI class: X.Org XInput driver, version 7.0
 (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"
+(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/psm0"
-(EE) xf86OpenSerial: Cannot open device /dev/psm0
-	Device busy.
-(EE) PS/2 Mouse: cannot open input device
+(**) 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) UnloadModule: "kbd"
 (II) UnloadModule: "mouse"
-(EE) PreInit returned NULL for "PS/2 Mouse"
-(EE) config/hal: NewInputDeviceRequest failed (8)

--------------080509080802040804000307--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC8DA68.4020702>