Re: pcmcia modem help
dhinds_at_sonic.net
Date: 08/25/03
- Previous message: tj: "Re: pcmcia modem help"
- In reply to: tj: "Re: pcmcia modem help"
- Next in thread: tj: "Re: pcmcia modem help"
- Reply: tj: "Re: pcmcia modem help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 25 Aug 2003 19:31:06 GMT
tj <tj@getlostspammer.com> wrote:
> Is it necessary (and possible?) to confirm whether either of these two
> machines has support for the modem's UART of ST16650V2?
I don't think the UART support is an issue.
The issue is that the configuration information claims the card is a
standard serial device, but asks for two 8-port IO regions, which the
driver interprets to mean, that this is a dual port card. It tries to
probe two ports. On the working system, the first probe works, the
second fails, and the one port that got configured works fine.
On the first broken system, the probe says:
> tty02 at 0x03e8 (irq = 5) is a ST16650V2
which just shows one port probe. Why is that? Because your
config.opts excluded IO addresses < 0x300 which knocked out most of
the configuration options listed in dump_cis; your built-in serial
port knocked out the rest. The only fall-back is the final config
option in the dump_cis, which only asks for one 8-port window, but
which seems to not actually work.
On the second broken system:
> 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.
...
> 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
two UART's got successfully configured for this card; the 8250 one is
probably a bogus false-positive.
To correctly configure this card, you'd probably need to get some
information from the manufacturer about what the extra block of 8 IO
registers are for. The serial_cs driver is working on some systems by
dumb luck, but I don't know how to take the configuration information
from dump_cis and tell serial_cs what to do with it.
Since making the card work on the first system is high priority, I'd
try tweaking the setup so that it gets configured the same as on the
working system. 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. These options can only cause trouble if you try to use
them to control PCMCIA devices.
-- Dave
- Previous message: tj: "Re: pcmcia modem help"
- In reply to: tj: "Re: pcmcia modem help"
- Next in thread: tj: "Re: pcmcia modem help"
- Reply: tj: "Re: pcmcia modem help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|