On 17/07/13(Wed) 14:07, Ryan Freeman wrote:
> Hey tech@,
> 
> i came across a uhid device (joystick adapter) I have that only
> seems to work on my amd64 desktop, but not i386 laptop.
> 
> amd64:
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb2 at ohci1: USB revision 1.0
> uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb3 at ohci2: USB revision 1.0
> uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb4 at ohci3: USB revision 1.0
> uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb5 at ohci4: USB revision 1.0
> uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> *snip*
> uhidev1 at uhub2 port 2 configuration 1 interface 0 "vendor 0x6666 product 
> 0x0667" rev 1.00/2.88 addr 2
> uhidev1: iclass 3/0
> uhid0 at uhidev1: input=6, output=0, feature=0
> 
> i386:
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> *snip*
> uhidev1 at uhub1 port 2 configuration 1 interface 0 "vendor 0x6666 product 
> 0x0667" rev 1.00/2.88 addr 2
> uhidev1: no report descriptor
> 
> I have confirmed with 'another os' that the device works on this
> i386 machine so its not bad ports or anything.
> 
> I noticed in sys/dev/usb/uhidev.c there are notes about a
> broken descriptor for a waccom tablet, and in sys/dev/usb/usb.h
> a note for i386 using unaligned access for unaligned little-endian
> word components in usb records.
> 
> I guess my only question would be, am I looking in the right
> areas for something such as this? 

Hard to tell without a full dmesg... and what's the output of
"usbdevs -dv" on the two machines?

You can also trie "lsusb -v" from the usbutils package to see what
descriptors you get on both machines.

M.

Reply via email to