BlueZ 5 mouse autoconnect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I followed all possible guides to connect automatically my Apple MagicMouse to my Linux PC. I saw on the forums that the key is to mark it as "trusted". I did it in bluetoothctl and put it to "trusts" file in /var/lib/bluetooth/xx:xx..../.

It works fine if I connect it manually but after restart I see only messages like this in bluetoothctl:
[NEW] Device 84:38:35:24:08:D9 MagicMouse
[CHG] Device 84:38:35:24:08:D9 Class: 0x002580
[CHG] Device 84:38:35:24:08:D9 Icon: input-mouse
[CHG] Device 84:38:35:24:08:D9 Connected: yes
[CHG] Device 84:38:35:24:08:D9 Connected: no
[DEL] Device 84:38:35:24:08:D9 MagicMouse
[NEW] Device 84:38:35:24:08:D9 MagicMouse
[CHG] Device 84:38:35:24:08:D9 Class: 0x002580
[CHG] Device 84:38:35:24:08:D9 Icon: input-mouse
[CHG] Device 84:38:35:24:08:D9 Connected: yes
[CHG] Device 84:38:35:24:08:D9 Connected: no
[DEL] Device 84:38:35:24:08:D9 MagicMouse

Messages are printed when I click a mouse button. There is a small delay between "Connected: yes" and "Connected: no" and during this time I see a bluetooth sign in the notification area (I have Gnome). Sometimes I see a paring request from the mouse. Sometimes authorisation request and if I go to the bluetooth settings it even propose to type a PIN code on the mouse )
Regardless my action after restart of bluez I am at the starting point.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux