Re: getting the right and complete firmware

2018-02-06 Thread Anil Duggirala
> > I believe I have done a standard stretch install, yet /sbin/modinfo
> > ath10k_pci :
> > 
> > filename:   /lib/modules/4.9.0-5-
> > amd64/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
> > firmware:   ath10k/QCA9377/hw1.0/board.bin
> > firmware:   ath10k/QCA9377/hw1.0/firmware-5.bin
> 
> [...]
> 
> I get this too.
> 
> If the device works with stretch's firmware-atheros I'd let things
> be.
> 
I guess I will let things be then, for now. Is it possible that a
future update to firmware-atheros will solve the problem? Is this
driver bluetooth related? My wifi works, I have not tested bluetooth
though.



Re: getting the right and complete firmware

2018-02-02 Thread Brian
On Thu 01 Feb 2018 at 19:18:55 +0100, Anil Duggirala wrote:

> > On an unmodified stretch (yours is unmodified, isn't it)
> > 
> >  /sbin/modinfo ath10k_pci
> > 
> > does not list any of these files in the firmware lines. So why should
> > the kernel want any of them?
> > 
> I believe I have done a standard stretch install, yet /sbin/modinfo
> ath10k_pci :
> 
> filename:   /lib/modules/4.9.0-5-
> amd64/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
> firmware:   ath10k/QCA9377/hw1.0/board.bin
> firmware:   ath10k/QCA9377/hw1.0/firmware-5.bin

[...]

I get this too.

If the device works with stretch's firmware-atheros I'd let things be.

-- 
Brian.



Re: getting the right and complete firmware

2018-02-01 Thread Greg Wooledge
On Thu, Feb 01, 2018 at 07:24:56PM +0100, Anil Duggirala wrote:
> > ~$ apt-file search firmware-5.bin
> > firmware-atheros: /lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
> 
> For some reason I am not able to run that command, even as root.

apt-file is not installed by default.  It's a separate package.

You can achieve similar results by searching for file names on
http://packages.debian.org/



Re: getting the right and complete firmware

2018-02-01 Thread Anil Duggirala
> ~$ apt-file search firmware-5.bin
> firmware-atheros: /lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin

For some reason I am not able to run that command, even as root. And
that file is different to the one I am missing
(th10k/QCA6174/hw3.0/firmware-5.bin) right?

> 
> Then query the APT database with the package name:
> 
> ~$ apt policy firmware-atheros
> firmware-atheros:
>   Installed: (none)
>   Candidate: 20161130-3
>   Version table:
>  20161130-3 500
> 500 http://deb.debian.org/debian stretch/non-free amd64
> Packages
> 
> So the firmware can be found in the firmware-atheros package from the
> non-free
> repository[2] of stretch.
> 
> 1: https://wiki.debian.org/apt-file
> 2: https://wiki.debian.org/SourcesList#Component

I have installed that package, actually fed it to the debian installer,
and have confirmed it is installed now.

thanks a lot,



Re: getting the right and complete firmware

2018-02-01 Thread Anil Duggirala
> On an unmodified stretch (yours is unmodified, isn't it)
> 
>  /sbin/modinfo ath10k_pci
> 
> does not list any of these files in the firmware lines. So why should
> the kernel want any of them?
> 
I believe I have done a standard stretch install, yet /sbin/modinfo
ath10k_pci :

filename:   /lib/modules/4.9.0-5-
amd64/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
firmware:   ath10k/QCA9377/hw1.0/board.bin
firmware:   ath10k/QCA9377/hw1.0/firmware-5.bin
firmware:   ath10k/QCA6174/hw3.0/board-2.bin
firmware:   ath10k/QCA6174/hw3.0/board.bin
firmware:   ath10k/QCA6174/hw3.0/firmware-5.bin
firmware:   ath10k/QCA6174/hw3.0/firmware-4.bin
firmware:   ath10k/QCA6174/hw2.1/board-2.bin
firmware:   ath10k/QCA6174/hw2.1/board.bin
firmware:   ath10k/QCA6174/hw2.1/firmware-5.bin
firmware:   ath10k/QCA6174/hw2.1/firmware-4.bin
firmware:   ath10k/QCA9887/hw1.0/board-2.bin
firmware:   ath10k/QCA9887/hw1.0/board.bin
firmware:   ath10k/QCA9887/hw1.0/firmware-5.bin
firmware:   ath10k/QCA988X/hw2.0/board-2.bin
firmware:   ath10k/QCA988X/hw2.0/board.bin
firmware:   ath10k/QCA988X/hw2.0/firmware-5.bin
firmware:   ath10k/QCA988X/hw2.0/firmware-4.bin
firmware:   ath10k/QCA988X/hw2.0/firmware-3.bin
firmware:   ath10k/QCA988X/hw2.0/firmware-2.bin
license:Dual BSD/GPL
description:Driver support for Qualcomm Atheros 802.11ac WLAN
PCIe/AHB devices
author: Qualcomm Atheros
alias:  pci:v168Cd0050sv*sd*bc*sc*i*
alias:  pci:v168Cd0042sv*sd*bc*sc*i*
alias:  pci:v168Cd0046sv*sd*bc*sc*i*
alias:  pci:v168Cd0056sv*sd*bc*sc*i*
alias:  pci:v168Cd0040sv*sd*bc*sc*i*
alias:  pci:v168Cd003Esv*sd*bc*sc*i*
alias:  pci:v168Cd0041sv*sd*bc*sc*i*
alias:  pci:v168Cd003Csv*sd*bc*sc*i*
depends:ath10k_core
intree: Y
vermagic:   4.9.0-5-amd64 SMP mod_unload modversions 
parm:   irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
parm:   reset_mode:0: auto, 1: warm only (default: 0) (uint)

thanks for any help.



Re: getting the right and complete firmware

2018-01-30 Thread Brian
On Tue 30 Jan 2018 at 05:01:48 -0500, Anil Duggirala wrote:

> Thanks a lot. That clears up my first question. However, can someone tell me 
> if they know how to get these:
> 
> 8.880552] ath10k_pci :03:00.0: firmware: failed to load 
> ath10k/pre-cal-pci-:03:00.0.bin (-2)
> [8.880629] ath10k_pci :03:00.0: Direct firmware load for 
> ath10k/pre-cal-pci-:03:00.0.bin failed with error -2
> [8.880649] ath10k_pci :03:00.0: firmware: failed to load 
> ath10k/cal-pci-:03:00.0.bin (-2)
> [8.880714] ath10k_pci :03:00.0: Direct firmware load for 
> ath10k/cal-pci-:03:00.0.bin failed with error -2
> [8.881672] ath10k_pci :03:00.0: firmware: failed to load 
> ath10k/QCA6174/hw3.0/firmware-5.bin (-2)
> [8.881794] ath10k_pci :03:00.0: Direct firmware load for 
> ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
> [8.881800] ath10k_pci :03:00.0: could not fetch firmware file 
> 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
> 
> I have found these files but am not sure they will work (they are a *-6.bin).
> thanks again,

On an unmodified stretch (yours is unmodified, isn't it)

 /sbin/modinfo ath10k_pci

does not list any of these files in the firmware lines. So why should
the kernel want any of them?

-- 
Brian.



Re: getting the right and complete firmware

2018-01-30 Thread Liam O'Toole
On 2018-01-30, Anil Duggirala  wrote:
> On Tue, Jan 30, 2018, at 5:01 AM, Anil Duggirala wrote:
>> On Sun, Jan 28, 2018, at 11:46 AM, Bernd Gruber wrote:
>> > Hi Anil, 
>> > 
>> > did you take a look at this:
>> > 
>> > https://www.debian.org/releases/stable/i386/ch06s04.html.en
>> > 
>> > Bernd
>> > 
>> > Anil Duggirala wrote:
>> > 
>> > > upon installing Debian stretch I got a notice about missing
>> > > firmware (Atheros). I managed to find a package that, apperently,
>> > > contained some of the missing firmware, since the list of missing
>> > > firmware was diminished. I am still missing some firmware, I will
>> > > find it eventually, but my question is: Can I be sure I have the
>> > > correct and required firmware if I am not getting any errors from
>> > > dmesg ? or upon boot? Is there any tool that will help me address
>> > > these issues? thanks,
>> > 
>> 
>> 
>> Thanks a lot. That clears up my first question. However, can someone
>> tell me if they know how to get these:
>> 
>> 8.880552] ath10k_pci :03:00.0: firmware: failed to load
>> ath10k/pre- cal-pci-:03:00.0.bin (-2) [8.880629] ath10k_pci
>> :03:00.0: Direct firmware load for ath10k/
>> pre-cal-pci-:03:00.0.bin failed with error -2 [8.880649]
>> ath10k_pci :03:00.0: firmware: failed to load ath10k/
>> cal-pci-:03:00.0.bin (-2) [8.880714] ath10k_pci :03:00.0:
>> Direct firmware load for ath10k/ cal-pci-:03:00.0.bin failed with
>> error -2 [8.881672] ath10k_pci :03:00.0: firmware: failed to
>> load ath10k/ QCA6174/hw3.0/firmware-5.bin (-2) [8.881794]
>> ath10k_pci :03:00.0: Direct firmware load for ath10k/
>> QCA6174/hw3.0/firmware-5.bin failed with error -2 [8.881800]
>> ath10k_pci :03:00.0: could not fetch firmware file
>> 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
>> 
>> I have found these files but am not sure they will work (they are a
>> *-6.bin).  thanks again,
>> 
>
> Sorry. I meant, "I have found these files" here
> https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0 ,
> "but am not sure they will work".
>
>

A handy utility in these circumstances is provided by the apt-file[1] package:

~$ apt-file search firmware-5.bin
firmware-atheros: /lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin

Then query the APT database with the package name:

~$ apt policy firmware-atheros
firmware-atheros:
  Installed: (none)
  Candidate: 20161130-3
  Version table:
 20161130-3 500
500 http://deb.debian.org/debian stretch/non-free amd64 Packages

So the firmware can be found in the firmware-atheros package from the non-free
repository[2] of stretch.

1: https://wiki.debian.org/apt-file
2: https://wiki.debian.org/SourcesList#Component

-- 

Liam



Re: getting the right and complete firmware

2018-01-30 Thread Anil Duggirala
On Tue, Jan 30, 2018, at 5:01 AM, Anil Duggirala wrote:
> On Sun, Jan 28, 2018, at 11:46 AM, Bernd Gruber wrote:
> > Hi Anil, 
> > 
> > did you take a look at this:
> > 
> > https://www.debian.org/releases/stable/i386/ch06s04.html.en
> > 
> > Bernd
> > 
> > Anil Duggirala wrote:
> > 
> > > upon installing Debian stretch I got a notice about missing firmware
> > > (Atheros). I managed to find a package that, apperently, contained some of
> > > the missing firmware, since the list of missing firmware was diminished. I
> > > am still missing some firmware, I will find it eventually, but my question
> > > is: Can I be sure I have the correct and required firmware if I am not
> > > getting any errors from dmesg ? or upon boot? Is there any tool that will
> > > help me address these issues? thanks,
> > 
> 
> 
> Thanks a lot. That clears up my first question. However, can someone 
> tell me if they know how to get these:
> 
> 8.880552] ath10k_pci :03:00.0: firmware: failed to load ath10k/pre-
> cal-pci-:03:00.0.bin (-2)
> [8.880629] ath10k_pci :03:00.0: Direct firmware load for ath10k/
> pre-cal-pci-:03:00.0.bin failed with error -2
> [8.880649] ath10k_pci :03:00.0: firmware: failed to load ath10k/
> cal-pci-:03:00.0.bin (-2)
> [8.880714] ath10k_pci :03:00.0: Direct firmware load for ath10k/
> cal-pci-:03:00.0.bin failed with error -2
> [8.881672] ath10k_pci :03:00.0: firmware: failed to load ath10k/
> QCA6174/hw3.0/firmware-5.bin (-2)
> [8.881794] ath10k_pci :03:00.0: Direct firmware load for ath10k/
> QCA6174/hw3.0/firmware-5.bin failed with error -2
> [8.881800] ath10k_pci :03:00.0: could not fetch firmware file 
> 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
> 
> I have found these files but am not sure they will work (they are a *-6.bin).
> thanks again,
> 

Sorry. I meant, "I have found these files" here 
https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0 , "but am 
not sure they will work".



Re: getting the right and complete firmware

2018-01-30 Thread Anil Duggirala
On Sun, Jan 28, 2018, at 11:46 AM, Bernd Gruber wrote:
> Hi Anil, 
> 
> did you take a look at this:
> 
> https://www.debian.org/releases/stable/i386/ch06s04.html.en
> 
> Bernd
> 
> Anil Duggirala wrote:
> 
> > upon installing Debian stretch I got a notice about missing firmware
> > (Atheros). I managed to find a package that, apperently, contained some of
> > the missing firmware, since the list of missing firmware was diminished. I
> > am still missing some firmware, I will find it eventually, but my question
> > is: Can I be sure I have the correct and required firmware if I am not
> > getting any errors from dmesg ? or upon boot? Is there any tool that will
> > help me address these issues? thanks,
> 


Thanks a lot. That clears up my first question. However, can someone tell me if 
they know how to get these:

8.880552] ath10k_pci :03:00.0: firmware: failed to load 
ath10k/pre-cal-pci-:03:00.0.bin (-2)
[8.880629] ath10k_pci :03:00.0: Direct firmware load for 
ath10k/pre-cal-pci-:03:00.0.bin failed with error -2
[8.880649] ath10k_pci :03:00.0: firmware: failed to load 
ath10k/cal-pci-:03:00.0.bin (-2)
[8.880714] ath10k_pci :03:00.0: Direct firmware load for 
ath10k/cal-pci-:03:00.0.bin failed with error -2
[8.881672] ath10k_pci :03:00.0: firmware: failed to load 
ath10k/QCA6174/hw3.0/firmware-5.bin (-2)
[8.881794] ath10k_pci :03:00.0: Direct firmware load for 
ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[8.881800] ath10k_pci :03:00.0: could not fetch firmware file 
'ath10k/QCA6174/hw3.0/firmware-5.bin': -2

I have found these files but am not sure they will work (they are a *-6.bin).
thanks again,



Re: getting the right and complete firmware

2018-01-28 Thread Bernd Gruber
Hi Anil, 

did you take a look at this:

https://www.debian.org/releases/stable/i386/ch06s04.html.en

Bernd

Anil Duggirala wrote:

> upon installing Debian stretch I got a notice about missing firmware
> (Atheros). I managed to find a package that, apperently, contained some of
> the missing firmware, since the list of missing firmware was diminished. I
> am still missing some firmware, I will find it eventually, but my question
> is: Can I be sure I have the correct and required firmware if I am not
> getting any errors from dmesg ? or upon boot? Is there any tool that will
> help me address these issues? thanks,