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:

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

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

update-rc.d -f dbus defaults

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

apt-get install bluetooth bluez-utils blueman

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:

hcitool scan

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:

        11:22:33:44:55:66       Macro Keyboard

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.

bluez-simple-agent hci0 11:22:33:44:55:66

And after that you need to give PIN code:

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

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:

bluez-test-device trusted 11:22:33:44:55:66 yes

After that we can test our bluetooth keyboard:

bluez-test-input connect 11:22:33:44:55:66

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.

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

  • Antonio

    if I switch off my bluetooth keyboard, at next switch on of the keyboard, the keyboard itself does not work and I need to reboot the raspberry pi…. what’s wrong there?


  • Jeff H.

    Thank you. I typing on my bluetooth k/b now!

  • DrDigg0R

    Same Problem here Tomi with a bluetooth keyboard from Apple – sadly no solution until now…

  • Tomi

    Hi, I got my bluetooth keyboard paired and trusted. “bt-device –list” shows it but it doesn’t work. Inputs with keyboard doesn’t show or work any where. Any tips where to start with this problem?

  • Gail

    I’m impressed, I must say. Rarely do I come across a blog
    that’s both equally educative and amusing, and let me tell you,
    you’ve hit the nail on the head. The problem is something not enough men and
    women are speaking intelligently about. Now i’m very happy that I found
    this during my search for something regarding this.

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.