From: David Hinds <dhinds@sonic.net>
To: hugang <hugang@soulinfo.com>,
dahinds@users.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: Pcmcia GPRS cards not works in linux.
Date: Sun, 15 Jun 2003 20:40:19 -0700 [thread overview]
Message-ID: <20030615204019.C10594@sonic.net> (raw)
In-Reply-To: <20030615103456.B27533@flint.arm.linux.org.uk>
On Sun, Jun 15, 2003 at 10:34:56AM +0100, Russell King wrote:
>
> I suspect that the card voltage sense pins are indicating that the
> card requires 5V, but we're trying to use the 0x30 configuration.
> Since we don't allow the socket voltage to be altered, we error out
> and never try the second configuration.
>
> David, I think it would make sense to allow the PCMCIA subsystem to
> lower VCC in these circumstances, but obviously never allow it to be
> raised above the value reported by the voltage sense pins?
Changing Vcc on the fly turns out to be pretty complicated: you are
required to power down the socket, and power it up again from scratch,
which takes several seconds. In practice it is essentially never
useful since the card should always be operable at the voltage it
indicated at power-up time.
The pcmcia-cs package and the 2.4 kernel PCMCIA subsystem already do
the right thing. The 2.5 8250_cs driver had been sufficiently altered
(reindented, line breaks moved around, etc) that applying patches is
quite inconvenient and I had not gotten around to going through line
by line and figuring out what changes needed to be applied.
Probably, the best thing would be for cs.c in the kernel to do what
the pcmcia-cs package now does: just print a warning and ignore Vcc
values that don't match the power-up voltage.
The only useful case I could come up with for changing the power-up
voltage, is that some cards (compact flash I know, perhaps more) run
faster at 5V than at 3.3V, and the user might want to choose between
higher performance or better battery life.
-- Dave
next prev parent reply other threads:[~2003-06-16 3:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-15 2:43 Pcmcia GPRS cards not works in linux hugang
2003-06-15 9:34 ` Russell King
2003-06-15 12:28 ` hugang
2003-06-16 3:40 ` David Hinds [this message]
2003-06-22 13:12 ` Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030615204019.C10594@sonic.net \
--to=dhinds@sonic.net \
--cc=dahinds@users.sourceforge.net \
--cc=hugang@soulinfo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox