Skip to contentSkip to conversation

Keyboard Device Pairing

Bluez-users Chris Spencer 4 participants 5 messages Sep 22, 2006 – Sep 25, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

I recently bought a Bluetooth keyboard, and the manual says it requires a passkey and pairing in order to be used. I'm a bit new to Bluez, and Bluetooth in general, so how do I pair the keyboard with my PC, set the passkey, and configure X to auto-detect and automatically use it as a keyboard?

Thanks,
Chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw
Quoted 5 lines · Chris Spencer

I recently bought a Bluetooth keyboard, and the manual says it requires a passkey and pairing in order to be used. I'm a bit new to Bluez, and Bluetooth in general, so how do I pair the keyboard with my PC, set the passkey, and configure X to auto-detect and automatically use it as a keyboard?

I tried hidd, but wasn't able to connect. Is there anything else I can do?

[root@localhost]# hidd --connect 00:0D:3C:40:68:7C
<window popped up asking for a passkey>
Can't get device information: Too many levels of symbolic links
[root@localhost]# hidd --connect 00:0D:3C:40:68:7C
Can't get device information: Function not implemented

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
Quoted 5 lines · On Thu, 21 Sep 2006 21:15:26 -0400 Chris Spencer…
[root@localhost]# hidd --connect 00:0D:3C:40:68:7C
<window popped up asking for a passkey>
Can't get device information: Too many levels of symbolic links
[root@localhost]# hidd --connect 00:0D:3C:40:68:7C
Can't get device information: Function not implemented

Random guess, but that to me looks like "errno" is getting undefined values and is printing whatever random number of error it happens to find.

Signature · 5 lines
Paul "LeoNerd" Evans

[email protected]
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#3 lore raw

Re: [Bluez-users] Keyboard Device Pairing (gmane: message 13 of 20)

Quoted 11 lines · Paul LeoNerd Evans
Quoted 5 lines · On Thu, 21 Sep 2006 21:15:26 -0400 Chris Spencer…
[root@localhost]# hidd --connect 00:0D:3C:40:68:7C
<window popped up asking for a passkey>
Can't get device information: Too many levels of symbolic links
[root@localhost]# hidd --connect 00:0D:3C:40:68:7C
Can't get device information: Function not implemented

Random guess, but that to me looks like "errno" is getting undefined values and is printing whatever random number of error it happens to find.

I continued to play around with it, and tried using kbluetoothd to connect. When I was again prompted for a passkey, I keyed it in on both my PC and on the keyboard, and it suddenly started working. I'm not confident I could get this working again if I had to. Is there a tutorial somewhere on pairing bluetooth devices? I didn't find anything on bluez.org.

Regards,
Chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#4 lore raw

Re: [Bluez-users] Keyboard Device Pairing (gmane: message 13 of 20)

Hi Chris,

Quoted 9 lines
Quoted 8 lines
Quoted 5 lines
[root@localhost]# hidd --connect 00:0D:3C:40:68:7C
<window popped up asking for a passkey>
Can't get device information: Too many levels of symbolic links
[root@localhost]# hidd --connect 00:0D:3C:40:68:7C
Can't get device information: Function not implemented

Random guess, but that to me looks like "errno" is getting undefined values and is printing whatever random number of error it happens to find.

Quoted 6 lines

I continued to play around with it, and tried using kbluetoothd to connect. When I was again prompted for a passkey, I keyed it in on both my PC and on the keyboard, and it suddenly started working. I'm not confident I could get this working again if I had to. Is there a tutorial somewhere on pairing bluetooth devices? I didn't find anything on bluez.org.

there is no really tutorial. And in case or pairing problems it helps to run "hcidump -X -V" to see what is going on. However with the D-Bus API you have a CreateBonding command that will take care of everything and at some point we will have a connection wizard. If I have enough free time to write all this GUI stuff. I am not really a GUI programmer.

Regards

Marcel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users