On Sun, 16 Feb 2003 19:43:57 +0100 (MET), Aurélien GODIN wrote:

>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.

        I think an even better solution might be to engage the Linux
kernel developers in this problem, so that in the future there is a
programatic mechanism that can be used to flag the hotplug system to
prevent it from activating for the lifecycle of a specific process for
a given device ID.  The alternative would be to create a specific set
of Java APIs to interface with the different hotplug modules, and
that's going to get messy -- and it's going to ruin platform neutrality
(as you'd wind up programming for this mythical API on Linux, and
something more generic like Java USB for every other platform).

        This issue bothers me on a daily basis, so I spend alot of
personal runtime contemplating it and potential solutions.  Anyone care
to join me in looking for a solution that we can contribute back to the
kernel development group?

Brad BARCLAY
Lead Developer & Project Administrator,
The jSyncManager Project (http://www.jsyncmanager.org)


=-=-=-=-=-=-=-=-=
>From the OS/2 WARP v4.5 Desktop of Brad BARCLAY.
E-Mail:  [EMAIL PROTECTED]  Web:  http://www.jsyncmanager.org




-------------------------------------------------------
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