Difference between revisions of "Bluetooth keyboard"

From ArchWiki
Jump to: navigation, search
Line 16: Line 16:
 
  HIDD_ENABLE="true"
 
  HIDD_ENABLE="true"
 
  HIDD_OPTIONS="--timeout 8 --master --server --connect 00:01:02:03:04:05"
 
  HIDD_OPTIONS="--timeout 8 --master --server --connect 00:01:02:03:04:05"
 +
 +
If you loaded the bluetooth modules from the [Bluetooth] Mouse guide you can now test by doing a ''/etc/rc.d/bluetooth restart''
  
 
== Bluetooth Keyboard at Startup ==
 
== Bluetooth Keyboard at Startup ==
Line 21: Line 23:
 
in ''/etc/rc.conf'' add the following modules:
 
in ''/etc/rc.conf'' add the following modules:
  
  MODULES=(... hci_usb bluetooth hidp ...)
+
  MODULES=(... hci_usb bluetooth hidp l2cap)
  
 
and add the bluetooth daemon:
 
and add the bluetooth daemon:

Revision as of 16:05, 14 November 2008

This article describes how to set up a Bluetooth keyboard with Arch Linux. I used an Apple Wireless Keyboard (aluminium) but it should work for other models.

The setup is similar than the one of a Bluetooth Mouse. Follow this guide first to add kernel modules, bluetooth libraries.

The tricky part for the Apple Wireless Keyboard is to have the correct settings in /etc/bluetooth/hcid.conf. Obviously you need to replace the mac address with yours:

device 00:01:02:03:04:05 {
  name "Apple Wireless Keyboard";
  auth disable;
  encrypt disable;
}

And then to have /etc/conf.d/bluetooth with the following options to connect automatically when starting the bluetooth daemon:

HCID_ENABLE="true"
HIDD_ENABLE="true"
HIDD_OPTIONS="--timeout 8 --master --server --connect 00:01:02:03:04:05"

If you loaded the bluetooth modules from the [Bluetooth] Mouse guide you can now test by doing a /etc/rc.d/bluetooth restart

Bluetooth Keyboard at Startup

in /etc/rc.conf add the following modules:

MODULES=(... hci_usb bluetooth hidp l2cap)

and add the bluetooth daemon:

DAEMONS=(... @bluetooth ...)

Then it should work on reboot automatically !