Skip to contentSkip to conversation

How can I setup a baudrate geater then 4Mbd?

DISCUSSION Richard Andrysek 1 participant 1 message Apr 22, 2014 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

I am using a following command :

BAUDRATE=8000000
stty -F /dev/ttyS6 ispeed $BAUDRATE ospeed $BAUDRATE -ignpar cs8 -cstopb –echo

However it does not allow me to set anything above 4Mbd or at least it is not shown with a following command:

$ sudo stty -a -F /dev/ttyS6
[sudo] password for ran:
-bash: c$: command not found
speed 4000000 baud; rows 0; columns 0; line = 0;
ran@rg-debian-09:~/src$ [sudo] password for ran:
intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>;
-bash: [sudo]: command not found
eol = <undef>; eol2 = <undef>; swtch = <undef>; start = <undef>; stop = <undef>;
susp = <undef>; rprnt = <undef>; werase = <undef>; lnext = <undef>

As you can see a speed is a last one from a settings before. Why?

My system:

RS232 card: Jetway ADMPEOX4CA
Linux kernel : 3.2.53-rgm-rt75-nodebug #2 SMP PREEMPT RT

By

Richard

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html