On Tue, Oct 30, 2007 at 12:05:32PM -0500, Paul B Schroeder wrote:
>
>>>
>>>>> 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 :)
> Oops..  My mistake..  I copied and pasted the wrong line..  This is 
> actually what I have in my inittab:
> a0:2345:once:/sbin/agetty /dev/ttyS1 -t 60 115200
> a1:2345:once:/sbin/agetty /dev/ttyUSB0 -t 60 115200
>
> That part works just fine..  I can log in no problem..

Great.

> I understand that getting the kernel messages via a USB console isn't 
> reliable.  But I can't get the system/rc/initscripts startup stuff via 
> ttyUSB0 either. Or is this just as unreliable..  The only way I get 
> system/rc/initscripts startup stuff via ttyUSB0 is if I set 
> 'CONSOLE=/dev/ttyUSB0' on my kernel command line..  And in that case the 
> baud rate gets changed from 115200 to 9600..  i.e.  The issue I'm trying to 
> solve now, is with these messages via ttyUSB0:

That's up to your init system, which is specific to your distro.  That
CONSOLE= line is probably what init is reading to do what you need it to
do.  I don't know about the baud rate issue, sorry, try reading the
documentation for your distro about this.

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

Reply via email to