Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2009 17:49:48 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        Ghirai <ghirai@ghirai.com>, freebsd-questions@freebsd.org
Subject:   Re: phidgets for FreeBSD?
Message-ID:  <20090608164419.G38006@sola.nimnet.asn.au>
In-Reply-To: <20090605224132.GB24364@lor.one-eyed-alien.net>
References:  <20090603190455.811E01065687@hub.freebsd.org> <20090605233731.W38006@sola.nimnet.asn.au> <20090605224132.GB24364@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@ghirai.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090608164419.G38006>