Hi all i have a small request...
First of all, I want to read data from a scientific instrument, that is
connected via the usb-interface...
The way to here:
1. I tried getting the javax.usb to work under xubuntu 7.10.
This i can now do but with this output:
So i am guessing that my configuration of the javax.usb is correct. And
there it's a problem with the OS.
"
Found 1 devices total.
Found 0 devices with vendor ID0x0951 product ID 0x1602.
Found 1 devices with device class 0x09.
Found 0 devices with manufacturer string "Kingston Technology".
"
2. I then found out that this proparly is due to read/write access on the
usbfs filesystem.
By using the command "mount" I get a list of all the devices i have
mounted...
In this list the "usbfs" filesystem isn't displayed..
So:
3. I try load it like this:
"sudo mount -o devmode=3D666 -t usbfs usbfs /proc/bus/usb"
I then run "java FindUsbDevice" with exactly the same output as last time
(see 1.)!!!
4. Searching the net i find these commands, which i run:
"sudo rmmod usbhid"
,
"sudo rmmod hid"
and
"java FindUsbDevice"
But to no prevail!!! Same output!
5. I also tried running:
"sudo java FindUsbDevice"
And then i get:
"
Exception in thread "main" java.lang.UnsupportedClassVersionError:
FindUsbDevice (Unsupported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(
SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
"
I am blank... What could the problem be?
I am guessing that the "sudo java FindUsbDevice" is due to the classpath not
being the same on the root-account?
Thanks Nick
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel