Re: Not able to change baud rate
- From: jeffj@xxxxxxxxx (Jeff Jonas)
- Date: 7 Apr 2010 00:32:34 -0400
In article <61c50abe-98d9-43d2-a0a3-58acede2a33a@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Hari Prasath <gehariprasath@xxxxxxxxx> wrote:
I have a video streaming device running Linux. when i change the baud
rate using the 'stty' command,it changes temporarily for few seconds.
Then again it changes to 115200 automatically.
I don't see the 'stty' line you're asking about.
It cannot be in a subshell since those file descriptors
all vanish when it terminates.
Perhaps it ought to be directed to work on the file descriptor,
such as STDERR
stty <&2
since that's not normally redirected like STDIN or STDOUT
and group the commands in a subshell like this
(stty foo bar <&2;cmd1 ;cmd2)
I hope that's the trick, I can't quite remember.
.
- Follow-Ups:
- Re: Not able to change baud rate
- From: Grant Edwards
- Re: Not able to change baud rate
- Prev by Date: uClibc: undefined reference to `_dl_loaded_modules'
- Next by Date: Re: Not able to change baud rate
- Previous by thread: uClibc: undefined reference to `_dl_loaded_modules'
- Next by thread: Re: Not able to change baud rate
- Index(es):