On Fri, 2006-04-14 at 17:48 +0200, Guennadi Liakhovetski wrote:

> Heh, so it happened:-) I did see that input didn't work, and thought if I 
> should try to think about it, but then I decided, since somebody disabled 
> it, maybe there was a reason for it, and since I don't need it...
> 
> Well, I donГt know. Someone might know exactly why it doesn't work and if 
> it would be easy to make it work. I could have a short look at it, but I 
> am not an expert in tty / console either. I did wonder about the line
> 
>       port->tty = NULL;
> 
> in usb_console_setup(). Did you try to just leave the original tty in 
> place and remove the dummy one? No idea what would happen, just 
> guessing...

I think setting tty to NULL is just a reflection
of the code assuming that the console open happens
only at system startup, before the usb serial port
is opened for other reasons.

usb_console_setup() should be changed to use the
current tty value if non-NULL, instead of a dummy tty.

-- 
Paul Fulghum
Microgate Systems, Ltd



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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