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.

#1 Le 29/12/2020, à 02:30

romainguru

Bluetooth s'allume et séteint tout seul en permanence

Bonjour,

J'ai cherché sur le forum mais n'ai pas trouvé de discussion équivalente répertoriée jusqu'à présent.

Il y a un peu plus d'une semaine, un problème lié au bluetooth de mon pc est apparu soudainement : le bluetooth s'est mis à s'allumer et s'éteindre tout seul.
Toutes les deux secondes environ le logo apparait, puis deux trois secondes plus tard il disparait, et ainsi de suite en permanence.
Du coup, impossible de connecter quoi que ce soit. En allant dans Settings --> Bluetooth et en switchant sur "OFf", tout s'arrête, mais quand je mets sur "On" ça repart à s'éteindre et se rallumer tout le temps.

Je suis sur PC portable ASUS intel core I7 avec une installation toute fraiche de ubuntu 20.04 qui a moins d'un mois.
Le bluetooth marchait parfaitement ( bien mieux que sous 18.04 d'ailleurs) jusqu'à il y a quelques jours.

Romain.

Dernière modification par romainguru (Le 29/12/2020, à 02:31)

Hors ligne

#2 Le 29/12/2020, à 07:12

xubu1957

Re : Bluetooth s'allume et séteint tout seul en permanence

Bonjour,

Il faudrait fournir, en te servant du Retour utilisable de commande :

uname -a; lspci -nnk | grep -iA3 net; lsusb; dmesg | grep -i bluetooth; dmesg | grep -i firmware; lsmod | grep bluetooth
dpkg -l | grep blue
rfkill list all

et avec un terminal dont au préalable la fenêtre est élargie afin de ne pas tronquer l'image :

sudo service bluetooth status
cqfd93 a écrit :

Astuce pour copier / coller sans erreur :

  • triple clic gauche pour sélectionner et copier une ligne entière

  • clic molette pour coller dans le terminal


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

Hors ligne

#3 Le 31/12/2020, à 17:22

romainguru

Re : Bluetooth s'allume et séteint tout seul en permanence

Bonjour Xubu1957,

merci pour ton aide.
voici les résultats de toutes les requêtes.

Pour la requête uname -a; lspci -nnk | grep -iA3 net; lsusb; dmesg | grep -i bluetooth; dmesg | grep -i firmware; lsmod | grep bluetooth  :

romain@Modji:~$ uname -a; lspci -nnk | grep -iA3 net; lsusb; dmesg | grep -i bluetooth; dmesg | grep -i firmware; lsmod | grep bluetooth 
Linux Modji 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
02:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)
	Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:9110]
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2a Intel Corp. 
Bus 001 Device 002: ID 0bda:57cb Realtek Semiconductor Corp. USB2.0 HD UVC WebCam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[  101.496397] Bluetooth: Core ver 2.22
[  101.496414] Bluetooth: HCI device and connection manager initialized
[  101.496418] Bluetooth: HCI socket layer initialized
[  101.496420] Bluetooth: L2CAP socket layer initialized
[  101.496422] Bluetooth: SCO socket layer initialized
[  101.641324] Bluetooth: hci0: read Intel version: 370810011003110e00
[  101.644743] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[  101.987035] Bluetooth: hci0: unexpected event for opcode 0xfc2f
[  102.004044] Bluetooth: hci0: Intel firmware patch completed and activated
[  103.317293] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  103.317296] Bluetooth: BNEP filters: protocol multicast
[  103.317299] Bluetooth: BNEP socket layer initialized
[  239.540921] Bluetooth: RFCOMM TTY layer initialized
[  239.540926] Bluetooth: RFCOMM socket layer initialized
[  239.540931] Bluetooth: RFCOMM ver 1.11
[    0.000000] [Firmware Bug]: TPM Final Events table missing or invalid
[    0.110502] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.168413] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.491670] tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80
[    0.491680] tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80
[    0.981126] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
[  101.535660] iwlwifi 0000:02:00.0: loaded firmware version 29.1654887522.0 op_mode iwlmvm
[  101.644743] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[  101.667142] iwlwifi 0000:02:00.0: Allocated 0x00400000 bytes for firmware monitor.
[  101.690189] elan_i2c i2c-ELAN0100:00: Elan Touchpad: Module ID: 0x0005, Firmware: 0x0004, Sample: 0x000d, IAP: 0x000e
[  102.004044] Bluetooth: hci0: Intel firmware patch completed and activated
bluetooth             548864  41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic           16384  2 bluetooth
romain@Modji:~$

Pour la requête dpkg -l | grep blue :

romain@Modji:~$ dpkg -l | grep blue
ii  blueman                                    2.1.2-1ubuntu0.2                           amd64        Graphical bluetooth manager
ii  bluez                                      5.53-0ubuntu3                              amd64        Bluetooth tools and daemons
ii  bluez-cups                                 5.53-0ubuntu3                              amd64        Bluetooth printer driver for CUPS
ii  bluez-obexd                                5.53-0ubuntu3                              amd64        bluez obex daemon
ii  gir1.2-gnomebluetooth-1.0:amd64            3.34.3-0ubuntu1                            amd64        Introspection data for GnomeBluetooth
ii  gnome-bluetooth                            3.34.3-0ubuntu1                            amd64        GNOME Bluetooth tools
ii  indicator-bluetooth                        0.0.6+17.10.20170605-0ubuntu3              amd64        System bluetooth indicator.
ii  libbluetooth3:amd64                        5.53-0ubuntu3                              amd64        Library to use the BlueZ Linux Bluetooth stack
ii  libgnome-bluetooth13:amd64                 3.34.3-0ubuntu1                            amd64        GNOME Bluetooth tools - support library
ii  pulseaudio-module-bluetooth                1:13.99.1-1ubuntu3.8                       amd64        Bluetooth module for PulseAudio sound server
romain@Modji:~$ 

Pour la requête rfkill list all :

romain@Modji:~$ rfkill list all
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
romain@Modji:~$ 

Et enfin pour la dernière requête : sudo service bluetooth status. Je l'ai lancée deux fois, une fois quand l'icône bluetooth est active et une fois quand elle est inactive... le résultat est le même.

romain@Modji:~$ sudo service bluetooth status
[sudo] password for romain: 
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2020-12-31 15:56:52 CET; 14min ago
       Docs: man:bluetoothd(8)
   Main PID: 967 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9326)
     Memory: 2.3M
     CGroup: /system.slice/bluetooth.service
             └─967 /usr/lib/bluetooth/bluetoothd

déc. 31 15:56:51 Modji systemd[1]: Starting Bluetooth service...
déc. 31 15:56:51 Modji bluetoothd[967]: Bluetooth daemon 5.53
déc. 31 15:56:52 Modji systemd[1]: Started Bluetooth service.
déc. 31 15:56:52 Modji bluetoothd[967]: Starting SDP server
déc. 31 15:56:52 Modji bluetoothd[967]: Bluetooth management interface 1.14 initialized
déc. 31 15:56:52 Modji bluetoothd[967]: Failed to set mode: Blocked through rfkill (0x12)
déc. 31 15:56:55 Modji bluetoothd[967]: Failed to set mode: Blocked through rfkill (0x12)
déc. 31 15:59:08 Modji bluetoothd[967]: Endpoint registered: sender=:1.73 path=/MediaEndpoint/A2DPSink/sbc
déc. 31 15:59:08 Modji bluetoothd[967]: Endpoint registered: sender=:1.73 path=/MediaEndpoint/A2DPSource/sbc
romain@Modji:~$ sudo service bluetooth status
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2020-12-31 15:56:52 CET; 15min ago
       Docs: man:bluetoothd(8)
   Main PID: 967 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9326)
     Memory: 2.3M
     CGroup: /system.slice/bluetooth.service
             └─967 /usr/lib/bluetooth/bluetoothd

déc. 31 15:56:51 Modji systemd[1]: Starting Bluetooth service...
déc. 31 15:56:51 Modji bluetoothd[967]: Bluetooth daemon 5.53
déc. 31 15:56:52 Modji systemd[1]: Started Bluetooth service.
déc. 31 15:56:52 Modji bluetoothd[967]: Starting SDP server
déc. 31 15:56:52 Modji bluetoothd[967]: Bluetooth management interface 1.14 initialized
déc. 31 15:56:52 Modji bluetoothd[967]: Failed to set mode: Blocked through rfkill (0x12)
déc. 31 15:56:55 Modji bluetoothd[967]: Failed to set mode: Blocked through rfkill (0x12)
déc. 31 15:59:08 Modji bluetoothd[967]: Endpoint registered: sender=:1.73 path=/MediaEndpoint/A2DPSink/sbc
déc. 31 15:59:08 Modji bluetoothd[967]: Endpoint registered: sender=:1.73 path=/MediaEndpoint/A2DPSource/sbc
romain@Modji:~$

1609428620.png

Et bonne fêtes de fin d'année!


Sur Toile Libre ou TDCT'Pix, choisir le lien « Insérer la miniature dans un forum : »

           1469894479.png

Romain.

Dernière modification par cqfd93 (Le 31/12/2020, à 17:46)

Hors ligne

#4 Le 31/12/2020, à 17:46

xubu1957

Re : Bluetooth s'allume et séteint tout seul en permanence

Bonjour,

Vu la carte :

Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)

Tu peux essayer cette commande :

Le 01/05/2014, ytreza a écrit :

Bonjour !
Merci Toutafai !
J'ai enfin résolu le problème à l'aide de Varunendra sur le forum anglophone. Tu étais très proche de la solution, il fallait finalement remplacer le contenu du fichier (et pas ajouter à la fin comme je l'ai fait). Et il fallait aussi modifier un paramètre concernant l'utilisation simultanée du Wifi et du Bluetooth dans mon cas. Voici la manipulation exacte que j’ai utilisée :

echo "options iwlwifi bt_coex_active=N swcrypto=1 11n_disable=1" | sudo tee /etc/modprobe.d/iwlwifi.conf

A priori, le paramètre "swcrypto" ne semble avoir aucune incidence sur ma connexion, mais je le laisse par simple précaution.
Le détails des options est expliqué très clairement ici (en anglais) : http://ubuntuforums.org/showpost.php?p=12943350
...
Merci encore pour toute ton aide ! smile

dans  [Résolu] Wifi instable Ubuntu 14.04 Intel Wireless-N 1030

et proposée le 06/04/2019, dans : [Résolu] Connexion casque bluetooth platronic black beat pro 2


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

Hors ligne