From owner-freebsd-questions@FreeBSD.ORG Mon Jun 8 07:49:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D30A106566B; Mon, 8 Jun 2009 07:49:52 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id D91688FC08; Mon, 8 Jun 2009 07:49:51 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id n587nmLb051948; Mon, 8 Jun 2009 17:49:49 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 8 Jun 2009 17:49:48 +1000 (EST) From: Ian Smith To: Brooks Davis In-Reply-To: <20090605224132.GB24364@lor.one-eyed-alien.net> Message-ID: <20090608164419.G38006@sola.nimnet.asn.au> References: <20090603190455.811E01065687@hub.freebsd.org> <20090605233731.W38006@sola.nimnet.asn.au> <20090605224132.GB24364@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Ghirai , freebsd-questions@freebsd.org Subject: Re: phidgets for FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 07:49:52 -0000 On Fri, 5 Jun 2009, Brooks Davis wrote: > On Sat, Jun 06, 2009 at 01:25:09AM +1000, Ian Smith wrote: > > On Wed, 3 Jun 2009 15:07:53 +0300 Ghirai wrote: > > > Is there any (native) FreeBSD supoprt for Phidgets > > > (http://www.phidgets.com? > > > > > > Someone seems to have attempted (and succeeded) to run things on 7.0, > > > some time ago, but there doesn't seem to be any further info > > > (http://www.phidgets.com/phorum/viewtopic.php?f=2&t=507). > > > > > > Any ideas? > > > > No, but colour me interested too. Thanks for the pointer. > > > > Copying this to Brooks, who started that thread in 2005 with a patch for > > phidgets 2.0, which left me wondering if anything has become of that in > > the 2.1 linux sources, which I'm just grabbing. > > I've not really found time to do much since then. I think I've still > got an ancient port around somewhere. All my patch did was refactor the > error handling which caused basic stuff to work for me. Hi, 'scuse delay, been bogged down trying to (learn how to) resuccitate several old debian linux servers for a community radio station (eek!) The thread mentioned above points to your patch, is that all of it? I tried poking around your p4 area but didn't spot anything else related. > > I'm generally interested in whether linux applications using libusb are > > more likely than not to work on FreeBSD, operational differences between > > libusb on FreeBSD and linux, and whether our new USB stack has changed > > anything in that equation at all? > > As a rule, libusb stuff will work. Historically the function to allow > a kernel driver (usually hid) to be detached hasn't been supported, but > otherwise it's functional. Thanks, but please humour my ignorance - would one install linux libusb in /compat/linux for linux apps, as well as the freebsd port for native? Looks like I need to hang out in freebsd-emulation@ and read lots. Any other pointers (anyone)? I'm really hoping to use a FreeBSD box to talk and listen at 400kHz(+) iicbus with a small gadget we're designing, and everything I've seen, eg the Aardvark, is (apart from 'doze of course) linux-only using libusb, including phidgets. cheers, Ian