On Tue, Jul 5, 2011 at 5:05 PM, Thomas Jarosch <[email protected]> wrote: > On Monday, 4. July 2011 14:27:29 Uwe Bonnes wrote: >> Thomas> The code will also "work" if VID or PID is NULL only. >> >> Is any VID/PID == 0 valid? Should we make the condition VID==0 AND >> PID==0? > > This document http://wiki.debian.org/HowToIdentifyADevice/USB mentions > that USB (root) hubs contain VID/PID == 0. Shouldn't be a problem. >
That is no longer the case, the document is outdated. Now lsusb will use the Linux Foundation USB VID/PIDs for the root hubs. For USB, VID:PID=0:0 is not a valid USB device, typically unrecognized USB device will have that. -- Xiaofan -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
