Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2009 21:24:35 -0500
From:      "Sagara Wijetunga" <sagara@tomahawk.com.sg>
To:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 7.2 USB stack info needed
Message-ID:  <20090714022435.7844.qmail@us1.tomahawkonline.net>
In-Reply-To: <20090713120732.31803.qmail@us1.tomahawkonline.net>
References:  <20090713120732.31803.qmail@us1.tomahawkonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090714022435.7844.qmail>