Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8258019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:23:50+00:00 2026-06-08T02:23:50+00:00

OS is Ubuntu 10.04 32-bit. All these years I’ve unknowingly assumed that input and

  • 0

OS is Ubuntu 10.04 32-bit.

All these years I’ve unknowingly assumed that input and output baudrates were symmetrical, in == out. I just noticed, however, that the Linux termios structure contains fields for the input and output baudrate. And there are “in” and “out” versions of the buadrate setter/getter — cfsetospeed/cfsetispeed, cfgetospeed/cfsgetispeed Are they actually separate controls and I can talk and listen at different speeds? Would I ever want to?

What little I could find on google says setting the input speed to 0 will tell the input speed to match the output speed. Correct? If I set the output speed to, say 9600, then set the input speed to zero, input speed should be 9600. What happens if I then change the output speed to 19200? Will input speed also change to 19200?

Sorry for the somewhat easier questions where I should just go try it. My serial-attached hardware is in an unknown state and I am unsure how it is behaving.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T02:23:51+00:00Added an answer on June 8, 2026 at 2:23 am

    Not all serial ports support configuring these separately, but the termios API does give you separate controls to support the ones that do.

    Cases where you’d want asymmetric rates will be completely obvious (the manual for the device you’re talking to lists different rates for input and output, and you need both simultaneously).

    There’s no good reason to use the “zero means input and output are the same”. Just set them the same explicitly, then you never have to worry about corner cases.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

(My environment is 64-bit Ubuntu, my application is C++ compiled and linked with g++.)
I'd like to ask about memory allocation in 64-bit ubuntu Linux. I have the
I'm having a problem with eclipse galileo on ubuntu 64-bit system. when ever i
I am using ubuntu 12.04 on 64 bit machine, I have this simple C
System: rails 3.2.3 1.9.2p320 ubuntu 12.04 32 bit I am trying to split up
I'm using GCC 4.3.3 on Ubuntu 9.04 64-bit and was getting errors using C++-style
Hi I have configured the DSN settings for vertica in Ubuntu 10.10 32 bit
I'm getting an error whilst trying to install psycopg2 on ubuntu 9.10 64 bit.
I am on Ubuntu x64 bit running: java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6
My PC CONFIGURATION : UBUNTU 11.10 version 64 bit , ECLIPSE 3.7 , ANDROID

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.