On 2025/08/19 10:52, [email protected] wrote:
> >Synopsis:    Yubikey fingerprint does not respond anymore
> >Category:    USB hardware
> >Environment:
>       System      : OpenBSD 7.7
>       Details     : OpenBSD 7.7-current (GENERIC.MP) #101: Mon Aug 18 
> 11:52:43 MDT 2025
>                        
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
> 
>       When touching my yubikey, the usual string of characters does not get 
> typed to the current input. The yubikey seems to be detected, but the HID 
> device seems to be ignored?

OpenBSD doesn't have a way to do runtime config of USB devices (e.g.
attaching/detaching a certain device from kernel drivers), it is only
able to be done by a compile-time-changeable quirks table and driver
attach routines.

So you will need to run a patched kernel at this point. Simple change:

Index: ukbd.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/ukbd.c,v
diff -u -p -r1.91 ukbd.c
--- ukbd.c      14 Aug 2025 14:39:44 -0000      1.91
+++ ukbd.c      19 Aug 2025 09:45:02 -0000
@@ -201,7 +201,7 @@ ukbd_match(struct device *parent, void *
         * is difficult to disable.  Policy decision: Don't attach
         * as a keyboard.
         */
-       if (uha->uaa->vendor == USB_VENDOR_YUBICO)
+       if (0 && uha->uaa->vendor == USB_VENDOR_YUBICO)
                return (UMATCH_NONE);
 
        if (UHIDEV_CLAIM_MULTIPLE_REPORTID(uha))

Reply via email to