In order to make use of your Bluetooth mouse you need to do the following:
- install Bluetooth support
# aptitude install bluetooth
Frist run
hcitool scan
to get the bluethooth MAC addres (=BTADDRESS)
After an intial connect with hidd --connect $BTADDRESS you need to run
/usr/share/doc/bluez/examples/test-device connect $BTADDRESS
To enable futher automatic reconnects
This information is only valid for lenny or before:
change the value of the HIDD_ENABLE option to 1 in /etc/default/bluetooth.
after that, the following command should have a similar output (note the HIDD_ENABLED option):
$ grep HIDD /etc/default/bluetooth ############ HIDD # HIDD_ENABLED to 1. HIDD_ENABLED=1 HIDD_OPTIONS="--master --server" # HIDD_OPTIONS="-i AA:BB:CC:DD:EE:FF --server"
- restart the bluetooth daemon
# /etc/init.d/bluetooth restart Restarting bluetooth: hidd hcid sdpd hidd rfcomm.
- logout and back in again
- search for the mouse to make the pairing
# hidd --search
- if gnome-bluetooth or kdebluetooth is installed (depending on whether you use GNOME or KDE), the PIN will be requested for the initial pairing.
- The wireless Mighty Mouse has a built in passcode of "0000" (four zeros).