[rt2x00-users] [PATCH 04/17] rt2x00: fix hang when unplugging USB device in use

Ivo Van Doorn ivdoorn at gmail.com
Mon Dec 13 23:36:49 EST 2010


Hi,

> I have two issues to report regarding system hangs. The system would either freeze entirely, prompting me to hard-reset it, or it would freeze certain parts of the system like, no shell commands execution. These occurrences manifest themselves sporadically, when I'm switching between modes (ad-hoc, monitor etc.), also when I try to rmmod the rt2xxx stuff or when unplugging the USB chip. I have to "ifconcfig wlanx down" the device first in order to not hang my box. My question is, will this patch fix all of that, or only parts of it? Here's log I managed to dig out.

This patch, but also the queue refactoring patches in this series
should resolve all unplug and rmmod bugs.

> My second question pertains to the STA drivers - rt3070sta. It is not possible to switch between the rt2800usb and rt3070sta without having to unplug the device and plugging it back again followed by loading manually the desired driver.
> I'm not sure but I think this might have  something to do withe voltage settings or the firmware. But it really is annoying to physically unplug the USB chip every time I switch between the two modules.
> Is it possible to enable switching between rt3070sta/rt2800usb without unplugging/plugging the USB chip?

It should be possible, but what are the exact problems that you encounter?
Is there a difference between going from rt3070sta to rt2800usb and vice versa?
(Please note that the rt2x00 project doesn't maintain the rt3070sta
driver in the staging directory).

Ivo



More information about the users mailing list