[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: USB Detection



On Sat, 31 Mar 2001, Mike Chambers wrote:

> What's the best way to detect if the device connected to the USB besides
> trying the device itself?
> 
> Is there a file such as /etc/fstab or /etc/mtab or something?
> 
> Mike Chambers
> Mt. Prospect, IL
> Netlyncs
> 
If you mount the USB peusdo file system, then there is a tree in /proc
with all the USB info.  I don't remember the exact tree, and I am not on
a USB enabled machine right now... 

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []