From owner-freebsd-embedded@FreeBSD.ORG Fri Jun 3 13:13:55 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A98E8106566B; Fri, 3 Jun 2011 13:13:55 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (unknown [IPv6:2001:44b8:7c07:5581:266:e1ff:fe0c:8f16]) by mx1.freebsd.org (Postfix) with ESMTP id 1C4518FC0A; Fri, 3 Jun 2011 13:13:54 +0000 (UTC) Received: from [192.168.11.213] ([193.214.121.5]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p53DDev5068207 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 3 Jun 2011 22:43:45 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: <4DE8AD59.1010304@bsdunix.ch> Date: Fri, 3 Jun 2011 15:13:39 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4DE8AD59.1010304@bsdunix.ch> To: Thomas X-Mailer: Apple Mail (2.1084) X-Spam-Score: -0.272 () BAYES_00,RDNS_NONE X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: freebsd-embedded@freebsd.org, freebsd-usb@freebsd.org Subject: Re: LabJack with FreeBSD? X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2011 13:13:55 -0000 On 03/06/2011, at 11:46, Thomas wrote: > Has someone ever tried to run LabJack U3 with FreeBSD? >=20 > http://labjack.com/u3 >=20 > Labjack offers a combined OSX and Linux driver. It supports libusb. > Maybe it could work with freebsd too. Have you tried building it on FreeBSD? I would expect it to compile with minimal changes, although it may = complain you don't have libusb installed depending on how it detects it. If it uses pkg-config you can put the following in = /usr/local/libdata/pkgconfig/libusb.pc prefix=3D/usr exec_prefix=3D${prefix} libdir=3D${exec_prefix}/lib includedir=3D${prefix}/include Name: libusb Description: USB access library Version: 0.1 Libs: -L${libdir} -lusb Cflags: -I${includedir} and this in /usr/local/libdata/pkgconfig/libusb-1.0.pc=20 prefix=3D/usr exec_prefix=3D${prefix} libdir=3D${exec_prefix}/lib includedir=3D${prefix}/include Name: libusb Description: USB access library Version: 1.0.1 Libs: -L${libdir} -lusb Cflags: -I${includedir} (I am assuming you're running 8.x or higher). -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C