From owner-freebsd-bluetooth@FreeBSD.ORG Sat Nov 25 23:54:15 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D48DE16A415 for ; Sat, 25 Nov 2006 23:54:15 +0000 (UTC) (envelope-from jona.joachim@free.fr) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 142DE43D6D for ; Sat, 25 Nov 2006 23:53:25 +0000 (GMT) (envelope-from jona.joachim@free.fr) Received: from localhost (4be54-4-82-234-154-189.fbx.proxad.net [82.234.154.189]) by smtp3-g19.free.fr (Postfix) with ESMTP id 5900F49F62 for ; Sun, 26 Nov 2006 00:54:13 +0100 (CET) Date: Sun, 26 Nov 2006 00:54:13 +0100 From: Jona Joachim To: freebsd-bluetooth@freebsd.org Message-ID: <20061126005413.0faaea7b@localhost> X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.10.6; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Support for Bluetooth Keyboards? 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: Sat, 25 Nov 2006 23:54:15 -0000 Hi! I wanted to know if Bluetooth keyboards are likely to work on FreeBSD. I'm looking at this marvellous object to be precise: http://www.thinkgeek.com/computing/input/8193/ They say that they "were able to get the Bluetooth Virtual Laser Keyboard to work with Mac OSX using the built-in bluetooth support in the OS." Any answer is appreciated. Best regards, Jona From owner-freebsd-bluetooth@FreeBSD.ORG Sun Nov 26 00:52:19 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F74816A40F for ; Sun, 26 Nov 2006 00:52:19 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F6E243D64 for ; Sun, 26 Nov 2006 00:51:25 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.146.144]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0J9B00KYPBQY45WA@vms040.mailsrvcs.net> for freebsd-bluetooth@freebsd.org; Sat, 25 Nov 2006 18:52:11 -0600 (CST) Date: Sat, 25 Nov 2006 19:52:09 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <20061126005413.0faaea7b@localhost> To: Jona Joachim Message-id: <1164502329.816.8.camel@RabbitsDen.RabbitsLawn.verizon.net> MIME-version: 1.0 X-Mailer: Evolution 2.8.1.1 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit References: <20061126005413.0faaea7b@localhost> Cc: freebsd-bluetooth@freebsd.org Subject: Re: Support for Bluetooth Keyboards? 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, 26 Nov 2006 00:52:19 -0000 On Sun, 2006-11-26 at 00:54 +0100, Jona Joachim wrote: > Hi! > I wanted to know if Bluetooth keyboards are likely to work on FreeBSD. > I'm looking at this marvellous object to be precise: > http://www.thinkgeek.com/computing/input/8193/ > > They say that they "were able to get the Bluetooth Virtual Laser > Keyboard to work with Mac OSX using the built-in bluetooth support in > the OS." > > Any answer is appreciated. I am running Apple Bluetooth keyboard on -CURRENT. I order to accomplish that, I have followed steps outlined by Eric Anderson here http://destari.blogspot.com/2006/01/setting-up-bluetooth-mouse-on-freebsd.html There seems to be a quirk in the bthidd which causes it reattach keyboard every couple of minutes, so I am accustomed to seeing vkbd >10000 being attached but these seem to be harmless enough. YMMV, though. At some point, I also had this http://www.thinkoutside.com/stowawaybt_product.html working with the other laptop (back in the day when 6.x was -CURRENT), but mostly out of curiosity. HTH, -- Alexandre "Sunny" Kovalenko From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 27 07:33:04 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 73D1A16A407 for ; Mon, 27 Nov 2006 07:33:04 +0000 (UTC) (envelope-from xodqamh@purpledragon.net) Received: from purpledragon.net (220-129-77-219.dynamic.hinet.net [220.129.77.219]) by mx1.FreeBSD.org (Postfix) with SMTP id CA54943D66 for ; Mon, 27 Nov 2006 07:31:49 +0000 (GMT) (envelope-from xodqamh@purpledragon.net) Message-ID: <0701c70036$3dab74d0$1163b3f0@ibucknellc> From: "L " To: Date: Mon, 27 Nov 2006 15:32:36 +0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Take A Look At This Company jg X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: L List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 07:33:04 -0000 INSIDE INFO ALERT This advisory is based on exclusive insiders/agents information. (AVLN.OB) Avalon Energy Corporation has an undivided 85% working interest in the Shotgun Draw Prospect in the prolific natural gas producing Uinta Basin , located in the US Rockies, Utah . The lease comprises 13,189 acres with a potential 4 TCF recoverable gas and is overpressured by a 0.55 . 0.85 gradient. ON MONDAY NOV 6th: at 11 cents its a STEAL - Volume: 389,001 - Volume: + 50% - Price: +5.77% The key to any tade is buying low and selling high, WELL the energy market has bottomed out and time to get in is now. We specialise in calling market bottom and when it comes to energy THIS IS THE BOTTOM, SO GET IN FOLKS TRUE RED WHITE AND BLUE COMPANY TRUE RED WHITE AND BLUE COMPANY The National Transportation Safety Board said the wind, coupled with the pilot's inability to turn sharply, forced the aircraft away from its intended path over the East River and into the building. "Nine days ago, one of the worst tragedies in the 100-year history of the Forest Service took the lives of five heroes," U.S. Forest Service Chaplain Steve Seltzner said as the service began. "It has shaken this agency and the men and women of the San Benardino National Forest to its very core and shocked the entire world." "This arrest really does help with some of the closure, the healing that we in the Forest Service community, and in the families, need," said Jeanne Wade Evans, the San Bernardino National Forest supervisor. Authorities were trying to determine whether Oyler has any links to at least 40 fires in the area since May, according to an official involved in the investigation who spoke on condition of anonymity because the case is continuing. From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 27 16:31:41 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EA5A16A592 for ; Mon, 27 Nov 2006 16:31:41 +0000 (UTC) (envelope-from gobnatamello@jacksonjewelers.com) Received: from jbdesign.net (d01m-213-44-214-53.d4.club-internet.fr [213.44.214.53]) by mx1.FreeBSD.org (Postfix) with SMTP id 0823A43E15 for ; Mon, 27 Nov 2006 16:30:03 +0000 (GMT) (envelope-from gobnatamello@jacksonjewelers.com) Message-ID: <000001c71240$becc3790$d670a8c0@lebh> From: "Kylee Kitts" To: freebsd-bluetooth@freebsd.org Date: Mon, 27 Nov 2006 08:26:09 -0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: underwoo X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kylee Kitts List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 16:31:41 -0000 Hi, =20 VjAGRA_ip_$1,78 CjALiS_tf_$3,00 LEVjTRA_hn_$3,33 =20 www [dot] rx44 [dot] info _____ =20 A quick grrr-grrr reassured me. So I did not have to keep track of From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 27 18:50:59 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5B9A16A40F for ; Mon, 27 Nov 2006 18:50:59 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F5B8441B6 for ; Mon, 27 Nov 2006 18:05:38 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 392093BED2; Mon, 27 Nov 2006 12:06:39 -0600 (CST) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22626-01-3; Mon, 27 Nov 2006 12:06:39 -0600 (CST) Received: from [10.12.163.251] (unknown [10.12.163.251]) by mailgate1b.savvis.net (Postfix) with ESMTP id C6D9E3BE81; Mon, 27 Nov 2006 12:06:38 -0600 (CST) Message-ID: <456B292D.3000509@savvis.net> Date: Mon, 27 Nov 2006 10:06:37 -0800 From: Maksim Yevmenkin User-Agent: Thunderbird 1.5.0.5 (X11/20060906) MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" References: <20061126005413.0faaea7b@localhost> <1164502329.816.8.camel@RabbitsDen.RabbitsLawn.verizon.net> In-Reply-To: <1164502329.816.8.camel@RabbitsDen.RabbitsLawn.verizon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at savvis.net Cc: freebsd-bluetooth@freebsd.org, Jona Joachim Subject: Re: Support for Bluetooth Keyboards? 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: Mon, 27 Nov 2006 18:51:00 -0000 Alexandre "Sunny" Kovalenko wrote: > On Sun, 2006-11-26 at 00:54 +0100, Jona Joachim wrote: >> Hi! >> I wanted to know if Bluetooth keyboards are likely to work on FreeBSD. >> I'm looking at this marvellous object to be precise: >> http://www.thinkgeek.com/computing/input/8193/ >> >> They say that they "were able to get the Bluetooth Virtual Laser >> Keyboard to work with Mac OSX using the built-in bluetooth support in >> the OS." then it should work in releng_6 and -current. > I am running Apple Bluetooth keyboard on -CURRENT. I order to accomplish > that, I have followed steps outlined by Eric Anderson here > > http://destari.blogspot.com/2006/01/setting-up-bluetooth-mouse-on-freebsd.html > > There seems to be a quirk in the bthidd which causes it reattach > keyboard every couple of minutes, so I am accustomed to seeing vkbd >> 10000 being attached but these seem to be harmless enough. YMMV, > though. hmmm... i'd like to get more information on this. does this happen when you type on the keyboard? or when keyboard is idle? if this happens when the keyboard is idle, then, i'd guess, the keyboard simply kills the bluetooth connection to conserve battery. if bluetooth connection was in fact killed then bthidd(8) will close vkbd(4) device and it will, in turn, detach vkbd(4) keyboard. in any case, could you please get an hci dump (binary) when this happens and sent it to me? or could you please tell me how to reproduce this locally? thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 27 20:35:27 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 124EC16A600 for ; Mon, 27 Nov 2006 20:35:27 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BC084496A for ; Mon, 27 Nov 2006 19:59:39 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id kARK0A36070197; Mon, 27 Nov 2006 14:00:16 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <456B43CC.1000107@centtech.com> Date: Mon, 27 Nov 2006 14:00:12 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20061015) MIME-Version: 1.0 To: Maksim Yevmenkin References: <20061126005413.0faaea7b@localhost> <1164502329.816.8.camel@RabbitsDen.RabbitsLawn.verizon.net> <456B292D.3000509@savvis.net> In-Reply-To: <456B292D.3000509@savvis.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2252/Mon Nov 27 12:47:11 2006 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-bluetooth@freebsd.org, Jona Joachim Subject: Re: Support for Bluetooth Keyboards? 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: Mon, 27 Nov 2006 20:35:27 -0000 On 11/27/06 12:06, Maksim Yevmenkin wrote: > Alexandre "Sunny" Kovalenko wrote: >> On Sun, 2006-11-26 at 00:54 +0100, Jona Joachim wrote: >>> Hi! >>> I wanted to know if Bluetooth keyboards are likely to work on FreeBSD. >>> I'm looking at this marvellous object to be precise: >>> http://www.thinkgeek.com/computing/input/8193/ >>> >>> They say that they "were able to get the Bluetooth Virtual Laser >>> Keyboard to work with Mac OSX using the built-in bluetooth support in >>> the OS." > > then it should work in releng_6 and -current. > >> I am running Apple Bluetooth keyboard on -CURRENT. I order to accomplish >> that, I have followed steps outlined by Eric Anderson here >> >> http://destari.blogspot.com/2006/01/setting-up-bluetooth-mouse-on-freebsd.html >> >> There seems to be a quirk in the bthidd which causes it reattach >> keyboard every couple of minutes, so I am accustomed to seeing vkbd >>> 10000 being attached but these seem to be harmless enough. YMMV, >> though. > > hmmm... i'd like to get more information on this. does this happen when > you type on the keyboard? or when keyboard is idle? > > if this happens when the keyboard is idle, then, i'd guess, the keyboard > simply kills the bluetooth connection to conserve battery. if bluetooth > connection was in fact killed then bthidd(8) will close vkbd(4) device > and it will, in turn, detach vkbd(4) keyboard. > > in any case, could you please get an hci dump (binary) when this happens > and sent it to me? or could you please tell me how to reproduce this > locally? I see something like this too, but with mice. I use a microsoft bluetooth explorer mouse, and when it disconnects and goes into battery sleep mode, and then comes back, it registers a new vkbd device. Here's some snippets: Nov 27 07:10:52 neutrino kernel: kbd: new array size 4 Nov 27 07:10:52 neutrino kernel: kbd1 at vkbd0 Nov 27 07:10:52 neutrino bthidd[833]: Accepted control connection from 00:50:f2:e9:a1:f1 Nov 27 07:10:52 neutrino bthidd[833]: Accepted interrupt connection from 00:50:f2:e9:a1:f1 Nov 27 08:01:38 neutrino bthidd[833]: Remote device 00:50:f2:e9:a1:f1 has closed interrupt connection Nov 27 08:05:20 neutrino kernel: kbd1 at vkbd1 Nov 27 08:05:20 neutrino bthidd[833]: Accepted control connection from 00:50:f2:e9:a1:f1 Nov 27 08:05:20 neutrino bthidd[833]: Accepted interrupt connection from 00:50:f2:e9:a1:f1 Nov 27 09:09:38 neutrino bthidd[833]: Remote device 00:50:f2:e9:a1:f1 has closed interrupt connection Nov 27 09:11:46 neutrino kernel: kbd1 at vkbd2 Nov 27 09:11:46 neutrino bthidd[833]: Accepted control connection from 00:50:f2:e9:a1:f1 Nov 27 09:11:46 neutrino bthidd[833]: Accepted interrupt connection from 00:50:f2:e9:a1:f1 Nov 27 09:36:33 neutrino bthidd[833]: Remote device 00:50:f2:e9:a1:f1 has closed interrupt connection Nov 27 09:38:36 neutrino kernel: kbd1 at vkbd3 Nov 27 09:38:36 neutrino bthidd[833]: Accepted control connection from 00:50:f2:e9:a1:f1 Nov 27 09:38:37 neutrino bthidd[833]: Accepted interrupt connection from 00:50:f2:e9:a1:f1 Nov 27 10:25:12 neutrino bthidd[833]: Remote device 00:50:f2:e9:a1:f1 has closed interrupt connection Nov 27 10:26:10 neutrino kernel: kbd1 at vkbd4 Nov 27 10:26:10 neutrino bthidd[833]: Accepted control connection from 00:50:f2:e9:a1:f1 Nov 27 10:26:10 neutrino bthidd[833]: Accepted interrupt connection from 00:50:f2:e9:a1:f1 Nov 27 10:34:12 neutrino bthidd[833]: Remote device 00:50:f2:e9:a1:f1 has closed interrupt connection Nov 27 10:36:13 neutrino kernel: kbd1 at vkbd5 Nov 27 10:36:13 neutrino bthidd[833]: Accepted control connection from 00:50:f2:e9:a1:f1 Nov 27 10:36:13 neutrino bthidd[833]: Accepted interrupt connection from 00:50:f2:e9:a1:f1 Nov 27 11:20:16 neutrino bthidd[833]: Remote device 00:50:f2:e9:a1:f1 has closed interrupt connection Nov 27 12:12:12 neutrino kernel: kbd1 at vkbd6 Nov 27 12:12:12 neutrino bthidd[833]: Accepted control connection from 00:50:f2:e9:a1:f1 Nov 27 12:12:12 neutrino bthidd[833]: Accepted interrupt connection from 00:50:f2:e9:a1:f1 Nov 27 13:05:15 neutrino bthidd[833]: Remote device 00:50:f2:e9:a1:f1 has closed interrupt connection Nov 27 13:40:29 neutrino kernel: kbd1 at vkbd7 Nov 27 13:40:29 neutrino bthidd[833]: Accepted control connection from 00:50:f2:e9:a1:f1 Nov 27 13:40:29 neutrino bthidd[833]: Accepted interrupt connection from 00:50:f2:e9:a1:f1 Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 27 20:38:51 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97FA916A4C9 for ; Mon, 27 Nov 2006 20:38:51 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9120444852 for ; Mon, 27 Nov 2006 20:19:24 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 143A53C273; Mon, 27 Nov 2006 14:20:26 -0600 (CST) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22603-01-79; Mon, 27 Nov 2006 14:20:25 -0600 (CST) Received: from [10.12.163.251] (unknown [10.12.163.251]) by mailgate1b.savvis.net (Postfix) with ESMTP id 8DBCC3C227; Mon, 27 Nov 2006 14:20:25 -0600 (CST) Message-ID: <456B4888.5060903@savvis.net> Date: Mon, 27 Nov 2006 12:20:24 -0800 From: Maksim Yevmenkin User-Agent: Thunderbird 1.5.0.5 (X11/20060906) MIME-Version: 1.0 To: Eric Anderson References: <20061126005413.0faaea7b@localhost> <1164502329.816.8.camel@RabbitsDen.RabbitsLawn.verizon.net> <456B292D.3000509@savvis.net> <456B43CC.1000107@centtech.com> In-Reply-To: <456B43CC.1000107@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at savvis.net Cc: freebsd-bluetooth@freebsd.org, Jona Joachim Subject: Re: Support for Bluetooth Keyboards? 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: Mon, 27 Nov 2006 20:38:51 -0000 Eric Anderson wrote: > On 11/27/06 12:06, Maksim Yevmenkin wrote: >> Alexandre "Sunny" Kovalenko wrote: >>> On Sun, 2006-11-26 at 00:54 +0100, Jona Joachim wrote: >>>> Hi! >>>> I wanted to know if Bluetooth keyboards are likely to work on FreeBSD. >>>> I'm looking at this marvellous object to be precise: >>>> http://www.thinkgeek.com/computing/input/8193/ >>>> >>>> They say that they "were able to get the Bluetooth Virtual Laser >>>> Keyboard to work with Mac OSX using the built-in bluetooth support in >>>> the OS." >> >> then it should work in releng_6 and -current. >> >>> I am running Apple Bluetooth keyboard on -CURRENT. I order to accomplish >>> that, I have followed steps outlined by Eric Anderson here >>> >>> http://destari.blogspot.com/2006/01/setting-up-bluetooth-mouse-on-freebsd.html >>> >>> >>> There seems to be a quirk in the bthidd which causes it reattach >>> keyboard every couple of minutes, so I am accustomed to seeing vkbd >>>> 10000 being attached but these seem to be harmless enough. YMMV, >>> though. >> >> hmmm... i'd like to get more information on this. does this happen >> when you type on the keyboard? or when keyboard is idle? >> >> if this happens when the keyboard is idle, then, i'd guess, the >> keyboard simply kills the bluetooth connection to conserve battery. if >> bluetooth connection was in fact killed then bthidd(8) will close >> vkbd(4) device and it will, in turn, detach vkbd(4) keyboard. >> >> in any case, could you please get an hci dump (binary) when this >> happens and sent it to me? or could you please tell me how to >> reproduce this locally? > > I see something like this too, but with mice. I use a microsoft > bluetooth explorer mouse, and when it disconnects and goes into battery > sleep mode, and then comes back, it registers a new vkbd device. Here's > some snippets: [...] hmm... could you please post hid descriptor from your microsoft bluetooth explorer mouse? also, binary hci dump (that captures detach/reattach event) would be nice. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 27 21:01:55 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97A8516A415 for ; Mon, 27 Nov 2006 21:01:55 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A074D43F41 for ; Mon, 27 Nov 2006 20:50:34 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id kARKpFQO080265; Mon, 27 Nov 2006 14:51:16 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <456B4FC6.7070805@centtech.com> Date: Mon, 27 Nov 2006 14:51:18 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20061015) MIME-Version: 1.0 To: Maksim Yevmenkin References: <20061126005413.0faaea7b@localhost> <1164502329.816.8.camel@RabbitsDen.RabbitsLawn.verizon.net> <456B292D.3000509@savvis.net> <456B43CC.1000107@centtech.com> <456B4888.5060903@savvis.net> In-Reply-To: <456B4888.5060903@savvis.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2252/Mon Nov 27 12:47:11 2006 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-bluetooth@freebsd.org, Jona Joachim Subject: Re: Support for Bluetooth Keyboards? 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: Mon, 27 Nov 2006 21:01:55 -0000 On 11/27/06 14:20, Maksim Yevmenkin wrote: > Eric Anderson wrote: >> On 11/27/06 12:06, Maksim Yevmenkin wrote: >>> Alexandre "Sunny" Kovalenko wrote: >>>> On Sun, 2006-11-26 at 00:54 +0100, Jona Joachim wrote: >>>>> Hi! >>>>> I wanted to know if Bluetooth keyboards are likely to work on FreeBSD. >>>>> I'm looking at this marvellous object to be precise: >>>>> http://www.thinkgeek.com/computing/input/8193/ >>>>> >>>>> They say that they "were able to get the Bluetooth Virtual Laser >>>>> Keyboard to work with Mac OSX using the built-in bluetooth support in >>>>> the OS." >>> then it should work in releng_6 and -current. >>> >>>> I am running Apple Bluetooth keyboard on -CURRENT. I order to accomplish >>>> that, I have followed steps outlined by Eric Anderson here >>>> >>>> http://destari.blogspot.com/2006/01/setting-up-bluetooth-mouse-on-freebsd.html >>>> >>>> >>>> There seems to be a quirk in the bthidd which causes it reattach >>>> keyboard every couple of minutes, so I am accustomed to seeing vkbd >>>>> 10000 being attached but these seem to be harmless enough. YMMV, >>>> though. >>> hmmm... i'd like to get more information on this. does this happen >>> when you type on the keyboard? or when keyboard is idle? >>> >>> if this happens when the keyboard is idle, then, i'd guess, the >>> keyboard simply kills the bluetooth connection to conserve battery. if >>> bluetooth connection was in fact killed then bthidd(8) will close >>> vkbd(4) device and it will, in turn, detach vkbd(4) keyboard. >>> >>> in any case, could you please get an hci dump (binary) when this >>> happens and sent it to me? or could you please tell me how to >>> reproduce this locally? >> I see something like this too, but with mice. I use a microsoft >> bluetooth explorer mouse, and when it disconnects and goes into battery >> sleep mode, and then comes back, it registers a new vkbd device. Here's >> some snippets: > > [...] > > hmm... could you please post hid descriptor from your microsoft > bluetooth explorer mouse? # bthidcontrol -a msmouse dump Collection page=Generic_Desktop usage=Mouse Collection page=Generic_Desktop usage=Pointer Input id=2 size=1 count=1 page=Button usage=Button_1 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_2 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_3 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_4 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_5 Variable, logical range 0..1 Input id=2 size=3 count=1 page=0x0000 usage=0x0000 Const, logical range 0..1 Input id=2 size=8 count=1 page=Generic_Desktop usage=X Variable Relative, logical range -127..127 Input id=2 size=8 count=1 page=Generic_Desktop usage=Y Variable Relative, logical range -127..127 Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable Relative, logical range -127..127 Input id=2 size=8 count=1 page=Consumer usage=AC_Pan Variable Relative, logical range -127..127 End collection Feature id=2 size=1 count=1 page=Generic_Desktop usage=0x004b Variable, logical range 0..1 Feature id=2 size=7 count=1 page=0x0000 usage=0x0000 Const, logical range 0..1 End collection Collection page=Consumer usage=Consumer_Control Collection page=Generic_Desktop usage=Mouse Input id=3 size=2 count=1 page=Microsoft usage=0xfe01 Variable, logical range 0..3 Input id=3 size=1 count=1 page=Microsoft usage=0xfe00 Variable, logical range 0..1 Input id=3 size=5 count=1 page=0x0000 usage=0x0000 Const, logical range 0..1 End collection End collection Collection page=Consumer usage=Consumer_Control Collection page=Generic_Desktop usage=Mouse Input id=4 size=8 count=1 page=Consumer usage=AC_Pan Variable Relative, logical range -127..127 Feature id=4 size=1 count=1 page=Microsoft usage=0xff04 Variable, logical range 0..1 Feature id=4 size=1 count=1 page=Microsoft usage=0xff06 Variable, logical range 0..1 Feature id=4 size=1 count=6 page=0x0000 usage=0x0000 Const, logical range 0..1 End collection End collection # bthidcontrol -a msmouse query device { bdaddr 00:50:f2:e9:a1:f1; control_psm 0x11; interrupt_psm 0x13; reconnect_initiate true; battery_power true; normally_connectable false; hid_descriptor { 0x05 0x01 0x09 0x02 0xa1 0x01 0x85 0x02 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x05 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x05 0x81 0x02 0x75 0x03 0x95 0x01 0x81 0x01 0x05 0x01 0x09 0x30 0x09 0x31 0x09 0x38 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x03 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x95 0x01 0x81 0x06 0xc0 0x05 0x01 0x09 0x4b 0x15 0x00 0x25 0x01 0x75 0x01 0xb1 0x02 0x75 0x07 0xb1 0x01 0xc0 0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x05 0x01 0x09 0x02 0xa1 0x02 0x06 0x00 0xff 0x15 0x00 0x25 0x03 0x75 0x02 0x95 0x01 0x0a 0x01 0xfe 0x81 0x02 0x25 0x01 0x75 0x01 0x0a 0x00 0xfe 0x81 0x02 0x75 0x05 0x81 0x01 0xc0 0xc0 0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x04 0x05 0x01 0x09 0x02 0xa1 0x02 0x05 0x0c 0x0a 0x38 0x02 0x75 0x08 0x95 0x01 0x15 0x81 0x25 0x7f 0x81 0x06 0x06 0x00 0xff 0x0a 0x04 0xff 0x0a 0x06 0xff 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x02 0xb1 0x02 0x95 0x06 0xb1 0x01 0xc0 0xc0 }; } > also, binary hci dump (that captures detach/reattach event) would be nice. Here: http://users.centtech.com/~anderson/freebsd/bt-mouse-dump.raw and corresponding log messages: Nov 27 14:45:44 neutrino bthidd[833]: Remote device 00:50:f2:e9:a1:f1 has closed interrupt connection Nov 27 14:47:31 neutrino kernel: kbd1 at vkbd9 Nov 27 14:47:31 neutrino bthidd[833]: Accepted control connection from 00:50:f2:e9:a1:f1 Nov 27 14:47:31 neutrino bthidd[833]: Accepted interrupt connection from 00:50:f2:e9:a1:f1 Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------ From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 27 23:49:56 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 79F1316A40F for ; Mon, 27 Nov 2006 23:49:56 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59762445EB for ; Mon, 27 Nov 2006 22:39:33 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 563BB3BE77; Mon, 27 Nov 2006 16:40:35 -0600 (CST) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03089-02-47; Mon, 27 Nov 2006 16:40:35 -0600 (CST) Received: from [10.12.163.251] (unknown [10.12.163.251]) by mailgate1b.savvis.net (Postfix) with ESMTP id A2A933BE3F; Mon, 27 Nov 2006 16:40:34 -0600 (CST) Message-ID: <456B6961.10803@savvis.net> Date: Mon, 27 Nov 2006 14:40:33 -0800 From: Maksim Yevmenkin User-Agent: Thunderbird 1.5.0.5 (X11/20060906) MIME-Version: 1.0 To: Eric Anderson References: <20061126005413.0faaea7b@localhost> <1164502329.816.8.camel@RabbitsDen.RabbitsLawn.verizon.net> <456B292D.3000509@savvis.net> <456B43CC.1000107@centtech.com> <456B4888.5060903@savvis.net> <456B4FC6.7070805@centtech.com> In-Reply-To: <456B4FC6.7070805@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at savvis.net Cc: freebsd-bluetooth@freebsd.org, Jona Joachim Subject: Re: Support for Bluetooth Keyboards? 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: Mon, 27 Nov 2006 23:49:56 -0000 Eric Anderson wrote: > On 11/27/06 14:20, Maksim Yevmenkin wrote: >> Eric Anderson wrote: >>> On 11/27/06 12:06, Maksim Yevmenkin wrote: >>>> Alexandre "Sunny" Kovalenko wrote: >>>>> On Sun, 2006-11-26 at 00:54 +0100, Jona Joachim wrote: >>>>>> Hi! >>>>>> I wanted to know if Bluetooth keyboards are likely to work on >>>>>> FreeBSD. >>>>>> I'm looking at this marvellous object to be precise: >>>>>> http://www.thinkgeek.com/computing/input/8193/ >>>>>> >>>>>> They say that they "were able to get the Bluetooth Virtual Laser >>>>>> Keyboard to work with Mac OSX using the built-in bluetooth support in >>>>>> the OS." >>>> then it should work in releng_6 and -current. >>>> >>>>> I am running Apple Bluetooth keyboard on -CURRENT. I order to >>>>> accomplish >>>>> that, I have followed steps outlined by Eric Anderson here >>>>> >>>>> http://destari.blogspot.com/2006/01/setting-up-bluetooth-mouse-on-freebsd.html >>>>> >>>>> >>>>> There seems to be a quirk in the bthidd which causes it reattach >>>>> keyboard every couple of minutes, so I am accustomed to seeing vkbd >>>>>> 10000 being attached but these seem to be harmless enough. YMMV, >>>>> though. >>>> hmmm... i'd like to get more information on this. does this happen >>>> when you type on the keyboard? or when keyboard is idle? >>>> >>>> if this happens when the keyboard is idle, then, i'd guess, the >>>> keyboard simply kills the bluetooth connection to conserve battery. >>>> if bluetooth connection was in fact killed then bthidd(8) will close >>>> vkbd(4) device and it will, in turn, detach vkbd(4) keyboard. >>>> >>>> in any case, could you please get an hci dump (binary) when this >>>> happens and sent it to me? or could you please tell me how to >>>> reproduce this locally? >>> I see something like this too, but with mice. I use a microsoft >>> bluetooth explorer mouse, and when it disconnects and goes into >>> battery sleep mode, and then comes back, it registers a new vkbd >>> device. Here's some snippets: >> >> [...] >> >> hmm... could you please post hid descriptor from your microsoft >> bluetooth explorer mouse? > > # bthidcontrol -a msmouse dump > Collection page=Generic_Desktop usage=Mouse > Collection page=Generic_Desktop usage=Pointer > Input id=2 size=1 count=1 page=Button usage=Button_1 Variable, logical > range 0..1 > Input id=2 size=1 count=1 page=Button usage=Button_2 Variable, logical > range 0..1 > Input id=2 size=1 count=1 page=Button usage=Button_3 Variable, logical > range 0..1 > Input id=2 size=1 count=1 page=Button usage=Button_4 Variable, logical > range 0..1 > Input id=2 size=1 count=1 page=Button usage=Button_5 Variable, logical > range 0..1 > Input id=2 size=3 count=1 page=0x0000 usage=0x0000 Const, logical > range 0..1 > Input id=2 size=8 count=1 page=Generic_Desktop usage=X Variable > Relative, logical range -127..127 > Input id=2 size=8 count=1 page=Generic_Desktop usage=Y Variable > Relative, logical range -127..127 > Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable > Relative, logical range -127..127 > Input id=2 size=8 count=1 page=Consumer usage=AC_Pan Variable > Relative, logical range -127..127 > End collection > Feature id=2 size=1 count=1 page=Generic_Desktop usage=0x004b Variable, > logical range 0..1 > Feature id=2 size=7 count=1 page=0x0000 usage=0x0000 Const, logical > range 0..1 > End collection > Collection page=Consumer usage=Consumer_Control > Collection page=Generic_Desktop usage=Mouse > Input id=3 size=2 count=1 page=Microsoft usage=0xfe01 Variable, > logical range 0..3 > Input id=3 size=1 count=1 page=Microsoft usage=0xfe00 Variable, > logical range 0..1 > Input id=3 size=5 count=1 page=0x0000 usage=0x0000 Const, logical > range 0..1 > End collection > End collection > Collection page=Consumer usage=Consumer_Control > Collection page=Generic_Desktop usage=Mouse > Input id=4 size=8 count=1 page=Consumer usage=AC_Pan Variable > Relative, logical range -127..127 > Feature id=4 size=1 count=1 page=Microsoft usage=0xff04 Variable, > logical range 0..1 > Feature id=4 size=1 count=1 page=Microsoft usage=0xff06 Variable, > logical range 0..1 > Feature id=4 size=1 count=6 page=0x0000 usage=0x0000 Const, logical > range 0..1 > End collection > End collection > > > # bthidcontrol -a msmouse query > device { > bdaddr 00:50:f2:e9:a1:f1; > control_psm 0x11; > interrupt_psm 0x13; > reconnect_initiate true; > battery_power true; > normally_connectable false; > hid_descriptor { > 0x05 0x01 0x09 0x02 0xa1 0x01 0x85 0x02 > 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 > 0x29 0x05 0x15 0x00 0x25 0x01 0x75 0x01 > 0x95 0x05 0x81 0x02 0x75 0x03 0x95 0x01 > 0x81 0x01 0x05 0x01 0x09 0x30 0x09 0x31 > 0x09 0x38 0x15 0x81 0x25 0x7f 0x75 0x08 > 0x95 0x03 0x81 0x06 0x05 0x0c 0x0a 0x38 > 0x02 0x95 0x01 0x81 0x06 0xc0 0x05 0x01 > 0x09 0x4b 0x15 0x00 0x25 0x01 0x75 0x01 > 0xb1 0x02 0x75 0x07 0xb1 0x01 0xc0 0x05 > 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x05 > 0x01 0x09 0x02 0xa1 0x02 0x06 0x00 0xff > 0x15 0x00 0x25 0x03 0x75 0x02 0x95 0x01 > 0x0a 0x01 0xfe 0x81 0x02 0x25 0x01 0x75 > 0x01 0x0a 0x00 0xfe 0x81 0x02 0x75 0x05 > 0x81 0x01 0xc0 0xc0 0x05 0x0c 0x09 0x01 > 0xa1 0x01 0x85 0x04 0x05 0x01 0x09 0x02 > 0xa1 0x02 0x05 0x0c 0x0a 0x38 0x02 0x75 > 0x08 0x95 0x01 0x15 0x81 0x25 0x7f 0x81 > 0x06 0x06 0x00 0xff 0x0a 0x04 0xff 0x0a > 0x06 0xff 0x15 0x00 0x25 0x01 0x75 0x01 > 0x95 0x02 0xb1 0x02 0x95 0x06 0xb1 0x01 > 0xc0 0xc0 > }; > } > > >> also, binary hci dump (that captures detach/reattach event) would be >> nice. > > Here: > http://users.centtech.com/~anderson/freebsd/bt-mouse-dump.raw beetle% fetch http://users.centtech.com/~anderson/freebsd/bt-mouse-dump.raw fetch: http://users.centtech.com/~anderson/freebsd/bt-mouse-dump.raw: Forbidden :( max > > and corresponding log messages: > > Nov 27 14:45:44 neutrino bthidd[833]: Remote device 00:50:f2:e9:a1:f1 > has closed interrupt connection > Nov 27 14:47:31 neutrino kernel: kbd1 at vkbd9 > Nov 27 14:47:31 neutrino bthidd[833]: Accepted control connection from > 00:50:f2:e9:a1:f1 > Nov 27 14:47:31 neutrino bthidd[833]: Accepted interrupt connection from > 00:50:f2:e9:a1:f1 > > > Eric > > > > From owner-freebsd-bluetooth@FreeBSD.ORG Tue Nov 28 05:39:48 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B7B516A982 for ; Tue, 28 Nov 2006 05:39:48 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 096B5445F7 for ; Tue, 28 Nov 2006 04:46:25 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh2.centtech.com (8.13.8/8.13.8) with ESMTP id kAS2itFu022641; Mon, 27 Nov 2006 20:44:55 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <456BA2A9.1070701@centtech.com> Date: Mon, 27 Nov 2006 20:44:57 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Maksim Yevmenkin References: <20061126005413.0faaea7b@localhost> <1164502329.816.8.camel@RabbitsDen.RabbitsLawn.verizon.net> <456B292D.3000509@savvis.net> <456B43CC.1000107@centtech.com> <456B4888.5060903@savvis.net> <456B4FC6.7070805@centtech.com> <456B6961.10803@savvis.net> In-Reply-To: <456B6961.10803@savvis.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2252/Mon Nov 27 12:47:11 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-bluetooth@freebsd.org, Jona Joachim Subject: Re: Support for Bluetooth Keyboards? 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, 28 Nov 2006 05:39:48 -0000 Maksim Yevmenkin wrote: > Eric Anderson wrote: >> On 11/27/06 14:20, Maksim Yevmenkin wrote: >>> Eric Anderson wrote: >>>> On 11/27/06 12:06, Maksim Yevmenkin wrote: >>>>> Alexandre "Sunny" Kovalenko wrote: >>>>>> On Sun, 2006-11-26 at 00:54 +0100, Jona Joachim wrote: >>>>>>> Hi! >>>>>>> I wanted to know if Bluetooth keyboards are likely to work on >>>>>>> FreeBSD. >>>>>>> I'm looking at this marvellous object to be precise: >>>>>>> http://www.thinkgeek.com/computing/input/8193/ >>>>>>> >>>>>>> They say that they "were able to get the Bluetooth Virtual Laser >>>>>>> Keyboard to work with Mac OSX using the built-in bluetooth >>>>>>> support in >>>>>>> the OS." >>>>> then it should work in releng_6 and -current. >>>>> >>>>>> I am running Apple Bluetooth keyboard on -CURRENT. I order to >>>>>> accomplish >>>>>> that, I have followed steps outlined by Eric Anderson here >>>>>> >>>>>> http://destari.blogspot.com/2006/01/setting-up-bluetooth-mouse-on-freebsd.html >>>>>> >>>>>> >>>>>> There seems to be a quirk in the bthidd which causes it reattach >>>>>> keyboard every couple of minutes, so I am accustomed to seeing vkbd >>>>>>> 10000 being attached but these seem to be harmless enough. YMMV, >>>>>> though. >>>>> hmmm... i'd like to get more information on this. does this happen >>>>> when you type on the keyboard? or when keyboard is idle? >>>>> >>>>> if this happens when the keyboard is idle, then, i'd guess, the >>>>> keyboard simply kills the bluetooth connection to conserve >>>>> battery. if bluetooth connection was in fact killed then bthidd(8) >>>>> will close vkbd(4) device and it will, in turn, detach vkbd(4) >>>>> keyboard. >>>>> >>>>> in any case, could you please get an hci dump (binary) when this >>>>> happens and sent it to me? or could you please tell me how to >>>>> reproduce this locally? >>>> I see something like this too, but with mice. I use a microsoft >>>> bluetooth explorer mouse, and when it disconnects and goes into >>>> battery sleep mode, and then comes back, it registers a new vkbd >>>> device. Here's some snippets: >>> >>> [...] >>> >>> hmm... could you please post hid descriptor from your microsoft >>> bluetooth explorer mouse? >> >> # bthidcontrol -a msmouse dump >> Collection page=Generic_Desktop usage=Mouse >> Collection page=Generic_Desktop usage=Pointer >> Input id=2 size=1 count=1 page=Button usage=Button_1 Variable, >> logical range 0..1 >> Input id=2 size=1 count=1 page=Button usage=Button_2 Variable, >> logical range 0..1 >> Input id=2 size=1 count=1 page=Button usage=Button_3 Variable, >> logical range 0..1 >> Input id=2 size=1 count=1 page=Button usage=Button_4 Variable, >> logical range 0..1 >> Input id=2 size=1 count=1 page=Button usage=Button_5 Variable, >> logical range 0..1 >> Input id=2 size=3 count=1 page=0x0000 usage=0x0000 Const, logical >> range 0..1 >> Input id=2 size=8 count=1 page=Generic_Desktop usage=X Variable >> Relative, logical range -127..127 >> Input id=2 size=8 count=1 page=Generic_Desktop usage=Y Variable >> Relative, logical range -127..127 >> Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable >> Relative, logical range -127..127 >> Input id=2 size=8 count=1 page=Consumer usage=AC_Pan Variable >> Relative, logical range -127..127 >> End collection >> Feature id=2 size=1 count=1 page=Generic_Desktop usage=0x004b >> Variable, logical range 0..1 >> Feature id=2 size=7 count=1 page=0x0000 usage=0x0000 Const, logical >> range 0..1 >> End collection >> Collection page=Consumer usage=Consumer_Control >> Collection page=Generic_Desktop usage=Mouse >> Input id=3 size=2 count=1 page=Microsoft usage=0xfe01 Variable, >> logical range 0..3 >> Input id=3 size=1 count=1 page=Microsoft usage=0xfe00 Variable, >> logical range 0..1 >> Input id=3 size=5 count=1 page=0x0000 usage=0x0000 Const, logical >> range 0..1 >> End collection >> End collection >> Collection page=Consumer usage=Consumer_Control >> Collection page=Generic_Desktop usage=Mouse >> Input id=4 size=8 count=1 page=Consumer usage=AC_Pan Variable >> Relative, logical range -127..127 >> Feature id=4 size=1 count=1 page=Microsoft usage=0xff04 Variable, >> logical range 0..1 >> Feature id=4 size=1 count=1 page=Microsoft usage=0xff06 Variable, >> logical range 0..1 >> Feature id=4 size=1 count=6 page=0x0000 usage=0x0000 Const, logical >> range 0..1 >> End collection >> End collection >> >> >> # bthidcontrol -a msmouse query >> device { >> bdaddr 00:50:f2:e9:a1:f1; >> control_psm 0x11; >> interrupt_psm 0x13; >> reconnect_initiate true; >> battery_power true; >> normally_connectable false; >> hid_descriptor { >> 0x05 0x01 0x09 0x02 0xa1 0x01 0x85 0x02 >> 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 >> 0x29 0x05 0x15 0x00 0x25 0x01 0x75 0x01 >> 0x95 0x05 0x81 0x02 0x75 0x03 0x95 0x01 >> 0x81 0x01 0x05 0x01 0x09 0x30 0x09 0x31 >> 0x09 0x38 0x15 0x81 0x25 0x7f 0x75 0x08 >> 0x95 0x03 0x81 0x06 0x05 0x0c 0x0a 0x38 >> 0x02 0x95 0x01 0x81 0x06 0xc0 0x05 0x01 >> 0x09 0x4b 0x15 0x00 0x25 0x01 0x75 0x01 >> 0xb1 0x02 0x75 0x07 0xb1 0x01 0xc0 0x05 >> 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x05 >> 0x01 0x09 0x02 0xa1 0x02 0x06 0x00 0xff >> 0x15 0x00 0x25 0x03 0x75 0x02 0x95 0x01 >> 0x0a 0x01 0xfe 0x81 0x02 0x25 0x01 0x75 >> 0x01 0x0a 0x00 0xfe 0x81 0x02 0x75 0x05 >> 0x81 0x01 0xc0 0xc0 0x05 0x0c 0x09 0x01 >> 0xa1 0x01 0x85 0x04 0x05 0x01 0x09 0x02 >> 0xa1 0x02 0x05 0x0c 0x0a 0x38 0x02 0x75 >> 0x08 0x95 0x01 0x15 0x81 0x25 0x7f 0x81 >> 0x06 0x06 0x00 0xff 0x0a 0x04 0xff 0x0a >> 0x06 0xff 0x15 0x00 0x25 0x01 0x75 0x01 >> 0x95 0x02 0xb1 0x02 0x95 0x06 0xb1 0x01 >> 0xc0 0xc0 >> }; >> } >> >> >>> also, binary hci dump (that captures detach/reattach event) would be >>> nice. >> >> Here: >> http://users.centtech.com/~anderson/freebsd/bt-mouse-dump.raw > > > > beetle% fetch > http://users.centtech.com/~anderson/freebsd/bt-mouse-dump.raw > fetch: http://users.centtech.com/~anderson/freebsd/bt-mouse-dump.raw: > Forbidden Oops. Try again. :) >> >> and corresponding log messages: >> >> Nov 27 14:45:44 neutrino bthidd[833]: Remote device 00:50:f2:e9:a1:f1 >> has closed interrupt connection >> Nov 27 14:47:31 neutrino kernel: kbd1 at vkbd9 >> Nov 27 14:47:31 neutrino bthidd[833]: Accepted control connection >> from 00:50:f2:e9:a1:f1 >> Nov 27 14:47:31 neutrino bthidd[833]: Accepted interrupt connection >> from 00:50:f2:e9:a1:f1 >> >> >> Eric >> >> >> >> From owner-freebsd-bluetooth@FreeBSD.ORG Tue Nov 28 08:17:58 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4ED6716A403 for ; Tue, 28 Nov 2006 08:17:58 +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 61E3443CA0 for ; Tue, 28 Nov 2006 08:17:54 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.146.144]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0J9F00LM07ROHZ4P@vms046.mailsrvcs.net> for freebsd-bluetooth@freebsd.org; Mon, 27 Nov 2006 21:16:37 -0600 (CST) Date: Mon, 27 Nov 2006 22:16:29 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <456B292D.3000509@savvis.net> To: Maksim Yevmenkin Message-id: <1164683789.816.30.camel@RabbitsDen.RabbitsLawn.verizon.net> MIME-version: 1.0 X-Mailer: Evolution 2.8.1.1 FreeBSD GNOME Team Port Content-type: multipart/mixed; boundary="=-UeFtAd2NuguB7jWsTFVt" References: <20061126005413.0faaea7b@localhost> <1164502329.816.8.camel@RabbitsDen.RabbitsLawn.verizon.net> <456B292D.3000509@savvis.net> Cc: freebsd-bluetooth@freebsd.org, Jona Joachim Subject: Re: Support for Bluetooth Keyboards? 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, 28 Nov 2006 08:17:58 -0000 --=-UeFtAd2NuguB7jWsTFVt Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2006-11-27 at 10:06 -0800, Maksim Yevmenkin wrote: > Alexandre "Sunny" Kovalenko wrote: > > > > There seems to be a quirk in the bthidd which causes it reattach > > keyboard every couple of minutes, so I am accustomed to seeing vkbd > >> 10000 being attached but these seem to be harmless enough. YMMV, > > though. > > hmmm... i'd like to get more information on this. does this happen when > you type on the keyboard? or when keyboard is idle? > > if this happens when the keyboard is idle, then, i'd guess, the keyboard > simply kills the bluetooth connection to conserve battery. if bluetooth > connection was in fact killed then bthidd(8) will close vkbd(4) device > and it will, in turn, detach vkbd(4) keyboard. > > in any case, could you please get an hci dump (binary) when this happens > and sent it to me? or could you please tell me how to reproduce this > locally? I have attached hcidump (it is 872 bytes). Corresponding spot from message log is: kbd3 at vkbd1640 kbd3 at vkbd1641 kbd3 at vkbd1642 kbd3 at vkbd1643 It does not seem to matter whether I am using the keyboard or not -- I've seen message on the console right as I was typing. On top of these I occassionally see messages about not being able to connect to the keyboard because host is down (error 64), but they are rare and far between (approximately one of them per 25-30 vkbd ones). If it helps, I think it started when I have moved from D-Link DBT-120 dongle to the bluetooth built into ThinkPad X60: ubt0: on uhub3 ubt0: Broadcom Corp BCM2045B, rev 2.00/1.00, addr 2 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320 Keyboard stayed the same and so did software (previous laptop was tracking -CURRENT as well). If there is any additional information I can provide, please, lett me know. -- Alexandre "Sunny" Kovalenko --=-UeFtAd2NuguB7jWsTFVt Content-Disposition: attachment; filename=bthidd.apple.kbd.raw Content-Type: application/octet-stream; name=bthidd.apple.kbd.raw Content-Transfer-Encoding: base64 FAABpbila0U7AA0AAgsgDwALAEEAoQEAACgAAAAAAAAUAAGluKVrRdW5DgACCyAPAAsAQQChAQAA AAAAAAAAABQAAaW8pWtFA5QJAAILIA8ACwBBAKEBAAAUAAAAAAAAFAABpbyla0X05goAAgsgDwAL AEEAoQEAAAAAAAAAAAAUAAGlvKVrRZySDQACCyAPAAsAQQChAQAAGgAAAAAAABQAAaW8pWtFYeoO AAILIA8ACwBBAKEBAAAAAAAAAAAAFAABpb2la0UK8gEAAgsgDwALAEEAoQEAAAgAAAAAAAAUAAGl vaVrRXx4AwACCyAPAAsAQQChAQAAAAAAAAAAABQAAaW9pWtFZ8IFAAILIA8ACwBBAKEBAAAVAAAA AAAAFAABpb2la0U1FgcAAgsgDwALAEEAoQEAAAAAAAAAAAAUAAGlvaVrRYtWCgACCyAPAAsAQQCh AQAAFwAAAAAAABQAAaW9pWtFY3sLAAILIA8ACwBBAKEBAAAAAAAAAAAAFAABpb2la0Wktw4AAgsg DwALAEEAoQEAABwAAAAAAAAUAAGlvqVrRSNrAAACCyAPAAsAQQChAQAAAAAAAAAAABQAAaW+pWtF LGEFAAILIA8ACwBBAKEBAAAoAAAAAAAAFAABpb6la0Wh5QYAAgsgDwALAEEAoQEAAAAAAAAAAAAR AAClw6VrRbkzBwABBQQNV3TTyQMAGMwAAAAAAQcAAaXDpWtFGkIHAAQPBAABBQQOAAGlyKVrRbkz CQAEAwsEDABXdNPJAwABABEAAKXhpWtFBskJAAEFBA1XdNPJAwAYzAAAAAABBwABpeGla0WQ1QkA BA8EAAEFBA4AAaXmpWtFA8YLAAQDCwQMAFd008kDAAEAEQAApf+la0WGdgwAAQUEDVd008kDABjM AAAAAAEHAAGl/6VrRceDDAAEDwQAAQUEDgABpQSma0XVcw4ABAMLBAwAV3TTyQMAAQARAAClHaZr Rcc6DwABBQQNV3TTyQMAGMwAAAAAAQcAAaUepmtF8AMAAAQPBAABBQQOAAGlI6ZrRWn1AQAEAwsE DABXdNPJAwABABQAAaU4pmtF4ccLAAILIA8ACwBBAKEBAQAAAAAAAAAAFAABpTima0WyEQ4AAgsg DwALAEEAoQEBAAYAAAAAAAA= --=-UeFtAd2NuguB7jWsTFVt--