Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#76 Le 17/09/2024, à 09:53

bernard3303

Re : perte de l'adaptateur bluetooth après mise en veille

Bonjour,
Je viens de faire un test, test d'un novice mais qui me pose question.
j'ai lancé la commande suivante

bd@bd-HP-Laptop:~$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Tue 2024-09-17 09:24:07 CEST; 1h 11min ago
       Docs: man:bluetoothd(8)
   Main PID: 1223 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 8926)
     Memory: 4.7M (peak: 5.4M)
        CPU: 106ms
     CGroup: /system.slice/bluetooth.service
             └─1223 /usr/libexec/bluetooth/bluetoothd

sept. 17 10:34:50 bd-HP-Laptop bluetoothd[1223]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource/aptx_ll_0
sept. 17 10:34:50 bd-HP-Laptop bluetoothd[1223]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
sept. 17 10:34:50 bd-HP-Laptop bluetoothd[1223]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
sept. 17 10:34:50 bd-HP-Laptop bluetoothd[1223]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource/faststream
sept. 17 10:34:50 bd-HP-Laptop bluetoothd[1223]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource/faststream_duplex
sept. 17 10:34:50 bd-HP-Laptop bluetoothd[1223]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSink/opus_05
sept. 17 10:34:50 bd-HP-Laptop bluetoothd[1223]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource/opus_05
sept. 17 10:34:50 bd-HP-Laptop bluetoothd[1223]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSink/opus_05_duplex
sept. 17 10:34:50 bd-HP-Laptop bluetoothd[1223]: Endpoint unregistered: sender=:1.42 path=/MediaEndpoint/A2DPSource/opus_05_duplex
sept. 17 10:34:50 bd-HP-Laptop bluetoothd[1223]: Battery Provider Manager destroyed

  le bluetooth fonctionnant
puis j'ai fait une mise en veille, et sortie de mise en veille, comme d'habitude perte de adaptateur bluetooth. J'ai lancé les commandes suivantes :

bd@bd-HP-Laptop:~$ systemctl restart bluetooth
bd@bd-HP-Laptop:~$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Tue 2024-09-17 10:35:55 CEST; 23s ago
       Docs: man:bluetoothd(8)
   Main PID: 10888 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 8926)
     Memory: 784.0K (peak: 1.5M)
        CPU: 40ms
     CGroup: /system.slice/bluetooth.service
             └─10888 /usr/libexec/bluetooth/bluetoothd

sept. 17 10:35:55 bd-HP-Laptop systemd[1]: Started bluetooth.service - Bluetooth service.
sept. 17 10:35:55 bd-HP-Laptop bluetoothd[10888]: Starting SDP server
sept. 17 10:35:55 bd-HP-Laptop bluetoothd[10888]: src/plugin.c:plugin_init() System does not support csip plugin
sept. 17 10:35:55 bd-HP-Laptop bluetoothd[10888]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
sept. 17 10:35:55 bd-HP-Laptop bluetoothd[10888]: src/plugin.c:plugin_init() System does not support micp plugin
sept. 17 10:35:55 bd-HP-Laptop bluetoothd[10888]: src/plugin.c:plugin_init() System does not support vcp plugin
sept. 17 10:35:55 bd-HP-Laptop bluetoothd[10888]: src/plugin.c:plugin_init() System does not support mcp plugin
sept. 17 10:35:55 bd-HP-Laptop bluetoothd[10888]: src/plugin.c:plugin_init() System does not support bass plugin
sept. 17 10:35:55 bd-HP-Laptop bluetoothd[10888]: src/plugin.c:plugin_init() System does not support bap plugin
sept. 17 10:35:55 bd-HP-Laptop bluetoothd[10888]: Bluetooth management interface 1.22 initialized

Est-ce normal?
Bien cordialement

Hors ligne

#77 Le 23/10/2024, à 08:36

choss38

Re : perte de l'adaptateur bluetooth après mise en veille

Bonjour,
j'ai le même portable  HP Laptop 15s-fq, et le même problème avec Linux Mint 20.1 Cinnamon (basée sur Ubuntu 20.04). Je suis ce sujet avec intérêt.

Le problème ne se pose pas avec windows (que j'ai laissé en dual boot) donc il s'agit bien d'un problème de pilote linux.


Après 25 ans dans l'univers Microsoft, un néo-linuxien heureux !

Hors ligne

#78 Le 23/10/2024, à 11:57

tycooon

Re : perte de l'adaptateur bluetooth après mise en veille

Problème connu et solutionné par un script d'entrée et de sortie de mis en veille :solution @ylag : ici

sudo tee /lib/systemd/system-sleep/bt << 'EOF'
#!/bin/sh

case "$1" in
  pre)
    modprobe -r btusb
    ;;
  post)
    sleep 1
    modprobe btusb
    sleep 1
    service bluetooth restart
    ;;            
esac
EOF
sudo chmod +x /lib/systemd/system-sleep/bt

Si ça ne fonctionne pas, simplement effacer le fichier par la commande:

sudo rm /lib/systemd/system-sleep/bt

Dernière modification par tycooon (Le 23/10/2024, à 12:33)

Hors ligne

#79 Le 23/10/2024, à 15:33

bernard3303

Re : perte de l'adaptateur bluetooth après mise en veille

Bonjour,

Ça ne marche pas. Ce n'est pas le service BT qui ne monte pas c'est l'adaptateur BT qui est perdu.

Merci, bien cordialement

Hors ligne

#80 Le 23/10/2024, à 15:45

xubu1957

Re : perte de l'adaptateur bluetooth après mise en veille

Bonjour,

Montre :

sudo lshw -class network

et :

ls -l /var/crash

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#81 Le 23/10/2024, à 16:12

bernard3303

Re : perte de l'adaptateur bluetooth après mise en veille

@bd-HP-Laptop:~$ sudo lshw -class network
[sudo] Mot de passe de bd : 
  *-network                 
       description: Interface réseau sans fil
       produit: RTL8821CE 802.11ac PCIe Wireless Network Adapter
       fabricant: Realtek Semiconductor Co., Ltd.
       identifiant matériel: 0
       information bus: pci@0000:01:00.0
       nom logique: wlo1
       version: 00
       numéro de série: d8:12:65:aa:ea:bd
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration : broadcast=yes driver=rtw_8821ce driverversion=6.8.0-47-generic firmware=N/A ip=192.168.1.5 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       ressources : irq:143 portE/S:3000(taille=256) mémoire:7cd00000-7cd0ffff
bd@bd-HP-Laptop:~$ ls -l /var/crash
total 67020
-rw-r----- 1 bd       whoopsie 68616370 oct.  17 11:36 _usr_bin_ibus-daemon.1000.crash
-rw-rw-r-- 1 bd       whoopsie        0 oct.  17 11:37 _usr_bin_ibus-daemon.1000.upload
-rw------- 1 whoopsie whoopsie       37 oct.  17 11:37 _usr_bin_ibus-daemon.1000.uploaded
bd@bd-HP-Laptop:~$ 

Hors ligne

#82 Le 23/10/2024, à 16:19

xubu1957

Re : perte de l'adaptateur bluetooth après mise en veille

Vu :

driver=rtw_8821ce
lsmod | grep 8821
sudo dmesg | grep -i 8821

indiquent ?

Piochant dans [Solved] Why is my system using rtw_8821ce when i use rtl8821ce driver?


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#83 Le 23/10/2024, à 16:29

bernard3303

Re : perte de l'adaptateur bluetooth après mise en veille

Mon PC est actuellemrent après une veille donc sans BT

bd@bd-HP-Laptop:~$ driver=rtw_8821ce
bd@bd-HP-Laptop:~$ lsmod | grep 8821
rtw88_8821ce           12288  0
rtw88_8821c            94208  1 rtw88_8821ce
rtw88_pci              32768  1 rtw88_8821ce
rtw88_core            360448  2 rtw88_pci,rtw88_8821c
bd@bd-HP-Laptop:~$ sudo dmesg | grep -i 8821
[sudo] Mot de passe de bd : 
[    2.508481] rtw_8821ce 0000:01:00.0: enabling device (0000 -> 0003)
[    2.511486] rtw_8821ce 0000:01:00.0: Firmware version 24.11.0, H2C version 12
[    2.538903] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821
[    2.539911] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_fw.bin
[    2.541391] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_config.bin
[    2.563682] rtw_8821ce 0000:01:00.0 wlo1: renamed from wlan0
[  291.688876] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  295.685779] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  297.746209] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  299.739684] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  301.731078] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  303.721108] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  307.761815] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  309.749028] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  311.735785] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  313.786036] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  317.757937] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  319.743424] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  321.728975] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  323.778281] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  327.745743] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  329.728764] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  331.775978] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  333.759423] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  335.742833] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  339.774506] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  341.758518] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  343.742500] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  345.790686] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  349.759127] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  351.743454] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  353.727788] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  355.776261] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  359.745089] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  361.730563] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  363.778263] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  365.762788] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  367.747443] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  371.780732] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  373.765282] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  375.749955] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  377.734599] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  381.768008] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  383.752695] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  385.737309] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  387.786072] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  403.781063] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  405.764592] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  409.731855] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  411.779499] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  413.763294] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  415.747101] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  419.778742] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  421.762629] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  423.746558] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  425.730779] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  427.778823] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  431.746942] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  433.795103] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  435.779261] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  437.763470] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  441.795664] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  443.780118] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  445.764281] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  447.748638] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  451.781233] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  453.765543] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  455.749875] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  457.734220] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  459.782582] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  463.751253] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  465.799562] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  467.784129] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  469.768520] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  473.737368] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  475.785836] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  477.770241] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  479.754662] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  481.638690] rtw_8821ce 0000:01:00.0: failed to send h2c command
[  483.787415] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  485.771980] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  487.756553] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  491.789477] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  493.773904] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  495.758416] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  497.806865] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  499.791390] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  503.760314] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  505.744814] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  507.793366] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  509.777910] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  535.758639] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  537.742315] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  539.789792] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  541.773469] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  545.740634] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  547.788275] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  549.772203] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  551.755927] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  553.803707] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  557.771314] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  559.755103] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  561.738967] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  563.786827] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  567.754499] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  569.738454] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  571.786426] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  573.770390] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  577.738245] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  579.786220] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  581.770211] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  583.754261] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  585.738236] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  589.770183] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  591.754391] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  593.738446] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  595.786519] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  599.754697] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  601.738762] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  603.786953] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  605.771052] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  609.739198] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  611.787267] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  613.771441] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  615.755734] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  617.803929] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  621.772325] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  623.756496] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  625.804557] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  627.788815] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  631.757238] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  633.741525] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  635.789779] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  637.773872] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  641.806477] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  642.614528] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  659.792857] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  661.777163] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  663.761436] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  665.745704] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  671.762642] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  673.810753] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  675.795079] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  677.779488] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  681.748185] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  683.796492] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  685.780650] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  687.764964] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  691.797701] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  693.782060] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  695.766398] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  697.814811] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  701.783312] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  703.767818] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  705.816193] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  707.800576] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  709.784868] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  713.753580] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  715.801774] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  717.786201] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  719.770470] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  723.803370] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  725.787726] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  727.772065] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  729.756363] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  731.704370] rtw_8821ce 0000:01:00.0: failed to send h2c command
[  733.789155] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  735.773349] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  737.757788] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  741.790637] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  743.774999] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  745.759355] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  747.807752] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  749.792112] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  753.760888] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  755.809237] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  757.793535] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  759.777952] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  763.810743] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  765.795035] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  767.779396] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  769.827923] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  773.797530] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  775.781722] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  777.828972] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  779.813148] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  781.797556] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  785.765992] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  787.814043] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  789.798308] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  793.766930] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  795.815179] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  797.799376] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  799.783438] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  803.815982] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  805.800358] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  807.784424] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  809.832779] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  813.801169] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  815.786439] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  817.769854] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  819.817993] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  821.802199] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  825.770785] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  827.819127] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  829.803410] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  831.787533] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  835.820104] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  837.804443] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  839.788626] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  841.772903] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  845.805502] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  849.774153] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  853.806717] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  855.791080] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  857.775403] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  859.831587] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  861.807958] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  865.776388] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  867.824697] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  869.808998] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  871.793333] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  875.826041] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  877.810197] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  879.794638] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  881.778960] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  885.811572] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  887.795751] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  889.780022] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  891.828352] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  893.812650] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  897.845277] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  901.814086] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  905.783613] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  907.831050] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  909.816178] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  911.799548] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  915.832178] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  921.849150] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  923.833551] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  923.836886] rtw_8821ce 0000:01:00.0: failed to send h2c command
[  925.817802] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  929.850476] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  931.834845] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  933.819169] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  935.803510] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  939.836124] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  941.820452] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  943.804853] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  945.853118] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  949.822841] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  951.806184] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  953.854549] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  955.838801] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  957.823166] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  961.791831] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  963.840246] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  965.824546] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  967.808839] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  971.841594] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  973.825928] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  975.810241] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  977.794592] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  981.827339] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  983.811652] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  985.859983] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  987.844319] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  989.828661] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  993.797353] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  995.845715] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  997.830111] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[  999.814405] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1003.847134] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1005.831458] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1007.815849] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1009.800167] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1013.832899] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1015.817275] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1017.865652] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1021.834391] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1023.818729] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1025.803011] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1027.851390] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1029.835719] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1033.804448] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1035.852914] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1037.837204] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1039.821653] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1237.874194] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1255.861644] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1257.845900] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1273.912943] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1279.866045] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1289.842092] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1291.884908] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1383.726601] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1471.688935] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1477.703389] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1481.670488] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1487.684873] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1511.679853] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1531.707807] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1537.722895] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1547.706353] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1565.691327] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1693.689635] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1879.659173] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1881.643032] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1889.642213] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1915.687667] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1931.685987] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1933.669845] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1935.653620] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1943.652823] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1945.700601] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1951.652187] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1957.667582] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 1973.665862] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 2043.674844] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 2053.657647] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 2063.642330] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 2071.642801] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 2077.659091] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 2453.654511] rtw_8821ce 0000:01:00.0: firmware failed to leave lps state
[ 2514.532073] rtw_8821ce 0000:01:00.0: timed out to flush queue 1

Hors ligne

#84 Le 23/10/2024, à 16:37

xubu1957

Re : perte de l'adaptateur bluetooth après mise en veille

Pour :

rtw_8821ce 0000:01:00.0: failed to send h2c command

Je trouve reddit.com/r/voidlinux/comments/16anprb/rtw_8821ce_000001000_failed_to_send_h2c_command

ou bugs.launchpad.net/ubuntu/+source/linux/+bug/2077217 rtw_8821ce: failed to send h2c command

Je n'ai pas de solution sous la main.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#85 Le 23/10/2024, à 16:54

bernard3303

Re : perte de l'adaptateur bluetooth après mise en veille

Donc pas de solution pour l'instant.

Merci, bien cordialement

Hors ligne

#86 Le 23/10/2024, à 17:16

ylag

Re : perte de l'adaptateur bluetooth après mise en veille

Bonjour,

Pour les retours de dmesg au #83, peut-être tenter la désactivation du mode d'économie de l'énergie pour les interfaces wifi dans le fichier :
/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf ?
Il faut passer la valeur wifi.powersave = 3 à wifi.powersave = 2, faire suivre de :

sudo update-initramfs -u

(La commande précédente n'est peut-être pas nécessaire dans ce cas, mais ça ne mange pas de pain de le faire au cas où ...)
... redémarrer et voir si ça améloire les choses au niveau des messages dans dmesg ?

La manip me semble peu risquée et facile à rétrograder, si nécessaire ...

A+

Dernière modification par ylag (Le 23/10/2024, à 17:22)

Hors ligne

#87 Le 23/10/2024, à 17:40

bernard3303

Re : perte de l'adaptateur bluetooth après mise en veille

Désolé, toujours même problème

bd@bd-HP-Laptop:~$ sudo dmesg | grep -i 8821
[    2.411418] rtw_8821ce 0000:01:00.0: enabling device (0000 -> 0003)
[    2.412503] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821
[    2.413492] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_fw.bin
[    2.415170] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_config.bin
[    2.418223] rtw_8821ce 0000:01:00.0: Firmware version 24.11.0, H2C version 12
[    2.464184] rtw_8821ce 0000:01:00.0 wlo1: renamed from wlan0

Dernière modification par bernard3303 (Le 23/10/2024, à 17:42)

Hors ligne

#88 Le 23/10/2024, à 19:22

tycooon

Re : perte de l'adaptateur bluetooth après mise en veille

ma dernière proposition puisque le problème intervient lors d'une mise en veille :

sudo tee /etc/modprobe.d/btusb.conf << 'EOF'
options btusb enable_autosuspend=0
EOF
sudo modprobe -r btusb
sudo modprobe btusb

En cas d'échec :

sudo rm /etc/modprobe.d/btusb.conf

j'ai essayé aussi cette solution chez moi ici
Malheureusement la compilation ne passe pas avec mon noyau : 6.8.0-47-generic
En conséquence, je n'ose pas te la proposer.

Dernière modification par tycooon (Le 23/10/2024, à 19:51)

Hors ligne

#89 Le 23/10/2024, à 19:35

bernard3303

Re : perte de l'adaptateur bluetooth après mise en veille

idem

Hors ligne