From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 7 00:20:14 2007 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 2583216A468 for ; Wed, 7 Nov 2007 00:20:14 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.freebsd.org (Postfix) with ESMTP id 032F913C4A7 for ; Wed, 7 Nov 2007 00:20:14 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.144.51]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JR400E570X7C412@vms046.mailsrvcs.net> for freebsd-bluetooth@freebsd.org; Tue, 06 Nov 2007 18:19:57 -0600 (CST) Date: Tue, 06 Nov 2007 19:19:28 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <1194303795.2283.17.camel@localhost> To: vova@fbsd.ru Message-id: <1194394768.15775.18.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit References: <472DFCE2.2010707@coldhaus.com> <472E39A9.5090107@coldhaus.com> <1194303795.2283.17.camel@localhost> Cc: Eric Millbrandt , freebsd-bluetooth@freebsd.org Subject: Re: bluetooth mouse/keyboard blues 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: Wed, 07 Nov 2007 00:20:14 -0000 On Tue, 2007-11-06 at 02:03 +0300, Vladimir Grebenschikov wrote: > On Sun, 2007-11-04 at 14:47 -0700, Maksim Yevmenkin wrote: > > > if you dual boot your system and use the same bluetooth device you > > will need to re-pair your keyboard every time you boot to another os. > > (if) you can get a link key from win xp registry (or elsewhere) you > > can put the same link key into hcsecd.conf and then you will not need > > to re-pair. > > Hmm, strange, I have bluetooth mouse and it works under both Windows and > FreeBSD on my noteboot without re-pairing every boot to other OS. > > I've not done anything special about it, just pair it once under > FreeBSD, then once under Windows. > > What's the difference ? "Magically" it have generated same key for both > OSes ? > > (my mouse is Logitech MX900) > I think spec allows cheaper devices to use single link key ("unit" key, as opposed to the "combination" key) with everyone, and not generate it for every repairing. Simplest way to verify that is to store backup copy of var/db/hcsecd.keys, remove mouse key (or remove the whole file, if the mouse is the only bluetooth device you are using), reboot, repair the mouse and see if new key is any different then the old one. OT: @vova -- if you are still having problems with Evolution, you can try my patch on the Gnome Bugzilla. -- Alexandre "Sunny" Kovalenko