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

Re: USB Detection



Here are a few ways:

If the directory /proc/bus/usb is empty, then execute
mount -t usbdevfs none /proc/bus/usb
After that you should see some files and directories
in /proc/bus/usb.

For storage decices you can check the directories in
/proc/scsi/usb-storage-0
since USB is using the SCSI layer.

For compact disk devices you can execute
cdrecord -scanbus

You can also check /var/log/dmesg and /var/log/messages and
search for USB.

Werner



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
>
>
>
> _______________________________________________
> Guinness-list mailing list
> Guinness-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/guinness-list
>





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