LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-15-2003, 04:18 PM   #1
ruchika
LQ Newbie
 
Registered: Aug 2003
Posts: 15

Rep: Reputation: 0
Question Serial port problem


New to redHat Linux 9.0 I am having problems using serial port on my linux box. Maybe u guys can help ..

I want to talk to a Hayes compatible modem that is connected on /dev/ttyS0 (COM1) of my laptop .. I tried Minicom, it failed to initialize the modem even though the setting were 19200 8N1, the settings for this modem ...
Couldn't understand exactly how minicom talks, so I wrote a small program that opens the COM port and gets/sets attributes .. Open succeeded but couldn't get attributes, it failed with error code 5 - Input/Output error.

I looked at the serial port settings for /dev/ttyS0 .. heres what it says
/dev/ttyS0, Line:0, UART:unknown, Port:0x03f8, IRQ:4
Baud_base:115200, close_delay:50, divisor: 0
closing_wait: 3000
Flags: spd_normal_skip_test

I think that my serial port is not properly configured, so I tried to autoconfigure it as follows -
setserial /dev/ttyS0 autoconfigure
It returned back to the prompt very fast but didn't change any settings.

I changed the UART type to 16550A but the behavior is still the same.

I read in a post in another forum that if the machine is a dual boot machine and the card is a true card but not recognised by linux, we will have to install the chip driver or this,. Can anyone explain this more. and from where to get the chip driver. I have no problem when I boot in windows.

I have file rc.serial in /usr/share/doc/setserial-2.17/rc.serial .

Does anyone has any suggestions on how to resolve this problem?

Thanks,
Ruchika
 
  


Reply



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
Serial port problem floydes Programming 1 10-14-2004 11:50 AM
C++ serial port program problem doar Programming 3 10-01-2004 10:46 AM
serial port problem... linux4john Linux - Software 1 10-30-2003 10:02 PM
problem in serial port communication linux4john Linux - Newbie 3 10-30-2003 09:26 PM
Problem with Serial port mritunjay Linux - Networking 1 04-22-2002 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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