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

Luca Niccoli lultimouomo at gmail.com
Tue Oct 13 18:12:28 UTC 2009


2009/10/13 Darren Salt <ds at youmustbejoking.demon.co.uk>:

> 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;

The point in trying to load the module anyway was that modprobing is
almost free if the module is already loaded, and by doing it we make
sure that we aren't in a situation were sysfs is already registered,
but rfkill/something else may be not (doesn't matter now, because we
don't use it, but could trigger a race condition if changes are made
afterwards)...
Cheers,

Luca



More information about the Debian-eeepc-devel mailing list