Date: Fri, 14 Jan 2005 11:15:14 -0500 From: John Baldwin <jhb@FreeBSD.org> To: freebsd-hardware@FreeBSD.org Cc: Eirik Finne <eiriks_finne@hotmail.com> Subject: Re: Mouse wheel on ums0 Message-ID: <200501141115.14331.jhb@FreeBSD.org> In-Reply-To: <BAY16-F26F70C2BE9B9F1EC80B31DF58B0@phx.gbl> References: <BAY16-F26F70C2BE9B9F1EC80B31DF58B0@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 14 January 2005 02:21 am, Eirik Finne wrote: > Hi again! > > Well as I understand it a version of moused must have started running on > /dev/ums0 before the entries in /etc/rc.conf were read. Since moused > reports that the device is busy. ps also shows a version of moused running > on /dev/ums0 but without the -z 4 flag I specified in /etc/rc.conf. > I have a feeling there is a very easy answer to this problem, but I just > can't figure it out :( This is fixed in -HEAD. The moused that 5.3 starts up is started by usbd from usbd.conf. Just edit usbd.conf to add '-z 4' to the moused line in the section that invokes moused. That's what I did before 6.0 changed usb mice to use /etc/rc.d/moused. > Have a nice weekend! > > Eirik > > >From: Daniel Hyde <daniel.hyde@gmail.com> > >Reply-To: Daniel Hyde <daniel.hyde@gmail.com> > >To: Eirik Finne <eiriks_finne@hotmail.com> > >CC: freebsd-hardware@freebsd.org > >Subject: Re: Mouse wheel on ums0 > >Date: Fri, 14 Jan 2005 16:38:54 +1100 > > > >My mouse detects the same as yours. My XF86Config contains the same > >lines as yours, with the addition of the line: > > > > Option "ZAxisMapping" "4 5" > > > >I don't actually use moused myself; but I've noticed when I start X11 > >that I need to yank the mouse out and plug it back in for it to be > >detected. That said, I am running 4.9 on this system (hence xf86 > >rather than x.org), so this might be entirely usb's fault. > > > >On Fri, 14 Jan 2005 04:33:00 +0000, Eirik Finne > > > ><eiriks_finne@hotmail.com> wrote: > > > Hi, > > > > > > I'm running 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC > > > >2004 > > > > > I got a problem configuring my usb mouse. I have the following in > > > >rc.conf: > > > moused_port="/dev/ums0" > > > moused_type="auto" > > > moused_enable="YES" > > > moused_flags="-z 4" > > > usbd_enable="YES" > > > > > > At boot moused gives the following: could not open ums0 device busy > > > If I put moused_port/dev/psm0 instead both the psm0 and ums0 works but > > > >not > > > > > the mouse wheel. > > > > > > dmesg has the following to say about ums0: ums0: Logitech Optical USB > > > >Mouse, > > > > > rev 2.00/3.40, addr 2, iclass 3/1 > > > ums0: 3 buttons and Z dir. > > > > > > My xorg.conf has the following:Section "InputDevice" > > > Identifier "Mouse0" > > > Driver "mouse" > > > Option "Protocol" "auto" > > > Option "Device" "/dev/sysmouse" > > > Option "Buttons" "5" > > > EndSection > > > > > > If I kill the moused that is controlling ums0 and run moused -p > > > >/dev/ums0 -z > > > > > 4 the wheel works like it should, but it is a bit inconvinent to say > > > the least. > > > Can anyone tell me how to get it working from boot? > > > > > > Best Regards! > > > > > > Eirik > > > > > > _________________________________________________________________ > > > MSN Hotmail http://www.hotmail.com Med markedets beste SPAM-filter. > > > >Gratis! > > > > > _______________________________________________ > > > freebsd-hardware@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > > > To unsubscribe, send any mail to > > > >"freebsd-hardware-unsubscribe@freebsd.org" > > > >_______________________________________________ > >freebsd-hardware@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > >To unsubscribe, send any mail to > > "freebsd-hardware-unsubscribe@freebsd.org" > > _________________________________________________________________ > MSN Hotmail http://www.hotmail.com Med markedets beste SPAM-filter. Gratis! > > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org" -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501141115.14331.jhb>