From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 20:54:23 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 E7F151065FF7 for ; Wed, 16 Dec 2009 20:54:22 +0000 (UTC) (envelope-from me@jackal.in) Received: from mail.doorsense.net (server.doorsense.net [89.108.95.10]) by mx1.freebsd.org (Postfix) with ESMTP id 978B58FC22 for ; Wed, 16 Dec 2009 20:54:22 +0000 (UTC) Received: from [62.182.69.109] (helo=dell.jackal.in) by mail.doorsense.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NL0t1-000CQx-U3; Wed, 16 Dec 2009 23:54:21 +0300 From: jackal To: Hans Petter Selasky , freebsd-usb@freebsd.org Date: Wed, 16 Dec 2009 23:53:46 +0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912162138.51219.me@jackal.in> <200912162031.43873.hselasky@c2i.net> In-Reply-To: <200912162031.43873.hselasky@c2i.net> MIME-Version: 1.0 Message-Id: <200912162353.47020.me@jackal.in> Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: -4.8 (----) X-Spam-Status: No, score=-4.8 required=5.0 autolearn=no SpamAssassin 3.2.5 (2008-06-10) on mail.desalvia.com Content analysis details: (-4.8 points, 5.0 required) pts rule name description --- ---------------------- --------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.2 SUBJECT_FUZZY_TION Attempt to obfuscate words in Subject: -3.2 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Cc: Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: me@jackal.in List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 20:54:23 -0000 Hello, On Wednesday 16 December 2009 22:31:42 you wrote: > 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? > No, my mouse have 7 buttons plus XYZ axes. It's wireless mouse. Possibly, logitech uses universal usb receiver with potentially capable 16 buttons + XYZ. http://www.logitech.com/index.cfm/mice_pointers/mice/devices/3271&cl=au,en -- Kind regards, Eugeny.