[Bluetooth] Ne fonctionne pas

Reconnaissance et configuration du matériel / kernel linux
Répondre
timfa2

[Bluetooth] Ne fonctionne pas

Message par timfa2 »

Bonjour,
Depuis quelques jours, je voudrais utiliser le bluetooth. Or, quand je lance la détection d'appareils, il ne trouve jamais rien...
J'utilise l'interface graphique de KDE. Je n'ai rien trouvé alors je me tourne vers vous.
(Le service Bluetooth est bien activé)
Merci d'avance.
laurent85
Elfe
Messages : 951
Inscription : mar. 16 oct. 2018, 21:05

Re: [Bluetooth] Ne fonctionne pas

Message par laurent85 »

Bonjour,
Dans adaptateurs bluetooth il est détecté ton matériel ?
timfa2

Re: [Bluetooth] Ne fonctionne pas

Message par timfa2 »

Oui, il est détecté en tant que "hci0".
0liviero
newbie
Messages : 8
Inscription : mer. 06 nov. 2019, 18:57

Re: [Bluetooth] Ne fonctionne pas

Message par 0liviero »

pareillement pour moi depuis aujourd'hui apres la mis a jour du system.

journalctl -b | grep hci0
Nov 06 18:16:13 L3800 kernel: Bluetooth: hci0: Firmware revision 0.1 build 50 week 12 2019
Nov 06 20:11:33 L3800 kernel: Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
Nov 06 20:11:33 L3800 kernel: Bluetooth: hci0: Device revision is 16
Nov 06 20:11:33 L3800 kernel: Bluetooth: hci0: Secure boot is enabled
Nov 06 20:11:33 L3800 kernel: Bluetooth: hci0: OTP lock is enabled
Nov 06 20:11:33 L3800 kernel: Bluetooth: hci0: API lock is enabled
Nov 06 20:11:33 L3800 kernel: Bluetooth: hci0: Debug lock is disabled
Nov 06 20:11:33 L3800 kernel: Bluetooth: hci0: Minimum firmware build 1 week 10 2014
Nov 06 20:11:33 L3800 kernel: Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi
Nov 06 20:11:35 L3800 kernel: Bluetooth: hci0: Waiting for firmware download to complete
Nov 06 20:11:35 L3800 kernel: Bluetooth: hci0: Firmware loaded in 1584283 usecs
Nov 06 20:11:35 L3800 kernel: Bluetooth: hci0: Waiting for device to boot
Nov 06 20:11:35 L3800 kernel: Bluetooth: hci0: Device booted in 11733 usecs
Nov 06 20:11:35 L3800 kernel: Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc
Nov 06 20:11:35 L3800 kernel: Bluetooth: hci0: Applying Intel DDC parameters completed
laurent85
Elfe
Messages : 951
Inscription : mar. 16 oct. 2018, 21:05

Re: [Bluetooth] Ne fonctionne pas

Message par laurent85 »

timfa2 a écrit : mer. 06 nov. 2019, 15:03 Oui, il est détecté en tant que "hci0".
Installe bluez-utils.
Quel est le retour de :

Code : Tout sélectionner

rfkill
rfkill unblock all
rfkill
bluetoothctl list
bluetoothctl devices
bluetoothctl show | grep yes
0liviero
newbie
Messages : 8
Inscription : mer. 06 nov. 2019, 18:57

Re: [Bluetooth] Ne fonctionne pas

Message par 0liviero »

$ rfkill
ID TYPE DEVICE SOFT HARD
1 wlan phy0 unblocked unblocked
3 bluetooth hci0 unblocked unblocked
$ rfkill unblock all
$ rfkill
ID TYPE DEVICE SOFT HARD
1 wlan phy0 unblocked unblocked
3 bluetooth hci0 unblocked unblocked
$ bluetoothctl list
^C
$ bluetoothctl devices
^C
$ bluetoothctl show | grep yes
^C
ces 3 derniers ne sortent rien.
$ bluetoothctl
Waiting to connect to bluetoothd...
^C
$ uname -a
Linux L3800 5.3.8-arch1-1 #1 SMP PREEMPT @1572357769 x86_64 GNU/Linux
laurent85
Elfe
Messages : 951
Inscription : mar. 16 oct. 2018, 21:05

Re: [Bluetooth] Ne fonctionne pas

Message par laurent85 »

Ça marchait avant ?
C'est quoi comme matériel ? le retour de :

Code : Tout sélectionner

lsusb
lsusb -t
0liviero
newbie
Messages : 8
Inscription : mer. 06 nov. 2019, 18:57

Re: [Bluetooth] Ne fonctionne pas

Message par 0liviero »

oui, ca marchait avant la mise a jour du system. Lenovo L380. j'ai aussi des problemes avec USB recament, il y a des erreurs, voir mon autre post d'hier. mais BT marchait encore, meme avec les erreur usb qui apparaisaient deja avant.

$ lsusb
Bus 002 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 002: ID 2109:0813 VIA Labs, Inc. USB3.0 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 06cb:00a2 Synaptics, Inc.
Bus 001 Device 007: ID 8087:0a2b Intel Corp.
Bus 001 Device 005: ID 04f2:b604 Chicony Electronics Co., Ltd Integrated Camera (1280x720@30)
Bus 001 Device 003: ID 04f2:0976 Chicony Electronics Co., Ltd Wireless Device
Bus 001 Device 002: ID 2109:2813 VIA Labs, Inc. USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
|__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
|__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 3, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 5: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 5: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 7: Dev 7, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 7: Dev 7, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 9: Dev 8, If 0, Class=Vendor Specific Class, Driver=, 12M
laurent85
Elfe
Messages : 951
Inscription : mar. 16 oct. 2018, 21:05

Re: [Bluetooth] Ne fonctionne pas

Message par laurent85 »

Je n'ai rien trouvé. Et dans les logs ?

Code : Tout sélectionner

journalctl -b -p3 -n50
journalctl -b | grep -i -e bluetooth -e hci0 -e btusb
0liviero
newbie
Messages : 8
Inscription : mer. 06 nov. 2019, 18:57

Re: [Bluetooth] Ne fonctionne pas

Message par 0liviero »

$ journalctl -b -p3 -n50
-- Logs begin at Fri 2019-09-27 11:24:27 CEST, end at Fri 2019-11-08 15:47:31 CET. --
Nov 08 11:15:24 L3800 kernel: mce: CPU4: Package temperature above threshold, cpu clock throttled (total events = 699)
Nov 08 11:15:24 L3800 kernel: mce: CPU0: Package temperature above threshold, cpu clock throttled (total events = 699)
Nov 08 11:15:24 L3800 kernel: mce: CPU7: Package temperature above threshold, cpu clock throttled (total events = 699)
Nov 08 11:15:24 L3800 kernel: mce: CPU3: Package temperature above threshold, cpu clock throttled (total events = 699)
Nov 08 11:15:24 L3800 kernel: mce: CPU1: Package temperature above threshold, cpu clock throttled (total events = 699)
Nov 08 11:15:24 L3800 kernel: mce: CPU5: Package temperature above threshold, cpu clock throttled (total events = 699)
Nov 08 11:22:46 L3800 kernel: mce: CPU1: Core temperature above threshold, cpu clock throttled (total events = 98)
Nov 08 11:22:46 L3800 kernel: mce: CPU5: Core temperature above threshold, cpu clock throttled (total events = 98)
Nov 08 11:22:46 L3800 kernel: mce: CPU5: Package temperature above threshold, cpu clock throttled (total events = 846)
Nov 08 11:22:46 L3800 kernel: mce: CPU1: Package temperature above threshold, cpu clock throttled (total events = 846)
Nov 08 11:22:46 L3800 kernel: mce: CPU0: Package temperature above threshold, cpu clock throttled (total events = 846)
Nov 08 11:22:46 L3800 kernel: mce: CPU4: Package temperature above threshold, cpu clock throttled (total events = 846)
Nov 08 11:22:46 L3800 kernel: mce: CPU7: Package temperature above threshold, cpu clock throttled (total events = 846)
Nov 08 11:22:46 L3800 kernel: mce: CPU3: Package temperature above threshold, cpu clock throttled (total events = 846)
Nov 08 11:22:46 L3800 kernel: mce: CPU2: Package temperature above threshold, cpu clock throttled (total events = 846)
Nov 08 11:22:46 L3800 kernel: mce: CPU6: Package temperature above threshold, cpu clock throttled (total events = 846)
Nov 08 11:28:41 L3800 kernel: mce: CPU6: Core temperature above threshold, cpu clock throttled (total events = 633)
Nov 08 11:28:41 L3800 kernel: mce: CPU2: Core temperature above threshold, cpu clock throttled (total events = 633)
Nov 08 11:28:41 L3800 kernel: mce: CPU2: Package temperature above threshold, cpu clock throttled (total events = 1125)
Nov 08 11:28:41 L3800 kernel: mce: CPU6: Package temperature above threshold, cpu clock throttled (total events = 1125)
Nov 08 11:28:41 L3800 kernel: mce: CPU0: Package temperature above threshold, cpu clock throttled (total events = 1125)
Nov 08 11:28:41 L3800 kernel: mce: CPU4: Package temperature above threshold, cpu clock throttled (total events = 1125)
Nov 08 11:28:41 L3800 kernel: mce: CPU3: Package temperature above threshold, cpu clock throttled (total events = 1125)
Nov 08 11:28:41 L3800 kernel: mce: CPU1: Package temperature above threshold, cpu clock throttled (total events = 1125)
Nov 08 11:28:41 L3800 kernel: mce: CPU5: Package temperature above threshold, cpu clock throttled (total events = 1125)
Nov 08 11:28:41 L3800 kernel: mce: CPU7: Package temperature above threshold, cpu clock throttled (total events = 1125)
Nov 08 13:38:31 L3800 ntpd[793]: bind(26) AF_INET6 fe80::796b:3d42:6c74:265f%4#123 flags 0x11 failed: Cannot assign requested address
Nov 08 13:38:31 L3800 ntpd[793]: unable to create socket on wlp2s0 (17) for fe80::796b:3d42:6c74:265f%4#123
Nov 08 13:39:47 L3800 kernel: mce: CPU2: Core temperature above threshold, cpu clock throttled (total events = 640)
Nov 08 13:39:47 L3800 kernel: mce: CPU5: Package temperature above threshold, cpu clock throttled (total events = 1135)
Nov 08 13:39:47 L3800 kernel: mce: CPU1: Package temperature above threshold, cpu clock throttled (total events = 1135)
Nov 08 13:39:47 L3800 kernel: mce: CPU7: Package temperature above threshold, cpu clock throttled (total events = 1135)
Nov 08 13:39:47 L3800 kernel: mce: CPU6: Core temperature above threshold, cpu clock throttled (total events = 640)
Nov 08 13:39:47 L3800 kernel: mce: CPU0: Package temperature above threshold, cpu clock throttled (total events = 1135)
Nov 08 13:39:47 L3800 kernel: mce: CPU4: Package temperature above threshold, cpu clock throttled (total events = 1135)
Nov 08 13:39:47 L3800 kernel: mce: CPU3: Package temperature above threshold, cpu clock throttled (total events = 1135)
Nov 08 13:39:47 L3800 kernel: mce: CPU6: Package temperature above threshold, cpu clock throttled (total events = 1135)
Nov 08 13:39:47 L3800 kernel: mce: CPU2: Package temperature above threshold, cpu clock throttled (total events = 1135)
Nov 08 14:03:54 L3800 ntpd[793]: bind(24) AF_INET6 fe80::796b:3d42:6c74:265f%4#123 flags 0x11 failed: Cannot assign requested address
Nov 08 14:03:54 L3800 ntpd[793]: unable to create socket on wlp2s0 (22) for fe80::796b:3d42:6c74:265f%4#123
Nov 08 14:05:15 L3800 kernel: usb 2-2: device not accepting address 4, error -71
Nov 08 14:05:16 L3800 kernel: usb 1-2.3: device descriptor read/64, error -32
Nov 08 14:05:16 L3800 kernel: usb 1-2.3: device descriptor read/64, error -32
Nov 08 14:05:17 L3800 kernel: usb 1-2.3: device descriptor read/64, error -32
Nov 08 14:05:17 L3800 kernel: usb 1-2.3: device descriptor read/64, error -32
Nov 08 14:05:18 L3800 kernel: usb 1-2.3: device not accepting address 23, error -71
Nov 08 14:05:18 L3800 kernel: usb 1-2.3: device not accepting address 24, error -71
Nov 08 14:05:18 L3800 kernel: usb 1-2-port3: unable to enumerate USB device
Nov 08 14:05:19 L3800 ntpd[793]: bind(25) AF_INET6 fe80::fd7b:172e:182d:b73e%5#123 flags 0x11 failed: Cannot assign requested address
Nov 08 14:05:19 L3800 ntpd[793]: unable to create socket on enp0s20f0u2u4 (24) for fe80::fd7b:172e:182d:b73e%5#123

$ journalctl -b | grep -i -e bluetooth -e hci0 -e btusb
Nov 07 15:34:24 L3800 kernel: Bluetooth: Core ver 2.22
Nov 07 15:34:24 L3800 kernel: Bluetooth: HCI device and connection manager initialized
Nov 07 15:34:24 L3800 kernel: Bluetooth: HCI socket layer initialized
Nov 07 15:34:24 L3800 kernel: Bluetooth: L2CAP socket layer initialized
Nov 07 15:34:24 L3800 kernel: Bluetooth: SCO socket layer initialized
Nov 07 15:34:24 L3800 kernel: usbcore: registered new interface driver btusb
Nov 07 15:34:24 L3800 kernel: Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
Nov 07 15:34:24 L3800 kernel: Bluetooth: hci0: Device revision is 16
Nov 07 15:34:24 L3800 kernel: Bluetooth: hci0: Secure boot is enabled
Nov 07 15:34:24 L3800 kernel: Bluetooth: hci0: OTP lock is enabled
Nov 07 15:34:24 L3800 kernel: Bluetooth: hci0: API lock is enabled
Nov 07 15:34:24 L3800 kernel: Bluetooth: hci0: Debug lock is disabled
Nov 07 15:34:24 L3800 kernel: Bluetooth: hci0: Minimum firmware build 1 week 10 2014
Nov 07 15:34:24 L3800 kernel: Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi
Nov 07 15:34:25 L3800 systemd[1]: Reached target Bluetooth.
Nov 07 15:34:25 L3800 NetworkManager[770]: <info> [1573137265.8439] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.20.6-1/libnm-device-plugin-bluetooth.so)
Nov 07 15:34:26 L3800 kernel: Bluetooth: hci0: Waiting for firmware download to complete
Nov 07 15:34:26 L3800 kernel: Bluetooth: hci0: Firmware loaded in 1459469 usecs
Nov 07 15:34:26 L3800 kernel: Bluetooth: hci0: Waiting for device to boot
Nov 07 15:34:26 L3800 kernel: Bluetooth: hci0: Device booted in 11692 usecs
Nov 07 15:34:26 L3800 kernel: Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc
Nov 07 15:34:26 L3800 kernel: Bluetooth: hci0: Applying Intel DDC parameters completed
Nov 08 04:43:03 L3800 kernel: Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
Nov 08 04:43:03 L3800 kernel: Bluetooth: hci0: Device revision is 16
Nov 08 04:43:03 L3800 kernel: Bluetooth: hci0: Secure boot is enabled
Nov 08 04:43:03 L3800 kernel: Bluetooth: hci0: OTP lock is enabled
Nov 08 04:43:03 L3800 kernel: Bluetooth: hci0: API lock is enabled
Nov 08 04:43:03 L3800 kernel: Bluetooth: hci0: Debug lock is disabled
Nov 08 04:43:03 L3800 kernel: Bluetooth: hci0: Minimum firmware build 1 week 10 2014
Nov 08 04:43:03 L3800 kernel: Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi
Nov 08 04:43:03 L3800 systemd[1]: Stopped target Bluetooth.
Nov 08 04:43:03 L3800 systemd[906]: Reached target Bluetooth.
Nov 08 04:43:03 L3800 systemd[1]: Reached target Bluetooth.
Nov 08 04:43:04 L3800 kernel: Bluetooth: hci0: Waiting for firmware download to complete
Nov 08 04:43:04 L3800 kernel: Bluetooth: hci0: Firmware loaded in 1489479 usecs
Nov 08 04:43:04 L3800 kernel: Bluetooth: hci0: Waiting for device to boot
Nov 08 04:43:04 L3800 kernel: Bluetooth: hci0: Device booted in 16665 usecs
Nov 08 04:43:04 L3800 kernel: Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc
Nov 08 04:43:04 L3800 kernel: Bluetooth: hci0: Applying Intel DDC parameters completed
Nov 08 04:44:19 L3800 rfkill[8546]: block set for type bluetooth
Nov 08 04:44:41 L3800 rfkill[8559]: block set for type bluetooth
Nov 08 04:44:43 L3800 rfkill[8563]: unblock set for type bluetooth
Nov 08 04:47:31 L3800 rfkill[8672]: block set for type bluetooth
Nov 08 07:48:38 L3800 kernel: Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
Nov 08 07:48:38 L3800 kernel: Bluetooth: hci0: Device revision is 16
Nov 08 07:48:38 L3800 kernel: Bluetooth: hci0: Secure boot is enabled
Nov 08 07:48:38 L3800 kernel: Bluetooth: hci0: OTP lock is enabled
Nov 08 07:48:38 L3800 kernel: Bluetooth: hci0: API lock is enabled
Nov 08 07:48:38 L3800 kernel: Bluetooth: hci0: Debug lock is disabled
Nov 08 07:48:38 L3800 kernel: Bluetooth: hci0: Minimum firmware build 1 week 10 2014
Nov 08 07:48:38 L3800 kernel: Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi
Nov 08 07:48:38 L3800 systemd[906]: Stopped target Bluetooth.
Nov 08 07:48:38 L3800 systemd[1]: Stopped target Bluetooth.
Nov 08 07:48:38 L3800 systemd[1]: Reached target Bluetooth.
Nov 08 07:48:38 L3800 systemd[906]: Reached target Bluetooth.
Nov 08 07:48:40 L3800 kernel: Bluetooth: hci0: Waiting for firmware download to complete
Nov 08 07:48:40 L3800 kernel: Bluetooth: hci0: Firmware loaded in 1658089 usecs
Nov 08 07:48:40 L3800 kernel: Bluetooth: hci0: Waiting for device to boot
Nov 08 07:48:40 L3800 kernel: Bluetooth: hci0: Device booted in 16596 usecs
Nov 08 07:48:40 L3800 kernel: Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc
Nov 08 07:48:40 L3800 kernel: Bluetooth: hci0: Applying Intel DDC parameters completed
Nov 08 10:41:16 L3800 sudo[10676]: gd : TTY=pts/0 ; PWD=/home/gd ; USER=root ; COMMAND=/usr/bin/systool -av -c bluetooth
Nov 08 10:41:51 L3800 sudo[10682]: gd : TTY=pts/0 ; PWD=/home/gd ; USER=root ; COMMAND=/usr/bin/systool -av -c bluetooth
Nov 08 13:09:47 L3800 rfkill[13019]: block set for type bluetooth
Nov 08 13:09:48 L3800 rfkill[13023]: unblock set for type bluetooth
laurent85
Elfe
Messages : 951
Inscription : mar. 16 oct. 2018, 21:05

Re: [Bluetooth] Ne fonctionne pas

Message par laurent85 »

Le service bluetooth n'est pas démarré ? Je ne vois pas bluetoothd dans les logs.

Code : Tout sélectionner

ssytemctl status bluetooth
0liviero
newbie
Messages : 8
Inscription : mer. 06 nov. 2019, 18:57

Re: [Bluetooth] Ne fonctionne pas

Message par 0liviero »

$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
0liviero
newbie
Messages : 8
Inscription : mer. 06 nov. 2019, 18:57

Re: [Bluetooth] Ne fonctionne pas

Message par 0liviero »

du progress! ca marche. merci! je faisais start bluetooth deja il y a qqs jours mais il me semble ca n'a pas survecu le redemarage.... voir*

$ sudo systemctl start bluetooth

$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2019-11-08 18:20:57 CET; 31s ago
Docs: man:bluetoothd(8)
Main PID: 21182 (bluetoothd)
Tasks: 1 (limit: 4915)
Memory: 2.7M
CGroup: /system.slice/bluetooth.service
└─21182 /usr/lib/bluetooth/bluetoothd

Nov 08 18:20:57 L3800 systemd[1]: Starting Bluetooth service...
Nov 08 18:20:57 L3800 bluetoothd[21182]: Bluetooth daemon 5.52
Nov 08 18:20:57 L3800 systemd[1]: Started Bluetooth service.
Nov 08 18:20:57 L3800 bluetoothd[21182]: Starting SDP server
Nov 08 18:20:57 L3800 bluetoothd[21182]: Bluetooth management interface 1.14 initialized
Nov 08 18:20:57 L3800 bluetoothd[21182]: Endpoint registered: sender=:1.70 path=/MediaEndpoint/A2DPSink/sbc
Nov 08 18:20:57 L3800 bluetoothd[21182]: Endpoint registered: sender=:1.70 path=/MediaEndpoint/A2DPSource/sbc

$ bluetoothctl list
Controller 20:16:B9:2A:2A:F0 L3800 [default]
$ bluetoothctl devices
Device F1:49:C0:40:4C:82 MX Anywhere 2
Device F1:49:C0:40:4C:83 MX Anywhere 2
Device F1:49:C0:40:4C:81 MX Anywhere 2

*) aha, je viens de trouver comment le rendre permanent:

$ sudo systemctl enable bluetooth
Created symlink /etc/systemd/system/dbus-org.bluez.service → /usr/lib/systemd/system/bluetooth.service.
Created symlink /etc/systemd/system/bluetooth.target.wants/bluetooth.service → /usr/lib/systemd/system/bluetooth.service.
Répondre