Wireless card not recognized or installed at all

Good afternoon, a couple days ago I installed openSUSE and I really like some of the things it has and how easy it turned out to install my nVidia graphic driver, however I’m having a real headache trying to make the wireless card to work. I have an MSI G72 Dominator Pro, which has a Killer Wireless AC 1525 card; after checking the YaST hardware information, I can see info only related to the LAN card, but not for the Wireless LAN one, in fact, there’s no such Wireless LAN section at all. Here’s the LAN info:


Hardware Class: network
  Model: "Atheros Ethernet controller"
  Vendor: pci 0x1969 "Atheros Communications Inc."
  Device: pci 0xe091 
  SubVendor: pci 0x1462 "Micro-Star International Co., Ltd."
  SubDevice: pci 0x1118 
  Revision: 0x13
  Driver: "alx"
  Driver Modules: "alx"
  Device File: enp3s0
  Memory Range: 0xf7500000-0xf753ffff (rw,non-prefetchable)
  I/O Ports: 0xd000-0xdfff (rw)
  IRQ: 47 (9643 events)
  HW Address: 44:8a:5b:f3:0b:b0
  Link detected: yes
  Module Alias: "pci:v00001969d0000E091sv00001462sd00001118bc02sc00i00"
  Driver Info #0:
    Driver Status: alx is active
    Driver Activation Cmd: "modprobe alx"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #26 (PCI bridge)

36: PCI 400.0: 0280 Network controller
  [Created at pci.328]
  Unique ID: YmUS.O3_yyqpUVNB
  Parent ID: Z7uZ.o+dFYj3c2D9
  SysFS ID: /devices/pci0000:00/0000:00:1c.3/0000:04:00.0
  SysFS BusID: 0000:04:00.0
  Hardware Class: network
  Model: "Atheros Network controller"
  Vendor: pci 0x168c "Atheros Communications Inc."
  Device: pci 0x003e 
  SubVendor: pci 0x1a56 "Bigfoot Networks, Inc."
  SubDevice: pci 0x1525 
  Revision: 0x20
  Memory Range: 0xf7200000-0xf73fffff (rw,non-prefetchable,disabled)
  IRQ: 5 (no events)
  Module Alias: "pci:v0000168Cd0000003Esv00001A56sd00001525bc0

After reading for a while, I read this wireless Qualcomm Atheros may require the “ath10k” set of drivers, which I looked for in http://linuxwireless.org/en/users/Drivers/ath10k/__v28.html and I got them from https://github.com/kvalo/ath10k-firmware, however after following the instructions on the readme and placing them into /lib/firmware and restarting the card is still not being recognized.

Going a step further I checked /sys/class/net/ and there’s not even a wlan folder, ‘dmesg | grep firmware’ doesn’t display any messages related to firmware errors (probably cause the card is not even being detected or installed) and ‘/usr/sbin/iwlist scan’ returns only the LAN adapter with its loopback:


/usr/sbin/iwlist scan
enp3s0    Interface doesn't support scanning.

lo        Interface doesn't support scanning.

Am I missing any step to get this working? Please let me know if you need any additional information, and if you’re kind enough, how to get it please :slight_smile: I’m a freshman here :frowning:

I don’t have this hardware, but in an effort to help I checked out the following script

https://gist.github.com/vekerdyb/c4f796f9262adf3d04c7

I didn’t actually download and execute the script, but instead executed the individual commands manually, and successfully installed the firmware. Hope this is of help to you.

Vendor: pci 0x168c “Atheros Communications Inc.”
Device: pci 0x003e

Should work with kernel 4.0 and above.
https://wikidevi.com/wiki/List_of_Wi-Fi_Device_IDs_in_Linux

Firmware:
https://wireless.wiki.kernel.org/en/users/drivers/ath10k/firmware

I didn’t pay enough attention to your chipset details (168c:003). So yes, you should upgrade the kernel as Sauerland mentioned

Here’s the repo you can upgrade from
http://download.opensuse.org/repositories/Kernel:/stable/standard/

Just to confirm yes I tried the gist but after a restart still not wireless card detected, still great gist thanks for the tip :slight_smile: is there any place to look for openSUSE repos btw? I didn’t see this repo on the lists loaded by default

I didn’t either, I’ll upgrade the kernel and report back, thanks both for help rotfl!

I can’t edit the entry, so I added the new repo to YaST repositories, refresh repo info and then clicked to YaST Software Management, typed ‘kernel-’ but kernel-desktop, kernel-desktop-devel (the ones currently installed) has no v4.0 versions yet. Only kernel-devel (which I had installed yet) and kernel-default (which I don’t) have a v4.0+ listed on their versions, is this version good to go? Should I delete the desktop versions?

Kernel-desktop will be deleted in openSUSE and is deleted in Kernel:stable, so install kernel-default.

Thanks :slight_smile: ok so update the kernel, the current version according to uname is 4.2.3-1.gef1562d-default. After the kernel update and a restart, the nvidia drivers were broken, so removed the community drivers and installed the ones by nvidia following this guide: SDB:NVIDIA the hard way - openSUSE Wiki. Everything works fine now, lsmod | grep ath10k shows the following:


lsmod | grep ath10k
ath10k_pci             45056  0 
ath10k_core           217088  1 ath10k_pci
ath                    36864  1 ath10k_core
mac80211              786432  1 ath10k_core
cfg80211              589824  3 ath,mac80211,ath10k_core

so it looks enabled but… there’s still no “Wireless LAN” under YaST hardware info and ‘iwlist scan’ still doesn’t show any wireless LAN device info; I tried to restart NetworkManager service but it won’t recognize the wlan. Is there any additional step?

EDIT: in case this matters, all of my keyboard fn keys work properly except for the one to enable/disable fly mode ( and I’m using Gnome instead of KDE

Firmware is installed?

See, if there are any Errors in the journal (formerly /var/log/messages)

journalctl -k

Is Wireless blocked?

rfkill list all

yes, there are errors:


journalctl -k | grep ath10k
Oct 11 08:25:31 linux-dbvn kernel: ath10k_pci 0000:04:00.0: enabling device (0000 -> 0002)
Oct 11 08:25:31 linux-dbvn kernel: ath10k_pci 0000:04:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
Oct  11 08:25:31 linux-dbvn kernel: ath10k_pci 0000:04:00.0: Direct firmware  load for ath10k/cal-pci-0000:04:00.0.bin failed with error -2
Oct 11  08:25:31 linux-dbvn kernel: ath10k_pci 0000:04:00.0: Direct firmware  load for ath10k/QCA6174/hw2.1/board-pci-168c:003e:1a56:1525.bin failed  with error -2
Oct 11 08:25:31 linux-dbvn kernel: ath10k_pci 0000:04:00.0: failed to load spec board file, falling back to generic: -2
Oct  11 08:25:31 linux-dbvn kernel: ath10k_pci 0000:04:00.0: Direct firmware  load for ath10k/QCA6174/hw2.1/board.bin failed with error -2
Oct 11 08:25:31 linux-dbvn kernel: ath10k_pci 0000:04:00.0: failed to fetch generic board data: -2
Oct 11 08:25:31 linux-dbvn kernel: ath10k_pci 0000:04:00.0: failed to fetch board file: -2
Oct 11 08:25:31 linux-dbvn kernel: ath10k_pci 0000:04:00.0: could not fetch firmware files (-2)
Oct 11 08:25:31 linux-dbvn kernel: ath10k_pci 0000:04:00.0: could not probe fw (-2)
Oct 11 08:28:28 linux-dbvn.site kernel: ath10k_pci 0000:04:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
Oct  11 08:28:28 linux-dbvn.site kernel: ath10k_pci 0000:04:00.0: Direct  firmware load for ath10k/cal-pci-0000:04:00.0.bin failed with error -2
Oct  11 08:28:28 linux-dbvn.site kernel: ath10k_pci 0000:04:00.0: Direct  firmware load for ath10k/QCA6174/hw2.1/board-pci-168c:003e:1a56:1525.bin  failed with error -2
Oct 11 08:28:28 linux-dbvn.site kernel: ath10k_pci 0000:04:00.0: failed to load spec board file, falling back to generic: -2
Oct  11 08:28:28 linux-dbvn.site kernel: ath10k_pci 0000:04:00.0: Direct  firmware load for ath10k/QCA6174/hw2.1/board.bin failed with error -2
Oct 11 08:28:28 linux-dbvn.site kernel: ath10k_pci 0000:04:00.0: failed to fetch generic board data: -2
Oct 11 08:28:28 linux-dbvn.site kernel: ath10k_pci 0000:04:00.0: failed to fetch board file: -2
Oct 11 08:28:28 linux-dbvn.site kernel: ath10k_pci 0000:04:00.0: could not fetch firmware files (-2)
Oct 11 08:28:28 linux-dbvn.site kernel: ath10k_pci 0000:04:00.0: could not probe fw (-2)

and rfkill list all shows nothing :frowning:

I found the solution to the problem, but couldn’t find the initial reply sorry for double post.

I had TWO firmware versions, one for QCA6174 (gotten from deano_ferrari post) and one from QCA988X (gotten from the first repo I linked) when I ran the gist and didn’t work, I tried to replace the files of the 6174 model for the 988X model after checking Windows device manager and finding that’s my exact model. When the kernel got updated and tried to load the ath10k module, they were in a different location because of that. I fixed the paths and the WiFi is working now

BIG THANKS to you both lol!rotfl!

Well done.