Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.