首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >加载ath9k_htc内核驱动程序失败

加载ath9k_htc内核驱动程序失败
EN

Unix & Linux用户
提问于 2014-11-26 10:15:29
回答 1查看 1.1K关注 0票数 1

有人能帮我指出正确的方向,让我的外部无线手柄(TL-WN722N)在我的Xperia (海达)智能手机上工作吗?

到目前为止,我已经完成了以下工作:

  1. 我下载了LegacyXperia CM11.0源代码,并将内核配置为构建atheros无线模块。LX的构建是成功的,ROM运行在我的近地天体上。
  2. 我将atheros固件(htc_9271.fw)复制到/system/etc/固件
  3. 我对atheros内核模块(ath.ko、ath9k_hw.ko、ath9k_common.ko、ath9k_htc.ko)进行了建模。
  4. 我通过Linux部署安装并启动了Ubuntu。
  5. 然后我用一条供电的USB OTG y电缆将无线dongle (TL-WN722N)连接到电话上。
  6. 我强迫usb配置克服dmesg (sudo su -c 'echo -n 1>-n 1)中的“可用总线电源不足”消息。
  7. 这触发了固件的加载,但不幸的是,设备未能初始化,请参见下面的dmesg输出。

任何帮助我都会很高兴的。谢谢大堆!

这是dmesg输出:

代码语言:javascript
复制
[  588.347839] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
[  588.652984] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[  588.889007] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
[  589.107238] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
[  589.107421] ath: EEPROM regdomain: 0x809c
[  589.107421] ath: EEPROM indicates we should expect a country code
[  589.107452] ath: doing EEPROM country->regdmn map search
[  589.107452] ath: country maps to regdmn code: 0x52
[  589.107452] ath: Country alpha2 being used: CN
[  589.107482] ath: Regpair used: 0x52
[  589.107482] ------------[ cut here ]------------
[  589.107604] WARNING: at /home/student/android/system/out/target/product/haida/obj/KERNEL_OBJ/modules/compat_wl12xx/net/wireless/reg.c:1279 wiphy_apply_custom_regulatory+0x130/0x188 [cfg80211]()
[  589.107879] Modules linked in: ath9k_htc ath9k_common ath9k_hw ath mac80211(O) cfg80211(O) compat(O) [last unloaded: wl12xx]
[  589.107940] [<c0012c18>] (unwind_backtrace+0x0/0xe0) from [<c0088b8c>] (warn_slowpath_common+0x4c/0x64)
[  589.107940] [<c0088b8c>] (warn_slowpath_common+0x4c/0x64) from [<c0088bbc>] (warn_slowpath_null+0x18/0x1c)
[  589.107971] [<c0088bbc>] (warn_slowpath_null+0x18/0x1c) from [<bf007ce8>] (wiphy_apply_custom_regulatory+0x130/0x188 [cfg80211])
[  589.108001] [<bf007ce8>] (wiphy_apply_custom_regulatory+0x130/0x188 [cfg80211]) from [<bf023654>] (ath_regd_init+0x110/0x14c [ath])
[  589.108032] [<bf023654>] (ath_regd_init+0x110/0x14c [ath]) from [<bf0f4374>] (ath9k_htc_probe_device+0x574/0x77c [ath9k_htc])
[  589.108062] [<bf0f4374>] (ath9k_htc_probe_device+0x574/0x77c [ath9k_htc]) from [<bf0ec710>] (ath9k_htc_hw_init+0x10/0x2c [ath9k_htc])
[  589.108093] [<bf0ec710>] (ath9k_htc_hw_init+0x10/0x2c [ath9k_htc]) from [<bf0ee110>] (ath9k_hif_usb_firmware_cb+0x17c/0x1a0 [ath9k_htc])
[  589.108123] [<bf0ee110>] (ath9k_hif_usb_firmware_cb+0x17c/0x1a0 [ath9k_htc]) from [<c0319e78>] (request_firmware_work_func+0x84/0xb8)
[  589.108154] [<c0319e78>] (request_firmware_work_func+0x84/0xb8) from [<c009cfe0>] (process_one_work+0x1ec/0x358)
[  589.108184] [<c009cfe0>] (process_one_work+0x1ec/0x358) from [<c009d340>] (worker_thread+0x1c8/0x30c)
[  589.108184] [<c009d340>] (worker_thread+0x1c8/0x30c) from [<c00a18ac>] (kthread+0x80/0x90)
[  589.108215] [<c00a18ac>] (kthread+0x80/0x90) from [<c000e5e0>] (kernel_thread_exit+0x0/0x8)
[  589.108215] ---[ end trace e688c0c28db86abf ]---
[  589.108398] ------------[ cut here ]------------
[  589.108612] WARNING: at /home/student/android/system/out/target/product/haida/obj/KERNEL_OBJ/modules/compat_wl12xx/net/wireless/core.c:579 wiphy_register+0x4a8/0x518 [cfg80211]()
[  589.108795] Modules linked in: ath9k_htc ath9k_common ath9k_hw ath mac80211(O) cfg80211(O) compat(O) [last unloaded: wl12xx]
[  589.108825] [<c0012c18>] (unwind_backtrace+0x0/0xe0) from [<c0088b8c>] (warn_slowpath_common+0x4c/0x64)
[  589.108856] [<c0088b8c>] (warn_slowpath_common+0x4c/0x64) from [<c0088bbc>] (warn_slowpath_null+0x18/0x1c)
[  589.108856] [<c0088bbc>] (warn_slowpath_null+0x18/0x1c) from [<bf005170>] (wiphy_register+0x4a8/0x518 [cfg80211])
[  589.108917] [<bf005170>] (wiphy_register+0x4a8/0x518 [cfg80211]) from [<bf0295cc>] (ieee80211_register_hw+0x430/0x654 [mac80211])
[  589.108978] [<bf0295cc>] (ieee80211_register_hw+0x430/0x654 [mac80211]) from [<bf0f43dc>] (ath9k_htc_probe_device+0x5dc/0x77c [ath9k_htc])
[  589.108978] [<bf0f43dc>] (ath9k_htc_probe_device+0x5dc/0x77c [ath9k_htc]) from [<bf0ec710>] (ath9k_htc_hw_init+0x10/0x2c [ath9k_htc])
[  589.109039] [<bf0ec710>] (ath9k_htc_hw_init+0x10/0x2c [ath9k_htc]) from [<bf0ee110>] (ath9k_hif_usb_firmware_cb+0x17c/0x1a0 [ath9k_htc])
[  589.109069] [<bf0ee110>] (ath9k_hif_usb_firmware_cb+0x17c/0x1a0 [ath9k_htc]) from [<c0319e78>] (request_firmware_work_func+0x84/0xb8)
[  589.109100] [<c0319e78>] (request_firmware_work_func+0x84/0xb8) from [<c009cfe0>] (process_one_work+0x1ec/0x358)
[  589.109130] [<c009cfe0>] (process_one_work+0x1ec/0x358) from [<c009d340>] (worker_thread+0x1c8/0x30c)
[  589.109130] [<c009d340>] (worker_thread+0x1c8/0x30c) from [<c00a18ac>] (kthread+0x80/0x90)
[  589.109161] [<c00a18ac>] (kthread+0x80/0x90) from [<c000e5e0>] (kernel_thread_exit+0x0/0x8)
[  589.109161] ---[ end trace e688c0c28db86ac0 ]---
[  589.110107] Failed to initialize the device
EN

回答 1

Unix & Linux用户

发布于 2015-11-06 11:26:46

你应该先升级你的内核,如果你没有从Git源代码中升级,在你的软件包管理器中搜索‘’包,你需要它。我在Android、Ubuntu x86和arm7hf下也有类似的问题--所有这些问题都是通过做我提到的事情来解决的。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/170025

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档