[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: USB Detection
- From: Werner Puschitz <w us verizon net>
- To: Mike Chambers <mike netlyncs com>
- Cc: RedHat - Guinness <guinness-list redhat com>
- Subject: Re: USB Detection
- Date: Sat, 31 Mar 2001 18:45:47 -0500 (EST)
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]
[]