From owner-freebsd-current@FreeBSD.ORG Tue Jun 9 13:09:50 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4119106566B for ; Tue, 9 Jun 2009 13:09:50 +0000 (UTC) (envelope-from gldisater@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8AD8FC08 for ; Tue, 9 Jun 2009 13:09:50 +0000 (UTC) (envelope-from gldisater@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so2230000ywe.13 for ; Tue, 09 Jun 2009 06:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=TVSWDpYh2OW0+CIu9NOYZpqN4ApxlHp3MOpj0ZEuf1A=; b=GRtz7MUnGcyS9vqN3tRa+SaEMPnehIo29PnUnVrP1cHeGn4RksscOtWqFzf1LxPank ExBsJNdhUPEd5w1y2Wk8Xy9BcT60vZITY3FQvzXC/6cslWXFHzdIjj+sesY5oha3NHUh fIMdyhFyyxs75r0KlMgukEm4QUX42jAlvbEBA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=I6/73FPF37Lr/69OTJrlgIMLZm38cLpzDnzKvbnLat6mNCOspcYqcPzjbQPzKdbS0y FB6MvqXW7kRf+H6bLAlWNnC8wsVrsLWJG3wjJlmyAe0eS+3bOW+3P/+loe/VNP7bdKHH evCLKPcBrRe6QXB/eHzIeIcNmwO2ny2u+2O0s= MIME-Version: 1.0 Received: by 10.100.125.14 with SMTP id x14mr89049anc.136.1244551159251; Tue, 09 Jun 2009 05:39:19 -0700 (PDT) In-Reply-To: <200906091022.41813.hselasky@c2i.net> References: <200906081924.24901.mel.flynn+fbsd.current@mailing.thruhere.net> <200906091022.41813.hselasky@c2i.net> Date: Tue, 9 Jun 2009 08:39:19 -0400 Message-ID: From: Jeremy Faulkner To: Hans Petter Selasky , usb@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Yubikey X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2009 13:09:50 -0000 On Tue, Jun 9, 2009 at 4:22 AM, Hans Petter Selasky 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: at usbus5 >> > uhid0: = 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 tha= t the > HID descriptor contains Keyboard descriptions. > > =C2=A0 =C2=A0 =C2=A0bInterfaceClass =C2=A0 =C2=A0 =C2=A0 =C2=A0 3 Human I= nterface Device > =C2=A0 =C2=A0 =C2=A0bInterfaceSubClass =C2=A0 =C2=A0 =C2=A00 No Subclass > =C2=A0 =C2=A0 =C2=A0bInterfaceProtocol =C2=A0 =C2=A0 =C2=A00 None > =C2=A0 =C2=A0 =C2=A0iInterface =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A00 > > --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. --=20 Jeremy Faulkner