Web lists-archives.com

Re: Wireless driver




On 12/29/2018 1:04 PM, john doe wrote:
> On 12/28/2018 6:58 PM, Alexander V. Makartsev wrote:
>> On 28.12.2018 12:32, john doe wrote:
>>> On 12/27/2018 12:24 PM, Alexander V. Makartsev wrote:
>>>> On 27.12.2018 14:05, john doe wrote:
>>>>> Hi,
>>>>>
>>>>> I'm trying to get (1) to work on Debian Stretch.
>>>>>
>>>>> >From what I understand, only "qca9982" v1 is supported on Debian,
>>>>> however, (3) supports qca9882 v2.
>>>>> That brings me to some questions:
>>>>>
>>>>> - Am I on the right track by trying to build the firmware using
>>>>> backports from (3)?
>>>>> - Can I build the firmware in an VM an move that firmware to that
>>>>> wireless box?
>>>>>
>>>>> In other words, what should I do to get qca9882 v2 to work on Debian
>>>>> Stretch?
>>>>>
>>>>> Any help is appriciated.
>>>>>
>>>>>
>>>>> 1)  https://www.compex.com.sg/product/wle600vx/
>>>>> 2)  https://packages.debian.org/stretch/firmware-atheros
>>>>> 3)  https://wireless.wiki.kernel.org/en/users/drivers/ath10k
>>>>>
>>>> ||According to specifications from Compex, WLE600VX utilizes
>>>> Qualcomm-Atheros QCA*98*82 chip.
>>>> I think it is a good idea to try packages from "stretch-backports" first
>>>> [1] [2], because it looks like WLE600VX was produced a few years ago and
>>>> should have already have support in linux kernel.
>>>> So I highly doubt this NIC model requires latest Qualcomm firmware
>>>> update, that was pushed into kernel.org source repository 9 days ago.
>>>>
>>>> [1] $ rmadison -s stable,stretch-backports firmware-atheros
>>>> firmware-atheros | 20161130-4             | stable/non-free            | all
>>>> firmware-atheros | 20180825+dfsg-1~bpo9+1 | stretch-backports/non-free | all
>>>>
>>> Thank you, the last time I tryed didn't have much luck.
>>> If I understand correctly, (1) does list the qca9882 v1 but not qca9882 v2?
>>>
>>> 1)  https://packages.debian.org/stretch-backports/firmware-atheros
>>>
>> I think "qca9882 v2" doesn't exist. What made you think there are
>> different versions of qca9882 chipsets?
> 
>>From the above URLs:
> 
> The Debian page:
> 
> " * Qualcomm Atheros QCA988X board configuration, version 1"
> 
> and the kernel wireless wiki page:
> 
> "QCA9882 Version 2 found in Compex WLE600VX"
> 
>> Support for qca9882 chipset was added to kernel 2 years ago and gets
>> updated when new firmware version is available. [1]
>> This page from kernel.org wiki lists your NIC as supported [2], which
>> means firmware file is available in repository.
>> At this moment "firmware-atheros" package from "stretch/non-free" repo
>> contains firmware for qca9882 chipset, version 10.2.4.70.54
>> (ath10k/QCA988X/hw2.0/firmware-5.bin) which should provide support for
>> WLE600VX NIC.
>> Try to get some information from kernel logs to see if ath10k module
>> loads at all.
>>     # dmesg | grep ath10k
>> This guide should be helpful to debug more [3], especially these
>> commands should output more debug information into kernel logs:
>>     # modprobe -r ath10k_core
>>     # modprobe ath10k_core debug_mask=0x00000432
>>
>>
>> [1] https://github.com/kvalo/ath10k-firmware/tree/master/QCA988X/hw2.0
>> [2] https://wireless.wiki.kernel.org/en/users/drivers/ath10k
>> [3] https://wireless.wiki.kernel.org/en/users/drivers/ath10k/debug
>>
> 
> I'm using the firmware (firmware-5.bin) from the github URL but some
> firmware are still missing (1) though.:
> 
> pre-cal-pci-0000:04:00.0.bin
> cal-pci-0000:04:00.0.bin
> board-2.bin
> 
> 
> 1)  https://lists.debian.org/debian-user/2018/12/msg00766.html
> 

To answer my own question:

Those two firmwares are calibration files and are optional (1).

Also, it looks like "Direct firmware load for ... failed with error -2"
does not imply that the missing firmware is required.

Thank you to "didier gaumet <didier.gaumet@xxxxxxxxx>" for clearing (2)
up and to "Alexander V. Makartsev <avbetev@xxxxxxxxx>" for his help.

1)
https://unix.stackexchange.com/questions/405009/what-is-the-purpose-of-ath10k-pre-cal-pci-and-ath10k-cal-pci
2)  https://lists.debian.org/debian-user/2018/12/msg00777.html

-- 
John Doe