GNU/Linux >> Tutoriels Linux >  >> Ubuntu

Obtenir Killer Wireless-ac 1535 pour installer Ubuntu 16.04 ?

Mon appareil sans fil est 168c:003e:1a56:1353 rev 32.
Le programme d'installation contient une 4.4.0-21-lowlatency noyau, et je vois des fichiers de firmware dans /lib/firmware/ath10k/QCA6174/hw3.0
Il existe un board.bin et firmware-4.bin . Ce sont les fichiers de stock. Dans dmesg Je vois que l'initialisation échoue, et c'est vrai, je ne vois même pas de périphérique dans ifconfig . Lors de l'initialisation, il recherche un firmware-5.bin , qui n'est pas là.

J'ai d'abord essayé d'ajouter le firmware-5.bin cuit ici :https://github.com/kvalo/ath10k-firmware/pull/4/files

Cela n'a pas aidé, la magie dans le fichier ne correspond pas. Je suppose que c'est cuit pour 4,2 ou quelque chose comme ça. Ensuite, j'ai essayé d'utiliser tous les fichiers qui sont dans le official référentiel https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0 (recommandé par http://www.killernetworking.com/support/knowledge-base/17-linux/20-killer -wireless-ac-in-linux-ubuntu-debian). La magie ne correspond pas.

Comme je suis au début d'une installation, le redémarrage n'est pas une option pour moi, c'est un hic 22. Au lieu de cela, j'ai écrit un petit script qui modprobe -r s ath10k_pci , ath10k_core , ath , mac80211 et cfg80211 . Un autre script insmod s ceux-ci dans l'ordre inverse.

J'ai aussi essayé board-2.bin par https://github.com/kvalo/ath10k-firmware/pull/3.
La magie ne correspond pas.

Un peu plus d'infos. État initial/d'origine du programme d'installation /lib/firmware/ath10k/QCA6174/hw3.0 répertoire du micrologiciel :

-rw-r--r-- 1 root root   8124 Mar 21 12:27 board.bin
-rw-r--r-- 1 root root 733784 Mar 21 12:27 firmware-4.bin

cb37c63d9ca28f53fea1ff09ad7c7a82  board.bin
a5dfbc03c9a7a73f7aa8d0a94a6d9426  firmware-4.bin

Cela se traduit par :

[  118.170694] ath10k_pci 0000:04:00.0: enabling device (0000 -> 0002)
[  118.171818] ath10k_pci 0000:04:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[  118.658737] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/cal-pci-0000:04:00.0.bin failed with error -2
[  118.658754] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[  118.658770] ath10k_pci 0000:04:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
...
[  128.810919] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-2.bin failed with error -2
[  131.928674] ath10k_pci 0000:04:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1a56:1535) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 1 htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features wowlan,ignore-otp,no-4addr-pad
[  131.928676] ath10k_pci 0000:04:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[  134.928910] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  134.982552] ath: EEPROM regdomain: 0x6c
[  134.982553] ath: EEPROM indicates we should expect a direct regpair map
[  134.982554] ath: Country alpha2 being used: 00
[  134.982555] ath: Regpair used: 0x6c
[  136.139717] ath10k_pci 0000:04:00.0 wlp4s0: renamed from wlan0
[  147.251066] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[  152.475059] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  158.475164] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  158.532546] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[  158.533313] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[  167.547281] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  173.547366] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  178.826678] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  184.826637] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  202.258851] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  208.258910] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  213.537200] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  219.537070] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  235.258295] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  241.258474] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  246.537511] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  252.537681] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  268.259942] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  274.259976] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  279.538073] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  285.538232] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  301.260390] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  307.260552] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  312.538796] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  318.539935] ath10k_pci 0000:04:00.0: could not suspend target (-11)
...
[  340.262113] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[  345.540330] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[  351.540341] ath10k_pci 0000:04:00.0: could not suspend target (-11)

Un de mes essais qui semblait prometteur par le dmesg sans plantage du firmware, mais n'a pas pu init core :

-rw-r--r-- 1 root root  42110 Jul  3 09:56 board-2.bin
-rw-r--r-- 1 root root   8124 Jul  3 09:56 board.bin
-rw-r--r-- 1 root root 733784 Mar 21 12:27 firmware-4.bin
-rw-r--r-- 1 root root 572324 Jul  3 09:57 firmware-5.bin

5e47d7cbe6255e4ac3ef71f6e2210f95  board-2.bin
1d07f60b4f6e3dc06028f4f31d1eec60  board.bin
a5dfbc03c9a7a73f7aa8d0a94a6d9426  firmware-4.bin
2c5629dc360ee3606c12088ee5e2de98  firmware-5.bin 

[ 2798.276194] ath10k_pci 0000:04:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 2798.477454] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/cal-pci-0000:04:00.0.bin failed with error -2
[ 2798.539215] ath10k_pci 0000:04:00.0: found invalid board magic
[ 2798.622537] ath10k_pci 0000:04:00.0: otp calibration failed: 3
[ 2798.622538] ath10k_pci 0000:04:00.0: failed to run otp: -22
[ 2798.622539] ath10k_pci 0000:04:00.0: could not init core (-22)
[ 2798.622550] ath10k_pci 0000:04:00.0: could not probe fw (-22)
[ 3318.953548] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[ 3318.954150] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready 

La plupart du temps, je reçois des plantages du firmware dans dmesg.
Je vais essayer le deb colis bientôt.

Connexes :Gtalk pour Terminal dans Ubuntu ?

Remarque :il est très important de vérifier à chaque démarrage que le BIOS n'est pas revenu du mode UEFI-CSM au mode UEFI. Apparemment, cela s'est avéré crucial pour l'installation, sans CSM, l'installation se bloque silencieusement. Vérifiez également si le BIOS n'est pas revenu en mode Secure Boot. Quel mal de tête !

La mise à niveau du progiciel v1.157 vers la version 1.158 a aidé (je n'ai pas eu besoin d'échanger les fichiers du deb 1.158). Détails :

  1. J'ai d'abord arrêté le réseau :

    sudo su
    /etc/init.d/Network-Manager stop
    /etc/init.d/Networking stop
    
  2. Déchargez les modules du noyau :

    modprobe -r ath10k_pci
    modprobe -r ath10k_core
    modprobe -r ath
    modprobe -r mac80211
    modprobe -r cfg80211 
    
  3. Mise à jour du progiciel

    dpkg -i linux-firmware_1.158_all.deb
    

Contenu du répertoire du firmware après ça :

-rw-r--r-- 1 root root 271412 May  6 12:42 board-2.bin
-rw-r--r-- 1 root root   8124 Apr 25 12:59 board.bin
-rw-r--r-- 1 root root 733784 Apr 25 12:59 firmware-4.bin

ac5184615090503870442da5f703de25  /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin
cb37c63d9ca28f53fea1ff09ad7c7a82  /lib/firmware/ath10k/QCA6174/hw3.0/board.bin
a5dfbc03c9a7a73f7aa8d0a94a6d9426  /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin 

dmesg :

[ 1084.393020] ath10k_pci 0000:04:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 1084.594123] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/cal-pci-0000:04:00.0.bin failed with error -2
[ 1084.594143] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 1084.594149] ath10k_pci 0000:04:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 1086.774542] ath10k_pci 0000:04:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1a56:1535) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 2 htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features wowlan,ignore-otp,no-4addr-pad
[ 1086.774545] ath10k_pci 0000:04:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 1086.828603] ath: EEPROM regdomain: 0x6c
[ 1086.828605] ath: EEPROM indicates we should expect a direct regpair map
[ 1086.828606] ath: Country alpha2 being used: 00
[ 1086.828607] ath: Regpair used: 0x6c
[ 1086.830651] ath10k_pci 0000:04:00.0 wlp4s0: renamed from wlan0 

Nous avons donc enfin wlan0 (renommé en wlp4s0 )

  1. Chargé les modules du noyau

    cd /lib/modules/4.4.0-21-lowlatency/kernel/
    insmod net/wireless/cfg80211.ko
    insmod net/mac80211/mac80211.ko
    insmod drivers/net/wireless/ath/ath.ko
    insmod drivers/net/wireless/ath/ath10k/ath10k_core.ko
    insmod drivers/net/wireless/ath/ath10k/ath10k_pci.ko 
    
  2. Mise en réseau

    /etc/init.d/Networking start
    /etc/init.d/Network-Manager start
    
  3. Nécessaire pour redémarrer nm-applet :

    kilall nm-applet
    nohup nm-applet &
    

Maintenant, je pouvais installer mdadm . Si je remplis mon prochain objectif de mission, je pourrai enfin installer Linux :comment déterminer le nom de l'appareil pour les SSD NMVe lors de l'installation

Juste pour votre information, l'état actuel avec Ubuntu 17.04 est (erreur, erreur, erreur…) :

[    2.772902] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:05:00.0.bin failed with error -2
[    2.772909] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/cal-pci-0000:05:00.0.bin failed with error -2
[    2.773036] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[    2.773038] ath10k_pci 0000:05:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[    2.773892] ath10k_pci 0000:05:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
[    2.773893] ath10k_pci 0000:05:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[    2.774309] ath10k_pci 0000:05:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5

linux-firmware package v 1.164.1

Connexes :la souris est trop sensible - perturbe le sommeil ?

https://giphy.com/gifs/justin-monkey-i-am-disappointed-l3vRhaxVcQ1i0CZlC

Réponse acceptée :

Veuillez essayer le nouveau progiciel. Avec une connexion Internet fonctionnelle, veuillez ouvrir un terminal et faire :

wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.161.1_all.deb
sudo dpkg -i linux-firmware*.deb
sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci

Votre connexion sans fil devrait maintenant fonctionner.


Ubuntu
  1. Installer les pilotes sans fil Broadcom pour Ubuntu 15.04 ?

  2. Installer les pilotes d'Oibaf pour Amd R5 M430 sur Ubuntu 16.04 ?

  3. Suspend ne fonctionne pas sur Ubuntu 16.04 pour Dell 3537 ?

  4. Préparation d'un disque à partir de Windows pour l'installation d'Ubuntu (partitionnement) ?

  5. Installation de Cuda 8 sur Ubuntu 16 :impossible de localiser le package Cuda ?

Installation de Laravel PHP Framework sur Ubuntu 16.04 pour Apache

Installation de Laravel PHP Framework sur Ubuntu 18.04 LTS pour Apache

Correction du contrôle de la luminosité ne fonctionnant pas pour Ubuntu et Linux Mint

Utilisez GDebi pour installer rapidement des packages DEB dans Ubuntu

Installer Ubuntu MATE sur un Raspberry Pi

Installer KDE sur Ubuntu 22.04