#include <linux/module.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/dmi.h>
#include <linux/capability.h>
#include <linux/mutex.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <linux/i8k.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Massimo Dal Zotto ([email protected])") |
|
| MODULE_DESCRIPTION ("Driver for accessing SMM BIOS on Dell laptops") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (force, bool, 0) |
|
| MODULE_PARM_DESC (force,"Force loading without checking for supported models") |
|
| module_param (ignore_dmi, bool, 0) |
|
| MODULE_PARM_DESC (ignore_dmi,"Continue probing hardware even if DMI data does not match") |
|
| module_param (restricted, bool, 0) |
|
| MODULE_PARM_DESC (restricted,"Allow fan control if SYS_ADMIN capability set") |
|
| module_param (power_status, bool, 0600) |
|
| MODULE_PARM_DESC (power_status,"Report power status in /proc/i8k") |
|
| module_param (fan_mult, int, 0) |
|
| MODULE_PARM_DESC (fan_mult,"Factor to multiply fan speed with") |
|
| module_init (i8k_init) |
|
| module_exit (i8k_exit) |
|
Definition at line 49 of file i8k.c.
Definition at line 54 of file i8k.c.
Definition at line 56 of file i8k.c.
Definition at line 55 of file i8k.c.
Definition at line 52 of file i8k.c.
Definition at line 57 of file i8k.c.
Definition at line 53 of file i8k.c.
Definition at line 50 of file i8k.c.
#define I8K_POWER_AC 0x05 |
Definition at line 59 of file i8k.c.
#define I8K_POWER_BATTERY 0x01 |
Definition at line 60 of file i8k.c.
#define I8K_SMM_BIOS_VERSION 0x00a6 |
Definition at line 47 of file i8k.c.
#define I8K_SMM_FN_STATUS 0x0025 |
Definition at line 39 of file i8k.c.
#define I8K_SMM_GET_DELL_SIG1 0xfea3 |
Definition at line 45 of file i8k.c.
#define I8K_SMM_GET_DELL_SIG2 0xffa3 |
Definition at line 46 of file i8k.c.
#define I8K_SMM_GET_FAN 0x00a3 |
Definition at line 42 of file i8k.c.
#define I8K_SMM_GET_SPEED 0x02a3 |
Definition at line 43 of file i8k.c.
#define I8K_SMM_GET_TEMP 0x10a3 |
Definition at line 44 of file i8k.c.
#define I8K_SMM_POWER_STATUS 0x0069 |
Definition at line 40 of file i8k.c.
#define I8K_SMM_SET_FAN 0x01a3 |
Definition at line 41 of file i8k.c.
#define I8K_TEMPERATURE_BUG 1 |
Definition at line 62 of file i8k.c.
#define I8K_VERSION "1.14 21/02/2005" |
Definition at line 37 of file i8k.c.
MODULE_DESCRIPTION |
( |
"Driver for accessing SMM BIOS on Dell laptops" |
| ) |
|
module_param |
( |
ignore_dmi |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
restricted |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
power_status |
, |
|
|
bool |
, |
|
|
0600 |
|
|
) |
| |
module_param |
( |
fan_mult |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
force |
, |
|
|
"Force loading without checking for supported models" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
power_status |
, |
|
|
"Report power status in /proc/i8k" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
fan_mult |
, |
|
|
"Factor to multiply fan speed with" |
|
|
) |
| |