Support for Bluetooth Keyboards?

Alexandre "Sunny" Kovalenko Alex.Kovalenko at verizon.net
Tue Nov 28 00:17:58 PST 2006


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: <Broadcom Corp BCM2045B, class 224/1, rev 2.00/1.00, addr 2> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bthidd.apple.kbd.raw
Type: application/octet-stream
Size: 872 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bluetooth/attachments/20061128/8c05a1d6/bthidd.apple.kbd.obj


More information about the freebsd-bluetooth mailing list