From owner-freebsd-hardware@FreeBSD.ORG Fri Jan 14 18:06:03 2005 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9869416A4CE for ; Fri, 14 Jan 2005 18:06:03 +0000 (GMT) Received: from mail14.speakeasy.net (mail22.sea5.speakeasy.net [69.17.117.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46E9F43D46 for ; Fri, 14 Jan 2005 18:06:03 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 14722 invoked from network); 14 Jan 2005 18:06:02 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 14 Jan 2005 18:06:02 -0000 Received: from [10.50.40.231] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id j0EI5ruK042325; Fri, 14 Jan 2005 13:05:58 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-hardware@FreeBSD.org Date: Fri, 14 Jan 2005 11:15:14 -0500 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200501141115.14331.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: daniel.hyde@gmail.com cc: Eirik Finne Subject: Re: Mouse wheel on ums0 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 18:06:03 -0000 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 > >Reply-To: Daniel Hyde > >To: Eirik Finne > >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 > > > > 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org