LinuxQuestions.org
Review your favorite Linux distribution.
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 08-17-2005, 10:17 PM   #1
skguha
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Rep: Reputation: 15
modem on ttyS1 ??


Hi,

I am using Slackware 10.1 and did a full install.

/dev/modem points to /dev/ttyS1

but when i do
Code:
setserial /dev/ttyS1
i get the following output
Quote:
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
i read that the UART should be 16550A for modem to work. My pc is a dell optiplex gx280. How do i get my modem to work?

Thanks.
 
Old 08-17-2005, 10:36 PM   #2
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
The error says that there is no UART on port /dev/ttyS1. This is very unusual. Check your BIOS and make sure it is not disabled. Have you tried
setserial /dev/ttyS0
and see if you get the UART.
 
Old 08-17-2005, 10:45 PM   #3
skguha
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Original Poster
Rep: Reputation: 15
the result of setserial /dev/ttyS0 is as follows
Quote:
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
setserial /dev/ttyS4
Quote:
/dev/ttyS4, UART: 16550A, Port: 0xd8c8, IRQ: 3
setserial /dev/ttyS5
Quote:
/dev/ttyS5, UART: 16550A, Port: 0xd8d0, IRQ: 3
for all other ttyS* , i get UART unknown......

What does it mean??

pls explain....
 
Old 08-17-2005, 10:54 PM   #4
skguha
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Original Poster
Rep: Reputation: 15
when i type
Quote:
cat /proc/tty/driver/serial
i get the following
Code:
serinfo:1.0 driver:5.05c revision:2001-07-08
0: uart:16550A port:3F8 irq:4 baud:9600 tx:0 rx:0
4: uart:16550A port:D8C8 irq:3 baud:9600 tx:0 rx:0
5: uart:16550A port:D8D0 irq:3 baud:9600 tx:0 rx:0
also the ouput of
Quote:
cat /proc/interrupts
is
Code:
           CPU0
  0:     642774          XT-PIC  timer
  1:         16          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:          0          XT-PIC  usb-uhci
  5:          0          XT-PIC  usb-uhci
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  ehci_hcd, usb-uhci
 10:     126335          XT-PIC  eth0, Intel ICH6, usb-uhci
 11:          0          XT-PIC  pciehp
 14:      60916          XT-PIC  ide0
 15:         69          XT-PIC  ide1
NMI:          0
ERR:          0
what do i do now?
 
Old 08-17-2005, 11:01 PM   #5
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
You have working serial ports on /dev/ttyS0, /dev/ttyS4, /dev/ttyS5, but no serial ports on /dev/ttyS1, /dev/ttyS3 and anything above /dev/ttyS5.
My suggestion is to connect your modem on /dev/ttyS0, /dev/ttyS4 or /dev/ttyS5
Did you check your BIOS settings?
 
Old 08-17-2005, 11:15 PM   #6
skguha
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Original Poster
Rep: Reputation: 15
i havent restarted my comp yet to check the bios settings....will do so and report it.....

also will connect to /dev/ttyS4 and see if it works...

but the /dev/modem points to /dev/ttyS1 ..... how do i change that??
 
Old 08-18-2005, 07:08 PM   #7
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
you will need to be root and just remove /dev/modem and relink it to the device you wish use.
$su
password:
#rm /dev/modem
#ln -s /dev/ttyS4 /dev/modem
when do an ls on /dev/modem it should show you the link
#ls -l /dev/modem
Hope this helps
for documantation see
$man ln

Last edited by Michael Johnson; 08-18-2005 at 07:11 PM.
 
  


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
Problems with ttyS1 as a Terminal Laoch Linux - General 1 08-24-2005 08:16 AM
ttyS1 problem or whot? Xon Linux - Hardware 2 12-01-2004 05:52 AM
No such device /dev/ttyS1 gsancho Debian 3 09-23-2004 05:40 PM
Problem accessing ttys0 ttys1? horak Linux - General 6 03-11-2004 07:57 PM
parse info from ttyS1 franklin97355 Programming 1 12-31-2003 01:57 AM


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