Date: Wed, 16 Dec 2009 20:31:42 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: me@jackal.in Cc: freebsd-usb@freebsd.org Subject: Re: logitech vx nano mouse buttons Message-ID: <200912162031.43873.hselasky@c2i.net> In-Reply-To: <200912162138.51219.me@jackal.in> References: <200912161556.52923.me@jackal.in> <200912161844.23094.hselasky@c2i.net> <200912162138.51219.me@jackal.in>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 16 December 2009 19:38:50 jackal wrote: > Hello, > > On Wednesday 16 December 2009 20:44:21 you wrote: > > On Wednesday 16 December 2009 13:56:52 jackal wrote: > > > Hello, > > > > > > I'm using logitech vx nano mouse at freebsd 8-stable. > > > Everything works fine, except wheel left/right buttons. > > > `cat /dev/ums0' doesn't show anything when pressing this buttons. Any > > > other buttons works fine, including navigation buttons. > > > Is there a way to get this buttons work? > > > > Hi, > > > > What is the output from dmesg? > > > > We would need the HID descriptor for your USB mouse. > > > > There should be some examples if you search the freebsd-usb archive on > > dumping the HID descriptor using usbconfig. > > > > --HPS > > ugen0.2: <Logitech> at usbus0 > ums0: <Logitech USB Receiver, class 0/0, rev 2.00/5.00, addr 2> on usbus0 > ums0: 16 buttons and [XYZ] coordinates ID=0 > uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/5.00, addr 2> on usbus0 > > dell# usbconfig -u 0 -a 2 list > ugen0.2: <USB Receiver Logitech> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON > > dell# usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 0 0x100 > REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 > 0x01 0x29 0x10 0x15 0x00 0x25 0x01 0x95 0x10 0x75 0x01 0x81 0x02 0x05 0x01 > 0x16 0x01 0x80 0x26 0xff 0x7f 0x75 0x10 0x95 0x02 0x09 0x30 0x09 0x31 0x81 > 0x06 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x01 0x09 0x38 0x81 0x06 0x05 0x0c > 0x0a 0x38 0x02 0x95 0x01 0x81 0x06 0xc0 0xc0><)%u&u01%u88> > > dell# usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 1 0x100 > REQUEST = <0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x75 0x10 0x95 0x02 0x15 > 0x01 0x26 0x8c 0x02 0x19 0x01 0x2a 0x8c 0x02 0x81 0x00 0xc0 0x06 0x00 0xff > 0x09 0x01 0xa1 0x01 0x85 0x10 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff 0x00 > 0x09 0x01 0x81 0x00 0x09 0x01 0x91 0x00 0xc0 0x06 0x00 0xff 0x09 0x02 0xa1 > 0x01 0x85 0x11 0x75 0x08 0x95 0x13 0x15 0x00 0x26 0xff 0x00 0x09 0x02 0x81 > 0x00 0x09 0x02 0x91 0x00 0xc0><u&*u&u&> > > I hope, usbconfig commands are correct. Yes, the commands are correct. Does your mouse have 16 buttons? --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912162031.43873.hselasky>