[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
setup bluetooth mouse automaticly
I have a working Logitech bluetooth mouse here. Works fine btw...
Now, I want to have a automatic setup if I have to reboot the computer.
Therefore I added the following in /etc/bluetooth/btdevctl.conf:
# service remote-address local-address
#HID mouse bt3c0
#HSET headset ubt0
HID logitech ubt0
(where "logitech" is the alias for BTADDR of the mouse device)
My rc.conf has the following lines:
btconfig_args="up pscan switch class 0x02010c"
If I understand it right, the bthcid should manage the pin-keys for each
device... But it seems that there is the problem. At boot I get the
disconnect message from kernel:
Dec 17 11:42:51 nippi /netbsd: bthidev0 at bthub0 remote-bdaddr
00:07:61:ec:c5:a6 link-mode auth
Dec 17 11:42:51 nippi /netbsd: btms0 at bthidev0 reportid 2: 8 buttons,
W and Z dirs.
Dec 17 11:42:51 nippi /netbsd: wsmouse1 at btms0 mux 0
Dec 17 11:42:51 nippi /netbsd: bthidev0: reportid 16 not configured
Dec 17 11:42:56 nippi /netbsd: bthidev0: disconnected
After I detached the device manually and gave the pin again I'm able to
connect to the mouse with "btdevctl" and use it as it should.
The key-file for bthcid exists (/var/db/bthcid.keys):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
Main Index |
Thread Index |