LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-29-2009, 06:21 AM   #1
amitk_m
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 0
how to connect modem in ttyS serial port


helo everybody

i have problem in modem configuration on slackware 2.6.21.5-smp. i configured a hylafax server. so i need the modem to assign the serial port. how is the process to setup i don't know. i refered my site and i m trying very much. when i run the command lspci -v the modem is showing.

this is the o/p of the lspci -v
01:00.0 Communication controller: U.S. Robotics USR5660A (USR265660A, USR5660A-BP) 56K PCI Faxmodem (rev 01)
Subsystem: U.S. Robotics Unknown device 010a
Flags: bus master, medium devsel, latency 32, IRQ 9
Memory at ec000000 (32-bit, non-prefetchable) [size=64K]
I/O ports at c000 [size=8]
Capabilities: [40] Power Management version 2

and when dmesg | grep ttyS running
then o/p will come

serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

i m just putting the modem into serial port and not connected in any telephone connection and fax machine.

plz help me how to assign the modem to serial port. How to configure test the modem is work not.
i m waiting for ur valuable replies.
 
Old 06-29-2009, 11:43 AM   #2
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
I have not tinkered with modems in a few years. However, I recall some files in Slackware that are important:

1. /etc/serial.conf
2. /etc/rc.d/rc.serial

The latter file needs to be executable (chmod +x). The first file might need some manual editing to properly assign ports.

Although not applicable to you, for some people using older ISA hardware, a third file that is important is /etc/isapnp.conf. The file does not exist in a stock Slackware and must be created using the isapnp tools.
 
Old 06-29-2009, 02:17 PM   #3
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
You want to use the setserial command; this http://tldp.org/HOWTO/Serial-HOWTO-12.html might be interesting reading for you. Here's an old thread with an example:
http://www.linuxquestions.org/questi...serial-178924/

Last edited by mostlyharmless; 06-29-2009 at 02:29 PM. Reason: added link
 
Old 06-30-2009, 09:14 AM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
This is what I use (for example)

setserial /dev/ttyS2 uart 16550A port 0x9000 irq 16
 
  


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
process name when connect via serial port smartgupta Programming 8 11-20-2008 08:37 AM
How to connect to Embedded ts7800 via Serial port chire Linux - Networking 5 07-28-2008 02:47 PM
Using Serial Port to connect to server deathazre Linux - Networking 4 07-16-2006 10:15 PM
Could not connect to Bluetooth device through the serial port dubrick_vit Linux - Hardware 0 01-16-2006 07:57 AM
Connect to a serial port??? clausa Linux - Hardware 2 08-30-2005 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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