Page 1 sur 1
[Souris Bluetooth] Actif au démarrage.
Publié : ven. 06 sept. 2013, 16:55
par gil76mg
Bonjour,
je possède une souris bluetooth que j'arrive à apparier sous gnome avec gnome-bluetooth.
Néanmoins, lorsque je redémarre je dois effectuer de nouveau l'appareillage.
Comment faire en sorte qu'elle soit toujours effective au démarrage?
Merci d'avance.
Re: [Souris Bluetooth] Actif au démarrage.
Publié : ven. 06 sept. 2013, 17:38
par FoolEcho
Salut,
Regarde du côté de wiki avec le service bluetooth: Bluetooth_Mouse.
Re: [Souris Bluetooth] Actif au démarrage.
Publié : ven. 06 sept. 2013, 17:40
par widapit
Salut,
sinon, moins complet mais si tu n'es pas à l'aise en anglais, tu peux commencer à regarder par là déjà ->
http://wiki.archlinux.fr/Bluetooth#Util ... _bluetooth 
Re: [Souris Bluetooth] Actif au démarrage.
Publié : dim. 08 sept. 2013, 21:14
par gil76mg
Merci pour ces précisions:
j'ai feuilleté le wiki et j'ai renseigné cela dans /etc/conf.d/bluetooth
Code : Tout sélectionner
cat /etc/conf.d/bluetooth
HIDD_ENABLE="true"
# Arguments to hidd
HIDD_OPTIONS="--connect <B8:78:2E:EC:8C:5A>"
Malheureusement, ma souris n'est pas chargée au démarrage...
Re: [Souris Bluetooth] Actif au démarrage.
Publié : dim. 08 sept. 2013, 21:59
par widapit
déjà, je ne suis pas sur qu'il faille encadrer l'adresse mac avec
<
et
>
...
et question bête; tu n'as pas oublié ceci par hasard ?

Re: [Souris Bluetooth] Actif au démarrage.
Publié : dim. 08 sept. 2013, 22:09
par gil76mg
J'ai modifié le fichier de la manière suivante:
Code : Tout sélectionner
/etc/conf.d/bluetooth
HIDD_ENABLE="true"
# Arguments to hidd
HIDD_OPTIONS="--connect B8:78:2E:EC:8C:5A"
et le service bluetooth est bien démarré:
Code : Tout sélectionner
systemctl enable bluetooth.service
ln -s '/usr/lib/systemd/system/bluetooth.service' '/etc/systemd/system/dbus-org.bluez.service'
ln -s '/usr/lib/systemd/system/bluetooth.service' '/etc/systemd/system/bluetooth.target.wants/bluetooth.service'
une petite idée?
Re: [Souris Bluetooth] Actif au démarrage.
Publié : dim. 08 sept. 2013, 22:18
par widapit
les
ln -s
signifient que le service n'était pas "
enabled
" ! donc, tu as redémarré depuis pour voir

Re: [Souris Bluetooth] Actif au démarrage.
Publié : lun. 09 sept. 2013, 06:36
par gil76mg
Je viens de redémarrer, pas de changement, la souris doit être reconnectée au démarrage...
Pour l'instant, je reste en veille pour éviter de la reconnecter à chaque démarrage.
Merci encore de ton aide.
Re: [Souris Bluetooth] Actif au démarrage.
Publié : lun. 09 sept. 2013, 09:59
par FoolEcho
Regarde le journal de ce service déjà.
Re: [Souris Bluetooth] Actif au démarrage.
Publié : lun. 09 sept. 2013, 13:47
par gil76mg
Voilà le journal du service bluetooth:
Code : Tout sélectionner
sept. 08 22:51:17 GillesArch bluetoothd[263]: Bluetooth daemon 4.101
sept. 08 22:51:17 GillesArch bluetoothd[263]: Starting SDP server
sept. 08 22:51:17 GillesArch bluetoothd[263]: DIS cannot start: GATT is disabled
sept. 08 22:51:17 GillesArch bluetoothd[263]: Failed to init deviceinfo plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: Failed to init proximity plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: Failed to init time plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: Failed to init alert plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: Failed to init thermometer plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: Failed to init gatt_example plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: Bluetooth Management interface initialized
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: Bluetooth daemon 4.101
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: Starting SDP server
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: DIS cannot start: GATT is disabled
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: Failed to init deviceinfo plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: Failed to init proximity plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: Failed to init time plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: Failed to init alert plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: Failed to init thermometer plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: Failed to init gatt_example plugin
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: Bluetooth Management interface initialized
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: Unknown command complete for opcode 19
sept. 08 22:51:17 GillesArch bluetoothd[263]: Unknown command complete for opcode 19
sept. 08 22:51:17 GillesArch bluetoothd[263]: bluetoothd[263]: Adapter /org/bluez/263/hci0 has been enabled
sept. 08 22:51:17 GillesArch bluetoothd[263]: Adapter /org/bluez/263/hci0 has been enabled
sept. 08 22:51:26 GillesArch bluetoothd[263]: bluetoothd[263]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/HFPAG
sept. 08 22:51:26 GillesArch bluetoothd[263]: bluetoothd[263]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/HFPHS
sept. 08 22:51:26 GillesArch bluetoothd[263]: bluetoothd[263]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource
sept. 08 22:51:26 GillesArch bluetoothd[263]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/HFPAG
sept. 08 22:51:26 GillesArch bluetoothd[263]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/HFPHS
sept. 08 22:51:26 GillesArch bluetoothd[263]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSource
Merci.
Re: [Souris Bluetooth] Actif au démarrage.
Publié : lun. 09 sept. 2013, 14:05
par FoolEcho
As-tu essayé avec bluez 5 plutôt ? (tu as
bluez4, déprécié et
bluez qui fournissent ce service)
(car là, a priori, tu tombes sur ce rapport de bug:
https://bugs.archlinux.org/task/35696 )
Re: [Souris Bluetooth] Actif au démarrage.
Publié : ven. 13 sept. 2013, 16:50
par gil76mg
Merci de ton aide.
J'aimerais utiliser bluez 5. Malheureusement, gnome-bluetooth est encore lié à bluez4 et donc lors de la tentative d'installation de bluez5 ce dernier m'indique un conflit avec bluez4 puisqu'il est utilisé par gnome-bluetooth et gnome shell.
Je pense que je vais attendre que gnome-bluetooth passe à la version 5 de bluez.