[Souris Bluetooth] Actif au démarrage.

Questions et astuces concernant l'installation et la configuration d'archlinux
Répondre
gil76mg
Daikyu
Messages : 78
Inscription : sam. 14 janv. 2012, 17:40

[Souris Bluetooth] Actif au démarrage.

Message 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.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Souris Bluetooth] Actif au démarrage.

Message par FoolEcho »

Salut,

Regarde du côté de wiki avec le service bluetooth: Bluetooth_Mouse.
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
widapit
Maître du Kyudo
Messages : 1148
Inscription : mar. 30 mars 2010, 22:53
Localisation : Toulouse

Re: [Souris Bluetooth] Actif au démarrage.

Message 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 :mrgreen:
routeur(OpenWRT); serveurs(Debian, Arch); cléUSB(Black-Arch);
mon ordi(Arch-hardened) = {spectrwm, zsh} || je m'amuse aussi avec des Arduino !
gil76mg
Daikyu
Messages : 78
Inscription : sam. 14 janv. 2012, 17:40

Re: [Souris Bluetooth] Actif au démarrage.

Message 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...
Avatar de l’utilisateur
widapit
Maître du Kyudo
Messages : 1148
Inscription : mar. 30 mars 2010, 22:53
Localisation : Toulouse

Re: [Souris Bluetooth] Actif au démarrage.

Message 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 ?
wiki a écrit :Il ne faut pas, bien sûr, oublier de lancer le service bluetooth au démarrage.
:chinois:
routeur(OpenWRT); serveurs(Debian, Arch); cléUSB(Black-Arch);
mon ordi(Arch-hardened) = {spectrwm, zsh} || je m'amuse aussi avec des Arduino !
gil76mg
Daikyu
Messages : 78
Inscription : sam. 14 janv. 2012, 17:40

Re: [Souris Bluetooth] Actif au démarrage.

Message 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?
Avatar de l’utilisateur
widapit
Maître du Kyudo
Messages : 1148
Inscription : mar. 30 mars 2010, 22:53
Localisation : Toulouse

Re: [Souris Bluetooth] Actif au démarrage.

Message par widapit »

les ln -s signifient que le service n'était pas "enabled" ! donc, tu as redémarré depuis pour voir :?
routeur(OpenWRT); serveurs(Debian, Arch); cléUSB(Black-Arch);
mon ordi(Arch-hardened) = {spectrwm, zsh} || je m'amuse aussi avec des Arduino !
gil76mg
Daikyu
Messages : 78
Inscription : sam. 14 janv. 2012, 17:40

Re: [Souris Bluetooth] Actif au démarrage.

Message 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.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Souris Bluetooth] Actif au démarrage.

Message par FoolEcho »

Regarde le journal de ce service déjà.
«The following statement is not true. The previous statement is true.» :nage:
gil76mg
Daikyu
Messages : 78
Inscription : sam. 14 janv. 2012, 17:40

Re: [Souris Bluetooth] Actif au démarrage.

Message 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.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Souris Bluetooth] Actif au démarrage.

Message 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 )
«The following statement is not true. The previous statement is true.» :nage:
gil76mg
Daikyu
Messages : 78
Inscription : sam. 14 janv. 2012, 17:40

Re: [Souris Bluetooth] Actif au démarrage.

Message 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.
Répondre