Subject: Re: USB cordless optical mouse not working ???
To: Jonathan A. Kollasch <jakllsch@kollasch.net>
From: Asmodehn <asmodehn@free.fr>
List: netbsd-help
Date: 06/14/2006 05:59:08
Hi Jonathan,
Thanks for the reply, I am learning everyday something new ;)
Report at the end of the mail, just after the script to output it.
On Mon, 12 Jun 2006 18:35:16 -0500
"Jonathan A. Kollasch" <jakllsch@kollasch.net> wrote:
> I'd like to see the reports these give:
>
> create the device for uhid4:
> # cd /dev && ./MAKEDEV uhid4 && cd
>
> print out the reports:
> #!/bin/sh
> for i in `seq 0 4`; do
> echo -e \\nuhid$i\:;
> usbhidctl -f /dev/uhid$i -v -r;
> done
>
> Assuming that there isn't something wrong with the device and/or NetBSD,
> I'm thinking that perhaps it may need to be manually enabled or something.
>
Here is the report after I plugged my usb mouse in :
limit: No such limit.
uhid0:
Report descriptor:
Collection page=0x0000 usage=0x0000
Feature size=2 count=1 page=Generic_Desktop usage=0x0048, logical range 0..1, physical range 0..16
Collection page=0x0000 usage=0x0000
Feature size=2 count=1 page=Generic_Desktop usage=0x0048, logical range 0..1, physical range 0..16
Feature size=4 count=1 Const page=0x0000 usage=0x0000, logical range 0..1
Total input size 0 bytes
Total output size 0 bytes
Total feature size 1 bytes
uhid1:
Report descriptor:
Collection page=Generic_Desktop usage=Mouse
Input size=8 count=1 page=Consumer usage=AC_Pan, logical range -127..127
Total input size 1 bytes
Total output size 0 bytes
Total feature size 0 bytes
uhid2:
Report descriptor:
Input size=2 count=1 page=Microsoft usage=0xfe01, logical range 0..3
Input size=1 count=1 page=Microsoft usage=0xfe02, logical range 0..1
Input size=1 count=1 page=Microsoft usage=0xfe00, logical range 0..1
Input size=2 count=1 page=Microsoft usage=0xff03, logical range 0..3
Input size=2 count=1 Const page=0x0000 usage=0x0000, logical range 0..3
Total input size 1 bytes
Total output size 0 bytes
Total feature size 0 bytes
uhid3:
Report descriptor:
Input size=1 count=1 page=Microsoft usage=0xff0b, logical range 0..1
Input size=7 count=1 Const page=0x0000 usage=0x0000, logical range 0..1
Input size=16 count=1 page=Microsoft usage=0xff0d, logical range 0..65535
Total input size 3 bytes
Total output size 0 bytes
Total feature size 0 bytes
uhid4:
usbhidctl: Excessive collection ends
Report descriptor:
Feature size=2 count=1 page=Microsoft usage=0xff06, logical range 0..1, physical range 0..16
Feature size=2 count=1 page=Microsoft usage=0xff0f, logical range 0..1, physical range 0..16
Feature size=1 count=1 page=Microsoft usage=0xff04, logical range 0..1
Feature size=3 count=1 Const page=0x0000 usage=0x0000, logical range 0..1