All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Detter <john@detter.com>
To: Michal Kazior <michal.kazior@tieto.com>
Cc: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: [ath10K] QCA6174 firmware
Date: Wed, 13 Jan 2016 08:58:47 -0600	[thread overview]
Message-ID: <56966627.2030104@detter.com> (raw)
In-Reply-To: <CA+BoTQmTaQnEqtogURerBCLi9aRfPHUCbVPbKDuCJaJ3nUpQKg@mail.gmail.com>

Michal,

Thanks for the speedy response! The dmesg, lspci and lshw outputs were generated when running 4.2.0, I didn't know you needed 4.4 in order for it to use board-2.bin. Even if I upgraded back to 4.4 the firmware still wouldn't work right?

Thanks for the help,

- John


On 01/13/2016 08:40 AM, Michal Kazior wrote:
> On 13 January 2016 at 15:09, John Detter<john@detter.com>  wrote:
>> Hello everyone,
>>
>> I recently bought a laptop (Samsung) that has a Qualcomm Atheros QCA6174
>> card. I have tried using the firmware from both kvalo's repo and the
>> official linux-firmware repo and neither of them have worked. I am running a
>> fresh Ubuntu 15.10 installation (Linux 4.2.0). I have also tried installing
>> Ubuntu Gnome 15.10 with the mainline kernel build (Linux 4.4.0) and that
>> didn't work either. The laptop I'm using does have a button on the keyboard
>> to enable/disable the wifi and I'm not sure if it's causing an issue or not.
>> I have checked rfkill list and there is neither a hard nor soft block on the
>> wlan. I'm not really sure where to go from here, any help would be much
>> appreciated!
>>
>> Thanks for your time,
>>
>> - John
>>
>> Directory structure when I tried firmware from linux-firmware:
>>
>> root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0#  pwd
>> /lib/firmware/ath10k/QCA6174/hw3.0
>> root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0#  ls -al
>> total 744
>> drwxr-xr-x 4 root root   4096 Jan 13 07:41 .
>> drwxr-xr-x 4 root root   4096 Jan 13 07:39 ..
>> -rw-r--r-- 1 root root   8124 Jan 13 07:38 board.bin
>> lrwxrwxrwx 1 root root     11 Jan 13 07:41 board-pci-168c:003e:144d:412f.bin
>> -> ./board.bin
>> -rw-r--r-- 1 root root 733784 Jan 13 07:39 firmware-4.bin
>> lrwxrwxrwx 1 root root     16 Jan 13 07:40 firmware-5.bin ->
>> ./firmware-4.bin
>>
>> Directory structure when I tried kvalo's firmware:
>>
>> root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0#  pwd
>> /lib/firmware/ath10k/QCA6174/hw3.0
>> root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0/new#  ls -al
>> total 844
>> drwxr-xr-x 2 root root   4096 Jan 13 07:31 .
>> drwxr-xr-x 4 root root   4096 Jan 13 07:41 ..
>> -rw-r--r-- 1 root root  24692 Jan 13 07:17 board-2.bin
>> -rw-r--r-- 1 root root   8124 Jan 13 07:17 board.bin
>> lrwxrwxrwx 1 root root     11 Jan 13 07:17 board-pci-168c:003e:144d:412f.bin
>> -> ./board.bin
>> -rw-r--r-- 1 root root 733784 Jan 13 07:17
>> firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1
>> lrwxrwxrwx 1 root root     44 Jan 13 07:18 firmware-5.bin ->
>> firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1
>> -rw-r--r-- 1 root root  79801 Jan 13 07:17
>> notice.txt_WLAN.RM.2.0-00180-QCARMSWPZ-1
>>
>>
>> Here is the relevant part of my dmesg log:
>>
>> jdetter@Ubuntu-15:~$ dmesg | grep ath10
>> [    6.789911] ath10k_pci 0000:3b:00.0: enabling device (0000 -> 0002)
>> [    6.791752] ath10k_pci 0000:3b:00.0: pci irq msi-x interrupts 8 irq_mode
>> 0 reset_mode 0
>> [    7.009504] ath10k_pci 0000:3b:00.0: Direct firmware load for
>> ath10k/cal-pci-0000:3b:00.0.bin failed with error -2
>> [    9.145690] ath10k_pci 0000:3b:00.0: qca6174 hw3.2 (0x05030000,
>> 0x00340aff, 168c:003e:144d:412f) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 api 5 htt
>> 3.26 wmi 4 cal otp max_sta 32
>> [    9.145694] ath10k_pci 0000:3b:00.0: debug 0 debugfs 1 tracing 1 dfs 0
>> testmode 0
>> [   10.144947] ath10k_pci 0000:3b:00.0: suspend timed out - target pause
>> event never came
>> [   13.219455] ath10k_pci 0000:3b:00.0 wlp59s0: renamed from wlan0
>> [   18.479782] ath10k_pci 0000:3b:00.0: failed to enable dynamic BW: -11
>> [   21.479376] ath10k_pci 0000:3b:00.0: could not suspend target (-11)
>> [   29.770121] ath10k_pci 0000:3b:00.0: failed to enable dynamic BW: -11
>> [   32.769665] ath10k_pci 0000:3b:00.0: could not suspend target (-11)
> Firmware command timeouts (-11) suggest that wrong board file was used
> to boot the device.
>
> The currently available board-2.bin doesn't seem to include your
> device (168c:003e:144d:412f). You can list them with:
>
> ; strings board-2.bin | grep vendor
> bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3361m
> bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3362m
> bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3363m
>
> Was this run on 4.4 or 4.2?
>
> The board-2.bin support was added in 4.4. Prior to this the driver
> would try to load the board-pci-xxx. files. You can:
>   a) scream louder and complain to your card vendor and/or qualcomm
>   b) use pre-4.4 kernel, get windows driver, extract .inf and eeprom
> files from it, look for the one that matches your device
> (168c:003e:144d:412f) and use it as board-pci-168c:003e:144d:412f.bin
>
>
> Michal


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2016-01-13 14:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-13 14:09 [ath10K] QCA6174 firmware John Detter
2016-01-13 14:40 ` Michal Kazior
2016-01-13 14:58   ` John Detter [this message]
2016-01-13 15:02     ` Michal Kazior
2016-01-17 18:15 ` vagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56966627.2030104@detter.com \
    --to=john@detter.com \
    --cc=ath10k@lists.infradead.org \
    --cc=michal.kazior@tieto.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.