Skip site navigation (1)Skip section navigation (2)
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>
References:  <08428s9n-72o9-28r1-22n6-rn0r885n62q0@fncre.vasb>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000076209b0641b2c363
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 21, 2025 at 4:25=E2=80=AFPM Marcin Cieslak <saper@saper.info> w=
rote:

> 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=3D0 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 usbu=
s0
>   (** 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.

--00000000000076209b0641b2c363
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote gmail_quote_container"><div dir=
=3D"ltr" class=3D"gmail_attr">On Tue, Oct 21, 2025 at 4:25=E2=80=AFPM Marci=
n Cieslak &lt;<a href=3D"mailto:saper@saper.info">saper@saper.info</a>&gt; =
wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br=
>
<br>
I&#39;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=3D0 and re-att=
aching<br>
the device (so it gets the &quot;uhid&quot; driver) fixes the problem:<br>
<br>
sbhid0: &lt;Nitrokey Nitrokey 3, class 239/2, rev 2.10/1.07, addr 21&gt; on=
 usbus0<br>
hidbus2: &lt;HID bus&gt; on usbhid0<br>
=C2=A0 (** does not work **)<br>
ugen0.4: &lt;Nitrokey Nitrokey 3&gt; at usbus0 (disconnected)<br>
usbhid0: at uhub4, port 1, addr 21 (disconnected)<br>
hidbus2: detached<br>
usbhid0: detached<br>
ugen0.4: &lt;Nitrokey Nitrokey 3&gt; at usbus0<br>
uhid0 on uhub4<br>
uhid0: &lt;Nitrokey Nitrokey 3, class 239/2, rev 2.10/1.07, addr 22&gt; on =
usbus0<br>
=C2=A0 (** 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&#39;m currently using a Yubikey on=
 FreeBSD 14.3 with usbhid and it works fine.=C2=A0 But these things have mu=
ltiple functions.=C2=A0 Maybe usbhid only breaks one.=C2=A0 Which function =
are you using?=C2=A0 I&#39;m using PIV and GPG.</div></div></div>

--00000000000076209b0641b2c363--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2gW6p_E80H9Hqc1pZahx3T9EpsCeg4Dd=t0xRzSJPO0kg>