* Weird PCMCIA behavior
@ 2001-11-18 23:06 Faux Pas III
2001-11-18 23:21 ` Jeff Garzik
0 siblings, 1 reply; 5+ messages in thread
From: Faux Pas III @ 2001-11-18 23:06 UTC (permalink / raw)
To: linux-kernel
Note: this is the same laptop mentioned above in the Maestro 2E
thread above, so the same weird-ass power behavior applies here.
When on AC power, everything is dandy with PCMCIA. When on
battery power, PCMCIA device detection fails, emanating a lower
than normal pitched beep, followed by an even lower beep.
However, if the apm module is inserted, this makes it behave
properly, but ONLY if the apm module was compiled with 'Make
CPU idle calls when idle'. Yeah, I know it's ucked fup.
Some possibly relevant details:
2.4.{14,15-pre{3,5}}
pcmcia-cs-3.1.29
lspci -vv:
00:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=14, subordinate=14, sec-latency=0
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
--
Josh Litherland (fauxpas@temp123.org)
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Weird PCMCIA behavior
2001-11-18 23:06 Weird PCMCIA behavior Faux Pas III
@ 2001-11-18 23:21 ` Jeff Garzik
2001-11-18 23:29 ` Faux Pas III
0 siblings, 1 reply; 5+ messages in thread
From: Jeff Garzik @ 2001-11-18 23:21 UTC (permalink / raw)
To: Faux Pas III; +Cc: linux-kernel
Faux Pas III wrote:
>
> Note: this is the same laptop mentioned above in the Maestro 2E
> thread above, so the same weird-ass power behavior applies here.
>
> When on AC power, everything is dandy with PCMCIA. When on
> battery power, PCMCIA device detection fails, emanating a lower
> than normal pitched beep, followed by an even lower beep.
> However, if the apm module is inserted, this makes it behave
> properly, but ONLY if the apm module was compiled with 'Make
> CPU idle calls when idle'. Yeah, I know it's ucked fup.
>
> Some possibly relevant details:
>
> 2.4.{14,15-pre{3,5}}
> pcmcia-cs-3.1.29
pcmcia-cs problems are reported to http://pcmcia-cs.sourceforge.net/
We encourage you to use the kernel's cardbus code instead :)
(CONFIG_PCMCIA and CONFIG_CARDBUS)
As a side note, with kernel cardbus support, you should no longer need
external utilities or external drivers. It should Just Work(tm).
--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Weird PCMCIA behavior
2001-11-18 23:21 ` Jeff Garzik
@ 2001-11-18 23:29 ` Faux Pas III
2001-11-18 23:44 ` Jeff Garzik
0 siblings, 1 reply; 5+ messages in thread
From: Faux Pas III @ 2001-11-18 23:29 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-kernel
On Sun, Nov 18, 2001 at 06:21:59PM -0500, Jeff Garzik wrote:
> pcmcia-cs problems are reported to http://pcmcia-cs.sourceforge.net/
> We encourage you to use the kernel's cardbus code instead :)
> (CONFIG_PCMCIA and CONFIG_CARDBUS)
That's what I'm using to get these errors. I think, although I haven't
fully tested yet, that pcmcia-cs's core works fine in all power states.
> As a side note, with kernel cardbus support, you should no longer need
> external utilities or external drivers. It should Just Work(tm).
Do I not still need the cardmgr and all that rot from pcmcia-cs ? That's
what I've been using for detection, bind cards to specific modules, etc.
--
Josh Litherland (fauxpas@temp123.org)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Weird PCMCIA behavior
2001-11-18 23:29 ` Faux Pas III
@ 2001-11-18 23:44 ` Jeff Garzik
2001-11-19 11:26 ` christophe barbé
0 siblings, 1 reply; 5+ messages in thread
From: Jeff Garzik @ 2001-11-18 23:44 UTC (permalink / raw)
To: Faux Pas III; +Cc: linux-kernel
Faux Pas III wrote:
>
> On Sun, Nov 18, 2001 at 06:21:59PM -0500, Jeff Garzik wrote:
>
> > pcmcia-cs problems are reported to http://pcmcia-cs.sourceforge.net/
> > We encourage you to use the kernel's cardbus code instead :)
> > (CONFIG_PCMCIA and CONFIG_CARDBUS)
>
> That's what I'm using to get these errors. I think, although I haven't
> fully tested yet, that pcmcia-cs's core works fine in all power states.
>
> > As a side note, with kernel cardbus support, you should no longer need
> > external utilities or external drivers. It should Just Work(tm).
>
> Do I not still need the cardmgr and all that rot from pcmcia-cs ? That's
> what I've been using for detection, bind cards to specific modules, etc.
Nope. CardBus looks like hotplug PCI to the kernel, so all normal PCI
drivers automagically work as CardBus drivers. You actually need no
userspace tools at all..
Also note there is a kernel cardbus PM fix in the latest 2.4.15-preXX
patches...
--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-11-19 11:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-18 23:06 Weird PCMCIA behavior Faux Pas III
2001-11-18 23:21 ` Jeff Garzik
2001-11-18 23:29 ` Faux Pas III
2001-11-18 23:44 ` Jeff Garzik
2001-11-19 11:26 ` christophe barbé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox