Question:
How to configure serial port in fedora core5?
Tom
2006-12-16 03:04:10 UTC
Dear friends

I have installed 2 pci serial cards in my system running on fedora core5. One card has 4 ports and another has 2 ports. My system has one built in serial port. Altogether I have 7 serial ports on my system. Out of these only 4 ports are working (ttyS0, ttyS1, ttyS2, ttyS3). Built in port and 3 ports from 4 port serial card are working. I could find the serial port card when I give 'lspci' command. I have added the required entries in 'inittab' file and also created ttyS4, ttyS5, ttyS6 files in 'default' directory. Through 'MAKEDEV' command created ttyS4 - ttyS6. When I give 'setserial /dev/ttyS4 irq 17 port 0x1038 autoconfig' command the output is /dev/ttyS4: No such device or address.

I am unable configure remaining 3 ports.

I do not understand where I am going wrong. Could you please help me out?

Thank you

thomas
Three answers:
2006-12-16 03:11:19 UTC
????????
Linux OS
2006-12-16 11:31:36 UTC
Sorry - just re-read. Thought it said you "couldn't" see the card in lspci :) Anyway, it looks like you've gone wrong with the MAKEDEV command.



Are you using udev or not? If you're using udev then this should handle creation of the tty devices.



Check in /dev - you should see all of your serial dives there. Right now its saying that you don't actually have /dev/ttyS4!



lrwxrwxrwx 1 root root 5 2006-12-16 11:01 ttyS0 -> tts/0

lrwxrwxrwx 1 root root 5 2006-12-16 11:01 ttyS1 -> tts/1

lrwxrwxrwx 1 root root 5 2006-12-16 11:01 ttyS2 -> tts/2

lrwxrwxrwx 1 root root 5 2006-12-16 11:01 ttyS3 -> tts/3

lrwxrwxrwx 1 root root 5 2006-12-16 11:01 ttyS4 -> tts/4

lrwxrwxrwx 1 root root 5 2006-12-16 11:01 ttyS5 -> tts/5

lrwxrwxrwx 1 root root 5 2006-12-16 11:01 ttyS6 -> tts/6



These all link through to these character devices:



0 crw-rw---- 1 root tty 4, 64 2006-12-16 11:01 0

0 crw-rw---- 1 root tty 4, 65 2006-12-16 11:01 1

0 crw-rw---- 1 root tty 4, 66 2006-12-16 11:01 2

0 crw-rw---- 1 root tty 4, 67 2006-12-16 11:01 3

0 crw-rw---- 1 root tty 4, 68 2006-12-16 11:01 4

0 crw-rw---- 1 root tty 4, 69 2006-12-16 11:01 5

0 crw-rw---- 1 root tty 4, 70 2006-12-16 11:01 6



I'm running Slackware here so FC5 may be slightly different, but the Major and Minor node attributes will be the same.
prince
2006-12-18 10:41:39 UTC
I installed Fedora Core 5 normally. Core 5 install application now includes options to select/deselect applications to install. I left all the default applications to be installed and in addition I needed to select the follow.



Development

Development Libraries

KDE Software Developement

Servers

MySQL

Web Server

Server Configuration Tools

Windows File Server

After the install completed, I rebooted. During the firstboot configuration screen, I disabled SELinux because that tends to cause only headaches.



From this point I did an "yum update" to upgrade all the packages.



During installing of various programs, I noticed the following packages were missing.



and see this link becose it's big sub. so you wnat more then see this



http://www.cnpbagwell.com/MythTV/HomePage


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...