Unable to enumerate usb device linux

USB devices not available; unable to enumerate device error

This document (7002864) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Desktop 11
SUSE Linux Enterprise Server 11

Situation

USB devices are not detected or avaible for use when plugged into the USB ports.

dmesg command output and messages in /var/log/messages shows output similar to:

usb 1-6: new high speed USB device using ehci_hcd and address 4
usb 1-6: device not accepting address 4, error -71
hub 1-0:1.0: unable to enumerate USB device on port 6

Resolution

With the 2.6.27 kernel, a USB bug was introduced with the power-saving modules. Traditionally, the USB hub or controller would wake up when a new device was plugged in. However, with the 2.6.27 kernel, the USB does not wake up. Currently there is no upstream patch.

hot fix
Before implementing the permanent fix, it is suggested that you test it first. Unplug your USB device, and then run,
echo -1> /sys/module/usbcore/parameters/autosuspend
Plug your USB device in. If it is detected then continue on to the permenant fix.

  1. Create a file in /etc/modprobe.d called usbcore
  2. Populate the file with the following

Additional Information

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented «AS IS» WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7002864
  • Creation Date: 30-Mar-2009
  • Modified Date:16-Mar-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

    For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

    Источник

    Unable to enumerate USB device

    The only USB device I use is Microsoft Natural Wireless Laser Mouse 7000. The laptop model is HP dv9500, Ubuntu 10.10, but the same was in the versions before. How can I fix this?

    Edit:

    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 003: ID 045e:071d Microsoft Corp. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

    All USB devices seems to be working fine. I have some problems with DVD-R and sound card, but they are not USB.

    Does everything work correctly? (I’m especially thinking about internal devices that are sometimes connected to USB, like a webcam, touchpad, cardreader, . )

    2 Answers 2

    Looks like the kernel is just spitting out weird errors, unless your computer has a real usb device that is plugged in internally (such as webcam) which is being ignored, I think it’s safe to say that the errors are erroneous.

    Update: I found a computer which had the same issues, it was caused by a faulty usb port on the computer and it was confirmed to be the hardware since no matter what software was run on it it caused the same errors. This port caused all sorts of issues since a hp printer was plugged into it which needed firmware and the faulty usb port was corrupting the firmware sent to the printer causing it to start having issues with any machine it was plugged into.

    You could report the bug back to the kernel team though: https://bugs.launchpad.net/linux

    I had this problem with a Ubuntu 12.04 64-bit Live CD. It prevented all USB devices from working, which in my case was a wireless mouse and a wifi router. The hardware worked fine on the same machine in windows7 and with the 32-bit Ubuntu 12.04.

    The fix was to enable IOMMU in the BIOS of my Gigabyte GA-990A-D3 motherboard. Everything works fine after that change.

    This is problem is similar to a common one that people have trouble installing 64-bit Ubuntu because the keyboard does not work. If the keyboard uses a USB port it will have the symptom that it is a keyboard-specific problem, when it is actually a general USB failure.

    Hopefully, this fix works for others with perhaps other hardware.

    Источник

    «Unable to enumerate USB device» on Ubuntu 20.04

    When I connect a particular USB device to my old laptop running Ubuntu 20.04, I see the following in dmesg :

    [ 101.184759] usb 2-1: new high-speed USB device number 6 using ehci-pci [ 101.221814] usb 2-1: device descriptor read/8, error -71 [ 101.363311] usb 2-1: device descriptor read/8, error -71 [ 101.812806] usb 5-1: new full-speed USB device number 3 using uhci_hcd [ 102.244741] usb 5-1: device not accepting address 3, error -71 [ 102.376800] usb 5-1: new full-speed USB device number 4 using uhci_hcd [ 102.800780] usb 5-1: device not accepting address 4, error -71 [ 102.800859] usb usb5-port1: attempt power cycle [ 102.800880] usb usb5-port1: failed to disable port power [ 102.928784] usb 5-1: new full-speed USB device number 5 using uhci_hcd [ 103.068802] usb 5-1: device descriptor read/64, error -71 [ 103.312783] usb 5-1: device descriptor read/64, error -71 [ 103.556792] usb 5-1: new full-speed USB device number 6 using uhci_hcd [ 103.696795] usb 5-1: device descriptor read/64, error -71 [ 103.948812] usb 5-1: device descriptor read/64, error -71 [ 104.056848] usb usb5-port1: unable to enumerate USB device 

    The device does not show up when I run lsusb . This computer is running an up-to-date and relatively clean build of Ubuntu, with kernel 5.4.0-31.35-generic 5.4.34 (from /proc/version_signature ). As an experiment, I booted from a 18.04.4 live flash drive and connected the device again, and got this in dmesg :

    [ 302.308745] usb 2-1: new high-speed USB device number 6 using ehci-pci [ 302.469632] usb 2-1: config 1 interface 4 altsetting 0 bulk endpoint 0x4 has invalid maxpacket 64 [ 302.469641] usb 2-1: config 1 interface 4 altsetting 0 bulk endpoint 0x85 has invalid maxpacket 64 [ 302.470040] usb 2-1: New USB device found, idVendor=0644, idProduct=802a, bcdDevice= 1.01 [ 302.470047] usb 2-1: New USB device strings: Mfr=12, Product=13, SerialNumber=0 [ 302.470052] usb 2-1: Product: US-800 [ 302.470057] usb 2-1: Manufacturer: TASCAM 

    The hardware configuration was the same for this test; same USB port on the laptop, same USB cable. I think this pretty well rules out a hardware problem. The running kernel was 5.3.0-28.30~18.04.1-generic 5.3.13 (from /proc/version_signature ). I don’t see why this would matter, but the USB device is a Tascam US-800 audio interface. The laptop is a 2007 MacBook. I understand that this is an old laptop and that I may not ultimately be able to get the audio interface to work in Ubuntu, but it definitely won’t work if it cannot even recognize the device and try to load the right driver. Finally, the question: how do I troubleshoot/isolate this problem? Edit 6-3-20: I ran updates on the computer today and tested again. No change; still experiencing the same problem. Kernel version (from /proc/version_signature ) is now 5.4.0-33.37-generic 5.4.34

    Источник

    Error on unchanged system: hub 4-0:1.0: unable to enumerate USB device on port 1

    I remember the usb was not mounted during the dd but I think after it had finished writing, I tried mount -a just to see if I could view the files on the boot-usb. It didn’t work (the mountpoint didn’t show any files and I assumed it was not mounted) and later on I pulled out the usb while the computer was still turned on to go use the usb to install debian wheezy on another laptop. Now whenever I turn on my laptop it spits the following error over and over:

    [ 3221.396136] hub 4-0:1.0: unable to enumerate USB device on port 1 [ 3222.132073] usb 4-1: new full-speed USB device number 52 using ohci_hcd 

    this never used to happen. I’ve done some googling and the other places I have seen mention this [bug?] discuss that it has occured after a kernel update. However I don’t think I’ve even used apt since the other day when I pulled out the usb, so this can’t be the problem for me. I’m wondering whether the problem may be a lockfile which needs deleting or altering? Feel free to request additional information and i can add it here. The issue manifests when no usb is plugged in. lsusb gives:

    $ 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 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 

    Источник

    Читайте также:  Restart hosts in linux
Оцените статью
Adblock
detector