Flickr Photos

Young Red Fox
Red Fox eating rowan berries
Roe Deer
Leopard in the rain
Lion mum taking care of cubs
Male Lion
Lion Cubs Playing
Lazy Spotted Hyena
Female Lion
Golden Jackal

Raspberry Pi: How to get Bluetooth keyboard work

I have Prodige NanoX small bluetooth keyboard and touchpad which I wanted to use with my Raspberry Pi so here is how I get it to work:

After we have plugged in our bluetooth receiver we should see it with lsusb:

<br />
Bus 001 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dong0le (HCI mode)<br />

If that’s ok then we can enable dbus and reboot after that:

<br />
update-rc.d -f dbus defaults<br />

After reboot we log in as a root and then we need to install bluetooth software:

<br />
apt-get install bluetooth bluez-utils blueman<br />

After we have installed all the stuff we have to reboot again and after reboot log in as a root again.

Next we have to do a scan for bluetooth devices which are in discovery mode so we can see those:

<br />
hcitool scan<br />

If you didn’t see your keyboard on that list you have to put it to discoverable (Prodige NanoX keyboard you have to push bluetooth button for a few seconds).

And here we can see my keyboard:

<br />
        11:22:33:44:55:66       Macro Keyboard<br />

And now we can copy/paste that MAC address 11:22:33:44:55:66 to clipboard because we are going to need it next.

<br />
bluez-simple-agent hci0 11:22:33:44:55:66<br />

And after that you need to give PIN code:

<br />
root@raspberrypi:~# bluez-simple-agent hci0 11:22:33:44:55:66<br />
RequestPinCode (/org/bluez/5695/hci0/dev_11:22:33:44:55:66)<br />
Enter PIN Code: 0000<br />

And after giving that 0000 press enter and next give that same PIN on your bluetooh keyboard and press enter there too.

Next we have to make our keyboard as a trusted bluetooth device:

<br />
bluez-test-device trusted 11:22:33:44:55:66 yes<br />

After that we can test our bluetooth keyboard:

<br />
bluez-test-input connect 11:22:33:44:55:66<br />

If everything went OK we should now have working bluetooth keyboard.

I had Prodige NanoX but it is pretty much the same keyboard as:

– Prodige NanoX Bluetooth
– VisionTek CANDYBOARD Bluetooth Wireless Mini Keyboard with Touchpad
– Rii Mini Wireless Keyboard
– Chill Innovation KB-1BT
– Rii Mini Elegance
– Diamond design Dune Keyboard

so if you have any of those you could try same what I did.

6 comments to Raspberry Pi: How to get Bluetooth keyboard work

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>




This site uses Akismet to reduce spam. Learn how your comment data is processed.