On Mon, Oct 29, 2007 at 05:21:48PM -0500, Paul B Schroeder wrote: > > > Greg KH wrote: >> On Tue, Oct 23, 2007 at 01:57:59PM -0500, Paul B Schroeder wrote: >>> I'm trying to get console messages from both a typical serial port and >>> via a USB serial device using the io_ti driver. You can see my kernel >>> command line in the messages below. Using kernel version 2.6.19-1.2895 >>> which is basically a Fedora Core 6 kernel with my kernel config. >>> Compiled in: >>> # >>> # USB Serial Converter support >>> # >>> CONFIG_USB_SERIAL=y >>> CONFIG_USB_SERIAL_CONSOLE=y >>> CONFIG_USB_SERIAL_EDGEPORT_TI=y >>> >>> >>> Something strange is happening on the USB serial console. It starts >>> getting messages, stops, and then starts picking them up again towards >>> the end. You can see where it gets cut off while printing the line >>> "Enabling fast FPU save and restore... done." >> Yeah, usb-serial as a boot console is a joke (code was written on a >> dare), and due to buffer sizes, and the lateness of the USB code getting >> initialized, doesn't really work very well. There's really nothing you >> can do about it, but it seems to work for some people, and they like it, >> so we aren't going to remove it :) > Ah.. Okay.. > >>> Oh, and ttyUSB0 doesn't end up functioning as a console whatsoever once >>> init starts up.. >> That should work properly, do you have your inittab set up correct for >> that? That is required. > The only inittab entry that I've added is to run agetty to use it as a > login console.. That works fine.. i.e. I added: > a0:2345:once:/sbin/agetty /dev/ttyS1 -t 60 115200 > > I'm not getting output from the initscripts though.. Is there something > else I need to add to my inittab?? I wasn't aware of anything else I > needed to add..
Take a look at Documentation/serial-console.txt You need to modify inittab to spawn on ttyUSB0 not ttyS1, as that's not where the usb-serial console is at :) thanks, greg k-h ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users