473,503 Members | 1,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 8527
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
3178
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
5218
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
2517
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
2150
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
9153
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
6816
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
3574
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
1580
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
2924
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
7087
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
7334
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...
1
6993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5579
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1514
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.