LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-10-2006, 10:22 PM   #1
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
where is my serial device??? /dev/ttyS* is missing!


I have a serial port on my motherboard with whom I would like to communicate with a serial device. I have kernel 2.6.x and consequently my kernel utilizes udev. HOWEVER, when my computer boots up there is no /dev/ttyS* or /dev/tts/*... nothing! where the hell is my serial port and how can i fix this problem?



what scares me also is that my lspci output shows no trace of my serial bus:
Code:
root@ZAXCOMP:/# lspci
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R350 [Radeon 9800 Pro]
01:00.1 Display controller: ATI Technologies Inc Radeon R350 [Radeon 9800 Pro] (Secondary)
02:01.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
02:02.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value
02:03.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
02:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
My serial port is integrated into my motherboard

Last edited by mrchaos; 03-10-2006 at 10:34 PM.
 
Old 03-11-2006, 11:55 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,794

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
You can use the setserial command to get/set serial port parameters. In the man pages, get commands are listed first; then set commands.

Somewhere is /etc, there should also be a setserial script which you can edit to setup the serial device on boot.

Also, have you looked in /dev to see it ttyS0 is listed?

What output do you get from 'ls -l <device>'. For example, if I do 'ls -l /dev/modem', I get '/dev/modem -> /dev/ttyS0', meaning modem is linked to ttyS0.
 
Old 03-11-2006, 03:50 PM   #3
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30
it's not a modem that I'm using the serial port to connect with; it's my ipaq. ls -l /dev/ttyS* returns nothing, and that's where the problem begins. I can
Code:
cd /dev
mknod ttyS0 c 4 64
and this creates the device, but the device isn't actually linked to my serial port, it's just a virtual device linked to no physical hardware.


I tried using setserial to assign a specific IRQ range to my virtual /dev/ttyS0, but as you can see lspci lists no serial bus, so I was unable to determine which values to assign
 
  


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
Vmware missing device /dev/vmmon blavish Linux - Software 4 08-01-2010 05:49 AM
ieee1394: /dev/raw1394 device node missing kevinatkins Linux - Hardware 4 12-16-2008 12:07 PM
/dev/tty0, /dev/tty1, /dev/tty10...and so on...which should be used for a device ??? b0nd Slackware 2 04-02-2006 09:14 AM
How to find the correct /dev/ttyS*? SeanatIL Linux - Software 1 07-07-2004 07:33 PM
cannot open /dev/ttyS ...resource or driver busy...error.. chiragw Linux - General 0 09-05-2001 04:03 AM


All times are GMT -5. The time now is 07:12 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