By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,468 Members | 1,859 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,468 IT Pros & Developers. It's quick & easy.

jusb

P: n/a
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?

--paul
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

Jul 17 '05 #2

P: n/a
Brad BARCLAY <bb******@jsyncmanager.org> wrote in message news:<Hp*******************@twister01.bloor.is.net .cable.rogers.com>...

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.


thanks for the help!

--paul
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.