I guess some examples would be a great idea, and beginning with a mouse seems to be 
relevant :
a simple device with which the basic mechanisms of javax.usb can be explained. Perfect 
!

Concerning the HID driver, this is not a problem. When installing the usb package on 
my computer,
it prevented me from claiming the interface. Here is how I solved the issue :
. actually, the real problem is the "hotplug" package : as soon as a device is 
connected, this package
calls the HID driver that grabs the interface, forbidding its access to the java user.
. as a consequence, I simply uninstalled hotplug : "rpm -e hotplug" on my rpm-based 
system

I guess a better solution would be to deactivate "hotplug" when launching the java 
program by passing
the appropriate command to the system using the Runtime class, 
Runtime.exec("deactivating hotplusg package"),
and reactivate it when exiting the virtual machine. However, I didn't find the shell 
commands
that enable to do that. Any idea ? Anyway, uninstalling "hotplug" is acceptable if you 
do not normally
use USB devices with Linux.

Hope that can help.

Aurelien



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
javax-usb-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to