> 
>> 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.
> 
Well, init is using /dev/console by default.  This works for ttyS1, but not 
ttyUSB0..  So when I have 'kernel /boot/vmlinuz-2.6.19-1.2895.uplogix.14 ro 
root=/dev/hda1 panic=5 console=tty0 console=ttyS1,115200', I can do 'echo test 
 >/dev/console' and I see the output on ttyS1..

But when I have 'kernel /boot/vmlinuz-2.6.19-1.2895.uplogix.14 ro 
root=/dev/hda1 
panic=5 console=tty0 console=ttyUSB0,115200' and I do 'echo test 
>/dev/console', 
I get absolutely nothing out of ttyUSB0..

So in my case here, adding 'CONSOLE=/dev/ttyUSB0' to the kernel command line 
ends up in the environment.  So init ends up using CONSOLE as it was set in the 
environment..  Which I shouldn't have to do.  /dev/console should just work.. 
This isn't distro specific..  This should be set up in the kernel 
appropriately..  Correct??

Also, /dev/console looks okay to me:
[EMAIL PROTECTED] ~]# ls -l /dev/console
crw------- 1 root root 5, 1 Oct 31 00:54 /dev/console


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