latest version of i8k driver
Subsystems (2)
PATCH 1/1 latest version of i8k driver
Hi,
here is the latest version of the i8k driver. I have changed the i8k_probe again and now it loads cleanly on most Dell Inspiron and Latitude laptops. I have also disabled by default the power status since this information is already available from apm. The patch is against linux-2.4.15.
Documentation/Configure.help +15 -14
@@ -17321,23 +17307,24 @@ Say Y if you intend to run this kernel on a Toshiba portable. Say N otherwise. -Dell Inspiron 8000 support +Dell laptop support CONFIG_I8K This adds a driver to safely access the System Management Mode - of the CPU on the Dell Inspiron 8000. The System Management Mode - is used to read cpu temperature and cooling fan status and to - control the fans on the I8K portables. - - This driver has been tested only on the Inspiron 8000 but it may - also work with other Dell laptops. You can force loading on other - models by passing the parameter `force=1' to the module. Use at - your own risk. - - For information on utilities to make use of this driver see the - I8K Linux utilities web site at: - <http://www.debian.org/~dz/i8k/> + of the CPU on the Dell Inspiron and Latitude laptops. The System + Management Mode is used to read cpu temperature, cooling fan + status and Fn-keys status on Dell laptops. It can also be used + to switch the fans on and off. + + The driver has been developed and tested on an Inspiron 8000 + but it should work on any Dell Inspiron or Latitude laptop. + You can force loading on unsupported models by passing the + parameter `force=1' to the module. Use at your own risk. + + For more information on this driver and for utilities that make + use of the module see the I8K Linux Utilities web site at: + <http://www.debian.org/~dz/i8k/>. - Say Y if you intend to run this kernel on a Dell Inspiron 8000. + Say Y if you intend to run this kernel on a Dell laptop. Say N otherwise. /dev/cpu/microcode - Intel IA32 CPU microcode support
MAINTAINERS +6 -0
@@ -404,6 +404,12 @@ L: [email protected] S: Maintained +DELL LAPTOP SMM DRIVER +P: Massimo Dal Zotto +M: [email protected] +W: http://www.debian.org/~dz/i8k/ +S: Maintained + DEVICE NUMBER REGISTRY P: H. Peter Anvin M: [email protected]
arch/i386/config.in +1 -1
@@ -149,7 +149,7 @@ define_bool CONFIG_X86_USE_PPRO_CHECKSUM y fi tristate 'Toshiba Laptop support' CONFIG_TOSHIBA -tristate 'Dell Inspiron 8000 support' CONFIG_I8K +tristate 'Dell laptop support' CONFIG_I8K tristate '/dev/cpu/microcode - Intel IA32 CPU microcode support' CONFIG_MICROCODE tristate '/dev/cpu/*/msr - Model-specific register support' CONFIG_X86_MSR
drivers/char/i8k.c +301 -79
512 lines not on this page · raw message
include/linux/i8k.h +4 -4
@@ -1,5 +1,5 @@/* -* i8k.h -- Linux driver for accessing the SMM BIOS on Dell I8000 laptops +* i8k.h -- Linux driver for accessing the SMM BIOS on Dell laptops * * Copyright (C) 2001 Massimo Dal Zotto <[email protected]> *
@@ -36,9 +36,9 @@#define I8K_FAN_HIGH 2#define I8K_FAN_MAX I8K_FAN_HIGH -#define I8K_VOL_UP 0x01 -#define I8K_VOL_DOWN 0x02 -#define I8K_VOL_MUTE 0x03 +#define I8K_VOL_UP 1 +#define I8K_VOL_DOWN 2 +#define I8K_VOL_MUTE 4#define I8K_AC 1#define I8K_BATTERY 0
Signature · 9 lines
Massimo Dal Zotto +----------------------------------------------------------------------+ | Massimo Dal Zotto email: [email protected] | | 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 | +----------------------------------------------------------------------+
Quoted 7 lines · Massimo Dal Zotto
Hi,
here is the latest version of the i8k driver. I have changed the
i8k_probeagain and now it loads cleanly on most Dell Inspiron and Latitude laptops. I have also disabled by default the power status since this information is already available from apm. The patch is against linux-2.4.15.
[snipped patch]
Confirmed that it loads cleanly on my Latitude CPx J750GT (no more need
to "force=1") and it still works. I actually tested it on 2.5.1-pre2.
--alessandro
"we live as we dream alone / to break the spell we mix with the others
we were not born in isolation / but sometimes it seems that way"
(R.E.M., live intro to 'World Leader Pretend')