Re: libusb for linux-emulation

2008-10-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Oliver Fromme <[EMAIL PROTECTED]> writes: : Martin Laabs wrote: : > Hans Petter Selasky wrote: : > > No, you cannot use the linux libusb on FreeBSD. You need to use the FreeBSD : > > compiled libusb. The USB kernel interfaces are quite different. : >

Re: libusb for linux-emulation

2008-10-27 Thread Oliver Fromme
Martin Laabs wrote: > Hans Petter Selasky wrote: > > No, you cannot use the linux libusb on FreeBSD. You need to use the FreeBSD > > compiled libusb. The USB kernel interfaces are quite different. > > OK - I see. I'm just trying to build a "hermaphrodite" library. Compile with > linux but us

Re: libusb for linux-emulation

2008-10-24 Thread Daniel O'Connor
On Saturday 25 October 2008 05:57:36 Hans Petter Selasky wrote: > Why can't you use and install: > > /usr/ports/devel/libusb > > ? Because that gives you a FreeBSD libusb and he needs to have a Linux program talk to a USB device. I'd like this too but it's beyond by ken :( (It would be handy for

Re: libusb for linux-emulation

2008-10-24 Thread Hans Petter Selasky
Hi Martin, Why can't you use and install: /usr/ports/devel/libusb ? --HPS On Friday 24 October 2008, Martin Laabs wrote: > Hi, > > On Fri, 24 Oct 2008 19:51:31 +0200, Hans Petter Selasky <[EMAIL PROTECTED]> wrote: > > No, you cannot use the linux libusb on FreeBSD. You need to use the > > Fre

Re: libusb for linux-emulation

2008-10-24 Thread Martin Laabs
Hi, On Fri, 24 Oct 2008 19:51:31 +0200, Hans Petter Selasky <[EMAIL PROTECTED]> wrote: > > No, you cannot use the linux libusb on FreeBSD. You need to use the FreeBSD > compiled libusb. The USB kernel interfaces are quite different. OK - I see. I'm just trying to build a "hermaphrodite" library

Re: libusb for linux-emulation

2008-10-24 Thread Hans Petter Selasky
On Friday 24 October 2008, Martin Laabs wrote: > Hi, > > I'd like to run a program in linux-emulation (closed source ...) > which uses the libusb. Is the structure (ioctls on devices and so on) > sufficient compatible to use a linux libusb? > Or is there any way to build a simple wrapper library to