Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I seem to have ttyS0 all the way to ttyS31, the only real (well virtual but at least they do someting) serialports on my machine are ttyACM0 and rfcomm0, what are all these ttyS's for?

share|improve this question
up vote 3 down vote accepted

That maximum possible number of serial ttys is hard-coded to be 32 via the kernel config setting CONFIG_SERIAL_8250_RUNTIME_UARTS

The /dev/ttyS* char devices will only be functional when the 8250 UART driver finds the serial UARTs on the machine.

The kernel is configured with such a high value because some machines support that many UARTs.

share|improve this answer

I suppose you are looking into /dev. The ttyS* devices are always available, even when not usable. In fact, if you try to write to them you'll get EIO:

# echo > /dev/ttyS12
-bash: echo: write error: Input/output error
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.