Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 08:39:19 -0400
From:      Jeremy Faulkner <gldisater@gmail.com>
To:        Hans Petter Selasky <hselasky@c2i.net>, usb@freebsd.org, current@freebsd.org
Subject:   Re: Yubikey
Message-ID:  <ca650bda0906090539q630c3dfbg53cc2b61f33c2cb8@mail.gmail.com>
In-Reply-To: <200906091022.41813.hselasky@c2i.net>
References:  <ca650bda0906061102s55523b01q8e6cc22e5a6b0312@mail.gmail.com> <200906081924.24901.mel.flynn%2Bfbsd.current@mailing.thruhere.net> <200906091022.41813.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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.

-- 
Jeremy Faulkner



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