[Debian-eeepc-devel] [PATCH] Load eeepc_laptop and set SHEngine in background

Darren Salt ds at youmustbejoking.demon.co.uk
Tue Oct 13 15:59:42 UTC 2009


I demand that I definitely did write...

> I demand that Luca Niccoli may or may not have written...
>> The attached patch sets adds a line to /etc/modprobe.d/eeepc.conf to make
>> modprobe fork to background while loading eeepc_laptop, and modifies the
>> init script accordingly to wait for it to be loaded. It also makes the
>> init script do the SHEngine setting in background, as that is very slow.
> [snip]

> Looks good to me.

Well... almost; I was a bit too quick with that.

The loading could safely be done a bit later (just after "Loading EeePC
support modules"); there's no point in even trying to load it if
/sys/bus/platform/devices/eeepc is already present; and the load_module
function is useable since modprobe will happily work with switches after the
module name (try "modprobe eeepc_laptop -r").

I'll deal with this, though.

[snip]
-- 
| Darren Salt            | d @ youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | s   ,demon,co,uk    | Northumberland | Army
| + Use more efficient products. Use less.          BE MORE ENERGY EFFICIENT.

Take my advice, I'm not using it right now.



More information about the Debian-eeepc-devel mailing list