LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2004, 01:28 AM   #1
hostile1313
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: Slackware 14
Posts: 25

Rep: Reputation: 15
missing devices


I first noticed I was missing my ttyS(0-9) devices when trying to use a serial connection to program a microcontroller. I had to make the device using mknod, everytime I reboot this device is gone. Farther investigation showed that when I compare the devices to my /dev/ folder compared to my other slackware install, the other machine has like twice as many devices in it. I also noticed that it has the MAKEDEV script and this one is also missing that. I then reinstalled the devs package for slackware 10, this temporarily gave me all the devices and the MAKEDEV script, but a pond reboot they where all missing again. If anyone can get me some input I would greatly appreciate it. Im not sure if I understand it right. but I believe that even though I'm using udev, these basic devices shoulld be there, the udev should just set up links for them. The other think I was thinking is maybe the device I'm using for programming on this machine is not plug and play, since nothing shows in /var/log/messages when I plug it in, the other machine I'm comparing it to has a modem, so that might be giving it cause for it to generate the ttyS(0-9) devices, but this still leaves me stumped as to why the MAKeDEV script disapears along with several other devices. waiting for anyhelp as two how to fix or to help me understand whats going on. Please ask for any additional information needed. I was in a hurry in explaining
 
Old 12-01-2004, 05:04 AM   #2
|2ainman
Member
 
Registered: Mar 2004
Distribution: Slackware current, DSL 0.9.2
Posts: 133

Rep: Reputation: 15
Quote:
You may need to make some changes to the /etc/rc.d/rc.serial script if
you're using serial ports other than /dev/ttyS0 or /dev/ttyS1 (com1: and
com2: under DOS), or if these ports use non-standard IRQs.

I suggest using the section about halfway through that lets you set up
the ports manually. Here's an example of how I set up the ports on my
machine for /dev/ttyS0 and /dev/ttyS2:

# These are the standard COM1 through COM4 devices
#
${SETSERIAL} /dev/ttyS0 uart 16450 port 0x3F8 irq 4
# ${SETSERIAL} /dev/ttyS1 uart 16450 port 0x2F8 irq 3
${SETSERIAL} /dev/ttyS2 uart 16450 port 0x3E8 irq 5
# ${SETSERIAL} /dev/ttyS3 uart 16450 port 0x2E8 irq 3

You'll also need to uncomment the line in /etc/rc.d/rc.S that starts the
rc.serial script.
Taken from Mr. Patrick J. Volkerding himself
Check your mail in root
 
Old 12-01-2004, 05:54 AM   #3
hostile1313
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: Slackware 14
Posts: 25

Original Poster
Rep: Reputation: 15
ok I checked and my rd.S calles rd.serial, rd.serial is executable. I didn't see anything in rd.serial that matched up to what you had but I found /etc/serial.conf where I could add or comment out the different com interfaces. they where commented out , but I uncommented them and rebooted and it still doesnt add ttyS devices

#
# This is a sample serial.conf file. You should uncomment out and modify
# the relevant lines as necessary.
#

# These are the standard COM1 through COM4 devices
#
/dev/ttyS0 uart 16450 port 0x3F8 irq 4
/dev/ttyS1 uart 16450 port 0x2F8 irq 3
/dev/ttyS2 uart 16450 port 0x3E8 irq 4
/dev/ttyS3 uart 16450 port 0x2E8 irq 3
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing sound devices under 2.6 kernel but not 2.4 guitarfella Slackware 7 05-07-2005 08:42 AM
Devices missing after kernel recompile?!?!? wnaLinux Slackware 14 12-25-2004 06:38 PM
missing devices in /dev/snd superandrzej Slackware 2 08-08-2004 02:24 PM
Mystery of the missing devices orange400 Linux - General 7 05-04-2004 02:49 AM
Drives/devices missing from KDE 3.1.5 desktop uniQ Linux - General 1 01-28-2004 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration