Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
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

1 Answer 1

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 kernel.org.

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

 
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.