[Bug 255542] Bluetooth Could not connect to HC: 5

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 18 Feb 2023 10:04:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255542

--- Comment #3 from Nico Sonack <nsonack@outlook.com> ---
After debugging this for a while, I found out that /var/db/hcsecd.keys is the
issue.

A workaround for me is the following:

# service hcsecd stop
# rm /var/db/hcsecd.keys
# service hcsecd start

And then the usual steps of hccontrol create_connection and virtual_oss.

One drawback of this approach is that you have to repair the devices every time
you want to connect them. For some reason I have yet to find out, I can keep
the headphones paired to two FreeBSD machines - however when I connect it to a
third the connection fails with the previously described error.

All of the machines are now running FreeBSD 13.1-RELEASE amd64, though I doubt
that matters.

-- 
You are receiving this mail because:
You are the assignee for the bug.