Re: Yubikey

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Wed, 10 Jun 2009 13:12:35 +0200
On Tuesday 09 June 2009 14:39:19 Jeremy Faulkner wrote:
> On Tue, Jun 9, 2009 at 4:22 AM, Hans Petter Selasky<hselasky_at_c2i.net> wrote:
> > On Tuesday 09 June 2009 05:24:24 Mel Flynn wrote:
> >> On Saturday 06 June 2009 10:02:05 Jeremy Faulkner wrote:
> >> > Has anybody gotten a Yubikey to work with FreeBSD? It attaches as a
> >> > uhid device on both 7 and 8.
> >> >
> >> > ugen5.5: <Yubico> at usbus5
> >> > uhid0: <Yubico Yubico Yubikey Touch, class 0/0, rev 2.00/1.32, addr 5>
> >> > on usbus5
> >
> > Hi,
> >
> >> Attachment copied.
> >
> > The subclass and protocol are not correct, so the device is not detected
> > like a keyboard. Probably we could add an additional check there to
> > verify that the HID descriptor contains Keyboard descriptions.
> >
> >      bInterfaceClass         3 Human Interface Device
> >      bInterfaceSubClass      0 No Subclass
> >      bInterfaceProtocol      0 None
> >      iInterface              0
> >
> > --HPS
>
> The NetBSD kbd checks the Report Descriptors for Generic Desktop
> Controls (0x01) and Keyboard (0x06). It doesn't check for the sub
> class or interface protocol.

I will make a patch for this. Stay tuned.

--HPS
Received on Wed Jun 10 2009 - 09:08:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC