Date: Wed, 08 Mar 2006 10:40:52 -0800 From: Maksim Yevmenkin <maksim.yevmenkin@savvis.net> To: Markus Brueffer <markus@brueffer.de> Cc: freebsd-bluetooth@freebsd.org Subject: Re: apple bluetooth keyboard Message-ID: <440F2534.4080205@savvis.net> In-Reply-To: <200603081517.43317.markus@brueffer.de> References: <440DCFF0.6090809@savvis.net> <200603080249.11559.markus@brueffer.de> <1141786606.753.11.camel@RabbitsDen> <200603081517.43317.markus@brueffer.de>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?440F2534.4080205>