Re: PCMCIA still advised as modules?

From: Dominik Brodowski
Date: Sun Jun 12 2005 - 02:42:27 EST


On Sat, Jun 11, 2005 at 05:08:08PM -0400, Kyle Moffett wrote:
> On Jun 10, 2005, at 08:21:05, Dominik Brodowski wrote:
> >At least from 2.6.13 on, it will be much easier if you have the PCMCIA
> >"modules" built into the kernel, as you won't need userspace
> >interaction any
> >longer (except on old yenta_socket bridges during startup, but
> >that's a
> >different story). Therefore, I do not see any drawbacks to having
> >the PCMCIA
> >modules built into the kernel.
>
> Under such a setup, what is the easiest method to shut down the
> bridge chip
> for power savings? On my Debian laptop where said drivers are
> modular, I can
> run "/etc/init.d/pcmcia stop" to unload the module and disable the
> PCMCIA chip,
> saving a noticeable amount of power. Is there some equivalent for
> compiled-in
> drivers? Thanks!

You can do "cardctl suspend" or (untested) echo "3" into the "power/state"
file of the relevant device inside the sysfs device tree ("/sys/devices/").

Dominik
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/