FreeBSD 7.2 USB stack info needed

Sagara Wijetunga sagara at tomahawk.com.sg
Tue Jul 14 05:42:54 UTC 2009


Sagara Wijetunga writes: 

> Hi FreeBSD community  
> 
> After an USB thumb drive id pluged in, the devd prints following line:  
> 
> +umass0 vendor=0x0781 product=0x5406 devclass=0x00 devsubclass=0x00 
> release=0x0200 sernum="087663165D8139E6" intclass=0x08 intsubclass=0x06 at 
> port=0 interface=0 vendor=0x0781 product=0x5406 devclass=0x00 
> devsubclass=0x00 release=0x0200 sernum="087663165D8139E6" intclass=0x08 
> intsubclass=0x06 on uhub4  
> 
> 
> 1. Could I know which exact program print above line on /dev/devctl ?  
> 
> 2. I want to print another line with "daN" as the device-name, where N is 
> 0 to 9, with minimum vendor and product ids once the allocated device-name 
> is known for USB Mass Storage devices. Your additional ideas/feedback/help 
> is most welcomed.  
> 

There is a typing mistake: "After an USB thumb drive id pluged in" should be 
corrected as "After an USB thumb drive is plugged in". Very sorry for the 
mistake. 

Btw, I have started looking at umass.c and will have a look at later at 
usb.c of /usr/src/sys/dev/usb/. 

Any help is still very much appreciated. 

Best regards
Sagara


More information about the freebsd-stable mailing list