On Fri, Oct 11, 2002 at 11:11:09AM +1300, Michael Hamilton wrote:
> Looks like I'll give up on the serial number being usefull.  As
> mentioned in another recent post I now treat devices generically.
> 
> I would like a simple way to take the DEVICE reported to 
> /etc/hotplug/usb/usb-storage (eg /proc/bus/usb/003/038) and figure out 
> which scsi device it maps to.  

Take a look at the hotplug events in 2.5, along with driverfs/kernfs.  I
think you will have everything you need exposed there (along with SCSI
hotplug events, which is what I think you really want to go off of, not
USB ones...)

thanks,

greg k-h


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to