Re: [PATCH] SMM BIOS on Dell i8100

From: Massimo Dal Zotto (dz@cs.unitn.it)
Date: Fri Nov 09 2001 - 13:57:04 EST


>
> dz@cs.unitn.it said:
> > Since I can't fix the SMM BIOS I think there is very little I can do,
> > except avoiding the GET_POWER_STATUS call which uses half of the time.
> > I will try to get the same information from /proc/apm.
>
> APM will probably take the same amount of time, and indeed be the same code.
> It'd be best to work out how to talk to the stuff on the i2c bus directly
> from Linux.
>
> --
> dwmw2

Yes, but since GET_POWER_STATUS is not really needed to control the fans
I plan to remove it from /proc/i8k and use /proc/apm which provides the
same information but can be read less frequently. Once per minute would
be fine if it is neede only to use different temperature thresholds.
This would save half of the cpu time spent in the SMM bios.
Also a higher timeout would help. Probably 5 seconds would be ok.

-- 
Massimo Dal Zotto

+----------------------------------------------------------------------+ | Massimo Dal Zotto email: massimo.dalzotto@libero.it | | Via Marconi, 141 phone: ++39-461534251 | | 38057 Pergine Valsugana (TN) www: http://www.cs.unitn.it/~dz/ | | Italy http://www.debian.org/~dz/ | | gpg: 2DB65596 3CED BDC6 4F23 BEDA F489 2445 147F 1AEA 2DB6 5596 | +----------------------------------------------------------------------+ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:22 EST