> It's unclear from Bryan's mail what is happening. If it fully
> reenumerates from disconnecting and reconnecting, then it should
> generate the usual hotplug events.

Well I don't know what is supposed to happen, and that may differ from
what I want to happen, so I will be more specific.

When I plug the device in originally, it is 854/100 for vend/prod ID.
Lets say it has filename 005.  If I download the firmware to it, it is
supposed to autolmatically renumerate itself, and seems to do that.  It
changes its vend/prod to 854/101 and I see a "remove" command in user
space signaling that 005 was removed...

I can use libusb and do usb_find_devices() to see it, and it now shows
up as 006, which to me proves that it is a new device to the system, but
I never received an "add" command for it in user space or a "remove"
when it is unplugged, as if device 006 is lost somewhere, but from what
I can see, is somewhat usable for reading/writing (I haven't done much
of it yet to know if this is true).

Is this how the renumeration procedure is supposed to work? The problem
I have is that if I reset the device I think I will lose my firmware,
and I will end up going in circles of download-reset... I will have to
look into that option, but I wanted to know if this is normal.

Thank you for your help thus far.

- bryan


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to