> I'm writing an application that works with a USB device. The device
> itself is expected to be plugged and unplugged during the lifetime
> of the application, so I'm looking for a way to follow the state of
> the device. It's a GTK application, I have no problem with using
> timers.
>
> I'm considering using libusb ...
You might also consider using the Java USB library, if you can use
a recent-enough GCC release that GCJ is usable (and hence you
can call Java code from C/C++ with CNI; cost is like a C++ call).
You should be able to do the GUI in GTK as usual.
The reason I mention the Java API is because it's more functional.
In particular for your case, it delivers event notification callbacks
when devices get added or removed. Nobody's taught libusb to
do such things yet.
- Dave
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel