On Sat, 2006-04-22 at 12:14 +0200, Guennadi Liakhovetski wrote: > Do you mean something like the patch below? If yes, then it doesn't > help:-( Any idea why?.. I'll try to have a better look too...
That is what I meant, but I was wrong. My suggestion was pointless as port->tty should always be NULL on entry to usb_console_setup() because usb_serial_console_init() is called when the usb device is probed, so there is never a chance for the device to be opened before the console is initialized. As you say, back to looking at the code... Just as a quick hack/test, what happens if you don't increment port->open_count in console.c:usb_console_setup() ? -- Paul ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel