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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-17-2005, 10:17 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2004
Posts: 21
Rep:
|
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.
|
|
|
|
08-17-2005, 10:36 PM
|
#2
|
|
Member
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262
Rep:
|
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.
|
|
|
|
08-17-2005, 10:45 PM
|
#3
|
|
LQ Newbie
Registered: Mar 2004
Posts: 21
Original Poster
Rep:
|
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....
|
|
|
|
08-17-2005, 10:54 PM
|
#4
|
|
LQ Newbie
Registered: Mar 2004
Posts: 21
Original Poster
Rep:
|
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 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?
|
|
|
|
08-17-2005, 11:01 PM
|
#5
|
|
Member
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262
Rep:
|
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?
|
|
|
|
08-17-2005, 11:15 PM
|
#6
|
|
LQ Newbie
Registered: Mar 2004
Posts: 21
Original Poster
Rep:
|
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??
|
|
|
|
08-18-2005, 07:08 PM
|
#7
|
|
Member
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:08 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|