On Thursday 11 October 2007, Xiaofan Chen wrote: > On 10/11/07, M. Warner Losh <[EMAIL PROTECTED]> wrote: > > In message: > > : ===[mcuee] ~/Desktop/build/fsusb/fsusb-0.1.11-2 # sudo usbdevs -v > > : Controller /dev/usb1: > > : addr 126: full speed, power 100 mA, config 1, product 0x000b(0x000b), > > : I-Tuner Networks(0x04d8), rev 0.00 > > : port 4 addr 126: full speed, power 100 mA, config 1, product > > : 0x000b(0x000b), I-Tuner Networks(0x04d8), rev 0.00 > > > > While 4d8 is for microchip technology, we get the name that we print > > here directly from the usb device itself. > > What makes you think that the vendor ID is parsed wrong? > > I have read the firmware source codes so I do not think there > is anything called "I-Tuner" in the descriptors or anywhere in the > firmware. 04d8/000b is the bootloader firmware VID/PID for > Microchip PICDEM FS USB demo board. > > The following is the relevant descriptor.
Hi Xiaofan Chen, When you compile any FreeBSD USB stack with "options USB_DEBUG", which might be hardcoded in the sources, then the kernel will search "usbdevs" for a vendor description. This will be done hence you have no valid strings for the manufacturer nor product : > 0x00, // Manufacturer string index > 0x00, // Product string index > 0x00, // Device serial number string index --HPS _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
