Date: Wed, 07 Dec 2005 22:22:30 +0100 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: freebsd-stable@freebsd.org Subject: Re: Adventurous fix for wheel mouse not working in FreeBSD 6.0 Message-ID: <20051207222230.6691634e.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20051207092948.GB9312@kierun.org> References: <120720050703.13264.43968936000DCA87000033D0220076106404040A9C9C9A9D9902080106@comcast.net> <20051207092948.GB9312@kierun.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 07 Dec 2005 09:29:49 +0000 Yann Golanski <yann@kierun.org> wrote: Interesting discussion. Does moused do scrolling in the console? I thought I had used that feature, but now I can't get it to work. Anyway, more info below. > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5" > option "Buttons" "6" > EndSection On my old machine (running 5.4-stable) the above (minus the ZAxisMapping line) gives me scrolling in X (Xorg) as long as I have moused_flags="-z4" in /etc/rc.conf This works with both a PS/2 connected mouse, and one connected with USB. The mice in question are: psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model IntelliMouse Explorer, device ID 4 ums0: IBM Corporation product 0x310b, rev 2.00/1.10, addr 3, iclass 3/1 ums0: 3 buttons and Z dir. and I do start moused manually for the usb mouse, like this: moused -z4 -p /dev/ums0 -I /var/run/moused.ums0.pid (the reason for this is that 5.4 doesn't contain an entry in /etc/devd.conf to start moused when usb mice attaches) this box runs the following: root@kg-work# uname -a FreeBSD kg-work.kg4.no 5.4-STABLE FreeBSD 5.4-STABLE #3: Fri Jul 8 14:26:44 CEST 2005 root@kg-work.kg4.no:/usr/obj/usr/src/sys/SS51G i386 root@kg-work# pv | grep xorg-6 xorg-6.8.2 = up-to-date with port root@kg-work# pv | grep xorg-server xorg-server-6.8.2_7 = up-to-date with port Then I tested on my amd64 machine, running FreeBSD 6.0-RELEASE: (Note: I use the same physical mice!) root@kg-quiet# dmesg | grep psm psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 root@kg-quiet# dmesg | grep ums ums0: vendor 0x04b3 product 0x310b, rev 2.00/1.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. This machine has the complete InputDevice section in /etc/X11/xorg.conf, like quoted above. And scrolling does NOT work. The amd64 machine runs: root@kg-quiet# uname -a FreeBSD kg-quiet.kg4.no 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 2 19:07:38 UTC 2005 root@rat.samsco.home:/usr/obj/usr/src/sys/GENERIC amd64 root@kg-quiet# pv | grep xorg-6 xorg-6.8.2 = up-to-date with port root@kg-quiet# pv | grep xorg-server xorg-server-6.8.99.903 = up-to-date with port So I test my laptop, which runs 6.0-stable: root@kg-jobbpc3# uname -a FreeBSD kg-jobbpc3.kg4.no 6.0-STABLE FreeBSD 6.0-STABLE #0: Sun Nov 6 01:33:12 CET 2005 root@kg-jobbpc3.kg4.no:/storage/usr/obj/storage/usr/src/sys/GENERIC i386 This one is a ThinkPad T41, so it has a Synaptics, and in addition I used the same usb mouse as with the others: root@kg-jobbpc3# dmesg | grep psm psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 root@kg-jobbpc3# dmesg | grep ums0 ums0: vendor 0x04b3 product 0x310b, rev 2.00/1.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. and scrolling does NOT work here either. The laptop runs root@kg-jobbpc3# pv | grep xorg-6 xorg-6.8.2 = up-to-date with port root@kg-jobbpc3# pv | grep xorg-server xorg-server-6.8.2_6 < needs updating (port has 6.8.2_7) I know that this report is a bit unorganzied, but doesn't the fact that my 5.4-stable machine runs a newer version of the xorg-server port than my 6.0-stable laptop indicate that the fault might be somewhere else than in the xorg-server? -- Regards, Torfinn Ingolfsen, Norway
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051207222230.6691634e.torfinn.ingolfsen>