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

I finally got a chance to play with it a bit, it seems to work if I add 
'CONSOLE=/dev/ttyUSB0' to my kernel command line for init to read that from the 
environment.  I shouldn't have to do that though..  It also seems that 
something 
is setting the baud rate on ttyUSB0 to 9600.  Which seems strange..  My grub 
boot entry asks for 115200 baud rate.  I get 115200 for the partial kernel boot 
console messages, but sometime before or as init starts, it changes to 9600.. 
Again, here is my kernel command line:

kernel /boot/vmlinuz-2.6.19-1.2895.uplogix.14 ro root=/dev/hda1 panic=5 
console=tty0 console=ttyS1,115200 console=ttyUSB0,115200

What else should I be doing to get this to work at 115200 all the way through??


Thanks...Paul..


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

Reply via email to