apple bluetooth keyboard

Maksim Yevmenkin maksim.yevmenkin at savvis.net
Wed Mar 8 10:40:57 PST 2006


>>>>i now own apple bluetooth keyboard. i had a minute to spare and tried
>>>>bthidd(8) and bthidcontrol(8) with the most recent changes by Markus
>>>>Brueffer.
>>>>
>>>>i'm very pleased to say that apple bluetooth keyboards almost works. in
>>>>fact, i'm typing this email using apple bluetooth keyboard.
>>>
>>>Nice! Could you please post the output of a bthidcontrol query?
>>>
>>>Markus
>>
>>If you would settle for mine, here it is ;)
> 
> Thanks!

mine is identical (bdaddr is the only difference).

>>bthidcontrol -a a_kbd query
>>device {
>>        bdaddr                  00:0a:95:45:0d:a9;
>>        control_psm             0x11;
>>        interrupt_psm           0x13;
>>        reconnect_initiate      true;
>>        battery_power           false;
>                                   ^^^^^
> Odd, the keyboard is battery powered, isn't it?

yes, i noticed that too. strange... another unusual behavior is that the 
keyboard does not seem to close baseband connection. for example if i 
start bthidd(8) and press keys on the keyboard, it will connects to the 
bthidd(8) as expected. in other words baseband connection is initiated 
from the keyboard. however, if i kill bthidd(8) the keyboard keeps 
baseband connection open. now if start bthidd(8) the keyboard does not 
work. bthidd(8) waits for it to connect (because reconnect_initiate is 
set to true), but keyboard does not connect. you can get the keyboard 
re-connect by power cycling it or manually disconnecting baseband with 
hccontrol(8).

also i think there is a bug in bthidd(8) kbd.c (kbd_process_keys 
function). i think it needs a rewrite :)

thanks,
max


More information about the freebsd-bluetooth mailing list