On Sat, 22 Apr 2006, Guennadi Liakhovetski wrote:

> On Sat, 22 Apr 2006, Paul Fulghum wrote:
> 
> > Guennadi Liakhovetski wrote:
> > > Emn, Paul, correct me if I am wrong. The only (regular) place I found 
> > > where
> > > console->setup() is called is in kernel/printk.c in register_console()...
> > 
> > Yes
> 
> So, it doesn't make sense to change it there - register_console() is only 
> called from usb_serial_console_init(), which is only called from 
> usb_serial_probe(), i.e., on init, and not on open?

Re-opening the old thread - I did manage to get both console output and a 
working terminal. I removed open_count++ from usb_console_setup() and made 
the following code, calling serial->type->open() unconditional. This sort 
of assumes, that console_setup is called only once anyway. So, the check 
could be if (!open_count). How does it look like with other USB-serial 
adaptors? Works or it doesn't?

Thanks
Guennadi
---
Guennadi Liakhovetski


-------------------------------------------------------
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

Reply via email to