question about bthidd client.c
Waitman Gobble
gobble.wa at gmail.com
Wed Apr 22 17:57:27 UTC 2015
On Wed, Apr 22, 2015 at 10:45 AM, Maksim Yevmenkin
<maksim.yevmenkin at gmail.com> wrote:
> On Tue, Apr 21, 2015 at 10:34 PM, Waitman Gobble <gobble.wa at gmail.com> wrote:
>>
>> I notice that if bthidd is running, and bluetooth is not active, or
>> the configured host is out of range, the client_rescan() function
>> generates new vkbd devices every 20 seconds or so. I believe this will
>> eventually lock up the machine.
>>
>
> may be... usually devices will reconnect, i.e. reconnect_initiate
> would be 1. however, this is a known problem. for whatever reason
> "cloned" devices are not completely going away when closed. similar
> problem exists with other "cloned" devices. its not bthidd or
> bluetooth code specific.
>
> thanks
> max
Thanks for the reply. Is there a better way to decide if a device is
'connectable'? It looks like a chicken-and-egg kind of problem, since
the connect routine uses the established vkbd device. I am thinking
that attempting to connect to the device on psm 1 is a way to verify
that the host is connectable in the first place, before creating a new
vkbd. Or, maybe the new vkbd can be destroyed on failure... but maybe
this would cause other problems.
I noticed this problem when I had the dongle unplugged, so there was
no bluetooth available. But I had left bthidd set to start in rc.conf.
Thank you,
--
Waitman Gobble
Los Altos California USA
510-830-7975
More information about the freebsd-bluetooth
mailing list