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@lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> 


-- 
Regards,
Oleksij

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to