2 votes

Le Bluetooth s'active et se désactive rapidement sur un ordinateur portable MSI GE66 exécutant Ubuntu 20.10, utilisant 100 % du processeur.

Je viens de faire une nouvelle installation d'Ubuntu 20.10 sur mon ordinateur portable MSI GE66. Pour une raison quelconque, le Bluetooth bascule rapidement et s'éteint. Voici une vidéo qui montre ce qui se passe : https://youtu.be/Y7kT3Nkxkag

Aussi, quand je lance htop il montre que systemd-udevd utilise 100% de mon CPU (un des 16 threads de ma machine). Exécution de udevadm monitor continue d'imprimer ce qui suit :

KERNEL[14196.456057] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
KERNEL[14196.457305] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14196.457336] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0 (bluetooth)
KERNEL[14196.457376] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/rfkill24105 (rfkill)
KERNEL[14196.457501] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14196.457517] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14196.457541] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14196.457568] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
UDEV  [14196.458030] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
UDEV  [14196.458060] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
UDEV  [14196.514604] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0 (bluetooth)
KERNEL[14196.614800] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/rfkill24105 (rfkill)
KERNEL[14196.614815] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0 (bluetooth)
KERNEL[14196.614824] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14196.614846] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14196.614857] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14196.614867] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14196.625238] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
KERNEL[14196.625276] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
UDEV  [14196.670293] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/rfkill4297 (rfkill)
KERNEL[14197.044037] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
KERNEL[14197.045068] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14197.045100] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0 (bluetooth)
KERNEL[14197.045128] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/rfkill24106 (rfkill)
KERNEL[14197.045203] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14197.045243] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14197.045273] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14197.045327] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
UDEV  [14197.045651] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
UDEV  [14197.045683] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14197.202815] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/rfkill24106 (rfkill)
KERNEL[14197.202852] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0 (bluetooth)
KERNEL[14197.202862] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14197.202870] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14197.202895] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14197.202904] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14197.213432] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
KERNEL[14197.213468] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
KERNEL[14197.632034] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
KERNEL[14197.633245] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14197.633276] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0 (bluetooth)
KERNEL[14197.633284] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/rfkill24107 (rfkill)
KERNEL[14197.633380] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14197.633536] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14197.633572] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14197.633583] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
UDEV  [14197.633872] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
UDEV  [14197.650160] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/rfkill4297 (rfkill)
UDEV  [14197.650484] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14197.790798] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/rfkill24107 (rfkill)
KERNEL[14197.790837] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0 (bluetooth)
KERNEL[14197.790862] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14197.790890] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14197.790915] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14197.790924] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14197.801383] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
KERNEL[14197.801418] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
UDEV  [14197.804361] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0 (bluetooth)
UDEV  [14197.804580] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
UDEV  [14197.957591] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
UDEV  [14198.111830] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14198.220004] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)
KERNEL[14198.221202] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14198.221232] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0 (bluetooth)
KERNEL[14198.221242] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/rfkill24108 (rfkill)
KERNEL[14198.221291] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0 (usb)
KERNEL[14198.221391] add      /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14198.221427] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.1 (usb)
KERNEL[14198.221461] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-14 (usb)

Que se passe-t-il exactement ? Comment puis-je résoudre ce problème ?

Editar

Voici quelques informations supplémentaires sur mon système.

Sortie de sudo lshw | grep product

    product: GE66 Raider 10UH (1542.1)
       product: MS-1542
             product: HMAA2GS6AJR8N-XN
             product: HMAA2GS6AJR8N-XN
          product: Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz
          product: 10th Gen Core Processor Host Bridge/DRAM Registers
             product: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)
                product: NVIDIA Corporation
                product: NVIDIA Corporation
             product: UHD Graphics
             product: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
             product: Comet Lake PCH Thermal Controller
             product: Comet Lake USB 3.1 xHCI Host Controller
                product: xHCI Host Controller
                   product: SteelSeries KLC
                   product: SteelSeries ALC
                   product: Integrated Camera
                product: xHCI Host Controller
             product: Comet Lake PCH Shared SRAM
             product: Comet Lake PCH Serial IO I2C Controller #0
             product: Comet Lake PCH Serial IO I2C Controller #2
             product: Comet Lake HECI Controller
             product: Comet Lake PCI Express Root Port #17
                product: ASMedia Technology Inc.
                   product: xHCI Host Controller
                   product: xHCI Host Controller
             product: Comet Lake PCI Express Root Port #9
                product: Sandisk Corp
                   product: WDC PC SN730 SDBPNTY-1T00-1032
             product: Intel Corporation
                product: Intel Corporation
             product: Intel Corporation
                product: Intel Corporation
             product: Intel Corporation
                product: RTS525A PCI Express Card Reader
             product: Comet Lake LPC Controller
             product: Comet Lake PCH cAVS
             product: Comet Lake PCH SMBus Controller
             product: Comet Lake PCH SPI Controller
          product: PnP device PNP0c02
          product: PnP device MSI0007
          product: PnP device PNP0f13
          product: PnP device PNP0c02
          product: PnP device PNP0b00
          product: PnP device INT3f0d
          product: PnP device PNP0c02
          product: PnP device PNP0c02
          product: PnP device PNP0c02
          product: PnP device PNP0c02
       product: To Be Filled By O.E.M.

Sortie de spci -knn | grep Net -A3; lsusb

04:00.0 Network controller [0280]: Intel Corporation Device [8086:2725] (rev 1a)
    Subsystem: Intel Corporation Device [8086:0024]
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 1038:1122 SteelSeries ApS SteelSeries KLC
Bus 001 Device 067: ID 8087:0032 Intel Corp. 
Bus 001 Device 004: ID 5986:1160 Acer, Inc Integrated Camera
Bus 001 Device 003: ID 1038:1132 SteelSeries ApS SteelSeries ALC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Edit 2

Même si je n'arrive pas à faire fonctionner le bluetooth, c'est très bien. Je suis d'accord pour le désactiver entièrement, en fin de compte je ne veux pas qu'il consomme le CPU comme il le fait actuellement.

Edit 3

Je viens de faire une nouvelle installation d'Ubuntu 20.04 à la place, j'ai le même problème.

1voto

StryKarr Points 11

J'ai eu le même problème sur Ubuntu 20.04.02 avec le noyau 5.10.24.

Insertion de la ligne suivante dans /etc/udev/rules.d/81-bluetooth-hci.rules a résolu le problème pour moi :

SUBSYSTEM=="usb", ATTRS{idVendor}=="8087", ATTRS{idProduct}=="0032", ATTR{authorized}="0"

En fait, avec le paramètre ci-dessus, vous désactivez l'adaptateur Bluetooth d'Intel.

1voto

cyrusbehr Points 215

Après avoir essayé plusieurs choses, j'ai pu désactiver complètement mon Bluetooth en faisant ce qui suit :

sudo vim /etc/modprobe.d/blacklist.conf

Ajoutez ensuite la ligne suivante : blacklist btusb

Puis finalement redémarrer.

Le Bluetooth ne s'active et ne se désactive plus, et ne consomme plus de CPU - bien que ce ne soit pas une solution idéale car elle implique finalement la désactivation du Bluetooth.

SistemesEz.com

SystemesEZ est une communauté de sysadmins où vous pouvez résoudre vos problèmes et vos doutes. Vous pouvez consulter les questions des autres sysadmins, poser vos propres questions ou résoudre celles des autres.

Powered by:

X