[BRLTTY] Bluetooth pairing key

Lars Bjørndal lars.bjorndal at broadpark.no
Sat Jan 10 09:22:32 EST 2009


Hi!

Klaus Knopper <brltty at knopper.net> writes:

> Dear Lars,
>
> Answering your question quoted below.
>
> Usully, you need an application that listens on dbus for key requests
> and provides a pin to hcid on-demand. A sample console application for
> this is passkey-agent.c, which is provided with the bluez-utils source.

Yes, I found that on Fedora 9. On Fedora 10, however, they use bluez-4.x
instead of bluez-utils-3.x. It seems that passkey-agent is dropped.
Maybe there is an replacement, I don't know.

> In Debian, bluez-utils knows an "inofficial" method for providing the
> bluetooth pin. Now it MAY be that it works with Fedora as well:
> Create a file
> /var/lib/bluetooth/your-adapters-bluetooth-address/pincodes
> (the directory should exist as soon as you plug in a bluetooth adapter,
> hcid creates it for you), with the following content:
>
> remote-bluetooth-address pinnumber
>
> remote-bluetooth-address being the MAC-like address of your
> bluetooth-capable braille device, and pin being the fixeed pairing key
> that was provided with the device.
>
> After successful pairing, you may be able to safely delete the pincodes
> file, since the session key for reconnecting without new pairing is
> stored by hcid.

Thank you for pointing out that. I'll check it on my F10 system.

Lars

> On Mon, Jan 05, 2009 at 04:35:03PM +0100, Lars Bjørndal wrote:
>> Helo list!
>> 
>> I've just upgraded to svn version of BRLTTY. As I'm using a Modular
>> Evolution 88 from Handy Tech, I realy like the implementation of the
>> status cells functionality!
>> 
>> I also use a laptop with Braille Star or Braillino, also from Handy
>> Tech. It would be great to have the possibility to use bluetooth.
>> However, I cannot find a way to provide the key, that's needed for
>> pairing the bluetooth devices. Is there a known solution to this one?
>> 
>> I'm using a Fedora 9 system, console only.
>> 
>> Lars


More information about the BRLTTY mailing list