From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 7 18:24:52 2006 Return-Path: X-Original-To: freebsd-bluetooth@FreeBSD.org Delivered-To: freebsd-bluetooth@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BAB016A422 for ; Tue, 7 Mar 2006 18:24:52 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from ismybrain.com (ismybrain.com [64.246.42.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF19143D68 for ; Tue, 7 Mar 2006 18:24:51 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [10.254.186.111] (localhost.localdomain [127.0.0.1]) by ismybrain.com (8.11.6/8.11.6) with ESMTP id k27IOoM24302 for ; Tue, 7 Mar 2006 13:24:51 -0500 Message-ID: <440DCFF0.6090809@savvis.net> Date: Tue, 07 Mar 2006 10:24:48 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bluetooth@FreeBSD.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: apple bluetooth keyboard X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 18:24:52 -0000 Dear Bluetooth Users, 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. so far, there are few obvious problems: 1) when keyboard is contacted for the very first time something goes wrong with the shift/ctrl state. it can be fixed by switching between X/console 2) for whatever reason, right shift does not work. both left and right ctrl, alt and left shift work as expected 3) bthidd(8) does not send hid reports to the keyboard, so the lights on the keyboard do not work 4) apple specific keys (clear, vol+, vol-, mute, eject, keypad =) send scancodes, but i'm not sure what they should do 5) key repeat does not work everything else seems to be working just fine. another minor issue, which has nothing to do with, bthidd(8) or bthidcontrol(8), is pairing procedure. it is not very user friendly, because there is no indication as to when user should type pin code on the keyboard. this can be addresses by teaching hcsecd(8) to use external processes to obtain pin codes. hcsecd(8) could call external process that will display dialog to the user and request pin code. now, when kbdmux(4) was fully integrated into -current and releng_6 it should be much more easier to use bluetooth keyboards with freebsd. thanks, max