Paul Sanwald wrote:
hey everyone,
is anyone running the jsb package sucessfully on linux? I am
running Redhat 8 and have compiled in ehci device support, but for
some reason I'm getting an exception:
java.io.IOException: USB Host support is unavailable
I can't seem to find anyone else with this error, and reading the jusb
docs on sourceforge hasn't helped. any ideas?
Hey Paul:
It's working just fine here. I strongly suggest, however, that instead
of downloading their .tgz file off SourceForge that you go and grab the
sources directly from their CVS tree.
Once downloaded and built, you need to ensure that libjusb.so gets
copied over to $JAVA_HOME/jre/lib/i386, and that it has read and evecute
permissions for your user. Also ensure that you have the usbdevfs
virtual device mounted, and that your user has proper R/W access to it.
Lastly, depending on what USB device you want to talk to, you _may_
need to disable hotplug (or at least blacklist any installed modules
that may also attempt to talk to your device). If the device already
has support in Linux, hotplug will load it's associated module and give
it exclusive I/O access before you can grab the device from jUSB.
HTH!
Brad BARCLAY
--
=-=-=-=-=-=-=-=-=
From the OS/2 WARP v4.5 Desktop of Brad BARCLAY.
The jSyncManager Project:
http://www.jsyncmanager.org