From owner-freebsd-bluetooth@FreeBSD.ORG Sun Dec 27 17:36:10 2009 Return-Path: Delivered-To: freebsd-bluetooth@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84D291065670 for ; Sun, 27 Dec 2009 17:36:10 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from smtp6.freeserve.com (smtp5.freeserve.com [193.252.22.151]) by mx1.freebsd.org (Postfix) with ESMTP id 1CFD58FC14 for ; Sun, 27 Dec 2009 17:36:09 +0000 (UTC) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3509.me.freeserve.com (SMTP Server) with ESMTP id 45D287000085; Sun, 27 Dec 2009 18:36:08 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3509.me.freeserve.com (SMTP Server) with ESMTP id 3945B7000083; Sun, 27 Dec 2009 18:36:08 +0100 (CET) Received: from rya-online.net (unknown [89.194.194.54]) by mwinf3509.me.freeserve.com (SMTP Server) with SMTP id 23A387000085; Sun, 27 Dec 2009 18:36:07 +0100 (CET) X-ME-UUID: 20091227173607146.23A387000085@mwinf3509.me.freeserve.com Received: (nullmailer pid 557 invoked by uid 1000); Sun, 27 Dec 2009 17:36:04 -0000 Date: Sun, 27 Dec 2009 17:36:04 +0000 (GMT) To: "M\. Warner Losh" In-Reply-To: <20091227.005757.195066307562707339.imp@bsdimp.com> References: <20091226.231514.519459540419527384.imp@bsdimp.com> <200912270746.59264.freebsd-bluetooth@dino.sk> <20091227.004954.119882392218644339.imp@bsdimp.com> <20091227.005757.195066307562707339.imp@bsdimp.com> User-Agent: Alpine 2.00 (NEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <1261935364.501662.751.nullmailer@galant.ukfsn.org> From: Iain Hibbert Cc: freebsd-bluetooth@FreeBSD.org Subject: Re: Keyboard - how? 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: Sun, 27 Dec 2009 17:36:10 -0000 On Sun, 27 Dec 2009, M. Warner Losh wrote: > What finally made it work was stupidly simple... > > On my apple keyboard, I turned it on, typed 9 8 7 6 return and then > things started working. I'm typing this right now from the keyboard. Heh, I've been away but was just going to suggest that reading your mails.. btw a few words on security (though the scenario where somebody uses this information and tracks you down to interfere with your system seems pretty unlikely :) - now that you have posted the PIN you used and bdaddr of your device, you might want to re-pair with a different (more secure) PIN as I think the link key may be derivable - Not sure but I think that the keyboard will probably force auth and encryption when making connections. The FreeBSD stack does not have a way to do this except globally so unless you have the auth or encrypt flags set (see hccontrol(8)) then a remote device can break right in - IMO the PIN should be ephemeral and use-once so when you are paired you should remove it from the config file or at least comment it out > Now, I guess the next step would be to find the bt mouse I have and > try to get it going as well... that is probably fixed pin 0000 if not in the documentation > This is my second favorite keyboard ever. How is the keypress feel? I've not had a go on one of those, but I have an original apple bluetooth keyboard (white with clear undershell, full sized with num keypad) that works well though a smaller one might be interesting. iain