getting "usb 1-1: device descriptor read/64, error -71&

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=1486

Pisami

07-06-2006 08:55:09

When I plug the USB stick to my computer, I get errors like
[code13al0uq0]
usb 1-1: new high speed USB device using ehci_hcd and address 35
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usb 1-1: new high speed USB device using ehci_hcd and address 36
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usb 1-1: new high speed USB device using ehci_hcd and address 37
usb 1-1: device descriptor read/8, error -71
usb 1-1: device descriptor read/8, error -71
usb 1-1: new high speed USB device using ehci_hcd and address 38
usb 1-1: device descriptor read/8, error -71
usb 1-1: device descriptor read/8, error -71
[/code13al0uq0]
I don't know what or where the problem is, but tell me what I can do. The stick works on Windows machine, at least it showed me the signal strength (I didn't test it more).

It has worked a few months fine on my computer, AMD Athlon XP, kernel 2.6.15.4, and at least my USB memory card reader still works... The driver I was using is the latest beta and I tried nightly cvs snapshot too... no change. I think it is a kernel thing, am I right?

serialmonkey

07-06-2006 14:30:07

Do you get all those errors before loading the driver ?

Have you tried disabling ehci and just using ochi ? (i.e. USB2 vs USB1)

Pisami

08-06-2006 09:36:51

Yes, all those errors came when I plugged my WLAN adapter to its USB port, BEFORE the driver loading. The driver doesn't load automatically at all anymore... But manually loading doesn't help either.

As I said, my WLAN has worked fine before, but now I had to do hard reboot (just cut the mains) because something (my keyboard if I remember correctly) didn't work. I tried copy-paste the "reboot" command to console, and succeeded, but when the rt2570 driver is jammed, the computer doesn't shut down properly...

I have only USB2 ports in my computer, and I'm not sure whether they work with USB1 drivers (cannot remember which is OHCI or EHCI or something... D ). This Windows machine have USB2 ports (which doesn't work at all, don't know why... and just installed USB1 card that works... SP2 is installed... Is my problem that USB2? It has worked... (

I have seen a message which looked like "device not accepting address xx" with the messages that I already posted.

It would be very nice if someone could tell me what to do. I'm now working and I don't have much time to test my computer.

serialmonkey

08-06-2006 22:18:01

Afraid I don't know - you are just going to have to experiment with echi vs ochi

Pisami

10-06-2006 20:41:26

Thanks for the advice, serialmonkey, it helpd me. I compiled newest kernel I had on my computer (2.6.16.2) and all USB drivers as modules + USB debug. Then I started an so on... Wlan didn't work at the beginning (all the needed modules loaded automatically, so all USB modules did load... and I got the same messages as before). Then I ran "rmmod ehci_hcd" and disconnected the wlan adapter and plugged it back again. Then I loaded the rt2570-b1-something driver and set the network up and now I'm here! Thanks for the advice again, it was awful without Internet... The case is still open to me, why my wlan adapter did that after working fine so long time...?

Here is what dmesg says when I rmmod the echi_hcd and remove & plug again ...
[code22oeo31m]ehci_hcd 0000:00:10.4: remove, state 1
ehci_hcd 0000:00:10.4: roothub graceful disconnect
usb usb5: USB disconnect, address 1
usb usb5: usb_disable_device nuking all URBs
ehci_hcd 0000:00:10.4: shutdown urb df003920 pipe 40408180 ep1in-intr
usb usb5: unregistering interface 5-0:1.0
usb 5-0:1.0: uevent
usb usb5: unregistering device
usb usb5: uevent
ehci_hcd 0000:00:10.4: stop
ehci_hcd 0000:00:10.4: reset command 01000b (park)=0 ithresh=1 period=256 Reset RUN
uhci_hcd 0000:00:10.3: wakeup_rh (auto-start)
hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0002
uhci_hcd 0000:00:10.3: port 1 portsc 0093,00
hub 4-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
ehci_hcd 0000:00:10.4: irq normal 1 err 17 reclaim 18 (lost 0)
ehci_hcd 0000:00:10.4: complete 18 unlink 0
ehci_hcd 0000:00:10.4: ehci_stop completed status 1000 Halt
ehci_hcd 0000:00:10.4: USB bus 5 deregistered
ACPI: PCI interrupt for device 0000:00:10.4 disabled
hub 4-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 4-1: new full speed USB device using uhci_hcd and address 2
usb 4-1: default language 0x0409
usb 4-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 4-1: Product: WLI-U2-KG54
usb 4-1: Manufacturer: Buffalo
usb 4-1: uevent
usb 4-1: device is bus-powered
usb 4-1: configuration #1 chosen from 1 choice
usb 4-1: adding 4-1:1.0 (config #1, interface 0)
usb 4-1:1.0: uevent
drivers/usb/core/inode.c: creating file '002'
hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0002
uhci_hcd 0000:00:10.3: port 1 portsc 008a,00
hub 4-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
usb 4-1: USB disconnect, address 2
usb 4-1: usb_disable_device nuking all URBs
usb 4-1: unregistering interface 4-1:1.0
usb 4-1:1.0: uevent
usb 4-1: unregistering device
usb 4-1: uevent
hub 4-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
uhci_hcd 0000:00:10.3: suspend_rh (auto-stop)
uhci_hcd 0000:00:10.3: wakeup_rh (auto-start)
hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0002
uhci_hcd 0000:00:10.3: port 1 portsc 0093,00
hub 4-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 4-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 4-1: new full speed USB device using uhci_hcd and address 3
usb 4-1: default language 0x0409
usb 4-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 4-1: Product: WLI-U2-KG54
usb 4-1: Manufacturer: Buffalo
usb 4-1: uevent
usb 4-1: device is bus-powered
usb 4-1: configuration #1 chosen from 1 choice
usb 4-1: adding 4-1:1.0 (config #1, interface 0)
usb 4-1:1.0: uevent
drivers/usb/core/inode.c: creating file '003'
rtusb 4-1:1.0: usb_probe_interface
rtusb 4-1:1.0: usb_probe_interface - got id
idVendor = 0x411, idProduct = 0x66
usbcore: registered new driver rtusb
RT25usb Driver version 1.0.0
[/code22oeo31m]

serialmonkey

12-06-2006 10:22:13

Sounds more like something has broken with your USB port/controller rather than the device itself

ByteChanger

15-12-2007 05:33:52

Hi There, I'm hoping someone could help me with a problem similar to one in this post.

My Belkin NIC was working perfectly for about the past week or two. I added a second DVB card to my system and I lost my ability to bring up wlan0 now. ifup wlan0 gives me ERROR while getting interface flags no such device. If I use my hub I can visual see error 'device descriptor errors, error -71'.

I did quite a bit of searching the internet for ideas on what to look for. I've tried removing the ehci_hcd module and reloading the rt73 module and testing. Tried modifying the boot options as noted in the linux usb faq, with noapic and a couple others. Tried using an externally powered usb hub. A side note, other usb devices seem to work ok, such as my usb storage device.

I've removed the second DVB card, even reloaded Debian, and I'm still getting the same result. It almost seems as though the device is not telling the OS what it is properly. The USB adapter doesn't even register when I do a lsusb or ifconfig -a.

[b1lhxmjoa]Here are some of the things I've tried[/b1lhxmjoa]

I thought it might be because of the new card I installed, so I removed it. No change. Figured, ok, I'll do a clean install, installed a fresh copy of Debian, updated the kernel, and followed serial monkey's HOWTO RT73 procedure as noted below. (Very helpful btw! thx 4 it) But surprisingly, it still will not work. Now, it seems like the device is not identifying itself properly to the OS, one msg is 'device descriptor errors, error -71' if i plug it into a externally powered hub. Also, while booting the system tries to bring the interface up, but it gives this error "wlan0 ERROR while getting interface flags No such device" I also read somewhere that this (or maybe it was -21) was a timeout.

The USB Adapter still works in windoze.

Here is some info from my system

[b1lhxmjoa]Uname r[/b1lhxmjoa]
[code1lhxmjoa]
Linux debian 2.6.23.9.20071214.1 #1 Fri Dec 14 15:16:04 EST 2007 i686 GNU/Linux[/code1lhxmjoa]

[b1lhxmjoa]Hardware[/b1lhxmjoa]
[code1lhxmjoa]Belkin RT 73 USB F5D7050B, revision 3[/code1lhxmjoa]

[b1lhxmjoa]
Kernel Config[/b1lhxmjoa]
[code1lhxmjoa]Networking-Wireless->
[*] wireless extensions
<*> Generic IEEE 802.11 Networking Stack
<*> IEEE 802.11 WEP encryption (802.1x)
[/code1lhxmjoa]

[b1lhxmjoa]
blacklisted these in /etc/modprobe.d/blacklist[/b1lhxmjoa]
[code1lhxmjoa]# Blacklist rt73usb, as it is a non-functional beta module which conflicts with the working rt73 module.
blacklist rt73usb
# Blacklist rt2570, as it causes conflicts with rt73
blacklist rt2570
# Other modules that break rt73
blacklist rt2500usb
blacklist rt2x00lib
[/code1lhxmjoa]

[b1lhxmjoa]Modified /etc/network/interfaces and added[/b1lhxmjoa]
[code1lhxmjoa]auto wlan0
iface wlan0 inet static
address 192.168.123.106
netmask 255.255.255.0
gateway 192.168.123.254
pre-up ifconfig wlan0 up
pre-up iwconfig wlan0 essid essid_name_here
pre-up iwconfig wlan0 key s:plain_text_pw_here
pre-up iwconfig wlan0 mode Managed[/code1lhxmjoa]


[b1lhxmjoa]lsusb[/b1lhxmjoa]
[code1lhxmjoa]Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000[/code1lhxmjoa]

(Also, If I plug in a usb key (storage device) into the hub, the key/hub seems to work ok)
(Also, I'm sure I seen Belkin in that list before all this happened...)

[b1lhxmjoa]
cat /proc/interrupts[/b1lhxmjoa]
[code1lhxmjoa] CPU0
0: 10130419 XT-PIC-XT timer
1: 8 XT-PIC-XT i8042
2: 0 XT-PIC-XT cascade
5: 0 XT-PIC-XT uhci_hcd:usb3
8: 2 XT-PIC-XT rtc
9: 0 XT-PIC-XT acpi
10: 5985 XT-PIC-XT ehci_hcd:usb1, eth0
11: 0 XT-PIC-XT uhci_hcd:usb2
12: 0 XT-PIC-XT uhci_hcd:usb4, VIA8233
14: 3743 XT-PIC-XT ide0
15: 69 XT-PIC-XT ide1
NMI: 0
ERR: 0[/code1lhxmjoa]

[b1lhxmjoa]lsmod[/b1lhxmjoa]
[code1lhxmjoa]
Module Size Used by
ac 5572 0
rt73 193728 0
dm_mod 53280 0
smbfs 58552 0
capability 4684 0
commoncap 7040 1 capability
af_packet 16840 0
psmouse 37096 0
loop 17224 0
snd_via82xx 25456 0
snd_ac97_codec 90276 1 snd_via82xx
ac97_bus 2176 1 snd_ac97_codec
fan 5124 0
thermal 15924 0
snd_pcm 71504 2 snd_via82xx,snd_ac97_codec
snd_timer 21128 1 snd_pcm
snd_page_alloc 10056 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7488 1 snd_via82xx
snd_rawmidi 22464 1 snd_mpu401_uart
snd_seq_device 7692 1 snd_rawmidi
i2c_viapro 8220 0
uhci_hcd 23188 0
snd 47780 7 snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
ehci_hcd 29272 0
button 8272 0
processor 23660 1 thermal
rtc 11864 0
i2c_core 23376 1 i2c_viapro
soundcore 7264 1 snd
usbcore 127900 4 rt73,uhci_hcd,ehci_hcd

[/code1lhxmjoa]


Thanks very much for any help you can offer.
bc

Spy84464

17-12-2007 19:15:26

The log you posted don't contain anything helpful because the driver wasn't running in debug mode. Recompile it again with "make debug", followed by "make install", then insert it with "modprobe debug=31". Make sure you use the latest CVS tarball for this. Finally, the "Generic IEEE 802.11 Networking Stack" is no use for rt73, but that should be harmless.

Edit Reading your post again, the problem could be coming from the USB layer, because no ID is reported for any device. Did you update your kernel, or change any bios parameter lately?