From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 19:29:49 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 940821065679 for ; Wed, 16 Dec 2009 19:29:49 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id F17088FC0A for ; Wed, 16 Dec 2009 19:29:48 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Vaw4Q7e5J8ItMhGGNY0A:9 a=TUFzmHisg9w2JSqaf8efRI4Cz9wA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1361384852; Wed, 16 Dec 2009 20:29:47 +0100 From: Hans Petter Selasky To: me@jackal.in Date: Wed, 16 Dec 2009 20:31:42 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912161844.23094.hselasky@c2i.net> <200912162138.51219.me@jackal.in> In-Reply-To: <200912162138.51219.me@jackal.in> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912162031.43873.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 19:29:49 -0000 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: at usbus0 > ums0: on usbus0 > ums0: 16 buttons and [XYZ] coordinates ID=0 > uhid0: on usbus0 > > dell# usbconfig -u 0 -a 2 list > ugen0.2: 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> > > I hope, usbconfig commands are correct. Yes, the commands are correct. Does your mouse have 16 buttons? --HPS