bluetooth multi devices fast switching from keyboard not working

Long story short, I think what kind of worked was doing



doas bluetooth-config scan


Then each time I hit Fn+W (which is the one I set to FreeBSD)

because the keyboard instead of reconnecting shows W blinking indicating that is trying to pair with something..... so... Seems I can do to reconnect to device if I do this (Im typing from my BT keyboard rn after with a cable keyboard I pasted this commands and hit enter):

Code:
doas pkill -f hcsecd
            doas pkill -f bthidd
            doas rm -f /var/db/hcsecd.keys /var/db/bthidd.hids
            doas service hcsecd onestart
            doas service bthidd onestart 
            doas tail -f /var/log/messages
Starting hcsecd.
Starting bthidd.
Oct 20 17:54:33 bzd kernel: linux: jid 0 pid 5749 (MemoryInfra): unsupported TCP socket option TCP_INFO (11)
Oct 20 17:54:43 bzd kernel: linux: jid 0 pid 5752 (ServiceWorker t): unsupported prctl option 1398164801
Oct 20 17:54:43 bzd syslogd: last message repeated 5 times
Oct 20 17:54:43 bzd kernel: linux: jid 0 pid 78498 (brave): unsupported prctl option 1398164801
Oct 20 17:54:43 bzd syslogd: last message repeated 4 times
Oct 20 17:54:43 bzd kernel: linux: jid 0 pid 78498 (brave): unsupported sigaction flag 0x800
Oct 20 17:54:43 bzd syslogd: last message repeated 8 times
Oct 20 17:54:43 bzd kernel: linux: jid 0 pid 78498 (Chrome_ChildIOT): unsupported prctl option 1398164801
Oct 20 17:54:55 bzd bthidd[78354]: Got signal 15, total number of signals 1
Oct 20 17:54:55 bzd bthidd[78617]: Opening outbound session for 12:34:7X:9X:eX:fX (new_device=1, reconnect_initiate=1)
Oct 20 17:54:59 bzd kernel: kbd9 at vkbd13



Also when I switched the button to RF instead of wifi I got this

Code:
Oct 20 17:54:17 bzd bthidd[78354]: Remote device 12:34:73:9c:e7:fb has closed control connection
Oct 20 17:54:17 bzd seatd[5372]: 08:27:38.081 [ERROR] [seatd/seat.c:455] Could not revoke evdev on device fd: Inappropriate ioctl for device
Oct 20 17:54:33 bzd kernel: linux: jid 0 pid 5749 (MemoryInfra): unsupported TCP socket option TCP_INFO (11)
Oct 20 17:54:43 bzd kernel: linux: jid 0 pid 5752 (ServiceWorker t): unsupported prctl option 1398164801


From some LLM seems this is missing or something like that???

Code:
$ doas cat /var/db/hcsecd.keys
cat: /var/db/hcsecd.keys: No such file or directory

Is never created.

I still have the option to use RF antenna for Freebsd and bluetooth for others PCs... but will love touse bluetooth too here so no need to connect the extra antenna to the freebsd pc.
 
Back
Top