LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-23-2005, 10:40 PM   #1
dansawyer
Member
 
Registered: Mar 2005
Posts: 122

Rep: Reputation: 15
does udev make /dev/ttyS0 ?


I am having problems making /dev/ttyS0 during startup. The physical device exists and the bios monitor reports it operational.

Where in the boot process is /dev/ttyS0 made?

udev is active and appears to make several devices. However I cannot determine exactly what it is doing.

Is udev supposed to make /dev/ttyS0?

Thanks, Dan
 
Old 10-23-2005, 11:58 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
I'm no expert on this by a long shot bt udev is suposed to be using the info in your sysfs
you got sysfs mounted in /etc/fstab ?
Code:
sysfs          /sys         sysfs  defaults        0     0
this should result in the kernel making a directory
/sys/class/tty/ttyS0
it should hhave a file in it named dev with the major and minor device numbers

should be able to type
udevinfo -q path -n ttyS0
and get
/class/tty/ttyS0

perhaps we can go from here and diagnose further
 
Old 10-24-2005, 12:16 AM   #3
dansawyer
Member
 
Registered: Mar 2005
Posts: 122

Original Poster
Rep: Reputation: 15
Thank you - great help. On one system where it works the result is as expected. On the other that fails it is:

device not found in database

This yields the question "what database".

There are files in "/etc/makedev.d" and one of those calls for ttyS0 however that device is not being created.

What portion of the boot process should create that device?
Is there a log entry and which one?

Thanks, Dan
 
  


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
How to make /dev/ttyS0 automatic control DTR for TX/RX ZeRoN Programming 1 12-27-2004 01:51 AM
how to tell udev to make a dev jimdaworm Slackware 10 08-13-2004 08:12 AM
Minicom in /dev/ttyS0 Luis GUSTAVO Linux - Software 0 07-31-2003 06:42 PM
chmod g+w /dev/ttyS0 jISV Linux - General 4 04-13-2002 07:01 PM
/dev/ttyS0 problems rbermude Linux - Software 2 06-27-2001 11:43 AM


All times are GMT -5. The time now is 07:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration