From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 18:39:26 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 786F61065670 for ; Wed, 16 Dec 2009 18:39:26 +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 290628FC1A for ; Wed, 16 Dec 2009 18:39:26 +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 1NKymS-000BGx-4D; Wed, 16 Dec 2009 21:39:24 +0300 From: jackal To: Hans Petter Selasky , freebsd-usb@freebsd.org Date: Wed, 16 Dec 2009 21:38:50 +0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912161844.23094.hselasky@c2i.net> In-Reply-To: <200912161844.23094.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912162138.51219.me@jackal.in> 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 18:39:26 -0000 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. -- Kind regards, Eugeny.