From owner-freebsd-stable@FreeBSD.ORG Wed Dec 7 21:23:02 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE12116A41F for ; Wed, 7 Dec 2005 21:23:02 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F59443D98 for ; Wed, 7 Dec 2005 21:22:40 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IR5000KQCWOV800@osl1smout1.broadpark.no> for freebsd-stable@freebsd.org; Wed, 07 Dec 2005 22:26:48 +0100 (CET) Received: from kg-work.kg4.no ([80.203.92.30]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0IR5000BBCU45K70@osl1sminn1.broadpark.no> for freebsd-stable@freebsd.org; Wed, 07 Dec 2005 22:25:16 +0100 (CET) Date: Wed, 07 Dec 2005 22:22:30 +0100 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH In-reply-to: <20051207092948.GB9312@kierun.org> To: freebsd-stable@freebsd.org Message-id: <20051207222230.6691634e.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <120720050703.13264.43968936000DCA87000033D0220076106404040A9C9C9A9D9902080106@comcast.net> <20051207092948.GB9312@kierun.org> Subject: Re: Adventurous fix for wheel mouse not working in FreeBSD 6.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2005 21:23:03 -0000 On Wed, 07 Dec 2005 09:29:49 +0000 Yann Golanski 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: 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: 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: 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