Ubuntu can’t read my USB: «device descriptor read/64, error -110»
I have a 16GB flash drive. I’m running Ubuntu 14.04. I can’t open my flash drive and I can’t see it in GParted. After running tail -f /var/log/syslog . After inserting my flash:
USB disconnect, device number 10 Jul 3 16:39:55 rihanna-VGN-Z56GG-B kernel: [ 3309.712166] usb 2-3: new high-speed USB device number 11 using ehci-pci Jul 3 16:39:55 rihanna-VGN-Z56GG-B kernel: [ 3309.846591] usb 2-3: New USB device found, idVendor=090c, idProduct=1000 Jul 3 16:39:55 rihanna-VGN-Z56GG-B kernel: [ 3309.846601] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jul 3 16:39:55 rihanna-VGN-Z56GG-B kernel: [ 3309.846609] usb 2-3: Product: Silicon-Power Jul 3 16:39:55 rihanna-VGN-Z56GG-B kernel: [ 3309.846615] usb 2-3: Manufacturer: UFD 2.0 Jul 3 16:39:55 rihanna-VGN-Z56GG-B kernel: [ 3309.846622] usb 2-3: SerialNumber: 1401208423400131 Jul 3 16:39:55 rihanna-VGN-Z56GG-B kernel: [ 3309.847176] usb-storage 2-3:1.0: USB Mass Storage device detected Jul 3 16:39:55 rihanna-VGN-Z56GG-B kernel: [ 3309.847309] scsi12 : usb-storage 2-3:1.0 Jul 3 16:39:55 rihanna-VGN-Z56GG-B mtp-probe: checking bus 2, device 11: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3" Jul 3 16:39:55 rihanna-VGN-Z56GG-B mtp-probe: bus: 2, device: 11 was not an MTP device Jul 3 16:40:17 rihanna-VGN-Z56GG-B kernel: [ 3332.176107] usb 2-3: reset high-speed USB device number 11 using ehci-pci Jul 3 16:40:33 rihanna-VGN-Z56GG-B kernel: [ 3347.288080] usb 2-3: device descriptor read/64, error -110 Jul 3 16:40:48 rihanna-VGN-Z56GG-B kernel: [ 3362.504081] usb 2-3: device descriptor read/64, error -110 Jul 3 16:40:48 rihanna-VGN-Z56GG-B kernel: [ 3362.720076] usb 2-3: reset high-speed USB device number 11 using ehci-pci Jul 3 16:40:52 rihanna-VGN-Z56GG-B kernel: [ 3366.812110] usb 2-3: reset high-speed USB device number 11 using ehci-pci Jul 3 16:41:07 rihanna-VGN-Z56GG-B kernel: [ 3381.924082] usb 2-3: device descriptor read/64, error -110 Jul 3 16:41:23 rihanna-VGN-Z56GG-B kernel: [ 3397.356093] usb 2-3: reset high-speed USB device number 11 using ehci-pci Jul 3 16:41:38 rihanna-VGN-Z56GG-B kernel: [ 3412.468057] usb 2-3: device descriptor read/64, error -110 Jul 3 16:41:54 rihanna-VGN-Z56GG-B kernel: [ 3428.664065] usb 2-3: reset high-speed USB device number 11 using ehci-pci Jul 3 16:42:09 rihanna-VGN-Z56GG-B kernel: [ 3443.776100] usb 2-3: device descriptor read/64, error -110 Jul 3 16:42:24 rihanna-VGN-Z56GG-B kernel: [ 3458.992085] usb 2-3: device descriptor read/64, error -110 Jul 3 16:42:25 rihanna-VGN-Z56GG-B kernel: [ 3459.208063] usb 2-3: reset high-speed USB device number 11 using ehci-pci Jul 3 16:42:40 rihanna-VGN-Z56GG-B kernel: [ 3474.320039] usb 2-3: device descriptor read/64, error -110 Jul 3 16:42:50 rihanna-VGN-Z56GG-B kernel: [ 3484.516109] usb 2-3: reset high-speed USB device number 11 using ehci-pci Jul 3 16:42:50 rihanna-VGN-Z56GG-B kernel: [ 3484.768108] usb 2-3: reset high-speed USB device number 11 using ehci-pci Jul 3 16:43:05 rihanna-VGN-Z56GG-B kernel: [ 3499.880081] usb 2-3: device descriptor read/64, error -110 Jul 3 16:43:20 rihanna-VGN-Z56GG-B kernel: [ 3515.096081] usb 2-3: device descriptor read/64, error -110 Jul 3 16:43:21 rihanna-VGN-Z56GG-B kernel: [ 3515.312048] usb 2-3: reset high-speed USB device number 11 using ehci-pci Jul 3 16:43:36 rihanna-VGN-Z56GG-B kernel: [ 3530.424032] usb 2-3: device descriptor read/64, error -110 Jul 3 16:43:46 rihanna-VGN-Z56GG-B kernel: [ 3540.505230] scsi 12:0:0:0: Device offlined - not ready after error recovery
Arch Linux
I have a micro-sd port on my laptop that I use to add capacity to my relatively small hard drive. However, when I boot the machine I am regularly unable to mount the card because of the following error:
[ +11.847354] usb 1-4: device descriptor read/64, error -110 [ +0.270006] usb 1-4: new full-speed USB device number 5 using xhci_hcd [ +15.249836] usb 1-4: device descriptor read/64, error -110 [ +15.360160] usb 1-4: device descriptor read/64, error -110 [ +0.120063] usb usb1-port4: attempt power cycle [ +0.709905] usb 1-4: new full-speed USB device number 6 using xhci_hcd [ +5.019956] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command [ +0.220194] usb 1-4: Device not responding to setup address. [ +0.219849] usb 1-4: device not accepting address 6, error -71 [ +0.150036] usb 1-4: new full-speed USB device number 7 using xhci_hcd [Apr13 12:53] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command [ +0.220235] usb 1-4: Device not responding to setup address. [ +0.219866] usb 1-4: device not accepting address 7, error -71 [ +0.000101] usb usb1-port4: unable to enumerate USB device
I generally try removing the card, putting it back in, etc. for a while and suddenly it will start working:
[ +0.349903] usb 1-7: new high-speed USB device number 8 using xhci_hcd [ +0.185507] usb 1-7: New USB device found, idVendor=05e3, idProduct=0727, bcdDevice= 2.08 [ +0.000006] usb 1-7: New USB device strings: Mfr=3, Product=4, SerialNumber=2 [ +0.000004] usb 1-7: Product: USB Storage [ +0.000004] usb 1-7: Manufacturer: Generic [ +0.000004] usb 1-7: SerialNumber: 000000000208
I am not sure, however, if this is a problem with my machine itself, or with the sd card. Sometimes when I have taken out the card, the errors continue to be added to dmesg, which gives me the idea it’s a problem with the port itself, not the card. Any idea what could be causing this error?
unixforum.org
[Решено]usb 1-1: device descriptor read/64, error -110 (В чем проблема?)
[Решено]usb 1-1: device descriptor read/64, error -110
Сообщение held » 08.06.2009 15:22
Перестали определятся USB устройства. Команда lsusb долго весит в конце выдает список usb без тех к которым подключен сканер и принтер. При загрузки и выключении выходит ошибка
usb 1-4: device descriptor read/64, error -110
usb 1-4: device descriptor read/64, error -110
usb 1-4: device descriptor read/8, error -110
usb 1-4: device descriptor read/8, error -110
в kern.log постоянно сыпится
Jun 8 16:23:40 as-desktop kernel: [ 1613.609046] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:41 as-desktop kernel: [ 1613.856045] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:41 as-desktop kernel: [ 1614.105046] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:41 as-desktop kernel: [ 1614.353071] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:41 as-desktop kernel: [ 1614.600134] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:42 as-desktop kernel: [ 1614.849041] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:42 as-desktop kernel: [ 1615.829057] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:43 as-desktop kernel: [ 1616.077062] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:43 as-desktop kernel: [ 1616.315292] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:43 as-desktop kernel: [ 1616.561048] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:43 as-desktop kernel: [ 1616.808039] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:44 as-desktop kernel: [ 1617.057038] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:44 as-desktop kernel: [ 1617.304317] hub 4-0:1.0: unable to enumerate USB device on port 1 Jun 8 16:23:44 as-desktop kernel: [ 1617.553041] hub 4-0:1.0: unable to enumerate USB device on port 1
В журнале в messages временами добовляется
Jun 8 16:13:47 as-desktop kernel: [ 1020.672034] usb 2-2: new full speed USB device using ohci_hcd and address 8 Jun 8 16:14:18 as-desktop kernel: [ 1051.408037] usb 2-2: new full speed USB device using ohci_hcd and address 9 Jun 8 16:14:45 as-desktop kernel: [ 1078.296026] usb 1-4: new high speed USB device using ehci_hcd and address 7 Jun 8 16:14:55 as-desktop kernel: [ 1088.652027] usb 1-4: new high speed USB device using ehci_hcd and address 8 Jun 8 16:15:06 as-desktop kernel: [ 1099.008027] usb 1-4: new high speed USB device using ehci_hcd and address 9 Jun 8 16:15:36 as-desktop kernel: [ 1129.552044] usb 1-4: new high speed USB device using ehci_hcd and address 10 Jun 8 16:16:07 as-desktop kernel: [ 1160.808049] usb 2-2: new full speed USB device using ohci_hcd and address 10 Jun 8 16:16:18 as-desktop kernel: [ 1171.232027] usb 2-2: new full speed USB device using ohci_hcd and address 11 Jun 8 16:16:28 as-desktop kernel: [ 1181.652026] usb 2-2: new full speed USB device using ohci_hcd and address 12 Jun 8 16:16:59 as-desktop kernel: [ 1212.388022] usb 2-2: new full speed USB device using ohci_hcd and address 13 Jun 8 16:17:34 as-desktop kernel: [ 1247.080031] usb 2-2: new full speed USB device using ohci_hcd and address 14 Jun 8 16:17:44 as-desktop kernel: [ 1257.500032] usb 2-2: new full speed USB device using ohci_hcd and address 15 Jun 8 16:17:55 as-desktop kernel: [ 1267.920033] usb 2-2: new full speed USB device using ohci_hcd and address 16 Jun 8 16:18:25 as-desktop kernel: [ 1298.664739] usb 2-2: new full speed USB device using ohci_hcd and address 17
В чем проблема, подскажите, пожалуйста.
Где определенны коды ошибок для usb?
Ошибка: device descriptor read/64, error -110
И еще, как происходит инициализация устройства, оно само передает код для определения idVendor idProduct?
Где определены коды ошибок для usb? Ошибка: device descriptor read/64, error -110
$ wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.4.4.tar.bz2 $ tar xvfj linux-3.4.4.tar.bz2 $ cd linux-3.4.4 $ find . -name "*" -exec grep -Hn "device descriptor read" <> \; ./drivers/usb/core/hub.c:3109: "device descriptor read/64, error %d\n", ./drivers/usb/core/hub.c:3155: "device descriptor read/8, error %d\n", ./drivers/usb/core/hub.c:3205: dev_err(&udev->dev, "device descriptor read/all, error %d\n",
Идём на строку 3109 файлика ./drivers/usb/core/hub.c, там вызов dev_err(&udev->dev, «device descriptor read/64, error %d\n», r)
а выше по коду присвоено r = usb_control_msg(. )
а значит грепаем usb_control_msg по сорцам
а находим его внезапно в Documentation/usb/error-codes.txt. Да и в нагрузку http://man-wiki.net/index.php/9:usb_control_msg
а и видим, что единственный код возврата, заданный для usb_control_msg(. ), это -ETIMEDOUT
а пробуем грепать define’ишен ETIMEDOUT по сорцам
а внезапно находим его в include/asm-generic/errno.h
#define ETIMEDOUT 110 /* Connection timed out */
Я далеко не кернел-девелопер, но у меня на это ушло минут десять. Это так сложно было сделать самому.
И еще, как происходит инициализация устройства, оно само передает код для определения idVendor idProduct?