On Tue, Mar 03, 2020 at 03:26:47PM +1100, matthew green wrote: > without really understanding, it seems that there should be > a uhid ioctl to enable this mode, and then your userland code > sets it, instead of this hack.
Or make uhid not attach at all on FIDO devices and instead use ugen from userland? Or solve the long standing "every usb devices should be able to eject its driver and be used as ugen instead" problem, see also the various JTAG devices showing up as dual uftdi and you need to override in your kernel config like: # GuruPlug JTAG debug interface ugenif* at uhub? vendor 0x9e88 product 0x9e8f interface 0 flags 1 Most devices go via uhid to make userland access easy on windows, but for us it makes no real difference. Martin