Monday, August 30, 2010

Re: [nslu2-linux] ttyS0 settings

 

  Mike, thanks for reply.

Mike Westerhof murmured, on 8/30/2010 8:46 PM:

Roman wrote:   
I am trying to use serial terminal connected to the internal serial port, but communication is not reliable at default 115200 bps.        
 How so?    
It has nothing to do with Slug, it is rather limitation of my serial terminal.
When tested with PC, via putty, it shows the same behavior, works fine at lower speed but is erratic at 115.2k

I tested serial terminal with putty at 9600 and 19200 and it works fine.  Is there any way to change settings on ttyS0, in particular the speed from 115200 to 9600 bps?        
 Not recommended; it slows the boot down a lot.  Also, you can't change  the speed for the bootloader messages.  The way to do this is to change  it via the boot command line; easiest way to do that is to install a  custom (self-built) linux kernel, since there's no way to change the  boot command line that's stored in the bootloader.    
My hope was that there is an utility/command that can be used to set parameters (speed) of the serial port after the boot is completed.
So far I had no luck.
I have never built kernel before, but I guess there is the first time for everything.
Any pointers how to go about it?

Thanks,
Roman
I tried it with agetty by adding line to inittab: S0:23:respawn:/sbin/agetty -L ttyS0 9600 vt100  but could not get it work.  Any ideas?  Thanks Roman        
 -Mike (mwester)   ------------------------------------  Yahoo! Groups Links  <*> To visit your group on the web, go to:     http://groups.yahoo.com/group/nslu2-linux/  <*> Your email settings:     Individual Email | Traditional  <*> To change settings online go to:     http://groups.yahoo.com/group/nslu2-linux/join     (Yahoo! ID required)  <*> To change settings via email:     nslu2-linux-digest@yahoogroups.com      nslu2-linux-fullfeatured@yahoogroups.com  <*> To unsubscribe from this group, send an email to:     nslu2-linux-unsubscribe@yahoogroups.com  <*> Your use of Yahoo! Groups is subject to:     http://docs.yahoo.com/info/terms/     

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.


Get great advice about dogs and cats. Visit the Dog & Cat Answers Center.


Hobbies & Activities Zone: Find others who share your passions! Explore new interests.

.

__,_._,___

No comments:

Post a Comment