From owner-freebsd-usb@FreeBSD.ORG Fri Jun 1 14:06:30 2012 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 43A47106564A for ; Fri, 1 Jun 2012 14:06:30 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from mail-gh0-f172.google.com (mail-gh0-f172.google.com [209.85.160.172]) by mx1.freebsd.org (Postfix) with ESMTP id F07D08FC0C for ; Fri, 1 Jun 2012 14:06:29 +0000 (UTC) Received: by ghbg16 with SMTP id g16so1904234ghb.17 for ; Fri, 01 Jun 2012 07:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8MtL2vo+Gofg9sd5jOeYTJH1qXQbtNX2WDKZj4/g2NU=; b=K1353nqEDFDMW6MnmaPQephQ7guyQbcavr5RTcF+m8Pij4vmVNzQ7GrzsvFsVDIA45 +wShDoypFpeY1Vo+HjBbJvbRQ7hYfSSo6jM5lmM8vFyHDVE2lyOFZUfj6uNyBvXEJg+h OZHw4+bxd5SVjVU1WMvyL/BlBP+El9duFCcURaECrnFcibnyS2OAVvWRziSCyC07bRMr qLOb7g3HVc4Bz4nZckqRi2t8GUsBSdQGzxnAebsV+xhVBpzeYw9A+mStsbxAOCosqwc6 GMP7t8YGCZ3fdYcalq0t9HJofbVylT7vmPBXVK+irJLUF7H8b0cPYzelUU2fVhg4mRB0 zmIA== MIME-Version: 1.0 Received: by 10.236.153.8 with SMTP id e8mr2828041yhk.80.1338559589272; Fri, 01 Jun 2012 07:06:29 -0700 (PDT) Received: by 10.236.50.16 with HTTP; Fri, 1 Jun 2012 07:06:29 -0700 (PDT) In-Reply-To: <026d01cd3ffc$d69ca130$83d5e390$@com> References: <201205280640.q4S6e6L0035127@freefall.freebsd.org> <01e901cd3f4a$c30d4910$4927db30$@com> <201206010910.27817.hselasky@c2i.net> <026d01cd3ffc$d69ca130$83d5e390$@com> Date: Fri, 1 Jun 2012 22:06:29 +0800 Message-ID: From: Xiaofan Chen To: Engineering Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-usb@freebsd.org Subject: Re: Recommendations for programming HID in FreeBSD 9 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: Fri, 01 Jun 2012 14:06:30 -0000 On Fri, Jun 1, 2012 at 9:45 PM, Engineering wrote: > I had been researching libusb for a while, but their webpage says it is not > recommended for HID devices and to use HIDAPI, which does not seem to be on > BSD. HIDAPI does work under FreeBSD using libusb (1.0 API) as the backend. https://github.com/signal11/hidapi/commit/74440e2dbbba80b4abcc4304ddae9e484231b72d https://github.com/signal11/hidapi/tree/master/libusb -- Xiaofan