OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Setting Baud Rate
marshmn
post Jul 24 2005, 09:13 AM
Post #1





Group: Members
Posts: 69
Joined: 18-November 04
From: Watford, UK
Member No.: 5,508



Hi,

I'm trying to figure out how to set the baud rate when using a serial cable connected to the IO connector on a C860.

I saw in some docs that I should set it by doing: stty -F /dev/ttyS0 4800

However, that doesn't seem to work. On my Z (running Cacko) it seems that stty doesn't understand the -F switch and seems not to be able to make setting changes to /dev/ttyS0

Am I missing something here? Is there some other command I should be using?

Thanks,
Matt
Go to the top of the page
 
+Quote Post
chrget
post Jul 24 2005, 09:58 AM
Post #2





Group: Members
Posts: 129
Joined: 29-May 04
Member No.: 3,485



QUOTE(marshmn @ Jul 24 2005, 07:13 PM)
I saw in some docs that I should set it by doing: stty -F /dev/ttyS0 4800

However, that doesn't seem to work. On my Z (running Cacko) it seems that stty doesn't understand the -F switch and seems not to be able to make setting changes to /dev/ttyS0

Am I missing something here? Is there some other command I should be using?
*
stty is indeed your best bet. How about doing it the 'traditional' way:
CODE
stty 4800 </dev/ttyS0
Hope this helps.

Best regards,
Chris.
Go to the top of the page
 
+Quote Post
marshmn
post Jul 24 2005, 12:19 PM
Post #3





Group: Members
Posts: 69
Joined: 18-November 04
From: Watford, UK
Member No.: 5,508



Ah yes, that did it.

Thanks for the help,
Matt
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th July 2014 - 01:08 AM