When a device is disconnected, its UsbDevice handle is no longer
valid.  A new UsbDevice handle is created...

On Wed, Aug 27, 2008 at 6:10 PM, Mike Crowe <[EMAIL PROTECTED]> wrote:
>        Hi
>
> I'm working on libusb.
>
> I am trying to fix the case where javax-usb is running and a device is
> attached then detached.  I've found that the serial number for the
> detached device in the javax-usb virtual hub is not coming back
> correctly so as to correctly identify a device.  I followed the code
> down in UsbDeviceImp and see that the serial number is being cached.
> The serial number is correct until the device has been removed then it
> appears that the cached value gets corrupted to serial number of another
> device.
>
> Ideas?  Questions?  Things to try?
>
> Thanks in advance
>
> --
> Mike
> home of the USB-Accelerometer
> http://www.gcdataconcepts.com/xlr8r-1.html
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> javax-usb-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/javax-usb-devel
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
javax-usb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to