Re: pcmcia modem help - Portable

This is a discussion on Re: pcmcia modem help - Portable ; TJ wrote: > Hi, > I have a modem that will not respond to AT codes using minicom. There is a test_modem script in the pcmcia-cs source distribution that might be useful. > cardctl ident: > Socket 0: > product ...

+ Reply to Thread
Results 1 to 10 of 10

Thread: Re: pcmcia modem help

  1. Re: pcmcia modem help

    TJ wrote:
    > Hi,
    > I have a modem that will not respond to AT codes using minicom.


    There is a test_modem script in the pcmcia-cs source distribution that
    might be useful.

    > cardctl ident:
    > Socket 0:
    > product info: "Nifty Modem", "Thrashmaster"
    > manufid: 0x00a1, 0x0111a
    > function: 2 (serial)


    Is that product info for real??

    Can you also show the output of /sbin/dump_cis?

    -- Dave

  2. Re: pcmcia modem help

    I apologize for neglecting to mention this earlier: the embedded linux
    widget only has two comm ports, and so I don't understand why the card
    services appear to insist on assigning the card to the non-existant port of
    ttyS2 irq=5? Its BIOS has COM1 0x03F8 and COM2 0x02F8. I didn't give this
    too much thought since I seemingly have been trained to believe that the
    reported allocations are misnomers?

    Test Summary:
    1. SBC Widget
    Embedded Debian (Woody), 2.2.14 kernel, 3.2.4 pcmcia
    card non-op, assigned: ttyS2 IRQ=5 (??)

    2a. Dell Inspiron 7500
    SuSE 8.1, 2.4.xx kernel, 3.2.0 pcmcia
    card WORKS, assigned: ttyS2 IRQ=3 (see below)

    2b. Dell Inspiron 7500
    Win98
    card WORKS, assigned: COM3 IRQ=10

    3. Compaq Armada 4220T
    SuSE 6.2, 2.2.10 kernel, 3.0.13 pcmcia
    card non-op, assigned: ttyS3 IRQ=4

    I regress to wondering why polling mode doesn't work, rather than to force
    the port to ttyS1 irq=4...

    I'm going to splinter off a parallel reply with the diagnotics on the
    machine in which the card works, because the test_modem script doesn't
    agree that the modem is working...

    Thanks,
    TJ



  3. Re: pcmcia modem help

    Yes, its a Dell Inspiron 7500 with SuSE 8.1

    Although the Novatel Wireless modem works just fine both before and after
    running the test_modem script, the script itself doesn't agree. Also, I
    can send "AT" to the modem and get an "OK" response using minicom on this
    machine... Diagnostics to follow.

    Thanks,
    TJ


    test_modem:
    Checking modem at /dev/ttyS2:
    Settings: /dev/ttyS1, UART: 16950/954, Port: 0x03e8, IRQ: 3
    Sending modem query command...
    Modem query timed out!
    Trying polled mode...
    The modem is not working in polled mode.

    cat /proc/interrupts
    CPU0
    0: 211003 XT-PIC timer
    1: 5344 XT-PIC keyboard
    2: 0 XT-PIC cascade
    5: 4420 XT-PIC usb-uhci, ESS Maestro
    8: 2 XT-PIC rtc
    9: 1 XT-PIC acpi
    11: 3227 XT-PIC PCI device 104c:ac1c, PCI device
    104c:ac1c, eth0
    12: 60044 XT-PIC PS/2 Mouse
    14: 10460 XT-PIC ide0
    15: 161 XT-PIC ide1
    NMI: 0
    LOC: 0
    ERR: 405
    MIS: 0

    dmesg:
    cs: memory probe 0xa0000000-0xa0ffffff: clean.
    ttyS02 at port 0x03e8 (irq = 3) is a 16C950/954
    register_serial(): autoconfig failed
    serial_cs: register_serial() at 0x02e8, irq 3 failed

    setserial /dev/ttyS2:
    /dev/ttyS2, UART: 16950/954, Port: 0x03e8, IRQ: 3

    /var/log/messages:
    Aug 20 11:45:06 spudbox5 cardmgr[484]: socket 1: Serial or Modem
    Aug 20 11:45:06 spudbox5 kernel: cs: memory probe 0xa0000000-0xa0ffffff:
    clean.
    Aug 20 11:45:06 spudbox5 cardmgr[484]: executing: 'insmod -v
    /lib/modules/2.4.19-4GB//pcmcia/serial_cs.o'
    Aug 20 11:45:06 spudbox5 cardmgr[484]: + Using
    /lib/modules/2.4.19-4GB//pcmcia/serial_cs.o
    Aug 20 11:45:06 spudbox5 cardmgr[484]: + Symbol version prefix ''
    Aug 20 11:45:06 spudbox5 cardmgr[484]: executing: './serial start ttyS2'
    Aug 20 11:45:06 spudbox5 kernel: ttyS02 at port 0x03e8 (irq = 3) is a
    16C950/954
    Aug 20 11:45:06 spudbox5 kernel: register_serial(): autoconfig failed
    Aug 20 11:45:06 spudbox5 kernel: serial_cs: register_serial() at 0x02e8,
    irq 3 failed

    dump_cis:
    Socket 0:
    no CIS present

    Socket 1:
    dev_info
    NULL 0ns, 512b
    checksum 0x000c-0x010d = 0xf7
    attr_dev_info
    fn_specific 200ns, 64kb
    manfid 0x00a4, 0x076c
    funcid serial_port [post]
    serial_interface
    uart 16550 [space/mark/odd/even] [5/6/7/8] [1/1.5/2]
    vers_1 5.0, "Novatel Wireless", "CDMA 1.9GHz"
    config base 0x0400 mask 0x0003 last_index 0x2d
    cftable_entry 0x0d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x03f8-0x03ff, 0x02f8-0x02ff [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x0d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x03f8-0x03ff, 0x03e8-0x03ef [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x15 [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x02f8-0x02ff, 0x03e8-0x03ef [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x25 [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x02f8-0x02ff, 0x02e8-0x02ef [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x1d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x03e8-0x03ef, 0x02e8-0x0304 [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x2d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x0000-0x0007 [lines=3] [8bit]
    irq mask 0xffff [level]

    lspci -v:
    00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
    (rev 03)
    Flags: bus master, medium devsel, latency 64
    Memory at e0000000 (32-bit, prefetchable) [size=64M]
    Capabilities: [a0] AGP version 1.0

    00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev
    03) (prog-if 00 [Normal decode])
    Flags: bus master, 66Mhz, medium devsel, latency 128
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
    I/O behind bridge: 00002000-00002fff
    Memory behind bridge: fc100000-fdffffff

    00:04.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
    Subsystem: Dell Computer Corporation: Unknown device 009e
    Flags: bus master, medium devsel, latency 168, IRQ 11
    Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
    Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
    Memory window 0: 10400000-107ff000 (prefetchable)
    Memory window 1: 10800000-10bff000
    I/O window 0: 00004000-000040ff
    I/O window 1: 00004400-000044ff
    16-bit legacy interface ports at 0001

    00:04.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
    Subsystem: Dell Computer Corporation: Unknown device 009e
    Flags: bus master, medium devsel, latency 168, IRQ 11
    Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
    Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
    Memory window 0: 10c00000-10fff000 (prefetchable)
    Memory window 1: 11000000-113ff000
    I/O window 0: 00004800-000048ff
    I/O window 1: 00004c00-00004cff
    16-bit legacy interface ports at 0001

    00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
    Flags: bus master, medium devsel, latency 0

    00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if
    80 [Master])
    Flags: bus master, medium devsel, latency 64
    [virtual] I/O ports at 01f0
    [virtual] I/O ports at 03f4
    [virtual] I/O ports at 0170
    [virtual] I/O ports at 0374
    I/O ports at 1090 [size=16]

    00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
    (prog-if 00 [UHCI])
    Flags: bus master, medium devsel, latency 64, IRQ 5
    I/O ports at 1060 [size=32]

    00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
    Flags: medium devsel, IRQ 9

    00:08.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev
    10)
    Subsystem: Dell Computer Corporation: Unknown device 009e
    Flags: bus master, medium devsel, latency 64, IRQ 5
    I/O ports at 1400 [size=256]
    Capabilities: [c0] Power Management version 2

    00:10.0 Communication controller: Lucent Microelectronics WinModem 56k (rev
    01)
    Subsystem: Action Tec Electronics Inc: Unknown device 2100
    Flags: medium devsel, IRQ 5
    Memory at fc000000 (32-bit, non-prefetchable) [size=256]
    I/O ports at 1080 [size=8]
    I/O ports at 1800 [size=256]
    Capabilities: [f8] Power Management version 1

    01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M
    AGP 2x (rev 64) (prog-if 00 [VGA])
    Subsystem: Dell Computer Corporation: Unknown device 009e
    Flags: bus master, stepping, medium devsel, latency 66, IRQ 11
    Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
    I/O ports at 2000 [size=256]
    Memory at fc100000 (32-bit, non-prefetchable) [size=4K]
    Expansion ROM at [disabled] [size=128K]
    Capabilities: [50] AGP version 1.0
    Capabilities: [5c] Power Management version 1



  4. Re: pcmcia modem help

    I think now that this might be related to the older linux not supporting the
    newer UART ST16650V2?

    I've tried to test this by exclusively modifying each:
    1. setserial script to set the UART at boot.
    2. the port from a command prompt using setserial
    3. serial.opts

    But the result of every test is that the driver still reports the UART as
    ST16650V2 when I insert the card.

    ??



  5. Re: pcmcia modem help

    tj wrote:

    > Checking modem at /dev/ttyS2:
    > Settings: /dev/ttyS1, UART: 16950/954, Port: 0x03e8, IRQ: 3


    Is this true? (note ttyS2 versus ttyS1)

    Does "setserial /dev/ttyS2" report that it is "ttyS1"?

    -- Dave

  6. Re: pcmcia modem help

    Yes, that was the actual output.

    However, after several attempts today, I have not been able to reproduce
    that same output.

    It now correctly(?) specifies ttyS2 on both lines.


  7. Re: pcmcia modem help

    tj wrote:
    > Yes, that was the actual output.


    > However, after several attempts today, I have not been able to reproduce
    > that same output.


    > It now correctly(?) specifies ttyS2 on both lines.


    Actually, could you get the system log messages from when you insert
    the card on the systems that do not work? So far I've only seen the
    actual messages from the "working" system, I think.

    -- Dave

  8. Re: pcmcia modem help

    Here is the complete set of the diagnostics for both machines where the
    modem is non-op. The Widget has a much higher priority for me to solve.

    Is it necessary (and possible?) to confirm whether either of these two
    machines has support for the modem's UART of ST16650V2?

    Thanks
    TJ

    MACHINE A: - - - - - - - - - - - - - - - - - -

    Widget (PC104) is a 4823 SBC with PM-1038 (pccard adapter board)
    Embedded Debian (Woody), 2.2.14 kernel, 3.2.4 pcmcia
    notes - has only two comm ports in the bios, does not have perl, so ran
    as many of the test_modem tests by hand as much as I could determine.

    /var/log/messages:

    Aug 25 16:36:06 SIBx22 syslog.info syslogd started: BusyBox v0.52
    (2001.07.26-15:41+0000)
    Aug 25 16:36:07 SIBx22 syslog.info System log daemon exiting.
    Aug 25 16:36:07 SIBx22 syslog.info syslogd started: BusyBox v0.52
    (2001.07.26-15:41+0000)
    Aug 25 16:36:07 SIBx22 cron.info /usr/sbin/cron[91]: (CRON) STARTUP (fork
    ok)
    Aug 25 16:36:09 SIBx22 daemon.info cardmgr[117]: watching 2 sockets
    Aug 25 16:36:09 SIBx22 daemon.info cardmgr[118]: starting, version is 3.2.4
    Aug 25 16:37:04 SIBx22 auth.info login[125]: root login on `tty1'
    Aug 25 16:37:44 SIBx22 daemon.info cardmgr[118]: socket 0: Serial or Modem
    Aug 25 16:37:44 SIBx22 daemon.info cardmgr[118]: executing: 'insmod
    /lib/modules/2.2.14/pcmcia/serial_cs.o'
    Aug 25 16:37:44 SIBx22 daemon.info cardmgr[118]: + Using
    /lib/modules/2.2.14/pcmcia/serial_cs.o
    Aug 25 16:37:44 SIBx22 daemon.info cardmgr[118]: executing: './serial start
    ttyS2'

    dmesg:

    Linux version 2.2.14 (root@rubberducky) (gcc version 2.95.4 20011002 (Debian
    prerelease)) #1 Wed Aug 6 20:33:39 CDT 2003
    Console: colour VGA+ 80x25
    Calibrating delay loop... 39.94 BogoMIPS
    Memory: 30608k/32768k available (1064k kernel code, 444k reserved, 592k
    data, 60k init)
    Checking if this processor honours the WP bit even in supervisor mode... Ok.
    Dentry hash table entries: 4096 (order 3, 32k)
    Buffer cache hash table entries: 32768 (order 5, 128k)
    Page cache hash table entries: 8192 (order 3, 32k)
    CPU: Cyrix Cx486DX4
    Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
    Checking 'hlt' instruction... OK.
    Checking for popad bug... OK.
    POSIX conformance testing by UNIFIX
    PCI: No PCI bus detected
    Linux NET4.0 for Linux 2.2
    Based upon Swansea University Computer Society NET3.039
    NET4: Unix domain sockets 1.0 for Linux NET4.0.
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP
    TCP: Hash tables configured (ehash 32768 bhash 32768)
    Starting kswapd v 1.5
    Detected PS/2 Mouse Port.
    Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS01 at 0x02f8 (irq = 3) is a 16550A
    pty: 256 Unix98 ptys configured
    Real Time Clock Driver v1.09
    RAM disk driver initialized: 16 RAM disks of 4096K size
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is an 8272A
    nftl_cache=1 policy=0 is_ram_check=0 multidoc=0 8bit_access=0
    Flash disk driver for DiskOnChip2000
    Copyright (C) 1998,2001 M-Systems Flash Disk Pioneers Ltd.
    DOC device(s) found: 1
    Fat Filter Enabled
    PPP: version 2.3.7 (demand dialling)
    TCP compression code copyright 1989 Regents of the University of California
    PPP line discipline registered.
    SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit
    encapsulation enabled).
    CSLIP: code copyright 1989 Regents of the University of California.
    SLIP linefill/keepalive option.
    fl_geninit: registered device at major: 100
    partition: 0: start_sect: 0, nr_sects: fa40 Fl_blk_size[]: 7d20kb
    partition: 1: start_sect: 0, nr_sects: 0 Fl_blk_size[]: 0kb
    partition: 2: start_sect: 0, nr_sects: 0 Fl_blk_size[]: 0kb
    partition: 3: start_sect: 0, nr_sects: 0 Fl_blk_size[]: 0kb
    Partition check:
    fla: fla1
    fla: fla1
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing unused kernel memory: 60k freed
    ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
    NE*000 ethercard probe at 0x300: 00 08 9b 4c 9b 80
    eth0: NE2000 found at 0x300, using IRQ 11.
    Linux PCMCIA Card Services 3.2.4
    kernel build: 2.2.14 #1 Wed Aug 6 20:33:39 CDT 2003
    options: [pci] [cardbus]
    Intel ISA/PCI/CardBus PCIC probe:
    Ricoh RF5C296/396 rev 00 ISA-to-PCMCIA at port 0x3e0 ofs 0x00
    host opts [0]: none
    host opts [1]: none
    ISA irqs (scanned) = 5,9,10,14 status change on irq 14
    cs: memory probe 0x0e0000-0x0e8000: clean.
    cs: IO port probe 0x0300-0x03ff: excluding 0x340-0x347 0x378-0x37f
    0x3f0-0x3ff
    cs: IO port probe 0x0348-0x0377: clean.
    cs: IO port probe 0x0380-0x03ef: clean.
    cs: IO port probe 0x1000-0x1400: excluding 0x1000-0x100f 0x1020-0x1027
    0x1040-0x1047 0x1060-0x1067 0x1070-0x1077 0x1080-0x1097 0x10a0-0x10a7
    0x10c0-0x10d7 0x10f0-0x10f7 0x11f0-0x11f7 0x12f8-0x12ff 0x1340-0x1347
    0x1378-0x137f 0x13f0-0x1407
    cs: IO port probe 0x1028-0x103f: clean.
    cs: IO port probe 0x1048-0x105f: clean.
    cs: IO port probe 0x1068-0x106f: clean.
    cs: IO port probe 0x1078-0x107f: clean.
    cs: IO port probe 0x1098-0x109f: clean.
    cs: IO port probe 0x10a8-0x10bf: clean.
    cs: IO port probe 0x10d8-0x10ef: clean.
    cs: IO port probe 0x10f8-0x11ef: clean.
    cs: IO port probe 0x11f8-0x12f7: clean.
    cs: IO port probe 0x1300-0x133f: clean.
    cs: IO port probe 0x1348-0x1377: clean.
    cs: IO port probe 0x1380-0x13ef: clean.
    cs: IO port probe 0x1500-0x17ff: excluding 0x15f0-0x15f7 0x1740-0x1747
    0x1778-0x177f 0x17f0-0x17f7
    cs: IO port probe 0x15f8-0x173f: clean.
    cs: IO port probe 0x1748-0x1777: clean.
    cs: IO port probe 0x1780-0x17ef: clean.
    cs: IO port probe 0x17f8-0x17ff: clean.
    tty02 at 0x03e8 (irq = 5) is a ST16650V2

    cardctl status

    Socket 0:
    5V 16-bit PC Card
    function 0: [ready]
    Socket 1:
    no card

    cardctl ident

    Socket 0:
    product info: "Novatel Wireless", "CDMA 1.9GHz"
    manfid: 0x00a4, 0x076c
    function: 2 (serial)
    Socket 1:
    no product info available

    setserial

    /dev/ttyS2, UART: 16650V2, Port: 0x03e8, IRQ: 5

    ls -l /dev/modem
    lrwxrwxrwx 1 root root 10 Aug 25 23:56 /dev/modem ->
    /dev/ttyS2

    dump_cis

    Socket 0:
    dev_info
    NULL 0ns, 512b
    checksum 0x000c-0x010d = 0xf7
    attr_dev_info
    fn_specific 200ns, 64kb
    manfid 0x00a4, 0x076c
    funcid serial_port [post]
    serial_interface
    uart 16550 [space/mark/odd/even] [5/6/7/8] [1/1.5/2]
    vers_1 5.0, "Novatel Wireless", "CDMA 1.9GHz"
    config base 0x0400 mask 0x0003 last_index 0x2d
    cftable_entry 0x0d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x03f8-0x03ff, 0x02f8-0x02ff [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x0d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x03f8-0x03ff, 0x03e8-0x03ef [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x15 [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x02f8-0x02ff, 0x03e8-0x03ef [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x25 [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x02f8-0x02ff, 0x02e8-0x02ef [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x1d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x03e8-0x03ef, 0x02e8-0x0304 [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x2d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x0000-0x0007 [lines=3] [8bit]
    irq mask 0xffff [level]
    Socket 1:
    no CIS present

    /proc/interrupts

    CPU0
    0: 210320 XT-PIC timer
    1: 2789 XT-PIC keyboard
    2: 0 XT-PIC cascade
    4: 9 XT-PIC serial
    8: 0 XT-PIC rtc
    11: 588 XT-PIC NE2000
    13: 1 XT-PIC fpu
    14: 16 XT-PIC i82365
    NMI: 0

    cat stab

    Socket 0: Serial or Modem
    0 serial serial_cs 0 ttyS2 4 66
    Socket 1: empty

    lspci -v (not actual output because of failure)

    pcilib: Cannot open /proc/bus/pci
    lspci: Cannot find any working access method.

    MACHINE B: - - - - - - - - - - - - - - - - - -

    Compaq Armada 4220T laptop
    SuSE 6.2, 2.2.10 kernel, 3.0.13 pcmcia
    notes - test_modem uses the first of two entries listed to check modem
    status, but the first is *not the modem; the symlink to /dev/modem confirms
    this. Since there isn't another devices on ttyS1 (internal nor external)
    that I know of, I'm not sure where that first entry of ttyS1 is derived
    from.

    /var/log/messages

    Aug 25 09:17:28 spudbox8 kernel: klogd 1.3-3, log source = /proc/kmsg
    started.
    Aug 25 09:17:28 spudbox8 kernel: Inspecting /boot/System.map
    Aug 25 09:17:29 spudbox8 kernel: Loaded 8279 symbols from /boot/System.map.
    Aug 25 09:17:29 spudbox8 kernel: Symbols match kernel version 2.2.10.
    Aug 25 09:17:29 spudbox8 kernel: Loaded 58 symbols from 6 modules.
    Aug 25 09:17:29 spudbox8 kernel: Serial driver version 4.27 with HUB-6
    MANY_PORTS MULTIPORT SHARE_IRQ enabled
    Aug 25 09:17:29 spudbox8 kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
    Aug 25 09:17:29 spudbox8 kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A
    Aug 25 09:17:29 spudbox8 kernel: Linux PCMCIA Card Services 3.0.13
    Aug 25 09:17:29 spudbox8 kernel: kernel build: 2.2.10 #1 Thu Jul 22
    14:06:40 GMT 1999
    Aug 25 09:17:29 spudbox8 kernel: options: [pci] [cardbus]
    Aug 25 09:17:29 spudbox8 kernel: Intel PCIC probe:
    Aug 25 09:17:29 spudbox8 kernel: TI 1220 PCI-to-CardBus at bus 0 slot 10,
    mem 0x7fffe000, 2 sockets
    Aug 25 09:17:29 spudbox8 kernel: host opts [0]: [ring] [pwr save] [pci +
    serial irq] [no pci irq] [lat 66/176] [bus 1/1]
    Aug 25 09:17:29 spudbox8 kernel: host opts [1]: [ring] [pwr save] [pci +
    serial irq] [no pci irq] [lat 66/176] [bus 2/2]
    Aug 25 09:17:29 spudbox8 kernel: ISA irqs (scanned) = 3,4,7,9,10,15
    status change on irq 15
    Aug 25 09:17:29 spudbox8 kernel: cs: IO port probe 0x1000-0x17ff: excluding
    0x1028-0x102f
    Aug 25 09:17:29 spudbox8 kernel: cs: IO port probe 0x0100-0x04ff: excluding
    0x100-0x107 0x200-0x207 0x220-0x22f 0x250-0x257 0x330-0x337 0x378-0x37f
    0x388-0x38f 0x4d0-0x4d7
    Aug 25 09:17:29 spudbox8 kernel: cs: IO port probe 0x0a00-0x0aff: clean.
    Aug 25 09:17:29 spudbox8 kernel: cs: memory probe 0xa0000000-0xa0ffffff:
    excluding 0xa0000000-0xa0ffffff
    Aug 25 09:17:29 spudbox8 kernel: cs: memory probe 0x60000000-0x60ffffff:
    clean.
    Aug 25 09:17:29 spudbox8 kernel: 3c574_cs.c v1.08 9/24/98 Donald
    Becker/David Hinds, becker@cesdis.gsfc.nasa.gov.
    Aug 25 09:17:29 spudbox8 kernel: eth0: Megahertz 574B at io 0x300, irq 3,
    hw_addr 00:50A:E4:15:60.
    Aug 25 09:17:29 spudbox8 kernel: ASIC rev 1, 64K FIFO split 1:1 Rx:Tx,
    autoselect MII interface.
    Aug 25 09:17:29 spudbox8 kernel: eth0: found link beat
    Aug 25 09:17:29 spudbox8 kernel: eth0: autonegotiation complete: 100baseT-HD
    selected
    Aug 25 09:17:35 spudbox8 lpd[183]: restarted
    Aug 25 09:17:37 spudbox8 /usr/sbin/cron[206]: (CRON) STARTUP (fork ok)
    Aug 25 09:21:58 spudbox8 login: pam_unix session started for user root,
    service login
    Aug 25 09:22:07 spudbox8 cardmgr[61]: initializing socket 1
    Aug 25 09:22:07 spudbox8 cardmgr[61]: socket 1: Serial or Modem
    Aug 25 09:22:07 spudbox8 cardmgr[61]: executing: 'insmod
    /lib/modules/2.2.10/pcmcia/serial_cs.o'
    Aug 25 09:22:07 spudbox8 kernel: tty01 at 0x02f8 (irq = 9) is a 8250
    Aug 25 09:22:07 spudbox8 kernel: tty03 at 0x02e8 (irq = 9) is a ST16650V2
    Aug 25 09:22:07 spudbox8 cardmgr[61]: executing: './serial start ttyS1'
    Aug 25 09:22:08 spudbox8 cardmgr[61]: executing: './serial start ttyS3'

    dmesg

    Linux version 2.2.10 (root@Mandelbrot.suse.de) (gcc version 2.7.2.3) #1 Tue
    Jul 20 16:32:24 MEST 1999
    Detected 267277359 Hz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 532.48 BogoMIPS
    Memory: 63012k/65536k available (1172k kernel code, 412k reserved (endbase
    0x9f000), 896k data, 44k init)
    VFS: Diskquotas version dquot_6.4.0 initialized
    CPU: Intel Mobile Pentium MMX stepping 01
    Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
    Checking 'hlt' instruction... OK.
    Checking for popad bug... OK.
    Intel Pentium with F0 0F bug - workaround enabled.
    POSIX conformance testing by UNIFIX
    PCI: PCI BIOS revision 2.10 entry at 0xf73bb
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    PCI: Assigning I/O space 5800-581f to device 00:0a
    PCI: Enabling I/O for device 00:0a
    Linux NET4.0 for Linux 2.2
    Based upon Swansea University Computer Society NET3.039
    NET4: Unix domain sockets 1.0 for Linux NET4.0.
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    Initializing RT netlink socket
    Starting kswapd v 1.5
    Detected PS/2 Mouse Port.
    pty: 256 Unix98 ptys configured
    Real Time Clock Driver v1.09
    RAM disk driver initialized: 16 RAM disks of 20480K size
    PIIX4: IDE controller on PCI bus 00 dev 09
    PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1020-0x1027, BIOS settings: hdaio, hdbio
    hda: FUJITSU MHC2040AT, ATA DISK drive
    hdb: COMPAQ CRD-S68P, ATAPI CDROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    hda: FUJITSU MHC2040AT, 3909MB w/0kB Cache, CHS=993/128/63
    hdb: ATAPI 8X CD-ROM drive, 256kB Cache
    Uniform CDROM driver Revision: 2.55
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a post-1991 82077
    md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
    linear personality registered
    raid0 personality registered
    raid1 personality registered
    raid5 personality registered
    scsi : 0 hosts.
    scsi : detected total.
    Partition check:
    hda: hda1 hda2 hda3
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing unused kernel memory: 44k freed
    Adding Swap: 133048k swap-space (priority -1)
    Serial driver version 4.27 with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS02 at 0x03e8 (irq = 4) is a 16550A
    Linux PCMCIA Card Services 3.0.13
    kernel build: 2.2.10 #1 Thu Jul 22 14:06:40 GMT 1999
    options: [pci] [cardbus]
    Intel PCIC probe:
    TI 1220 PCI-to-CardBus at bus 0 slot 10, mem 0x7fffe000, 2 sockets
    host opts [0]: [ring] [pwr save] [pci + serial irq] [no pci irq] [lat
    66/176] [bus 1/1]
    host opts [1]: [ring] [pwr save] [pci + serial irq] [no pci irq] [lat
    66/176] [bus 2/2]
    ISA irqs (scanned) = 3,4,7,9,10,15 status change on irq 15
    cs: IO port probe 0x1000-0x17ff: excluding 0x1028-0x102f
    cs: IO port probe 0x0100-0x04ff: excluding 0x100-0x107 0x200-0x207
    0x220-0x22f 0x250-0x257 0x330-0x337 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7
    cs: IO port probe 0x0a00-0x0aff: clean.
    cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff
    cs: memory probe 0x60000000-0x60ffffff: clean.
    3c574_cs.c v1.08 9/24/98 Donald Becker/David Hinds,
    becker@cesdis.gsfc.nasa.gov.
    eth0: Megahertz 574B at io 0x300, irq 3, hw_addr 00:50A:E4:15:60.
    ASIC rev 1, 64K FIFO split 1:1 Rx:Tx, autoselect MII interface.
    eth0: found link beat
    eth0: autonegotiation complete: 100baseT-HD selected
    tty01 at 0x02f8 (irq = 9) is a 8250
    tty03 at 0x02e8 (irq = 9) is a ST16650V2

    cardctl status

    Socket 0:
    5V 16-bit card present
    Function 0: ready
    Socket 1:
    5V 16-bit card present
    Function 0: ready


    cardctl ident

    Socket 0:
    product info: "3Com", "Megahertz 574B", "B", "001"
    manfid: 0x0101, 0x0574
    function: 6 (network)
    Socket 1:
    product info: "Novatel Wireless", "CDMA 1.9GHz"
    manfid: 0x00a4, 0x076c
    function: 2 (serial)

    setserial

    /dev/ttyS3, UART: 16650V2, Port: 0x02e8, IRQ: 2

    ls -l /dev/modem
    lrwxrwxrwx 1 root root 10 Aug 25 09:22 /dev/modem ->
    /dev/ttyS3

    dump_cis

    Socket 0:
    dev_info
    no_info
    attr_dev_info
    EEPROM 150ns, 8kb
    manfid 0x0101, 0x0574
    funcid network_adapter
    vers_1 4.1, "3Com", "Megahertz 574B", "B", "001"
    config base 0x10000 mask 0x0003 last_index 0x03
    cftable_entry 0x01 [default]
    Vcc Vnom 5V Iavg 30mA Ipeak 50mA Idown 5mA
    timing wait 700ns ready 500us
    io 0x0000-0x001f [lines=5] [8bit] [16bit]
    irq mask 0xffff [level]
    attr_jedec 0x00 0x00
    checksum 0x0000-0x005a = 0x00

    Socket 1:
    dev_info
    NULL 0ns, 512b
    checksum 0x000c-0x010d = 0xf7
    attr_dev_info
    fn_specific 200ns, 64kb
    manfid 0x00a4, 0x076c
    funcid serial_port [post]
    vers_1 5.0, "Novatel Wireless", "CDMA 1.9GHz"
    config base 0x0400 mask 0x0003 last_index 0x2d
    cftable_entry 0x0d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x03f8-0x03ff, 0x02f8-0x02ff [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x0d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x03f8-0x03ff, 0x03e8-0x03ef [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x15 [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x02f8-0x02ff, 0x03e8-0x03ef [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x25 [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x02f8-0x02ff, 0x02e8-0x02ef [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x1d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x03e8-0x03ef, 0x02e8-0x0304 [lines=16] [8bit] [range]
    irq mask 0xffff [level]
    cftable_entry 0x2d [default]
    [rdybsy] [pwrdown]
    Vcc Vnom 5V Vmin 4500mV Vmax 5500mV Istatic 800mA
    Iavg 1A Ipeak 20mA Idown 20uA
    io 0x0000-0x0007 [lines=3] [8bit]
    irq mask 0xffff [level]

    proc/interrupts

    CPU0
    0: 155468 XT-PIC timer
    1: 4698 XT-PIC keyboard
    2: 0 XT-PIC cascade
    3: 787 XT-PIC 3c574_cs
    8: 2 XT-PIC rtc
    12: 0 XT-PIC PS/2 Mouse
    13: 1 XT-PIC fpu
    14: 68540 XT-PIC ide0
    15: 7 XT-PIC i82365
    NMI: 0

    stab

    Socket 0: 3Com Megahertz 3c574B Fast Ethernet
    0 network 3c574_cs 0 eth0
    Socket 1: Serial or Modem
    1 serial serial_cs 0 ttyS1 4 65
    1 serial serial_cs 1 ttyS3 4 67

    test_modem

    Sending modem query command...
    Checking modem at /dev/ttyS1
    Settings: /dev/ttyS1, UART: 8250, Port: 0x02f8, IRQ: 2
    The detected UART is odd: maybe an IO port conflict?
    Sending modem query command...

    lspci -v

    00:00.0 Host bridge: Intel Corporation 430TX - 82439TX MTXC (rev 01)
    Flags: bus master, medium devsel, latency 64

    00:01.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 01)
    Flags: bus master, medium devsel, latency 0

    00:01.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if
    80)
    Flags: bus master, medium devsel, latency 64
    I/O ports at 1020

    00:01.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
    Flags: medium devsel
    I/O ports at 5800

    00:01.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 01)
    Flags: medium devsel

    00:02.0 VGA compatible controller: Chips and Technologies 65555 (rev a8)
    Subsystem: Unknown device 0e11:b049
    Flags: stepping, medium devsel
    Memory at 40000000 (32-bit, non-prefetchable)

    00:0a.0 CardBus bridge: Texas Instruments PCI-1220 (rev 02)
    Subsystem: Unknown device 104c:ac17
    Flags: bus master, medium devsel, latency 66
    Memory at 7fffe000 (32-bit, non-prefetchable)
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=176
    16-bit legacy interface ports at 0007

    00:0a.1 CardBus bridge: Texas Instruments PCI-1220 (rev 02)
    Subsystem: Unknown device 104c:ac17
    Flags: bus master, medium devsel, latency 66
    Memory at 7ffff000 (32-bit, non-prefetchable)
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=176
    16-bit legacy interface ports at 0007






  9. Re: pcmcia modem help

    I downloaded the modem's only linux manual from Novatel, its just a copy of
    a web page that speaks to ppp and nothing technical. I'll see what else I
    can find.

    > Edit /etc/pcmcia/config.opts and add:
    >
    > include port 0x2e8-0x2ef
    >
    > Also remove anything from serial.opts that is not for a built-in
    > serial port.


    I included the port range, and present you with a copy of config.opts &
    serial.opts for verification. Interesting results... still doesn't work -
    however it now finds two ports and /dev/modem is again linked incorrectly
    to ttyS3. I notice that setserial reports that the UART 16650V2 was
    assigned IRQ=0, although dmesg reports IRQ=5 ?

    Thanks,
    TJ



    /var/log/messages

    cs: memory probe 0x0e0000-0x0e8000: clean.
    cs: IO port probe 0x02e8-0x02ef: clean.
    cs: IO port probe 0x0300-0x03ff: excluding 0x340-0x347 0x378-0x37f
    0x3f0-0x3ff
    cs: IO port probe 0x0348-0x0377: clean.
    cs: IO port probe 0x0380-0x03ef: clean.
    cs: IO port probe 0x1000-0x1400: excluding 0x1000-0x100f 0x1020-0x1027
    0x1040-0x1047 0x1060-0x1067 0x1070-0x1077 0x1080-0x1097 0x10a0-0x10a7
    0x10c0-0x10d7 0x10f0-0x10f7 0x11f0-0x11f7 0x12f8-0x12ff 0x1340-0x1347
    0x1378-0x137f 0x13f0-0x1407
    cs: IO port probe 0x1028-0x103f: clean.
    cs: IO port probe 0x1048-0x105f: clean.
    cs: IO port probe 0x1068-0x106f: clean.
    cs: IO port probe 0x1078-0x107f: clean.
    cs: IO port probe 0x1098-0x109f: clean.
    cs: IO port probe 0x10a8-0x10bf: clean.
    cs: IO port probe 0x10d8-0x10ef: clean.
    cs: IO port probe 0x10f8-0x11ef: clean.
    cs: IO port probe 0x11f8-0x12f7: clean.
    cs: IO port probe 0x1300-0x133f: clean.
    cs: IO port probe 0x1348-0x1377: clean.
    cs: IO port probe 0x1380-0x13ef: clean.
    cs: IO port probe 0x1500-0x17ff: excluding 0x15f0-0x15f7 0x1740-0x1747
    0x1778-0x177f 0x17f0-0x17f7
    cs: IO port probe 0x15f8-0x173f: clean.
    cs: IO port probe 0x1748-0x1777: clean.
    cs: IO port probe 0x1780-0x17ef: clean.
    cs: IO port probe 0x17f8-0x17ff: clean.
    tty02 at 0x03e8 (irq = 5) is a ST16650V2
    tty03 at 0x02e8 (irq = 5) is a 8250

    stab

    Socket 0: Serial or Modem
    0 serial serial_cs 0 ttyS2 4 66
    0 serial serial_cs 1 ttyS3 4 67
    Socket 1: empty

    setserial /dev/ttyS2
    /dev/ttyS2, UART: 16550A, Port: 0x02f8, IRQ: 0, Flags: spd_vhi

    setserial /dev/ttyS3
    /dev/ttyS3, UART: 8250, Port: 0x02e8, IRQ: 5

    config.opts

    include port 0x300-0x3ff
    include port 0x1000-0x1400, port 0x1500-0x17ff
    include port 0x2e8-0x2ef
    # Resources we should not use, even if they appear to be available
    # First built-in serial port
    exclude irq 4
    # Second built-in serial port
    #exclude irq 3
    # First built-in parallel port
    exclude irq 7

    serial.opts

    # Serial device configuration
    #
    # The address format is "scheme,socket,instance".
    #
    case "$ADDRESS" in
    *,*,*)
    INFO="Default modem setup"
    # Symbolic link to dialout device
    LINK="/dev/modem"
    # Options for 'setserial'
    SERIAL_OPTS=""
    # Should we create an inittab entry for this port?
    #INITTAB="/sbin/mgetty"
    # Extra stuff to do after setting up the device
    start_fn () { return; }
    # Extra stuff to do before shutting down the device
    stop_fn () { return; }
    # Card eject policy options
    NO_CHECK=n
    NO_FUSER=n
    ;;
    esac


  10. Re: pcmcia modem help

    > dhinds@sonic.net wrote:
    > you want to remove the lines
    > from that setserial.sh (?) file that you posted, that had rows for
    > your built-in ports plus rows that you seemed to want to apply to the
    > PCMCIA card.


    That makes sense, the latter two lines have been commented out, leaving this
    configuration below... no noticible changes.

    setserial.sh
    setserial -b /dev/ttyS00 port 0x3F8 irq 4 autoconfig
    setserial -b /dev/ttyS01 port 0x2F8 irq 3 autoconfig

    > Why do you say "linked incorrectly"? I don't see any way you could
    > say which port is the "correct" one?
    >
    >> tty02 at 0x03e8 (irq = 5) is a ST16650V2
    >> tty03 at 0x02e8 (irq = 5) is a 8250


    You're right, of course. Since pppd only seems to register ppp0 to the
    ports with the 16650V2 UART, I'm just pointing out the coincidence that
    both failed machines are linking /dev/modem to the entry with UART 8250,
    even though the ports are assigned in reverse order.
    Widget: ttyS2 UART ST16650V2, ttyS3 8250; /dev/modem=/dev/ttyS3
    Laptop: ttyS2 UART 8250, ttyS3 ST16650V2; /dev/modem=/dev/ttyS2

    >> setserial /dev/ttyS2
    >> /dev/ttyS2, UART: 16550A, Port: 0x02f8, IRQ: 0, Flags: spd_vhi

    >
    > Does it work any better if you do "setserial /dev/ttyS2 irq 5"?


    No. Here are a few test sequences with surprising results:

    Sequence A:
    /dev/ttyS00, UART: 16650A port 0x3f8 irq 4
    /dev/ttyS01, UART: 16650A port 0x2f8 irq 3
    /dev/ttyS02, UART: 16650A port 0x2f8 irq 3 <- 2f8, irq 3 looks odd
    /dev/ttyS03, UART: unknown port 0x2e8 irq 3

    $ setserial /dev/ttyS2 port 0x03E8 irq 4

    /dev/ttyS00, UART: 16650A port 0x3f8 irq 4
    /dev/ttyS01, UART: 16650A port 0x3e8 irq 4 <- It changed this one too!
    /dev/ttyS02, UART: 16650A port 0x3e8 irq 4
    /dev/ttyS03, UART: unknown port 0x2e8 irq 5

    insert card (gets assigned to one port only )
    tty03 at 0x02e8 (irq = 5) is a ST16650V2


    Sequence B:
    /dev/ttyS00, UART: 16650A port 0x3f8 irq 4
    /dev/ttyS01, UART: 16650A port 0x2f8 irq 3
    /dev/ttyS02, UART: 16650A port 0x2f8 irq 3 <- 2f8, irq 3 looks odd
    /dev/ttyS03, UART: unknown port 0x2e8 irq 5

    insert card (gets assigned to two ports(!) tty02 and tty03)
    tty02 at 0x03e8 (irq = 5) is a ST16650V2 <- we saw this already
    tty03 at 0x02e8 (irq = 5) is a 8250

    /dev/ttyS00, UART: 16650A port 0x3f8 irq 4
    /dev/ttyS01, UART: 16650A port 0x2f8 irq 0 <- yikes, IRQ now 0!
    /dev/ttyS02, UART: 16650A port 0x2f8 irq 0 <- yikes, IRQ now 0!
    /dev/ttyS03, UART: 8250 port 0x2e8 irq 5

    $ setserial /dev/ttyS2 port 0x02F8 irq 5 <- try change irq only

    /dev/ttyS00, UART: 16650A port 0x3f8 irq 4
    /dev/ttyS01, UART: 16650A port 0x2f8 irq 5 <- it changed this one too!
    /dev/ttyS02, UART: 16650A port 0x2f8 irq 5
    /dev/ttyS03, UART: 8250 port 0x2e8 irq 5

    Sequence C:
    /dev/ttyS00, UART: 16650A port 0x3f8 irq 4
    /dev/ttyS01, UART: 16650A port 0x2f8 irq 3
    /dev/ttyS02, UART: 16650A port 0x2f8 irq 3 <- 2f8, irq 3 looks odd
    /dev/ttyS03, UART: unknown port 0x2e8 irq 5

    insert card (gets assigned to two ports(!) tty02 and tty03:
    tty02 at 0x03e8 (irq = 5) is a ST16650V2 <- we saw this already
    tty03 at 0x02e8 (irq = 5) is a 8250

    /dev/ttyS00, UART: 16650A port 0x3f8 irq 4
    /dev/ttyS01, UART: 16650A port 0x2f8 irq 0 <- yikes!
    /dev/ttyS02, UART: 16650A port 0x2f8 irq 0 <- yikes!
    /dev/ttyS03, UART: 8250 port 0x2e8 irq 5

    $ setserial /dev/ttyS2 port 0x03E8 irq 4 <- try change port only
    $ Cannot set serial info: Address already in use <- really? How?!

    I "borrowed" the setserial binary from the working machine; no effect.

    I can't seem to achieve the combination from the working machine of
    ttyS2, 0x03e8, irq 3

    Thanks,
    TJ






+ Reply to Thread