2

I have a brand new Lenovo Thinkpad 14.04. I also ordered a bluetooth keyboard. When I start the bluetooth app in Ubuntu, it quickly finds the keyboard. When I try to pair with it, though, it generates a number for me to type on the keyboard. I type the number, press ENTER, and yet it fails to pair.

What could be the problem here?

(Incidentally, after much gnashing of teeth, I inadvertently managed to completely wipe out the Windows 8.1 that came with the computer so it's all Ubuntu now.)

EDIT:

Hmm: I see a lock on the Bluetooth indicator. This sounds like it could be related. Not sure what to do about it. I didn't see anything about locking in the bluetooth app. I'm a bluetooth noob, by the way.

stevecoh1
  • 249

3 Answers3

2

The workaround that I am using works as follows.

1) Figure out the Bluetooth address of your keyboard. I think I used blueman to do that. The address should look like this 23:AF:61:45:E8:3C (This is just an example)

2) Run the following two commands in a terminal. Use the address you determined beforehand.

sudo hciconfig hci0 up
sudo hidd --connect 23:AF:61:45:E8:3C

That should connect your device.

3) optional. You can put those commands in a .sh file and make it executable to save you from typing them repeatedly.

cstich
  • 86
0

On the connect new bt device (the + sign under the bt settings) Select the type of device and also the pin the device is looking for (0000, 1234, etc.). That is the typical way to get the pair to work. Doesn't work anymore for me though, so good luck. There are other BT problems with the battery indicator which make my mouse not work (bug filed). If you get it paired, and it still doesn't work, take a look at hcidump and see if you see the clicks/move signals -- if so and the cursor isn't moving, probably the battery indicator is grabbing the signals looking for bt battery state, and not requeueing the moves. Another machine will work with the mouse until the battery indicator finds the mouse battery and starts processing, then the cursor stops moving.

ubfan1
  • 19,049
-1

This post on the RedHat bug tracker really helped me solve my problem. The basics are:

  • Run sudo hcidump -at
  • Then run bluetooth-wizard and select your keyboard
  • Watch the output for Passcode: xxxxxxx
  • Type that passcode into the keyboard and press Return.
Oli
  • 299,380
yura-k
  • 11