[Bug 289340] keychron v8 max cannot continue receiving input if usb port gets reset

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 06 Sep 2025 21:52:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289340

--- Comment #1 from Jonathan Vasquez <jon@xyinn.org> ---
I purchased and installed a new USB hub/kvm to replace my old set up and now I
no longer see any of the disconnect/reconnect. This helps alleviate the
symptoms a bit since the 2.4 GHz receiver can stay connected to the dock and I
should have a stable link as long as I don't switch the KVM to the second
computer, since that will trigger w/e bug is happening right now. It also means
I can't disconnect the laptop from the KVM either. For now I can move the 2.4
GHz receive to a port on the Framework Laptop directly since I don't normally
need to have the keyboard connected to the second machine connected to the KVM,
which will allow me to a bit more mobile.

Now with that out of the way, I ran a few more tests and found the following:

1. I can unplug and plug the receiver when we are at the geli bootloader
decryption screen and the keyboard will continue to work with no issues. This
is probably because at that stage we are still using the UEFI drivers and the
system hasn't transferred control to the FreeBSD kernel, this different
drivers.

2. I can reproduce the issue by simply re-enumerating the device:

usbconfig -d ugen3.5 reset

will cause the device to stop working. From some earlier tests, if I did the
power_down / power_on, it didn't work.

I've attached some new files for inspection: dmesg.1.txt, dmesg.2.txt, and
usbconfig.1.txt. The first dmesg is the dmesg on initial boot with working
keyboard communication. The second dmesg is after I forced a reset and the
keyboard stopped working.

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