Date: Tue, 21 Oct 2025 16:31:27 -0600 From: Alan Somers <asomers@freebsd.org> To: Marcin Cieslak <saper@saper.info> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: usbhid(4) breaks passkeys? Message-ID: <CAOtMX2gW6p_E80H9Hqc1pZahx3T9EpsCeg4Dd=t0xRzSJPO0kg@mail.gmail.com> In-Reply-To: <08428s9n-72o9-28r1-22n6-rn0r885n62q0@fncre.vasb>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, Oct 21, 2025 at 4:25 PM Marcin Cieslak <saper@saper.info> wrote: > Hello, > > I've just noticed that for some time that my USB passkey does not work > in my browser (Firefox). Setting sysctl hw.usb.usbhid.enable=0 and > re-attaching > the device (so it gets the "uhid" driver) fixes the problem: > > sbhid0: <Nitrokey Nitrokey 3, class 239/2, rev 2.10/1.07, addr 21> on > usbus0 > hidbus2: <HID bus> on usbhid0 > (** does not work **) > ugen0.4: <Nitrokey Nitrokey 3> at usbus0 (disconnected) > usbhid0: at uhub4, port 1, addr 21 (disconnected) > hidbus2: detached > usbhid0: detached > ugen0.4: <Nitrokey Nitrokey 3> at usbus0 > uhid0 on uhub4 > uhid0: <Nitrokey Nitrokey 3, class 239/2, rev 2.10/1.07, addr 22> on usbus0 > (** works **) > > This is an oldish FreeBSD 15 from August... > > Is this a known problem? > > Marcin I'm currently using a Yubikey on FreeBSD 14.3 with usbhid and it works fine. But these things have multiple functions. Maybe usbhid only breaks one. Which function are you using? I'm using PIV and GPG. [-- Attachment #2 --] <div dir="ltr"><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Oct 21, 2025 at 4:25 PM Marcin Cieslak <<a href="mailto:saper@saper.info">saper@saper.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br> <br> I've just noticed that for some time that my USB passkey does not work<br> in my browser (Firefox). Setting sysctl hw.usb.usbhid.enable=0 and re-attaching<br> the device (so it gets the "uhid" driver) fixes the problem:<br> <br> sbhid0: <Nitrokey Nitrokey 3, class 239/2, rev 2.10/1.07, addr 21> on usbus0<br> hidbus2: <HID bus> on usbhid0<br> (** does not work **)<br> ugen0.4: <Nitrokey Nitrokey 3> at usbus0 (disconnected)<br> usbhid0: at uhub4, port 1, addr 21 (disconnected)<br> hidbus2: detached<br> usbhid0: detached<br> ugen0.4: <Nitrokey Nitrokey 3> at usbus0<br> uhid0 on uhub4<br> uhid0: <Nitrokey Nitrokey 3, class 239/2, rev 2.10/1.07, addr 22> on usbus0<br> (** works **)<br> <br> This is an oldish FreeBSD 15 from August...<br> <br> Is this a known problem?<br> <br> Marcin</blockquote><div><br></div><div>I'm currently using a Yubikey on FreeBSD 14.3 with usbhid and it works fine. But these things have multiple functions. Maybe usbhid only breaks one. Which function are you using? I'm using PIV and GPG.</div></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2gW6p_E80H9Hqc1pZahx3T9EpsCeg4Dd=t0xRzSJPO0kg>
