On Fri, Nov 19, 2010 at 4:35 PM, Petr Štetiar <yn...@true.cz> wrote:
> Hi,
Hi
>
> I've USB WiFi stick with VID 0x0cf3 and PID 0x1006, it's TPLink TL-WN422Gv2.
> Everything works fine, even the WPA, but until I reset my board (it's ARMv4t
> ts7250/mach-ep93xx). Then if the driver is loaded again, it ends with
> "ath9k_htc: Target is unresponsive" error. If I replug the device, or power
> on/off the board everything starts to work again without any problem, so maybe
> the driver is somehow stuck somewhere?
>May be the firmware gets loaded/activated only when the device pugged in?
> I've tried to rmmod all the modules, but it's still same error, then I've
> tried to increase the wait_for_completion_timeout[1] from HZ to HZ*8, but it
> didn't helped anyway. Looks like the problem somewhere deeper, like that the
> device is left in some undefined state, or maybe some timing/USB problem?
>
> Any hint what could get wrong at this stage? How to debug this? Is it possible
> to perform some reset of the device, so I can "emulate" replug of the device?
> It's pretty easy to reproduce, happens always, so it shouldn't be that hard to
> find the root cause of the problem. Thank you for any hints.
>We will look into it
> 1. line 128 in htc_drv_init.c time_left =
> wait_for_completion_timeout(&priv->htc->target_wait, HZ);
>
> -- ynezz
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel@lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel