All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k_htc, 2.6.36 and "Target is unresponsive" error
@ 2010-11-19 11:05 Petr Štetiar
  2010-11-19 12:06 ` Mohammed Shafi
  2010-11-22  5:45 ` Mohammed Shafi
  0 siblings, 2 replies; 18+ messages in thread
From: Petr Štetiar @ 2010-11-19 11:05 UTC (permalink / raw)
  To: ath9k-devel

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?

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.

1. line 128 in htc_drv_init.c time_left = wait_for_completion_timeout(&priv->htc->target_wait, HZ);

-- ynezz

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-08-01  4:38 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-19 11:05 [ath9k-devel] ath9k_htc, 2.6.36 and "Target is unresponsive" error Petr Štetiar
2010-11-19 12:06 ` Mohammed Shafi
2010-11-19 12:27   ` Petr Štetiar
2010-11-19 18:34     ` Petr Štetiar
2010-11-20 13:59       ` Petr Štetiar
2010-11-22  5:10         ` Mohammed Shafi
2010-11-22  8:40           ` Petr Štetiar
2010-11-22  5:45 ` Mohammed Shafi
2010-11-22  9:14   ` Petr Štetiar
2010-11-22  9:42     ` Mohammed Shafi
2010-11-22 11:30       ` Petr Štetiar
2010-11-22 13:41         ` Mohammed Shafi
2010-11-22 15:47           ` Petr Štetiar
2010-12-03 10:36             ` Rajkumar Manoharan
2010-12-03 11:33               ` Rajkumar Manoharan
2010-12-06 18:27                 ` Petr Štetiar
2011-07-30 13:23                 ` [ath9k-devel] ath9k_htc, 2.6.36 and Levi Civita
2011-08-01  4:38                   ` Mohammed Shafi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.