Search Linux Wireless

Re: compex wle900vx (ath10k) problem on 4.4.24 / armv7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for that info Jonas. I passed optargs=irq_mode=1 in /boot/uEnv.txt on archlinux arm (kernel 4.4.23) and verified with

[root@alarm ~]# cat /proc/cmdline
console=ttyS0,115200 root=/dev/mmcblk0p1 rw rootwait irq_mode=1

But it still does not work:

[root@alarm ~]# rmmod ath10k_pci
[root@alarm ~]# modprobe ath10k_pci
[ 28.791404] ath10k_pci 0000:02:00.0: Refused to change power state, currently in D3
[   28.829352] ath10k_pci 0000:02:00.0: failed to wake up device : -110
[   28.835861] ath10k_pci: probe of 0000:02:00.0 failed with error -110

Did i do something wrong? If somehow possible, i would prefer to not rebuild the kernel and somehow configure the existing one without changes.

Kind regards

Oli


Am 22.10.2016 um 13:55 schrieb Jonas Gorski:
Hi,

On 21 October 2016 at 18:25, Oliver Zemann <oliver.zemann@xxxxxxxxx> wrote:
The problem is gone with kernel 4.7.3 on armbian - both compex cards work
(wle600, wle900),
Interesting to know this issue isn't present in 4.7 - I also
encountered it in 4.4 with LEDE.

unfortunately that kernel does not support sfp (seems like
its kind of proprietary drivers from clearfog).
They aren't really proprietary, they are proper patches that were
submitted as RFC once, so it shouldn't be much effort to port them to
e.g. 4.7. Anyways ...

So its a driver issue but i
have no clue who to contact or where to file a bug report. The only
available kernel which supports sfp (from solidrun, vendor of the clearfog
board) is 4.4.23

I am wondering if i could simply checkout the 4.4.x sources, merge the
atheros drivers in it and try to rebuild the kernel?
the issue seems to be that MSI interrupts do not work on 4.4 (at least
with ath10k, didn't have any other drivers that support it to test).
Your options are either to disable support for them in the kernel
config, or pass irq_mode=1 to ath10k_pci on probe to force legacy
interrupts; it should work then properly.


Regards
Jonas




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux