Pairing a bluetooth keyboard?

I’m trying to pair a buetooth keyboard with opeSUSE and am not having much success.

Hardware is an Acer Iconia W700 (i3, 4GB, Intel 4000, Atheros BT/WiFi). I’m currently only testing with the openSUSE 12.3 KDE4 Live CD - I haven’t committed to a full install as I want to sort the issues first. Basically, the only problem is the BT keyboard… 100% of everything else works out-of-the-box. Anyway, back to the problem…

Via KDE it stalls out at the PIN query - it never shows the generated PIN from the keyboard. By command line I don’t get much further either.

Some details:

hcitool scan
Scanning …
90:7F:61:71:21:ED Acer Iconia W700 Bluetooth Keyboard

l2ping -c 1 90:7F:61:71:21:ED
Ping: 90:7F:61:71:21:ED from 20:16:D8:67:34:9E (data size 44) …
44 bytes from 90:7F:61:71:21:ED id 0 time 21.26ms
1 sent, 1 received, 0% loss

hcitool cc 90:7F:61:71:21:ED does nothing - no error, but also no connect. If I try the hcitool auth after the cc, it says no device connected.

So, I can see the keyboard and ping it, but when I try to connect to it, I just get either a timeout, or a PIN error message. Finding information on what needs to be done to connect the keyboard is rather scarce to say the least. Does anyone here know what needs to be done to get the keyboard to talk to openSUSE? Preference is for doing it via KDE4, but CLI is good too. I really don’t care as long as I can get it working.

Oh, also, I know the bluetooth is actually working as I am able to easily pair my bluetooth mouse and use it while trying to connect the keyboard. openSUSE is working with bluetooth… it’s just refusing to connect the keyboard.

Check whether this helps. ignore the apple part
Setup Apple Wireless Keyboard via Bluetooth on Fedora 17 - VirtuallyHyper

I have tried the steps there…

  • Step 1 through 4 are fine. Bluetooth is definitely working. I am able to easily pair my mouse right on boot.
  • Step 5 suggests using simple-agent… with that i get

./simple-agent.py hci0 90:7F:61:71:21:ED
Creating device failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send the reply, the reply timeout expired, or the network connection was broken.

I never get the opportunity to enter a PIN. As far know a PIN is generated by the keyboard during the pairing process.

So I am still stuck here. Getting this keyboard working is a must as it is part of the tablet PC.

Additional info. hcidump -at produced this info…


13-05-03 15:15:19.027846 > HCI Event: User Passkey Notification (0x3b) plen 10
    bdaddr 90:7F:61:71:21:ED passkey 124338

So I know the passkey… or can find it as the key changes each time I drop into pairing mode with the keyboard.

Still trying to figure out what to do with this info.

I’ve made “some” progress here using another distro.

hcitool scan gives me the correct MAC address when the keyboard is in pairing mode.

Now, if I use hidd --connect <MAC address> (as root) I can connect the keyboard and it works… for this session.

If I restart after a successful temp pairing without a PIN, I have to put the keyboard back into pairing mode and use hidd to reconnect. This is rather impractical unless I carry a second keyboard with me… which kind of defeats the purpose of the original built-in BT keyboard.

hidd hasn’t been in openSUSE for ages (a couple of years), so short of recompiling bluez-utils and enabling it… I’m still stuck and looking for ideas.

[ol]
[li][FONT=verdana][SIZE=2]The tablet works fine with openSUSE.[/li][li]The BlueTooth keyboard does work with Linux, I’ve been able to temp pair it using hidd --connect, and it remains paired for that entire session[/li][li]The BlueTooth keyboard generates a unique 6 digit pin each time it is queried in the pairing process, and IF… IF KDE or Gnome reports back that PIN (it’s a 50/50 whether it shows the PIN in the pairing dialog), it fails to be accepted 100% of the time when I type it in.[/li][/ol]
[/FONT][/SIZE]
So… that’s where I’m at. Can’t figure out how to pair it with a PIN on any distro, and I can’t use hidd on openSUSE to temp pair it at least because hidd isn’t compiled into bluez… I’m up for new suggestions or ideas.

Hi

Did you manage to get it working? I’ve got W700 and am tempted to install OpenSuse as well, if the keyboard works.

Also - I read somewhere that someone got it working by installing blueman and pairing the keyboard using blueman using the setting ‘pair without coupling’

Thanks

Hi,
did anybody made any progress with this? I’ve just bought it, installed 13.1 on it and having to pair the keyboard every time is bit annoying.

I agree .
I went so far upstream with bluedevil and bluez I ran into Dr Livingston and found the source of the Nile.
Using both bluetoothctl and bluedevil I can connect to my keyboard, but having to use another keyboard to do so is a pita and I don,t mean flat bread either.

I notice that no new bluetooth device is trusted can this be changed so mouse and keyboard is trusted by default?

On 2013-12-06 23:56, dale14846 wrote:
> I notice that no new bluetooth device is trusted can this be changed so
> mouse and keyboard is trusted by default?

→ Bugzilla.

openSUSE:Submitting bug
reports


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

I notice that if I unplug and plug my bluetooth dongle kwallet pops up and my bt keyboard and mouse get connected .

bluedevil│ x │1.3.80-33.1
bluez│ x │5.11-165.1│

Both from Index of /repositories/KDE:/Distro:/Factory/openSUSE_13.1

oopps make that
Index of /repositories/KDE:/Unstable:/SC/openSUSE_13.1