LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-26-2004, 12:50 AM   #1
ricky_ds
Member
 
Registered: Aug 2004
Location: Bern, Switzerland
Distribution: Kubuntu, FC, RHEL
Posts: 48
Blog Entries: 2

Rep: Reputation: 17
RH doesn't detect my Serial modem connected to a PCI Serial card


(Repost as a new thread upon suggestion of finegan

At our company, we need a modem in order to send faxes. We've first tried with an USB modem but now given up. Since the Serial port is already taken by another device, we bought a PCI Serial card in order to connect the modem there.

The PCI Card we bought is the following:

EX-41092: 2S PCI Serial card RS-232 32/64-Bit with 2 x FIFO 16C950, (3.3V and 5V)
There's even a step-by-step installation instruction for Linux.

The spot in the installation instructions where they say that in the file /proc/pci I should find an information like "Vendor id=1409, Device id=7168" however lost me a little bit, since it didn't appear in my file. So I did the following:

Code:
# lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0f.0 Serial controller: Oxford Semiconductor Ltd EXSYS EX-41092 Dual 16950 Serial adapter
00:0f.1 Parallel controller: Oxford Semiconductor Ltd: Unknown device 9500
00:14.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:14.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:14.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:14.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC AGP (rev 3a)
The lines I'm emphasizing above appeared only when the card was inserted, so I suppose they refer to it. Then I checked the /proc/pci file again. Here are the lines that appear only when the card is inserted:

Code:
  Bus  0, device  15, function  0:
    Class 0700: PCI device 1415:950a (rev 0).
      IRQ 11.
      I/O at 0x2440 [0x245f].
      Non-prefetchable 32 bit memory at 0x42000000 [0x42000fff].
      I/O at 0x2460 [0x247f].
      Non-prefetchable 32 bit memory at 0x42100000 [0x42100fff].
  Bus  0, device  15, function  1:
    Class 0701: PCI device 1415:9500 (rev 0).
      IRQ 11.
      I/O at 0x2430 [0x2437].
      I/O at 0x2438 [0x243f].
      I/O at 0x2480 [0x249f].
      Non-prefetchable 32 bit memory at 0x42200000 [0x42200fff].
So I then proceeded with setserial as follows, using the hexadecimal addresses emphasized above:

Code:
setserial /dev/ttyS2 uart 16550A port 0x2440 irq 10 baud_base 921600 spd_normal skip_test auto_irq
setserial /dev/ttyS3 uart 16550A port 0x2460 irq 10 baud_base 921600 spd_normal skip_test auto_irq
Now the problem: whenever I run "wvdialconf /etc/wvdial.conf" and get the message:
Code:
Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?
First I had them on ttyS1 and ttyS2 respectively, but the computer used to lock (keyboard. network, screen) whenever I run wvdialconf. Is there an IRQ problem somewhere? I know the devices ttyS1, ttyS2 and ttyS3 are free.
 
Old 08-17-2006, 02:37 PM   #2
Tijn
LQ Newbie
 
Registered: Aug 2006
Distribution: Various versions of Redhat, CentOS, Fedora, Debian, Mint
Posts: 13

Rep: Reputation: 0
Hi,
probably be too late to help you with your problem, but following
remarks may be a help for someone else:

1st check your dmesg or /var/log/messages, whether the kernel did not configure the serial ports automaticaly.
My 2.6.X in FC2 does, to obscure ttyS14, ttyS15, ttyS44, ttyS45 on 16954 based 4-port PCI card. For ttyS44 and ttyS45 even the device nodes did not exist...

Quote:
Originally Posted by ricky_ds
Code:
setserial /dev/ttyS2 uart 16550A port 0x2440 irq 10 baud_base 921600 spd_normal skip_test auto_irq
setserial /dev/ttyS3 uart 16550A port 0x2460 irq 10 baud_base 921600 spd_normal skip_test auto_irq
It is 16950 UART, isn't it? So why to force it to be 16550A?

Last edited by Tijn; 08-17-2006 at 03:55 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
New SIIG 4 Port PCI serial card (16C954) driver problem gpedley Linux - Hardware 2 07-10-2008 10:35 PM
USB to Serial Converter on Serial Modem bongski55 Linux - General 3 08-29-2005 10:04 AM
FC3 does not detect serial modem... dark_prancer Fedora 3 05-26-2005 09:29 PM
adding a additional pci card serial port da_kidd_er Linux - Hardware 0 01-09-2004 12:02 PM
Serial PCI troubles. No working modem.. Pcghost Linux - Hardware 8 07-24-2003 06:07 PM


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