[Chugalug] force usb enumeration?

Matt Keys mk6032 at yahoo.com
Tue Oct 2 00:10:00 UTC 2012


I have a problem enumerating a usb drive at boot. At the moment, I can only
get ubuntu "see" it by unplugging and replugging the drive after the system
is fully up. : 

 

http://pastebin.com/azZ3p4Cb

 

Another oddity, the disk has a strange uuid. I don't know if that's because
it's NTFS or what. I've seen other examples out there on the net with
similar uuids on ntfs. I've tried telling fstab to use both /dev/sdc1 and
the strange uuid, both fail as it doesn't see the device at all until it's
manually replugged. After replugging it will show up on blkid :

 

/dev/sdc1: LABEL="Seagate Backup Plus Drive" UUID="D6D4E78DD4E76E65"
TYPE="ntfs"

 

Also in /dev/disk/by-id or by-uuid :

 

mkeys at server:~$ ll /dev/disk/by-id/ |grep sdc1

lrwxrwxrwx 1 root root  10 Oct  1 19:54
ata-ST1000DL002-9TT153_W1V188QY-part1 -> ../../sdc1

lrwxrwxrwx 1 root root  10 Oct  1 19:54
scsi-SSeagate_Backup+_Desk_NA5J1YXN-part1 -> ../../sdc1

lrwxrwxrwx 1 root root  10 Oct  1 19:54 wwn-0x5000c50049a5812c-part1 ->
../../sdc1

mkeys at server:~$ ll /dev/disk/by-uuid/

total 0

drwxr-xr-x 2 root root  80 Oct  1 19:54 ./

drwxr-xr-x 6 root root 120 Oct  1 15:33 ../

lrwxrwxrwx 1 root root   9 Oct  1 19:33 22ad949a-251a-405a-a75f-67709967e0aa
-> ../../md0

lrwxrwxrwx 1 root root  10 Oct  1 19:54 D6D4E78DD4E76E65 -> ../../sdc1

mkeys at server:~$

 

Before then I've tried manually loading and reloading the usb-storage module
in an attempt for it to rescan the usb bus. that didn't work either. At the
end you see me manually replugging it and where the device is located. : 

 

mkeys at server:~$ dmesg | grep usb

[    0.375391] usbcore: registered new interface driver usbfs

[    0.375419] usbcore: registered new interface driver hub

[    0.375489] usbcore: registered new device driver usb

[    1.502310] usbcore: registered new interface driver libusual

[    2.092143] usb 1-5: new high-speed USB device number 4 using ehci_hcd

[   12.240101] usb 1-5: device descriptor read/all, error -110

[   12.352023] usb 1-5: new high-speed USB device number 5 using ehci_hcd

[   22.500280] usb 1-5: device descriptor read/all, error -110

[   22.612150] usb 1-5: new high-speed USB device number 6 using ehci_hcd

[   27.648151] usb 1-5: device descriptor read/8, error -110

[   32.768167] usb 1-5: device descriptor read/8, error -110

[   32.984028] usb 1-5: new high-speed USB device number 7 using ehci_hcd

[   38.020172] usb 1-5: device descriptor read/8, error -110

[   43.140139] usb 1-5: device descriptor read/8, error -110

[   43.508129] usb 3-1: new low-speed USB device number 2 using uhci_hcd

[   43.743628] input: Microsoft Comfort Curve Keyboard 2000 as
/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input2

[   43.744421] generic-usb 0003:045E:00DD.0001: input,hidraw0: USB HID v1.11
Keyboard [Microsoft Comfort Curve Keyboard 2000] on
usb-0000:00:1d.1-1/input0

[   43.768715] input: Microsoft Comfort Curve Keyboard 2000 as
/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/input/input3

[   43.769208] generic-usb 0003:045E:00DD.0002: input,hidraw1: USB HID v1.11
Device [Microsoft Comfort Curve Keyboard 2000] on usb-0000:00:1d.1-1/input1

[   43.769474] usbcore: registered new interface driver usbhid

[   43.769480] usbhid: USB HID core driver

[   43.932212] usb 3-2: new low-speed USB device number 3 using uhci_hcd

[   44.125333] input: Logitech Optical USB Mouse as
/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input4

[   44.125824] generic-usb 0003:046D:C016.0003: input,hidraw2: USB HID v1.10
Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.1-2/input0

[   44.364129] usb 4-1: new full-speed USB device number 2 using uhci_hcd

[   54.509909] usb 4-1: device descriptor read/all, error -110

[   54.620190] usb 4-1: new full-speed USB device number 3 using uhci_hcd

[   64.765255] usb 4-1: device descriptor read/all, error -110

[   64.876063] usb 4-1: new full-speed USB device number 4 using uhci_hcd

[   69.909958] usb 4-1: device descriptor read/8, error -110

[   75.029671] usb 4-1: device descriptor read/8, error -110

[   75.244052] usb 4-1: new full-speed USB device number 5 using uhci_hcd

[   80.277411] usb 4-1: device descriptor read/8, error -110

[   85.398122] usb 4-1: device descriptor read/8, error -110

[  746.810075] usbcore: registered new interface driver usb-storage

[  805.870549] usbcore: deregistering interface driver usb-storage

[  805.888980] usbcore: registered new interface driver usb-storage

[ 1249.020042] usb 1-5: new high-speed USB device number 8 using ehci_hcd

[ 1249.182531] scsi4 : usb-storage 1-5:1.0

mkeys at server:~$ lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 002: ID 045e:00dd Microsoft Corp. Comfort Curve Keyboard 2000
V1.0

Bus 003 Device 003: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse

Bus 001 Device 008: ID 0bc2:a0a1 Seagate RSS LLC

mkeys at server:~$

 

Does anybody know of a way to force a usb bus rescan? I'm thinking maybe
something in rc.local or with udev?

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://chugalug.org/pipermail/chugalug/attachments/20121001/681374f8/attachment.html>


More information about the Chugalug mailing list