Bluetooth

= Bluethooth =

Configuration
Add:

Most probably you would like to access bluetooth daemon from regular user, most desktop environments will require that, modify:

Device Attach
Before a device can be used, it must be attached. In order to do so, you must first have interaction agent active, if you are using desktop environment, with bluetooth integration you probably have one already, for example KDE has. If you are unsure or need console mode only there is a simple-agent utility within the bluez sources.

Using the simple-agent
Temporary emerge required dependencies:

Extract bluez sources from upstream.

Agent registered

If you get the following output, it means that you probably have already interaction agent in your system, no need to use the simple-agent. dbus.exceptions.DBusException: org.bluez.Error.AlreadyExists: Already Exists

Scan for devices:

Scanning ... 00:24:7C:2F:92:7C      orange Nokia E71

Attach device:

Notice that the simple-agent request interaction: RequestPinCode (/org/bluez/13983/hci0/dev_00_24_7C_2F_92_7C) Enter PIN Code: 1234

Enter a PIN and press  then enter the same PIN at device.

You are now ready to proceed.

Find device
hcitool dev should show your bluetooth devices.

lsusb will show your bluetooth devices if you have USB bluetooth device or laptop integrated device (in most cases).

Bus 002 Device 005: ID 0930:0508 Toshiba Corp. Integrated Bluetooth HCI

Toshiba laptops
Some Toshiba laptops have switcher to enable/disable Wi-Fi and Bluetooth. In new version of kernel you have to enable the following option to make bluetooth working:

Maintainer
Alon Bar-Lev