phidgets for FreeBSD?

Ian Smith smithi at
Mon Jun 8 07:49:52 UTC 2009

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 <ghirai at> wrote:
 > >  > Is there any (native) FreeBSD supoprt for Phidgets
 > >  > (
 > >  > 
 > >  > 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
 > >  > (
 > >  > 
 > >  > 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

More information about the freebsd-questions mailing list