Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203653 > unrolled thread

Wireless driver

Started byjohn doe <johndoe65534@mail.com>
First post2018-12-27 10:10 +0100
Last post2018-12-30 07:40 +0100
Articles 8 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Wireless driver john doe <johndoe65534@mail.com> - 2018-12-27 10:10 +0100
    Re: Wireless driver "Alexander V. Makartsev" <avbetev@gmail.com> - 2018-12-27 12:30 +0100
      Re: Wireless driver john doe <johndoe65534@mail.com> - 2018-12-28 08:40 +0100
        Re: Wireless driver john doe <johndoe65534@mail.com> - 2018-12-28 18:40 +0100
        Re: Wireless driver "Alexander V. Makartsev" <avbetev@gmail.com> - 2018-12-28 19:00 +0100
          Re: Wireless driver john doe <johndoe65534@mail.com> - 2018-12-29 13:10 +0100
            Re: Wireless driver didier gaumet <didier.gaumet@gmail.com> - 2018-12-29 14:10 +0100
            Re: Wireless driver john doe <johndoe65534@mail.com> - 2018-12-30 07:40 +0100

#203653 — Wireless driver

Fromjohn doe <johndoe65534@mail.com>
Date2018-12-27 10:10 +0100
SubjectWireless driver
Message-ID<x9zPX-5Jd-9@gated-at.bofh.it>
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

-- 
John Doe

[toc] | [next] | [standalone]


#203654

From"Alexander V. Makartsev" <avbetev@gmail.com>
Date2018-12-27 12:30 +0100
Message-ID<x9C1r-6Vw-1@gated-at.bofh.it>
In reply to#203653

[Multipart message — attachments visible in raw view] — view raw

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

[2] $ rmadison -s stable,stretch-backports linux-image-amd64
linux-image-amd64 | 4.9+80+deb9u6   | stable            | amd64
linux-image-amd64 | 4.18+100~bpo9+1 | stretch-backports | amd64



-- 

With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

[toc] | [prev] | [next] | [standalone]


#203675

Fromjohn doe <johndoe65534@mail.com>
Date2018-12-28 08:40 +0100
Message-ID<x9UUp-1nZ-3@gated-at.bofh.it>
In reply to#203654
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

-- 
John Doe

[toc] | [prev] | [next] | [standalone]


#203690

Fromjohn doe <johndoe65534@mail.com>
Date2018-12-28 18:40 +0100
Message-ID<xa4h3-708-3@gated-at.bofh.it>
In reply to#203675
On 12/28/2018 8:32 AM, 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
> 

Ok -- I'm currently testing the fw from (1).

In the log I get:

$ journalctl -x -o cat | awk '/ath10k/ && /[Ee]rror/'
ath10k_pci 0000:04:00.0: Direct firmware load for
ath10k/pre-cal-pci-0000:04:00.0.bin failed with error -2
ath10k_pci 0000:04:00.0: Direct firmware load for
ath10k/cal-pci-0000:04:00.0.bin failed with error -2
ath10k_pci 0000:04:00.0: Direct firmware load for
ath10k/QCA988X/hw2.0/board-2.bin failed with error -2

Can anyone tell me what the first two firmwares are for and where I can
find them?
Should I care about the missing board-2.bin?

Thanks for any help.


1)  https://github.com/kvalo/ath10k-firmware

-- 
John Doe

[toc] | [prev] | [next] | [standalone]


#203691

From"Alexander V. Makartsev" <avbetev@gmail.com>
Date2018-12-28 19:00 +0100
Message-ID<xa4Ap-775-11@gated-at.bofh.it>
In reply to#203675

[Multipart message — attachments visible in raw view] — view raw

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?
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

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

[toc] | [prev] | [next] | [standalone]


#203699

Fromjohn doe <johndoe65534@mail.com>
Date2018-12-29 13:10 +0100
Message-ID<xalBf-Zj-1@gated-at.bofh.it>
In reply to#203691
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

-- 
John Doe

[toc] | [prev] | [next] | [standalone]


#203701

Fromdidier gaumet <didier.gaumet@gmail.com>
Date2018-12-29 14:10 +0100
Message-ID<xamxk-1yJ-27@gated-at.bofh.it>
In reply to#203699
Le 29/12/2018 à 13:04, john doe a écrit :

> The Debian page:
> 
> " * Qualcomm Atheros QCA988X board configuration, version 1"
> 
> and the kernel wireless wiki page:
> 
> "QCA9882 Version 2 found in Compex WLE600VX"

I think there is a misunderstanding here:
- Yes, it seems to exist a V2 of the hardware, taht is indicated by
"hw2.0" in the directory containing firmwares
- version 1 above is probably the version of the tool associated to the
harware, not the version of the hardware itself

Your wifi card should probably be supported with the Debian atheros
firmwares package (either from Stable or Backports), without the need of
an external repository

[toc] | [prev] | [next] | [standalone]


#203728

Fromjohn doe <johndoe65534@mail.com>
Date2018-12-30 07:40 +0100
Message-ID<xaCVr-3kF-1@gated-at.bofh.it>
In reply to#203699
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@gmail.com>" for clearing (2)
up and to "Alexander V. Makartsev <avbetev@gmail.com>" 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web