Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 18:40:03 GMT
From:      Tomasz Olejniczak <tomek.apostata@gmail.com>
To:        freebsd-usb@FreeBSD.org
Subject:   Re: usb/170358: [ums] Wrong (duplicate) button numbers
Message-ID:  <201208071840.q77Ie3Ef004146@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR usb/170358; it has been noted by GNATS.

From: Tomasz Olejniczak <tomek.apostata@gmail.com>
To: bug-followup@FreeBSD.org, tomek.apostata@gmail.com
Cc:  
Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers
Date: Tue, 7 Aug 2012 20:32:49 +0200

 Hi,
 
 > The request in question is for the keyboard. I see you have a dual-
 > keyboard/mouse device.
 
 To be exact - This is Logitech M510 with 'Unifying' usb dongle which
 allows to connect several devices (from logitech).
 
 > Re-run command like this:
 
 # usbconfig -d 3.2 do_request 0x81 0x06 0x2200 1 0x100
 REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x85 0x02 0x09 0x01 0xa1 0x00
 0x05 0x09 0x19 0x01 0x29 0x10 0x15 0x00 0x25 0x01 0x95 0x10 0x75 0x01
 0x81 0x02 0x05 0x01 0x16 0x01 0xf8 0x26 0xff 0x07 0x75 0x0c 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 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 0x05 0x01
 0x09 0x80 0xa1 0x01 0x85 0x04 0x75 0x02 0x95 0x01 0x15 0x01 0x25 0x03
 0x09 0x82 0x09 0x81 0x09 0x83 0x81 0x60 0x75 0x06 0x81 0x03 0xc0 0x06
 0xbc 0xff 0x09 0x88 0xa1 0x01 0x85 0x08 0x19 0x01 0x29 0xff 0x15 0x01
 0x26 0xff 0x00 0x75 0x08 0x95 0x01 0x81 0x00
 0xc0><)%u&u01%u88u&*u%`u)&u>
 
 If it helps I have also older Logitech LX7 mouse with tilt wheel which
 worked fine in FreeBSD 8.0 RELEASE.
 But with 9.0 it behaves even stranger - the buttons are duplicated the
 same as with M510 - "tilt left" and "back" emits press and release for
 button 4 but release emits also button 7. So tilting emits button 4
 when pressing and button 4 and 7 when releasing.
 
 Below is the info about Logitech LX7.
 
 ugen1.2: <Logitech> at usbus1
 ums2: <Logitech USB RECEIVER, class 0/0, rev 1.10/25.10, addr 2> on usbus1
 ums2: 16 buttons and [XYZT] coordinates ID=0
 
 And the descriptor:
 
 REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05 0x09
 0x19 0x01 0x29 0x08 0x15 0x00 0x25 0x01 0x95 0x08 0x75 0x01 0x81 0x02
 0x05 0x01 0x09 0x30 0x09 0x31 0x09 0x38 0x15 0x81 0x25 0x7f 0x75 0x08
 0x95 0x03 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x95 0x01 0x81 0x06 0xc0
 0x05 0x01 0x09 0x3c 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x01 0xb1 0x22
 0x95 0x07 0xb1 0x01 0x05 0x08 0x09 0x4b 0x15 0x00 0x25 0x01 0x95 0x08
 0x75 0x01 0x81 0x02 0x05 0x09 0x19 0x09 0x29 0x10 0x81 0x02
 0xc0><)%u018%u8%u"K%u)>
 
 -- 
 Tomek



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208071840.q77Ie3Ef004146>