• [^] # Re: lspci ne détecte pas la carte Wifi sans forcer un rescan

    Posté par (site web personnel, Mastodon) . En réponse au message Problème pour charger le firmware Realtek rtw88. Évalué à 1.

    @BAud, voici la sortie de la commande demandée :

    root@nanopi:~# dmesg | grep -iE "wire|wifi|rtw|azure|rtl|net|c822|1a3b"
    [ 0.126817] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [ 0.129972] audit: initializing netlink subsys (disabled)
    [ 0.206546] NetLabel: Initializing
    [ 0.206579] NetLabel: domain hash size = 128
    [ 0.206593] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
    [ 0.206692] NetLabel: unlabeled traffic allowed by default
    [ 0.226153] NET: Registered PF_INET protocol family
    [ 0.234887] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [ 0.234957] NET: Registered PF_XDP protocol family
    [ 2.801381] NET: Registered PF_INET6 protocol family
    [ 2.840688] NET: Registered PF_PACKET protocol family
    [ 6.276411] r8169 .&checktime(0001,01,00,':').0 eth0: RTL8125B, 66:46:ca:d8:4c:29, XID 641, IRQ 43
    [ 6.488277] r8169 .&checktime(0002,01,00,':').0 eth0: RTL8125B, 2a:4e:cb:1d:48:87, XID 641, IRQ 45
    [ 9.938147] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket.
    [ 10.285061] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
    [ 10.607173] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line.
    [ 10.645112] systemd[1]: Reached target network-pre.target - Preparation for Network.
    [ 12.927604] r8169 .&checktime(0002,01,00,':').0: firmware: direct-loading firmware rtl_nic/rtl8125b-2.fw
    [ 12.956010] RTL8226B_RTL8221B 2.5Gbps PHY r8169-2-100:00: attached PHY driver (mii_bus:phy_addr=r8169-2-100:00, irq=MAC)
    [ 13.179919] RTL8226B_RTL8221B 2.5Gbps PHY r8169-1-100:00: attached PHY driver (mii_bus:phy_addr=r8169-1-100:00, irq=MAC)
    [ 13.688738] audit: type=1400 audit(1705349771.352:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=343 comm="apparmor_parser"
    [ 13.690371] audit: type=1400 audit(1705349771.352:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=343 comm="apparmor_parser"
    [ 14.239294] NET: Registered PF_BLUETOOTH protocol family
    [ 14.322057] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000c lmp_ver=0a lmp_subver=8822
    [ 14.325038] Bluetooth: hci0: RTL: rom_version status=0 version=3
    [ 14.325603] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_fw.bin
    [ 14.339386] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822cu_fw.bin
    [ 14.340269] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_config.bin
    [ 14.345289] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8822cu_config.bin
    [ 14.346125] Bluetooth: hci0: RTL: cfg_sz 6, total sz 35990
    [ 14.663963] Bluetooth: hci0: RTL: fw version 0x0cc6d2e3
    [ 16.186213] IPv6: ADDRCONF(NETDEV_CHANGE): enP2p1s0: link becomes ready

    et après entré manuellement echo 1 > /sys/bus/pci/rescan :

    [ 110.141825] pci .&checktime(0000,01,00,':').0: [10ec:c822] type 00 class 0x028000
    [ 110.399437] rtw_8822ce .&checktime(0000,01,00,':').0: enabling device (0000 -> 0003)
    [ 110.418755] rtw_8822ce .&checktime(0000,01,00,':').0: firmware: direct-loading firmware rtw88/rtw8822c_wow_fw.bin
    [ 110.419578] rtw_8822ce .&checktime(0000,01,00,':').0: Firmware version 9.9.4, H2C version 15
    [ 110.427681] rtw_8822ce .&checktime(0000,01,00,':').0: firmware: direct-loading firmware rtw88/rtw8822c_fw.bin
    [ 110.428462] rtw_8822ce .&checktime(0000,01,00,':').0: Firmware version 9.9.15, H2C version 15
    [ 110.441167] rtw_8822ce .&checktime(0000,01,00,':').0: error beacon valid
    [ 110.441676] rtw_8822ce .&checktime(0000,01,00,':').0: failed to download rsvd page
    [ 110.442235] rtw_8822ce .&checktime(0000,01,00,':').0: failed to download firmware
    [ 110.442910] rtw_8822ce .&checktime(0000,01,00,':').0: failed to setup chip efuse info
    [ 110.443476] rtw_8822ce .&checktime(0000,01,00,':').0: failed to setup chip information
    [ 110.467472] rtw_8822ce: probe of .&checktime(0000,01,00,':').0 failed with error -16

    Avant le forçage du rescan du bus PCI, je ne vois rien qui puisse concerner la carte Wifi...

    Par contre, je vois qu'il y a du NetworkManager, et ça ce n'est pas normal car je ne l'ai pas volontairement installé et mes paramètres réseaux sont configurés avec Systemd-networkd.