LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   RH doesn't detect my Serial modem connected to a PCI Serial card (https://www.linuxquestions.org/questions/linux-hardware-18/rh-doesnt-detect-my-serial-modem-connected-to-a-pci-serial-card-247355/)

ricky_ds 10-26-2004 12:50 AM

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?

:scratch: 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.

Tijn 08-17-2006 02:37 PM

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?


All times are GMT -5. The time now is 12:00 AM.