Re: [PATCH 3/3] usb console,usb-serial: pass initial console baudon to first tty open

From: Alan Stern
Date: Wed Sep 16 2009 - 23:32:59 EST


On Wed, 16 Sep 2009, Jason Wessel wrote:

> The first open of the usb serial HW has the termios initialized to the
> default of 9600 baud, and this will override what ever was setup via
> the original console initialization.

I don't understand. The first open of the console hardware occurs in
console.c as part of usb_console_setup(), and it uses the baud rate
passed in via the console options. Why does anything need to get
saved?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/