Re: [RFC] charger: Offer kernel build that disables disks, screen,etc. and lets laptop serve as charger for USB/FireWire devices

From: Pander
Date: Fri Aug 14 2009 - 09:52:27 EST


Pander wrote:
> Hi all,
>
...
>
> This can be achieved by building a special kernel that will shut down
> all hardware that is not needed for offering power on the before
> mentioned ports. Perhaps this can be achieved by kernel configuration
> alone or it might require a minimal of functionality to put a laptop
> into such a charging state.

Alternative implementation could be that this functionality is present
in a normal kernel and is only activated by boot time command argument
'charger'.

While being on the subject anyway, optionally, extra functionality could
be implemented for turning the laptop into an emergency light. The boot
time command argument 'light' could offer this.

The same functionality as with charger will be enabled and the screen
and keyboard will powered up. Initially, the screen will be white. By
means of the following keys: arrow op, arrow down, arrow left, arrow
right, page up, page down, home, end, return, tab one is able to change
the color of the screen in on of 16 basic colors: white, yellow,
fuchsia, red, silver, gray, olive, purple, maroon, aqua, lime, teal,
green, blue, navy and black (perhaps omit the latter). The space bar key
would enable and disable the screen but still allow for the other keys
to change the color. Also the brightness keys should be supported.

Of course this is easily done by software on a fully booted system.
However, due to the emergency situation, again power can be scarce and
must be used as efficient as possible. Considering and discussing
implementation of this greatly overlaps the aforementioned proposal.

Kind regards,

Pander
--
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/