On Monday 06 August 2012 10:40:03 Tomasz Olejniczak wrote:
> The following reply was made to PR usb/170358; it has been noted by GNATS.
> 
> From: Tomasz Olejniczak <tomek.apost...@gmail.com>
> To: bug-follo...@freebsd.org
> Cc:
> Subject: Re: usb/170358: [ums] Wrong (duplicate) button numbers
> Date: Mon, 6 Aug 2012 10:31:05 +0200
> 
>  Hi,
> 
>  Thanks for answer.
> 
>  > What does:
>  > dmesg | grep -C 4 ums
> 
>  ugen0.4: <Logitech> at usbus0
>  ukbd1: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 4> on
> usbus0 kbd3 at ukbd1
>  ums0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 4> on usbus0
>  ums0: 16 buttons and [XYZT] coordinates ID=2
>  uhid1: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 4> on
> usbus0
> 
>  > Please also dump the HID descriptor of your USB mouse:
>  > usbconfig -d X.Y do_request 0x81 0x06 0x2200 0 0x100
> 
>  REQUEST = <0x05 0x01 0x09 0x06 0xa1 0x01 0x05 0x07 0x19 0xe0 0x29 0xe7
>  0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x08 0x81 0x02 0x81 0x03 0x95 0x05
>  0x05 0x08 0x19 0x01 0x29 0x05 0x91 0x02 0x95 0x01 0x75 0x03 0x91 0x01
>  0x95 0x06 0x75 0x08 0x15 0x00 0x26 0xa4 0x00 0x05 0x07 0x19 0x00 0x2a
>  0xa4 0x00 0x81 0x00 0xc0><)%u)uu&*>
> 

Hi,

I see that your mouse has many buttons. The order might be hardcoded by the 
hardware. Only if the HID descriptor has the information we need to 
distinguish the buttons, we can fix this issue.

The request in question is for the keyboard. I see you have a dual-
keyboard/mouse device. Re-run command like this:

usbconfig -d X.Y do_request 0x81 0x06 0x2200 1 0x100

--HPS
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to