On 9/17/05, RBW <[EMAIL PROTECTED]> wrote:
> I'm having a little bit of a problem under FC4 with USB devices too...
>
> The first question I have though is this...
> Is there a better/different way to detect the initialization of a USB
> device and the /dev file it is associated with besides doing a
> combination of tail/grep on dmesg or messages? Manual searching works
> fine for me once I know what the device will be recognized as then doing
> a grep for vendor, etc or just eyeballing a tail on messages but is that
> info somewhere else together?
>
> I don't think I have ever seen anything that tells you the stuff about
> the USB device you can find out in /proc (e.g. KDE Info Center) but also
> what /dev file a given USB device is associated with...
This is FC3 but I think the same things work in FC4:
[EMAIL PROTECTED] usb]$ sudo /sbin/fdisk -l | grep Disk
Password:
Disk /dev/sda: 163.9 GB, 163928604672 bytes
Disk /dev/sdb: 203.9 GB, 203928109056 bytes
Disk /dev/sdc: 65 MB, 65536000 bytes
Disk /dev/sdd: 120.0 GB, 120034123776 bytes
[EMAIL PROTECTED] usb]$
[EMAIL PROTECTED] usb]$ dmesg | grep Attached
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
Attached scsi tape st0 at scsi0, channel 0, id 5, lun 0
Attached scsi removable disk sdc at scsi3, channel 0, id 0, lun 0
Attached scsi disk sdd at scsi4, channel 0, id 0, lun 0
[EMAIL PROTECTED] usb]$
Note sda and sdb are SATA drives, but show up as SCSI
st0 is a genuine SCSI DAT drive on a PCI host adapter
sdc is a USB memory stick
sdd is an ATA drive in an external USB box
You can also learn a lot from $ cat /proc/bus/usb/devices
But I agree there is not one single place where all this information
is assembled into a coherent presentation.
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list