Historical ath9k-devel archives
 help / color / mirror / Atom feed
From: xpkdb <xpkdb@163.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] 回复: Re:  init ath9k_htc device fails
Date: Mon, 16 Mar 2015 10:13:15 +0800	[thread overview]
Message-ID: <201503161013145933120@163.com> (raw)
In-Reply-To: 82BAAE499C1FCC499D6E0F5DEB09AF5B53EB90@EX02.corp.qihoo.net












???????????????????????????????????????From:????Date:?2015-03-16?10:03To:?seb xper; ath9k-devel at lists.ath9k.orgSubject:?Re: [ath9k-devel] init ath9k_htc device fails







Maybe the phone?s kernel had been modified,? it didn?t export ?ath9k_hw_set_txpowerlimit symbol. ?You?d better use the same kernel source tree code as
 your phone to compile this module. 
?
?
?
From: ath9k-devel-bounces@lists.ath9k.org [mailto:ath9k-devel-bounces at lists.ath9k.org]
On Behalf Of seb xper

Sent: Sunday, March 15, 2015 11:51 PM

To: ath9k-devel at lists.ath9k.org

Subject: [ath9k-devel] init ath9k_htc device fails
?


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.


?


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






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150316/ff88afe2/attachment-0001.htm 

      reply	other threads:[~2015-03-16  2: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
2015-03-16  2:03 ` 郑玉伟
2015-03-16  2:13   ` xpkdb [this message]

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=201503161013145933120@163.com \
    --to=xpkdb@163.com \
    --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