Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 13:12:35 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Jeremy Faulkner <gldisater@gmail.com>
Cc:        usb@freebsd.org, current@freebsd.org
Subject:   Re: Yubikey
Message-ID:  <200906101312.38132.hselasky@c2i.net>
In-Reply-To: <ca650bda0906090539q630c3dfbg53cc2b61f33c2cb8@mail.gmail.com>
References:  <ca650bda0906061102s55523b01q8e6cc22e5a6b0312@mail.gmail.com> <200906091022.41813.hselasky@c2i.net> <ca650bda0906090539q630c3dfbg53cc2b61f33c2cb8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 09 June 2009 14:39:19 Jeremy Faulkner wrote:
> On Tue, Jun 9, 2009 at 4:22 AM, Hans Petter Selasky<hselasky@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




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