473,387 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

jusb

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
2 8517
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Benjamin Schmid | last post by:
Hello, I know thats probably the wrong place - anyway: Is there anyone running jusb on Linux? I tried to install, but when I type sh bin/install, I get "can't find libjusb.so" Which step of...
2
by: Fred | last post by:
Hi, I'm thinking about using a USB attached device for some data collection. I can use other languages to "talk" with it, but I'd prefer a Java solution. Does anybody have any experience with USB...
8
by: Tux | last post by:
Is it possible and does someone try to make driver for Linux in Java, for some USB device? Could Java do that ? I saw jUSB package but it seems that works only with the devices which Linux...
1
by: kenk | last post by:
Hi, There is some API in Java (J2SE) that deal with USB interface. I want to write application that recieve and send some data to mobile phone through USB cable. I'll be obligated if someone can...
4
by: deboshripauL | last post by:
hii frenz.. can sumbody tell me d way to go abt interfacing of java programs wid USB devices n ports... dis is reqd 4 a project m tryin 2 work on.. d details of d project r as follows: To...
9
by: RiskyHunter | last post by:
Hi ^_^ i wanna ask if anybody knew how to send SMS to GSM Modems thru Java. How can i send specific message to the GPRS modem with java?? i wanna the starting point, Can any body help?
1
by: spongify | last post by:
Gud Day! Can I enable/disable USB port using java?? Do you guyz have a code for that?? thanks!
1
by: raviid | last post by:
hi this is ravi.I'm googling around to check for any of the java usb apis to access the usb from my java application.can anyone help me out on this issue
1
kirankumark
by: kirankumark | last post by:
hiii.. I am given a project work in my college..i.e. to operate an external device which captures images, for which i have to send the signals to the modem connected to the ports. so what...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.