Peter Stuge wrote:
> > Hi all.  Could someone tell me how to associate a USB Bus:Device
> > info with a /dev/entry?
> 
> This is subsystem-specific. Feel free to take inspiration from my
> script for usb-serial at http://stuge.se/find430.sh
> 
> You'll have to change the code inside:
>   for usbiface in "${port}/${port}:"*; do
> 
> (And of course ids.)

I hacked something up, see http://stuge.se/findstor.sh

Note that this script does not do any checking beyond finding the
usb-storage driver for a USB interface. I think this is too
simplistic to be a proper generic solution, but it's something you
could start from.


//Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to