On Mon, 17 Dec 2007, Alexander Leidinger wrote: > > The thing I am not sure about is how ioctl's would get mangled on > > the way through. > > They get interpreted as linux ioctl, as they are handled by the > linuxulator. You could try to write a wrapper there...
Yeah.. Maybe an FS approach would be simpler since there is already a framework. > > I guess the other approach would be to use a standard Linux libusb > > but emulate the device tree it uses in Linux.. Would be a lot of > > work though I think. > > As long as you can specify the devices in the linux app, it's enough > to translate the ioctl's. Apart from that, there's some kind of > translation layer for devices already, but I don't know if it just a > Linux major/minor -> FreeBSD dev mapping, or if you can map linux dev > -> FreeBSD dev. Not sure I can specify the devices, but there's always ln :) > AFAIR HPS' USB stack has linux compatibility, maybe you should ask > him / have a look at it. I had a look at the code but I can't see any Linux related code. -- 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
signature.asc
Description: This is a digitally signed message part.