Hi Alexander,
On 10/23/2012 12:16 PM, Alexander Tarasikov wrote:
Another interesting thing I've noticed is that if we disable LX_VERBOSE_DEBUG, usb fails to work at all due to timeouts. Turns out, some functions that are called around endpoint setup at gadget registration, cause usb to break if we disable debugging. The weird thing is that if we insert an mdelay or a printk, it still does not work, but if the dde_kit_printf is used with color escape sequences, that makes it work.
This may have something to do with https://github.com/genodelabs/genode/issues/332 which is still not completely fixed, there is a race between the interrupt thread creation in dde-kit and the driver. Can you try if the attached patch changes anything?
Greeting,
Sebastian