# CLAVIER bluetooth reconnu, connexion éphémère

**URL:** <https://www.debian-fr.org/t/clavier-bluetooth-reconnu-connexion-ephemere/76621>\
**Category:** Support Debian\
**Created:** [Mai 9, 2018, 5:46 UTC](https://www.debian-fr.org/t/clavier-bluetooth-reconnu-connexion-ephemere/76621 "2018-05-09T17:46:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![josephtux](https://www.debian-fr.org/user_avatar/www.debian-fr.org/josephtux/32/3985_2.png) [@josephtux](https://www.debian-fr.org/u/josephtux)\
**Post date:** [Mai 9, 2018, 5:46 UTC](https://www.debian-fr.org/t/clavier-bluetooth-reconnu-connexion-ephemere/76621/1 "2018-05-09T17:46:24Z")

</div>

Bonjour,

je cherche à utiliser un clavier bluetooth sur ma Jessie.

Avec la méthode _Appairage avec bluetoothctl_ du wiki ([[I Challenge Thee](https://wiki.debian.org/fr/BluetoothUser#Introductio)] j’obtiens les résultats suivants, optimistes jusqu’à la commande de connexion qui bégaie:

```
  5 $bluetoothctl
  6 [NEW] Controller 80:19:34:42:75:DD ChromeLinux_B22F [default]
  7 [bluetooth]# power on
  8 Changing power on succeeded
  9 [bluetooth]# devices
 10 [bluetooth]# scan on
 11 Discovery started
 12 [CHG] Controller 80:19:34:42:75:DD Discovering: yes
 13 [NEW] Device 03:A1:00:05:44:98 SBT 3.0 A1
 14 [bluetooth]# pair 03:A1:00:05:44:98
 15 Attempting to pair with 03:A1:00:05:44:98
 16 [CHG] Device 03:A1:00:05:44:98 Connected: yes
 17 [CHG] Device 03:A1:00:05:44:98 Connected: no
 18 [CHG] Device 03:A1:00:05:44:98 Connected: yes
 19 [CHG] Device 03:A1:00:05:44:98 Connected: no
 20 [CHG] Device 03:A1:00:05:44:98 Connected: yes
 21 [CHG] Device 03:A1:00:05:44:98 Connected: no
 22 [CHG] Device 03:A1:00:05:44:98 Connected: yes
 23 Failed to pair: org.bluez.Error.AuthenticationFailed
 24 [CHG] Device 03:A1:00:05:44:98 Connected: no
 25 [bluetooth]# trust 03:A1:00:05:44:98
 26 [CHG] Device 03:A1:00:05:44:98 Trusted: yes
 27 Changing 03:A1:00:05:44:98 trust succeeded
 28 [bluetooth]# connect 03:A1:00:05:44:98
 29 Attempting to connect to 03:A1:00:05:44:98
 30 [CHG] Device 03:A1:00:05:44:98 Connected: yes
 31 [CHG] Device 03:A1:00:05:44:98 Modalias: usb:v099Ap0500d011B
 32 [CHG] Device 03:A1:00:05:44:98 UUIDs:
 33 00001124-0000-1000-8000-00805f9b34fb
 34 00001200-0000-1000-8000-00805f9b34fb
35 Failed to connect: org.bluez.Error.Failed
 36 [CHG] Device 03:A1:00:05:44:98 Connected: no
 37 [bluetooth]#

```

Ensuite j’ai mis à 1 le réglage suivant, dans /etc/default/bluetooth  
`HID2HCI_ENABLED=1`

sans plus de succès.

(Il s’agit d’un clavier de la marque SilverCrest, acheté chez Aldi)

Merci

EDIT

Voici la suite des commandes et leurs résultats:

> ```
> $bluetoothctl
> [NEW] Controller 80:19:34:42:75:DD ChromeLinux_B22F [default]
> [NEW] Device 03:A1:00:05:44:98 SBT 3.0 A1
> [bluetooth]# power on
> Changing power on succeeded
> [bluetooth]# devices
> Device 03:A1:00:05:44:98 SBT 3.0 A1
> [bluetooth]# scan on
> Discovery started
> [CHG] Controller 80:19:34:42:75:DD Discovering: yes
> [bluetooth]# pair 03:A1:00:05:44:98
> Attempting to pair with 03:A1:00:05:44:98
> Failed to pair: org.bluez.Error.ConnectionAttemptFailed
> 
> ```

---

<div class="post-metadata">

**Author:** ![jweber](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/j/e95f7d/32.png) [@jweber](https://www.debian-fr.org/u/jweber)\
**Post date:** [Juin 2, 2018, 6:47 UTC](https://www.debian-fr.org/t/clavier-bluetooth-reconnu-connexion-ephemere/76621/2 "2018-06-02T06:47:31Z")

</div>

C’est toujours assez acrobatique regarde :

> [https://wiki.archlinux.org/index.php/bluetooth#Bluetoothctl](https://wiki.archlinux.org/index.php/bluetooth#Bluetoothctl)  
> [https://askubuntu.com/questions/763939/bluetoothctl-what-is-a-bluetooth-agent](https://askubuntu.com/questions/763939/bluetoothctl-what-is-a-bluetooth-agent)
