From owner-freebsd-usb@FreeBSD.ORG Mon Jun 8 19:23:25 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 749181065672 for ; Mon, 8 Jun 2009 19:23:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swip.net [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 09FA18FC13 for ; Mon, 8 Jun 2009 19:23:24 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=dT19lrtdAAAA:8 a=-sFKTNmngB0KHzNMXvgA:9 a=3PP3XBUOxW8iSlBQ5OgA:7 a=fCMjAaYYjiT8AcXNp_rm6TymXd4A:4 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 511855403; Mon, 08 Jun 2009 21:23:23 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 8 Jun 2009 21:27:34 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906082127.35793.hselasky@c2i.net> Cc: Subject: Re: Yubikey - cont'd X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 19:23:25 -0000 On Monday 08 June 2009 02:07:32 Jeremy Faulkner wrote: > Thanks for the reply Hans. I can't reply to the original thread as I > wasn't subscribed to usb@ and didn't mention that in my previous > email. I'm subscribed now. > > I assume you meant 'cat /dev/usb/5.5.1 | hexdump -C' as 'hexdump C' > expects C to be a file. I've attached the output of hexdump when the > Yubikey is triggered. Your Yubikey input looks like the input of a keyboard. I'm a little bit busy at the moment. What needs to be done is to search for Yubikey in the NetBSD ukbd.c driver (sys/dev/usb) and port those changes to the FreeBSD ukbd.c driver (sys/dev/usb/input). Is that something you can do? You might find the following link useful: http://fxr.watson.org --HPS