Re: [iPAQ] Re: [Handhelds] PCMCIA video?

From: Alan Hourihane <ahourihane.a.t.valinux.com>
Date: Mon Nov 27 2000 - 20:04:14 EST

On Mon, Nov 27, 2000 at 08:02:08PM -0500, Nicolas Pitre wrote:
>
>
> On Mon, 27 Nov 2000, Keith Packard wrote:
>
> >
> > > Nope Keith. There definately isn't any IO ports mapped from the stock
> > > pcmcia utils - I've been through it.
> >
> > Yup; there's no CIS to let the kernel know what should get mapped.
> >
> > > So it could even be standard IO mapped, but the pcmcia drivers aren't
> > > recognizing that fact.
> >
> > That's what I suspect; we'll have to force some I/O mappings that match
> > the standard VGA regs so we can find the chip. Having found the BIOS at
> > the usual location makes me suspect everything else is plain vanilla ISA
> > mappings.
>
> Like I said in my previous mail, you only have to add PCMCIA_IO_0_BASE or
> PCMCIA_IO_1_BASE to a standard ISA iobase for things to work right away.
>
I understand this. The problem is poking the chip at all. On my laptop
I've been trying to prod this things, but the pcmcia utils bring it up
as write-protected ! We're not gonna be able to do anything until that's
fixed.

Alan.

Received: from mail.xmission.com (mail.xmission.com [198.60.22.22])
        by handhelds.org (8.9.3/8.9.3) with ESMTP id RAA16193;
        Mon, 27 Nov 2000 17:13:44 -0800
Received: from xmission.xmission.com ([198.60.22.20] ident=root)
        by mail.xmission.com with esmtp (Exim 3.12 #1)
        id 140ZUI-0001ez-00; Mon, 27 Nov 2000 18:23:14 -0700
Received: from kmahan by xmission.xmission.com with local (Exim 2.12 #1)
        id 140ZUH-0001gT-00; Mon, 27 Nov 2000 18:23:13 -0700
Subject: Re: [iPAQ] Re: [Handhelds] PCMCIA video?
To: ahourihane@valinux.com (Alan Hourihane)
Date: Mon, 27 Nov 2000 18:23:13 -0700 (MST)
Cc: nico@cam.org (Nicolas Pitre), keithp@keithp.com (Keith Packard),
        ahourihane@valinux.com (Alan Hourihane),
        kmahan@xmission.com (Kurt Mahan), jamey@crl.dec.com (Jamey Hicks),
        jg@pa.dec.com (Jim Gettys), rac@kom.tu-darmstadt.de, zap@xms.se,
        ipaq@handhelds.org, handhelds@handhelds.org
In-Reply-To: <20001128010414.G1104@valinux.com> from "Alan Hourihane" at Nov 28, 2000 01:04:14 AM
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <E140ZUH-0001gT-00@xmission.xmission.com>
From: Kurt Mahan <kmahan@xmission.com>
Sender: ipaq-admin@handhelds.org
Errors-To: ipaq-admin@handhelds.org
X-BeenThere: ipaq@handhelds.org
X-Mailman-Version: 2.0beta2
Precedence: bulk
List-Id: Discussions of the Compaq iPAQ H3600 family. <ipaq.handhelds.org>

> > > > Nope Keith. There definately isn't any IO ports mapped from the stock
> > > > pcmcia utils - I've been through it.
> > >
> > > Yup; there's no CIS to let the kernel know what should get mapped.
> > >
> > > > So it could even be standard IO mapped, but the pcmcia drivers aren't
> > > > recognizing that fact.
> > >
> > > That's what I suspect; we'll have to force some I/O mappings that match
> > > the standard VGA regs so we can find the chip. Having found the BIOS at
> > > the usual location makes me suspect everything else is plain vanilla ISA
> > > mappings.
> >
> > Like I said in my previous mail, you only have to add PCMCIA_IO_0_BASE or
> > PCMCIA_IO_1_BASE to a standard ISA iobase for things to work right away.
> >
> I understand this. The problem is poking the chip at all. On my laptop
> I've been trying to prod this things, but the pcmcia utils bring it up
> as write-protected ! We're not gonna be able to do anything until that's
> fixed.

I think Nicolas was saying that once the IO mapping is done (which
it isn't at least if I remember the dump-exca output you showed) THEN
you have to add the IO bases on to the address..

So until someone does the actual mapping nothing will happen.. Does
the linux PCIC driver have an ioctl to force a mapping? If so someone
(not me -- I don't have a linux system up -- blasphemy, eh?) could
whip a program together in about 5 minutes to do all the mappings..

Kurt
Received on Mon Nov 27 16:55:29 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:47 EDT