Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 am trying to debug a problem with a device attached to /dev/ttyS0 on a workstation running RHEL 5. Using my relatively basic Linux knowledge, I can not seem to figure out where to look for the source code for the serial port driver. Where is it and what is it called?

share|improve this question
Perhaps you could post another question about the actual problem. You'll need to decide whether the appropriate place for the question is Server Fault or Super User (or, if it's programming related, Stack Overflow). Serial problems are often a matter of correct cabling or parameter configuration. Digging in the source is less often necessary. – Dennis Williamson Aug 4 '10 at 15:41
up vote 1 down vote accepted

If you want the RHEL5 package, you can download the kernel source RPM here. If you want the kernel source from the primary distribution, you can get it from

Depending on the particular driver or part of the kernel you want to look at, it may be in the linux/drivers/serial directory.

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.