PengouinPdt a écrit :@piratebab: pastebin :p
En sélectionnant :Format "Source Code" tu aurais eu la coloration syntaxique... :icon_wink:
pastebin
PengouinPdt a écrit :@piratebab: pastebin :p
Code : Tout sélectionner
# dmesg | egrep "ath10k"
[ 10.629920] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 10.968452] ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:01:00.0.bin (-2)
[ 10.968454] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[ 10.968466] ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/cal-pci-0000:01:00.0.bin (-2)
[ 10.968467] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[ 10.983980] ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw2.1/firmware-5.bin
[ 10.983987] ath10k_pci 0000:01:00.0: qca6174 hw2.1 target 0x05010000 chip_id 0x003405ff sub 1a56:1525
[ 10.983989] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[ 10.984555] ath10k_pci 0000:01:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
[ 11.212194] ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw2.1/board-2.bin
[ 11.212525] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id N/A crc32 ae2e275a
[ 12.422924] ath10k_pci 0000:01:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 13.934253] ath10k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
Code : Tout sélectionner
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlp1s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Code : Tout sélectionner
# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.47.107 netmask 255.255.255.0 broadcast 192.168.47.255
inet6 2001:470:cc33:47:36e6:d7ff:fe4d:d801 prefixlen 64 scopeid 0x0<global>
inet6 fe80::36e6:d7ff:fe4d:d801 prefixlen 64 scopeid 0x20<link>
ether 34:e6:d7:4d:d8:01 txqueuelen 1000 (Ethernet)
RX packets 1271 bytes 473761 (462.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 897 bytes 149781 (146.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Boucle locale)
RX packets 1168 bytes 222488 (217.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1168 bytes 222488 (217.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code : Tout sélectionner
# iwlist wlp1s0 scanning
wlp1s0 Interface doesn't support scanning : Network is down
Code : Tout sélectionner
# module-assistant update
Données de 27 paquets mises à jour
# module-assistant prepare
Récupération des sources du noyau de la version : 4.9.0-2-amd64
En-têtes du noyau disponibles dans /lib/modules/4.9.0-2-amd64/build
Création du lien symbolique...
apt-get install build-essential
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
build-essential is already the newest version (12.3).
build-essential passé en « installé manuellement ».
0 mis à jour, 0 nouvellement installés, 0 à enlever et 90 non mis à jour.
Fait.
Code : Tout sélectionner
# make
make -C /lib/modules/4.9.0-2-amd64/build M=~/Téléchargements/ar3k.test modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-4.9.0-2-amd64 »
CC [M] ~/Téléchargements/ar3k.test/btusb.o
~/Téléchargements/ar3k.test/btusb.c:32:21: fatal error: btintel.h: Aucun fichier ou dossier de ce type
#include "btintel.h"
^
compilation terminated.
/usr/src/linux-headers-4.9.0-2-common/scripts/Makefile.build:304 : la recette pour la cible « ~/Téléchargements/ar3k.test/btusb.o » a échouée
make[4]: *** [~/Téléchargements/ar3k.test/btusb.o] Erreur 1
/usr/src/linux-headers-4.9.0-2-common/Makefile:1507 : la recette pour la cible « _module_~/Téléchargements/ar3k.test » a échouée
make[3]: *** [_module_~/Téléchargements/ar3k.test] Erreur 2
Makefile:150 : la recette pour la cible « sub-make » a échouée
make[2]: *** [sub-make] Erreur 2
Makefile:8 : la recette pour la cible « all » a échouée
make[1]: *** [all] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-4.9.0-2-amd64 »
Makefile:4 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
Code : Tout sélectionner
# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 0b)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 0b)
00:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:0a03] (rev 0b)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 [8086:9c14] (rev e4)
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 4 [8086:9c16] (rev e4)
00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 5 [8086:9c18] (rev e4)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series USB EHCI #1 [8086:9c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller [8086:9c43] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] [8086:9c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] (rev 04)
01:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 20)
02:00.0 Ethernet controller [0200]: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller [1969:e091] (rev 10)
03:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 860M] [10de:1392] (rev ff)
c'est précisement ce que je cherche à vérifier via les ID.j'ai idée que tu n'as pas compris que le firmware atheros gère les deux puces/modules
Code : Tout sélectionner
Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 20)
@piratebab: mes posts #23, et #24 sont déjà ta réponse, à ce propos.piratebab a écrit : 23 mars 2017, 14:32 Pour le wifi:
- driver est bien ath10k (le site du driver donne les paramètres de compilation du kernel à utiliser)
- le firmware est bien https://github.com/kvalo/ath10k-firmwar ... er/QCA6174
- il faut le mettre dans /lib/firmware/ath10k/QCA6174/
tu recharges le driver, et tu vérifie si le firmawre est bien chargé avec un
# ethtool -i wlan1
à adapter suivant ton interface,
ou tu reboote et cherche dans dmesg.
Code : Tout sélectionner
# ethtool -i wlp1s0
driver: ath10k_pci
version: 4.9.0-2-amd64
firmware-version: SW_RM.1.1.1-00157-QCARMSWPZ-1
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
Un coup de paste, rien que pour toi :ppiratebab a écrit :que donne un modinfo sur le module ath_10k ?