rt2800usb initialization problem

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

micronet

18-07-2009 00:42:35

Hello,

I'm trying to get an USB-Stick with RT2870 to work with a recent git version. Everything gets fine up to the point, where the queues should get cleared. but the packet initiated in rt2x00usb_clear_entry, doesn't get sent from the stick. Instead the USB-Stack complains, that the packet times out.

How could this be solved?

best regards

IvD

18-07-2009 02:55:38


I'm trying to get an USB-Stick with RT2870 to work with a recent git version. Everything gets fine up to the point, where the queues should get cleared. but the packet initiated in rt2x00usb_clear_entry, doesn't get sent from the stick. Instead the USB-Stack complains, that the packet times out.

How could this be solved?
[/quotespsy98q2]

By providing information about the problem. The following things are quite vague

'an USB-stick' -> name? exact RT/RF chipset information from log?
'where the queues should be cleared' -> what point is that?
'USB-Stack complains' -> debug messages? log information?

Other then that
when did you take the rt2x00.git snapshot?
what mode are you working in (master, managed, adhoc)?
...

micronet

20-07-2009 18:35:29

Sorry for the lack of information; it just was a cruel friday evening.

The Stick is an Linksys WUSB600N. The driver (rt2800usb) detects
[code1kpspk6y]phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 1600, rf: 0002, rev: 28720202.[/code1kpspk6y]

when doing a ifconfig wlan0 up, first the firmware is loaded and intialized; afterwards the queues get cleared within the call of rt2x00usb_clear_entry (within rt2x00usb.c). This is the point where the transport fails.

The git is from last wednesday.

attached is a log of the whole process.

best regards