Ubuntu has a problem pairing bluetooth keyboards. I found the solution at http://devasive.blogspot.com/2012/11/ubuntu-1204-persistent-bluetooth-pairing.html
For Ubuntu 12.10, the instructions are a tiny bit different due to a bug in bluez.
sudo -s
in all).apt-get install bluez-hcidump
hcitool scan
to get the MAC Address.hcidump -at
to watch for the PIN needed to pair.bluez-simple-agent hci0 {MAC}
in another window and watch for the PIN in the window with hcidump.bluez-test-device trusted {MAC} yes
to addthe keyboard as a trusted device.bluez-test-input connect {MAC}
to test the keyboard.Hope this helps someone. I used the above to pair the Logitech k811, but should also work for the k810 and possibly other keyboards.