You are not logged in.

#1 2009-03-03 13:43:00

t09l
Member
Registered: 2009-03-03
Posts: 2

USB problem: "failed to enumerate"

Hi everybody,

I'm having problems with a USB-WLAN-Adapter (D-Link DWL-G122) . It used to run rather properly on a WinXP system most of the time. However, there were situations when booting failed with a black screen and i had to remove the stick manually to make the boot process continue.
After installing Arch Linux the device worked perfectly at first, but then it more and more frequently wouldn't be loaded at boot up.
The corresponding interface wlan0 then doesn't appear in ifconfig -a.
There is also a small chance that wlan0 appears after running the operating system for several minutes. If this is the case, it's possible to start it by ifconfig wlan0 up.

While wlan0 isn't loaded, dmesg prints out something like this in a loop:

...
hub 1-0:1.0: unable to enumerate USB device on port 1
usb 1-1: new high speed USB device using ehci_hcd and address 106
hub 1-0:1.0: unable to enumerate USB device on port 1
hub 1-0:1.0: unable to enumerate USB device on port 1
usb 1-1: new high speed USB device using ehci_hcd and address 108
hub 1-0:1.0: unable to enumerate USB device on port 1
hub 1-0:1.0: unable to enumerate USB device on port 1
usb 1-1: new high speed USB device using ehci_hcd and address 110
hub 1-0:1.0: unable to enumerate USB device on port 1
hub 1-0:1.0: unable to enumerate USB device on port 1
...

Whereas this is the end of a dmesg file when the usb device started working after a while:

...
hub 1-0:1.0: unable to enumerate USB device on port 1
hub 1-0:1.0: unable to enumerate USB device on port 1
hub 1-0:1.0: unable to enumerate USB device on port 1
hub 1-0:1.0: unable to enumerate USB device on port 1
usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: not running at top speed; connect to a high speed hub
usb 2-1: configuration #1 chosen from 1 choice

As this problem occurs most of the time but not regularly, it is possibly a hardware error in the usb adapter (defective contact etc.), but since i'm new to linux i just wanted to be sure before spending money on a new wlan-adapter or card. Tell me what you think.

additional info:
what lsusb -v says about it (when it works)

Bus 002 Device 002: ID 2001:3c00 D-Link Corp. [hex] DWL-G122 802.11g rev. B1 [ralink]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x2001 D-Link Corp. [hex]
  idProduct          0x3c00 DWL-G122 802.11g rev. B1 [ralink]
  bcdDevice            0.01
  iManufacturer           1 ANI 
  iProduct                2 802.11g W
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              300mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes        
        bInterval               0
Device Qualifier (for other device speed):
     bLength                10
     bDescriptorType         6
     bcdUSB               2.00
     bDeviceClass            0 (Defined at Interface level)
     bDeviceSubClass         0 
     bDeviceProtocol         0 
     bMaxPacketSize0        64
     bNumConfigurations      1
Device Status:     0x0000
(Bus Powered)

Thanks in advance for any suggestions.

Last edited by t09l (2009-03-03 13:48:33)

Offline

#2 2009-03-03 20:14:06

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: USB problem: "failed to enumerate"

Some reports suggest that the current limit on USB devices for USB 2.0 cannot be supplied by the motherboard.

Perhaps something of this nature is affecting the performance.  FWIW


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2009-03-04 04:48:01

rkowalick
Member
Registered: 2009-02-22
Posts: 5

Re: USB problem: "failed to enumerate"

I had a similar problem with game controller. It was remedied by plugging the controller into a powered USB port in the back of the computer instead of one on the front panel.

Offline

#4 2009-03-05 09:14:54

t09l
Member
Registered: 2009-03-03
Posts: 2

Re: USB problem: "failed to enumerate"

Thanks for your answers; i wasn't able to solve the problem, though (i.e. i get rarely any internet access, currently writing this from another pc). I'm pretty sure now the usb adapter is simply broken - i'll buy a new adapter / network card and see what happens.

Offline

Board footer

Powered by FluxBB