Re: [linux-usb-devel] USB HID bug (was [PROBLEM] Bonding driver inlinux-2.6.21-rc6-mm1)
From: Alan Stern
Date: Sat Apr 28 2007 - 15:51:08 EST
On Sat, 28 Apr 2007, Jiri Kosina wrote:
> On Sat, 28 Apr 2007, Vincent ETIENNE wrote:
>
> > > I now don't immediately see how this could happen - the vendor ID
> > > seems to be propagated properly from hid_probe() (nothing has been
> > > changed in this codepath), so this would mean that hid_probe() has
> > > been passed usb_interface for which
> > > le16_to_cpu(interface_to_usbdev(intf).dev->descriptor.idVendor) is
> > > equal to zero ... and this definitely shouldn't happen for any sane
> > > device (could the original poster please verify with lsusb, just to be
> > > 100% sure?).
> > You could download the result of lsusb -vvv from
> > http://mail1.vetienne.net/linux/lsusb.log
>
> Hi Vincent,
>
> thanks for the report. It's pretty awesome though - all the USB devices
> seem to have vendor and product id set to 0x0000. Greg, have you ever met
> this?
>
> linux-usb-devel added to CC (full thread here:
> http://lkml.org/lkml/2007/4/27/496)
>
> So this definitely isn't a HID-specific problem, something is confusing
> the USB VID/PIDs.
No, it isn't a problem in the USB core. The device itself is messed up;
it really does report idVendor and idProduct both equal to 0.
Jiri, don't worry about all those other devices in the listing that also
have idVendor and idProduct set to 0. They aren't real devices at all;
they are virtual root hubs. You'll see what I mean if you look at their
iManufacturer, iProduct, and iSerial strings.
Alan Stern
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/