New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#1792 - wifi stick based on atheros AR9271 doesn't work with 18.06-rc2 #8511
Comments
olivluca: I also tried to use an hub with no success. |
olivluca: I just realized there's a 18.06.1 version available. I installed it but the problem is just the same. |
schwer_vernetzt: Hi, I know this ticket is 1,5Years old, but I think it's the right place to put this. I experience the same issue on openwrt-19.07 currently. I have a FritzBox3370-Router (Micron Version) for which only the 19.07.x images seem to be built regularly - though the device page (https://openwrt.org/toh/avm/fritz.box.wlan.3370) says only 18.06.8 was currently supported. But I'm fine with that as it runs the latest stable (better than the other way around I guess ;). Anyway the router runs smoothly, was a nice adventure to me to flash that Box recently - this was also the first time I used openWRT. Now I needed a second antenna/radio(/whatever you call it) to connect to an existing WiFi-Network providing internet connection AND SIMULTANEOUSLY open an AccessPoint with the second antenna. So it's one radio in Client mode and the other radio in Master/AP mode. Typical extender/repeater thingy I'd say. Now this is where the WiFi-USB stick comes in providing the second antenna. Bought it on ebay, there it says it's a TP-Link, but I can't find that written/labled on the stick. But does it matter? The Device is called: PW-DN4210D (written on the case) I've installed the kernel-driver-module "kmod-ath9k-htc" on my openWRT-Router. When plugging in the stick, I can see the following messages via logread command: Except the "Mac Chip Rev 0x0f.3 is not supported by this driver"-message this seems to be quite the same problem as stated in the ticket originally. When plugging the stick into my Ubuntu (18.04 with HWE-Kernel) machine: dmesg yields: That means to me in general the device doesn't seem to be broken or something. Even plugging it into my RaspberryPi-3B (ARM-platform) works just fine. Now, I'm pretty sure this is an issue with the openWRT specific customizations to the Linux kernel/driver-modules. I've downloaded the linux kernel git repository just yesterday to inspect the driver code and find the location where the error message occurs. I guess I know which functions I have to inspect further to find the root cause, but I will have to setup the package-building environment for openwrt to be closer to the openwrt code, that is executed on the router, and be able to build and test stuff in the end. I'll try that during the next weeks. I'll post updates here, once I find anything interesting. Any comments/hints/reports/... are welcome. Cheers, |
olivluca:
Astoria Networks ARV7518PW
OpenWrt 18.06.0-rc2 r7141-e4d0ee5af5
My wifi stick based on the AR9271 that worked with openwrt 17.01.05 doesn't work with this new rc (I cannot test it on development snapshots due to [[https://bugs.openwrt.org/index.php?do=details&task_id=1634|bug #1634]]).
dmesg show this
[ 244.724712] usb 1-1: new high-speed USB device number 3 using dwc2 [ 244.740095] dwc2 1e101000.ifxhcd: Mode Mismatch Interrupt: currently in Host mode [ 244.746127] dwc2 1e101000.ifxhcd: Mode Mismatch Interrupt: currently in Host mode [ 244.972976] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested [ 245.279016] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 [ 245.532487] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits [ 245.965179] ath: phy2: Mac Chip Rev 0x0f.3 is not supported by this driver [ 245.970678] ath: phy2: Unable to initialize hardware; initialization status: -122 [ 245.978013] ath: phy2: Unable to initialize hardware; initialization status: -122 [ 245.985233] ath9k_htc: Failed to initialize the device [ 246.093496] usb 1-1: ath9k_htc: USB layer deinitialized
The error is Mac Chip Rev 0x0f.3 is not supported by this driver which [[https://www.google.cat/search?q=Mac+Chip+Rev+0x0f.3+is+not+supported+by+this+driver|I googled]] and found a couple of reports regarding ARM based SBC (on my laptop, x86_64, the stick works fine), with no solution though.
[[https://github.com/qca/open-ath9k-htc-firmware/issues/136|One of them]] suggests that the device works if it's plugged in while the system boots. I tried that and, while it doesn't complain about the mac chip not supported, it still doesn't work:
[ 15.833888] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 [ 16.048965] kmodloader: done loading kernel modules from /etc/modules.d/* [ 16.884889] ath9k_htc 1-1:1.0: ath9k_htc: Target is unresponsive [ 16.889498] ath9k_htc: Failed to initialize the device [ 16.929806] usb 1-1: ath9k_htc: USB layer deinitialized
The text was updated successfully, but these errors were encountered: