From: Oleksij Rempel <linux@rempel-privat.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] init ath9k_htc device fails
Date: Sun, 15 Mar 2015 22:13:35 +0100 [thread overview]
Message-ID: <5505F5FF.9010109@rempel-privat.de> (raw)
In-Reply-To: <CADeDqzxOaguzTFdACfgNAnGndymGJOP6OjBk-jrkn9RdB-zq_w@mail.gmail.com>
Am 15.03.2015 um 16:50 schrieb seb xper:
> Hi,
>
> I'm trying to get an external usb wireless stick working on my android
> phone using linux deploy. I've managed to compile the needed kernel
> module but initialising the device fails.
1. You are using old ath9k_common and new ath9k_htc source.
2. old firmware - not actual problem but, don't report bugs if you use it.
> Could someone please point me in the right direction?
>
> Thanks a lot.
> sebastian
>
> lsusb output:
> Bus 001 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> dmesg output:
> [ 1230.872528] ath9k_common: Unknown symbol ath9k_hw_set_txpowerlimit
> (err 0)
> [ 1266.442230] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
> [ 1266.679565] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
> [ 1266.934692] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
> [ 1266.936035] ath: EEPROM regdomain: 0x809c
> [ 1266.936096] ath: EEPROM indicates we should expect a country code
> [ 1266.936157] ath: doing EEPROM country->regdmn map search
> [ 1266.936218] ath: country maps to regdmn code: 0x52
> [ 1266.936309] ath: Country alpha2 being used: CN
> [ 1266.936370] ath: Regpair used: 0x52
> [ 1266.936798] ------------[ cut here ]------------
> [ 1266.937683] WARNING: at
> /home/seb/android/system/out/target/product/haida/obj/KERNEL_OBJ/modules/compat_wl12xx/net/wireless/reg.c:1279
> wiphy_apply_custom_regulatory+0x130/0x188 [cfg80211]()
> [ 1266.939605] Modules linked in: ath9k_htc(+) ath9k_common ath9k_hw ath
> wl12xx_sdio(O) wl12xx(O) mac80211(O) cfg80211(O) compat(O) [last
> unloaded: wl12xx_sdio]
> [ 1266.940002] [<c0012cd8>] (unwind_backtrace+0x0/0xe0) from
> [<c008c44c>] (warn_slowpath_common+0x4c/0x64)
> [ 1266.940185] [<c008c44c>] (warn_slowpath_common+0x4c/0x64) from
> [<c008c47c>] (warn_slowpath_null+0x18/0x1c)
> [ 1266.940399] [<c008c47c>] (warn_slowpath_null+0x18/0x1c) from
> [<bf007ce8>] (wiphy_apply_custom_regulatory+0x130/0x188 [cfg80211])
> [ 1266.940673] [<bf007ce8>] (wiphy_apply_custom_regulatory+0x130/0x188
> [cfg80211]) from [<bf02377c>] (ath_regd_init+0x334/0x3c8 [ath])
> [ 1266.940979] [<bf02377c>] (ath_regd_init+0x334/0x3c8 [ath]) from
> [<bf0ff4f4>] (ath9k_htc_probe_device+0x5fc/0x83c [ath9k_htc])
> [ 1266.941284] [<bf0ff4f4>] (ath9k_htc_probe_device+0x5fc/0x83c
> [ath9k_htc]) from [<bf0f771c>] (ath9k_htc_hw_init+0x10/0x2c [ath9k_htc])
> [ 1266.941589] [<bf0f771c>] (ath9k_htc_hw_init+0x10/0x2c [ath9k_htc])
> from [<bf0f9030>] (ath9k_hif_usb_probe+0x338/0x374 [ath9k_htc])
> [ 1266.941833] [<bf0f9030>] (ath9k_hif_usb_probe+0x338/0x374
> [ath9k_htc]) from [<c038175c>] (usb_probe_interface+0x11c/0x198)
> [ 1266.942016] [<c038175c>] (usb_probe_interface+0x11c/0x198) from
> [<c03165fc>] (driver_probe_device+0xb8/0x1fc)
> [ 1266.942443] [<c03165fc>] (driver_probe_device+0xb8/0x1fc) from
> [<c03167a8>] (__driver_attach+0x68/0x8c)
> [ 1266.942596] [<c03167a8>] (__driver_attach+0x68/0x8c) from
> [<c0314de8>] (bus_for_each_dev+0x48/0x80)
> [ 1266.942749] [<c0314de8>] (bus_for_each_dev+0x48/0x80) from
> [<c0315d8c>] (bus_add_driver+0xd8/0x23c)
> [ 1266.942901] [<c0315d8c>] (bus_add_driver+0xd8/0x23c) from
> [<c0316cac>] (driver_register+0x9c/0x120)
> [ 1266.943054] [<c0316cac>] (driver_register+0x9c/0x120) from
> [<c03805c8>] (usb_register_driver+0x60/0x124)
> [ 1266.943298] [<c03805c8>] (usb_register_driver+0x60/0x124) from
> [<bf10a008>] (init_module+0x8/0x2c [ath9k_htc])
> [ 1266.943511] [<bf10a008>] (init_module+0x8/0x2c [ath9k_htc]) from
> [<c0008574>] (do_one_initcall+0x90/0x160)
> [ 1266.943695] [<c0008574>] (do_one_initcall+0x90/0x160) from
> [<c00c3bd8>] (sys_init_module+0x1508/0x1694)
> [ 1266.943878] [<c00c3bd8>] (sys_init_module+0x1508/0x1694) from
> [<c000dd40>] (ret_fast_syscall+0x0/0x30)
> [ 1266.943969] ---[ end trace 0a7e2aee22e460a5 ]---
> [ 1266.951690] ------------[ cut here ]------------
> [ 1266.952575] WARNING: at
> /home/seb/android/system/out/target/product/haida/obj/KERNEL_OBJ/modules/compat_wl12xx/net/wireless/core.c:579
> wiphy_register+0x4a8/0x518 [cfg80211]()
> [ 1266.954437] Modules linked in: ath9k_htc(+) ath9k_common ath9k_hw ath
> wl12xx_sdio(O) wl12xx(O) mac80211(O) cfg80211(O) compat(O) [last
> unloaded: wl12xx_sdio]
> [ 1266.954833] [<c0012cd8>] (unwind_backtrace+0x0/0xe0) from
> [<c008c44c>] (warn_slowpath_common+0x4c/0x64)
> [ 1266.954986] [<c008c44c>] (warn_slowpath_common+0x4c/0x64) from
> [<c008c47c>] (warn_slowpath_null+0x18/0x1c)
> [ 1266.955200] [<c008c47c>] (warn_slowpath_null+0x18/0x1c) from
> [<bf005170>] (wiphy_register+0x4a8/0x518 [cfg80211])
> [ 1266.955596] [<bf005170>] (wiphy_register+0x4a8/0x518 [cfg80211]) from
> [<bf0295cc>] (ieee80211_register_hw+0x430/0x654 [mac80211])
> [ 1266.955993] [<bf0295cc>] (ieee80211_register_hw+0x430/0x654
> [mac80211]) from [<bf0ff564>] (ath9k_htc_probe_device+0x66c/0x83c
> [ath9k_htc])
> [ 1266.956298] [<bf0ff564>] (ath9k_htc_probe_device+0x66c/0x83c
> [ath9k_htc]) from [<bf0f771c>] (ath9k_htc_hw_init+0x10/0x2c [ath9k_htc])
> [ 1266.956756] [<bf0f771c>] (ath9k_htc_hw_init+0x10/0x2c [ath9k_htc])
> from [<bf0f9030>] (ath9k_hif_usb_probe+0x338/0x374 [ath9k_htc])
> [ 1266.957000] [<bf0f9030>] (ath9k_hif_usb_probe+0x338/0x374
> [ath9k_htc]) from [<c038175c>] (usb_probe_interface+0x11c/0x198)
> [ 1266.957183] [<c038175c>] (usb_probe_interface+0x11c/0x198) from
> [<c03165fc>] (driver_probe_device+0xb8/0x1fc)
> [ 1266.957366] [<c03165fc>] (driver_probe_device+0xb8/0x1fc) from
> [<c03167a8>] (__driver_attach+0x68/0x8c)
> [ 1266.957519] [<c03167a8>] (__driver_attach+0x68/0x8c) from
> [<c0314de8>] (bus_for_each_dev+0x48/0x80)
> [ 1266.957672] [<c0314de8>] (bus_for_each_dev+0x48/0x80) from
> [<c0315d8c>] (bus_add_driver+0xd8/0x23c)
> [ 1266.957824] [<c0315d8c>] (bus_add_driver+0xd8/0x23c) from
> [<c0316cac>] (driver_register+0x9c/0x120)
> [ 1266.957977] [<c0316cac>] (driver_register+0x9c/0x120) from
> [<c03805c8>] (usb_register_driver+0x60/0x124)
> [ 1266.958190] [<c03805c8>] (usb_register_driver+0x60/0x124) from
> [<bf10a008>] (init_module+0x8/0x2c [ath9k_htc])
> [ 1266.958435] [<bf10a008>] (init_module+0x8/0x2c [ath9k_htc]) from
> [<c0008574>] (do_one_initcall+0x90/0x160)
> [ 1266.958587] [<c0008574>] (do_one_initcall+0x90/0x160) from
> [<c00c3bd8>] (sys_init_module+0x1508/0x1694)
> [ 1266.958770] [<c00c3bd8>] (sys_init_module+0x1508/0x1694) from
> [<c000dd40>] (ret_fast_syscall+0x0/0x30)
> [ 1266.958862] ---[ end trace 0a7e2aee22e460a6 ]---
> [ 1266.962249] Failed to initialize the device
> [ 1266.970794] ath9k_htc: probe of 1-1:1.0 failed with error -22
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
--
Regards,
Oleksij
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150315/899a3111/attachment.pgp
next prev parent reply other threads:[~2015-03-15 21:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-15 15:50 [ath9k-devel] init ath9k_htc device fails seb xper
2015-03-15 21:13 ` Oleksij Rempel [this message]
2015-03-16 2:03 ` 郑玉伟
2015-03-16 2:13 ` [ath9k-devel] 回复: " xpkdb
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=5505F5FF.9010109@rempel-privat.de \
--to=linux@rempel-privat.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox