Joshua Wise wrote:

It seems that if the UDC is already enabled and is connected already (for instance if I was previously running linux and I jump into a new kernel), when I disconnect and reconnect the USB cable, nothing happens (my g_char driver isn't notified.)


Thoughts?

See the PXA UDC docs, figure 12.5 ... you need a GPIOx-controlled pullup on UDC+ to disconnect under software control (forcing re-enumeration).

And a GPIOn-triggered IRQ to see get connect/disconnect indications.

Hardware _should_ support both of those mechanisms.  But from your
description, I'm not sure which one you're not seeing.  You should
have compile time #warnings for each mechanism that doesn't seem to
exist on your hardware.

- Dave




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to