Re: jusb

From: Brad BARCLAY (bbarclay_at_jsyncmanager.org)
Date: 12/17/03


Date: Wed, 17 Dec 2003 15:14:47 GMT

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



Relevant Pages

  • Re: Linux ip address
    ... Hash: SHA1 ... > can anyone tell me how to find the ip on a linux box ... > I am running redhat 9 and get out on the internet on a router ...
    (alt.linux)
  • Re: OT: who said on this group "try Linux" a while back?
    ... Boot up - hey this looks clean. ... linux will *never* be anything other than a tech nerd curiosity. ... remember the last time I had to manually adjust a setting in windows that I ...
    (uk.legal)
  • Re: OT: who said on this group "try Linux" a while back?
    ... took an old 120gig drive and put latest release of Ubuntu on it. ... Boot up - hey this looks clean. ... linux will *never* be anything other than a tech nerd curiosity. ... I'll keep it on the drive but is there *really* anything thats gonna make ...
    (uk.legal)
  • Re: OT: who said on this group "try Linux" a while back?
    ... took an old 120gig drive and put latest release of Ubuntu on it. ... Boot up - hey this looks clean. ... linux will *never* be anything other than a tech nerd curiosity. ... remember the last time I had to manually adjust a setting in windows that I ...
    (uk.legal)
  • run RedHat AS4 on VMWare ESX 3
    ... please does any one have experience on running redhat ... AS4 on VMWare virtual machines? ... of upgrading servers and one option is vitalisation. ... samba to mount shared between Linux and windows, ...
    (RedHat)