LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-08-2007, 01:54 AM   #1
mfdarvesh
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Rep: Reputation: 15
FC6 Modem Problem


I am new to Linux and this Forum as well
I have downloaded FC6 and successfully installed it on my PC. All gone well except Modem.

I have 3com USR Hardware Modem, when I applied command "lspci" It shown well as "Serial Communication, 3Com" but I try to connect internet using KPPP, it says "unable to open modem" similar with with ttys0 and upto ttys4.

Guide me how can I correct the modem and run internet.

Thanks....
 
Old 02-08-2007, 06:35 AM   #2
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 164

Rep: Reputation: 22
Is it a hardware modem or a software modem? The software modem works from an internal chip and FC6 might not have the right driver.
 
Old 02-08-2007, 10:25 PM   #3
mfdarvesh
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Greenfuse
Is it a hardware modem or a software modem? The software modem works from an internal chip and FC6 might not have the right driver.
It is a hardware modem, it works fine on CentOS 4.4 but FC6 dont' show it on ttys0 - ttys4
 
Old 02-09-2007, 03:25 AM   #4
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 164

Rep: Reputation: 22
We might learn more from dmesg. Try switching the modem off for a few seconds, then back on again (or possibly even try unplugging it from the serial port). When you have done this type the following command in a terminal.
Code:
dmesg | tail
With luck we might see what node is assigned to the modem when the hotplug daemon picks it up.

Kppp can be a bit of a pig at times. Another angle that might be worth trying is using the gnome dialup utility (can't remember what it is called but you should find it somewhere in FC6.) I think it is a frontend for wvdial, which is tried and trusted linux software.
 
Old 02-09-2007, 03:36 PM   #5
cb700826
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
Unhappy Modenm Problem FC6

Stupid question.....
If it worked on CentOs, why switch to FC6?

I did the same recently and tried for about a week to solve this problem.
You say it works, feel free to mail me the procedure for centos. I will gladly switch back as long as i can get it working. After all, when you look at it, All Linux flavours do the same in the end..... KICK MSO BUTT!!

B.T.W. christob@workforce.co.za (can`t wait!!!)

Quote:
Originally Posted by mfdarvesh
It is a hardware modem, it works fine on CentOS 4.4 but FC6 dont' show it on ttys0 - ttys4
 
Old 02-09-2007, 10:34 PM   #6
mfdarvesh
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Greenfuse
We might learn more from dmesg. Try switching the modem off for a few seconds, then back on again (or possibly even try unplugging it from the serial port). When you have done this type the following command in a terminal.
Code:
dmesg | tail
With luck we might see what node is assigned to the modem when the hotplug daemon picks it up.

Kppp can be a bit of a pig at times. Another angle that might be worth trying is using the gnome dialup utility (can't remember what it is called but you should find it somewhere in FC6.) I think it is a frontend for wvdial, which is tried and trusted linux software.
Greenfuse, it is internal modem, not external,I ty ScanModem from Linmodems.org, the following result shows:

-------------------------- System information ----------------------------
CPU=i686, Fedora Core release 6 (Zod)
Kernel
Linux version 2.6.18-1.2798.fc6xen (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 15:11:19 EDT 2006
scanModem update of: 2007_Jan_22


USB modem not detected by lsusb

Modem or host audio card candidates have firmware information:

PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
02:0d.0 12b9:1008 12b9:00ad Serial controller: 3Com Corp, Modem Division 56K FaxModem Model 5610

Modem interrupt assignment and sharing:

--- Bootup diagnositcs for card in PCI slot 02:0d.0 ----

=== Finished modem firmware and bootup diagnostics section. ===
=== Next deducing cogent software ===

For candidate modem in PCI bus: 02:0d.0
Class 0700: 12b9:1008 Serial controller: 3Com Corp, Modem Division 56K FaxModem Model 5610
Primary PCI_id 12b9:1008
Support type needed or chipset: USrobotics.serial


Vendor 10b7 3COM Inc. purchased the vendor 12b9 US Robotics modem technology.
Their winmodems have no Linux support. Their controller chipset modems
are supported by the Linux serial drivers.
The PCI id 12b9:1008 modem is Supported.

PCI ID Name Support status
-------------------------------------------------------------------------------
10b7:1006 3COM 0038TA AC101 - TF Mini-PCI winmodem, not supported
10b7:1007 3COM 3C556 V.90 Mini-PCI winmodem, not supported
12b9:1006 US Robotics 3cp803598 Voice winmodem, not supported
12b9:1007 US Robotics ERL3263A-0 DF GWPCI PC99 winmodem, not supported

12b9:0062 US Robotics erk41926a-0.6 usr 56k serial driver supported
12b9:1008 US Robotics 3cp803598 serial driver supported
wvdialconf wvtest , should detect the modem. Read Testing.txt
====== end 3COM section =======

but modem still not works.
 
Old 02-10-2007, 06:20 PM   #7
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 164

Rep: Reputation: 22
Try typing these commands as root (su)


# MAKEDEV -v /dev/ttyS4
# setserial /dev/ttyS4 port 0xe400 irq 9 uart 16550A
# setserial -g ttyS4

Then select ttyS4 fromm kppp

good luck
 
Old 02-13-2007, 01:36 AM   #8
mfdarvesh
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Greenfuse
Try typing these commands as root (su)


# MAKEDEV -v /dev/ttyS4
# setserial /dev/ttyS4 port 0xe400 irq 9 uart 16550A
# setserial -g ttyS4

Then select ttyS4 fromm kppp

good luck
Thanks Greenfuse, I applied that commands,
Applying this command "# MAKEDEV -v /dev/ttyS4" make nothing, I guess action was completed as no error appear.

Applying # setserial /dev/ttyS4 port 0xe400 irq 9 uart 16550A was resulted in "No such port or address", and similar was next command.

So my problem was still there, any other suggestion please.
 
Old 02-14-2007, 03:56 PM   #9
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 164

Rep: Reputation: 22
Let us check some things

Could you type this command and post the result here
ls -la /dev/ttyS*
for me it looks like this:

Code:
ls -la /dev/ttyS*
crw-rw---- 1 root tty     4, 64 Feb 14  2006 /dev/ttyS0
crw-rw---- 1 root tty     4, 65 Feb 14  2006 /dev/ttyS1
crw-rw---- 1 root tty     4, 66 Feb 14  2006 /dev/ttyS2
crw-rw---- 1 root tty     4, 67 Feb 14  2006 /dev/ttyS3
crw-rw---- 1 root dialout 4, 68 Feb 14  2006 /dev/ttyS4
Also, did you actually type "MAKEDEV -v /dev/ttyS4" or "# MAKEDEV -v /dev/ttyS4"

you do not need to type the "#" I wrote it that way because when you are working as root (su) that is how the prompt appears, rather than as "$" for normal user.

I ask this because you should have had some message returned from that command ( the "-v" asks it to be "verbose" and say what is happening)

Have a look in the manual pages for MAKEDEV and setserial. Type
man setserial
to get the manual page for setserial (quit the man page with the "Q" key). Do the same for "man MAKEDEV". You might learn some clues to help with your problem.
 
Old 02-16-2007, 01:05 AM   #10
mfdarvesh
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks, Greenfuse, this was result:

crw-rw---- 1 root uucp 4, 64 Feb 15 2007 /dev/ttyS0
crw------- 1 root root 4, 65 Feb 15 2007 /dev/ttyS1
crw------- 1 root root 4, 66 Feb 15 2007 /dev/ttyS2
crw------- 1 root root 4, 67 Feb 15 2007 /dev/ttyS3

I understand that # sign was for reference. I hanvn't use that.
 
Old 02-17-2007, 01:18 AM   #11
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 164

Rep: Reputation: 22
I think that your modem needs ttyS4 (it is called com port 5 in windows.) During the normal bootup process, only COM ports 1-4 are initialised.

To check, see what you get from

$ ls -la /dev/modem

If you get something like

ls: cannot access /dev/modem: No such file or directory

Then I guess we need to find another way of creating the ttyS4 node. MAKEDEV did nothing so maybe try

# mknod /dev/ttyS4 c 4 68

If that works then use setserial to get the node working. In the earlier post I suggested values to use with setserial which might not suit your system. We can find out what to use by running

# lspci -v

You will find a section that looks something like this

0000:00:11.0 Serial controller: 5610 56K FaxModem 56K FaxModem Model 5610 (rev 01) (prog-if 02 [16550])
Subsystem: 5610 56K FaxModem: Unknown device baba
Flags: medium devsel, IRQ 11
I/O ports at d000 [size=8]
Capabilities: [dc] Power Management version 2

So use the command

# setserial /dev/ttyS4 irq ##
(in the example above it would be irq 11

Where ## is the value you get from "lspci -v"

then type

# setserial -g /dev/ttyS4

to check if it works.

If it does not work, you might need to add the other arguments to the setserial command, port and/or uart. (setserial /dev/ttyS4 port #### irq ## uart #####) In the above example uart is 16550 Read "man setserial" I don't know how to work out the "port" value - you might need to experiment or search about if you need it.

Have another read through "man setserial" for clues. At first a "man" page can be hard to understand, but it is good to keep trying.

Last edited by Greenfuse; 02-17-2007 at 04:16 AM.
 
Old 02-21-2007, 12:03 AM   #12
mfdarvesh
LQ Newbie
 
Registered: Feb 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks Greenfuse for your hardwork, but I am unable to connect my modem.
Yesterday, I uninstalled FC6 and reinstalled CentOS 4.4, it works fine
detected my modem on ttyS2 and now I am able to connect to Internet.
I think, Fedora Core 6 have some problems accesing modem.
 
Old 05-08-2007, 10:40 AM   #13
ramrklutu
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0
If you install support for virtualization serial ports don't seem to work. Setserial can't find the port.

Try running

dmesg | grep serial

you should see:

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


If you don't see this then look in /boot/grub and look at grub.conf. If any of the modules that get loaded contain the letters "xen" than you probably loaded virtualization support at install time (like I did at first).
 
  


Reply

Tags
3com, fc6, modem


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
installed fc6 on seperate partition, same hard drive with xp, fc6 wont boot frankandsense Linux - Newbie 6 02-22-2007 02:50 AM
Not able install modem for fc6 1st time install wa2rsi Linux - Networking 4 01-09-2007 04:51 PM
Installing webcam and modem in FC6 Lexus70 Linux - Hardware 1 12-04-2006 09:37 AM
XEN. Problem with install guest FC6 (i386) on platform FC6 (x86_64) Alex_Saf Fedora 0 12-04-2006 12:15 AM


All times are GMT -5. The time now is 07:22 AM.

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