By specifying all possible/reasonable(?) baud rates as above, no complex param parsing is required for "console=": we only need to extract the device name itself.
Tested on natty booting with "console=ttyUSB0,115200n8r console=tty" after removing "quiet" and "splash".
Getty was spawned and I could login, but my client end needs some "minicom lovin'" since I was getting control chars being echoed in minicom.
Due to the complexities of parsing the console= kernel param, as Clint suggested, we could just let the kernel+getty auto-detect speed.
We could therefore create a /etc/init/ ttyUSB0. conf (or similar) containing:
exec /sbin/getty -m -8 115200, 57600,38400, 19200,9600, 4800,2400, 1200 ttyUSB0
By specifying all possible/ reasonable( ?) baud rates as above, no complex param parsing is required for "console=": we only need to extract the device name itself.
Tested on natty booting with "console= ttyUSB0, 115200n8r console=tty" after removing "quiet" and "splash".
Getty was spawned and I could login, but my client end needs some "minicom lovin'" since I was getting control chars being echoed in minicom.