From: "Petr Štetiar" <ynezz@true.cz>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k_htc, 2.6.36 and "Target is unresponsive" error
Date: Fri, 19 Nov 2010 12:05:59 +0100 [thread overview]
Message-ID: <20101119110559.GO15069@ibawizard.net> (raw)
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
next reply other threads:[~2010-11-19 11:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-19 11:05 Petr Štetiar [this message]
2010-11-19 12:06 ` [ath9k-devel] ath9k_htc, 2.6.36 and "Target is unresponsive" error 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101119110559.GO15069@ibawizard.net \
--to=ynezz@true.cz \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.