Hi! I'm having a USB HID problem with an MCHOSE Mix 87-III keyboard on OpenBSD 
8.0.

The keyboard works normally in the OpenBSD bootloader, but after the kernel 
starts it becomes unusable. When I press a key, the keyboard's USB HID 
interfaces detach and then immediately get enumerated again.

The relevant dmesg output includes:

uhidev3 at uhub0 port 5 configuration 1 interface 2 "MCHOSE Mix 87-III" rev 
2.00/1.22 addr 3
uhidev3: iclass 3/1, 5 report ids
ukbd1 at uhidev3 reportid 1: no usable key codes array
uhid at uhidev3 reportid 2 not configured
uhid at uhidev3 reportid 3 not configured
uhid at uhidev3 reportid 4 not configured
uhid at uhidev3 reportid 5 not configured

Then, when a key is pressed:

wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev1 detached
uhidev2 detached
ukbd1 detached
uhidev3 detached

The keyboard is then detected again:

uhidev1 at uhub0 port 5 configuration 1 interface 0 "MCHOSE Mix 87-III" rev 
2.00/1.22 addr 3
uhidev1: iclass 3/1
ukbd0 at uhidev1
wskbd1 at ukbd0 mux 1
uhidev2 at uhub0 port 5 configuration 1 interface 1 "MCHOSE Mix 87-III" rev 
2.00/1.22 addr 3
uhidev2: iclass 3/0
uhid at uhidev2 not configured
uhidev3 at uhub0 port 5 configuration 1 interface 2 "MCHOSE Mix 87-III" rev 
2.00/1.22 addr 3
...

The keyboard firmware is already the latest version (1.22). It is connected 
directly to a USB 2.0 port. I also tested with RGB disabled and with a basic 1 
kHz polling-rate configuration.

The keyboard works in Windows and in the OpenBSD bootloader; the problem 
appears only after the OpenBSD kernel initializes the USB/HID devices.

Could this be a known HID/uhidev/ukbd compatibility issue with this keyboard's 
multiple HID interfaces? Is there a USB quirk or kernel patch that could 
prevent the third HID interface from being attached as "ukbd"?

Sent from [Proton Mail](https://proton.me/mail/home) for Android.

Reply via email to