From owner-freebsd-usb@FreeBSD.ORG Mon Aug 13 19:52:05 2007 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 7BD9016A417 for ; Mon, 13 Aug 2007 19:52:05 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id B08C613C494 for ; Mon, 13 Aug 2007 19:52:03 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l7DJq2Bw079476; Mon, 13 Aug 2007 14:52:02 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l7DJq2uK079475; Mon, 13 Aug 2007 14:52:02 -0500 (CDT) (envelope-from brooks) Date: Mon, 13 Aug 2007 14:52:02 -0500 From: Brooks Davis To: Robert Cousins Message-ID: <20070813195202.GB76135@lor.one-eyed-alien.net> References: <46BB4D21.1040202@RCousins.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="R+My9LyyhiUvIEro" Content-Disposition: inline In-Reply-To: <46BB4D21.1040202@RCousins.com> User-Agent: Mutt/1.5.15 (2007-04-06) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Mon, 13 Aug 2007 14:52:02 -0500 (CDT) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: How to talk to a USB Device 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, 13 Aug 2007 19:52:05 -0000 --R+My9LyyhiUvIEro Content-Type: multipart/mixed; boundary="ZfOjI3PrQbgiZnxM" Content-Disposition: inline --ZfOjI3PrQbgiZnxM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 09, 2007 at 10:21:37AM -0700, Robert Cousins wrote: > Hello: > I've got several USB devices which I'd like to talk to from a program. > They are Phigets -- a servo controller, an RFID reader, etc. > Could someone please give me a hint as to the best starting point for= =20 > learning > how to use libusb and the associated facilities? I've been lurking for a= =20 > while on this > list and haven't seen/heard what I think I need to know. I've attached a port of libphiget from a couple years ago. You will need to modify your kernel to not include or load the uhid module or to exclude the devices so they appear as ugen devices. -- Brooks --ZfOjI3PrQbgiZnxM-- --R+My9LyyhiUvIEro Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGwLZhXY6L6fI4GtQRAsezAJ9KmswsXWNWCL9Osh4VeASBgqaSbQCfTRsy uFNfkyJb8ElZ5RtCggiw7xw= =fGCa -----END PGP SIGNATURE----- --R+My9LyyhiUvIEro--