#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/dmi.h>
#include <linux/backlight.h>
#include <linux/platform_device.h>
#include <linux/rfkill.h>
#include <linux/i8042.h>
#include <linux/input.h>
#include <linux/input/sparse-keymap.h>
Go to the source code of this file.
|
| module_param (force, bool, 0) |
|
| MODULE_PARM_DESC (force,"Force driver load, ignore DMI data") |
|
| module_param (auto_brightness, int, 0) |
|
| MODULE_PARM_DESC (auto_brightness,"Enable automatic brightness control (0: disabled; 1: enabled; 2: don't touch)") |
|
| module_init (msi_init) |
|
| module_exit (msi_cleanup) |
|
| MODULE_AUTHOR ("Lennart Poettering") |
|
| MODULE_DESCRIPTION ("MSI Laptop Support") |
|
| MODULE_VERSION (MSI_DRIVER_VERSION) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_ALIAS ("dmi:*:svnMICRO-STARINT'LCO.,LTD:pnMS-1013:pvr0131*:cvnMICRO-STARINT'LCO.,LTD:ct10:*") |
|
| MODULE_ALIAS ("dmi:*:svnMicro-StarInternational:pnMS-1058:pvr0581:rvnMSI:rnMS-1058:*:ct10:*") |
|
| MODULE_ALIAS ("dmi:*:svnMicro-StarInternational:pnMS-1412:*:rvnMSI:rnMS-1412:*:cvnMICRO-STARINT'LCO.,LTD:ct10:*") |
|
| MODULE_ALIAS ("dmi:*:svnNOTEBOOK:pnSAM2000:pvr0131*:cvnMICRO-STARINT'LCO.,LTD:ct10:*") |
|
| MODULE_ALIAS ("dmi:*:svnMICRO-STARINTERNATIONAL*:pnMS-N034:*") |
|
| MODULE_ALIAS ("dmi:*:svnMICRO-STARINTERNATIONAL*:pnMS-N051:*") |
|
| MODULE_ALIAS ("dmi:*:svnMICRO-STARINTERNATIONAL*:pnMS-N014:*") |
|
| MODULE_ALIAS ("dmi:*:svnMicro-StarInternational*:pnCR620:*") |
|
| MODULE_ALIAS ("dmi:*:svnMicro-StarInternational*:pnU270series:*") |
|
#define MSI_DRIVER_VERSION "0.5" |
#define MSI_EC_COMMAND_LCD_LEVEL 0x11 |
#define MSI_EC_COMMAND_WIRELESS 0x10 |
#define MSI_LCD_LEVEL_MAX 9 |
#define MSI_STANDARD_EC_3G_MASK (1 << 4) |
#define MSI_STANDARD_EC_BLUETOOTH_MASK (1 << 0) |
#define MSI_STANDARD_EC_COMMAND_ADDRESS 0x2e |
#define MSI_STANDARD_EC_DEVICES_EXISTS_ADDRESS 0x2f |
#define MSI_STANDARD_EC_SCM_LOAD_ADDRESS 0x2d |
#define MSI_STANDARD_EC_SCM_LOAD_MASK (1 << 0) |
#define MSI_STANDARD_EC_TOUCHPAD_ADDRESS 0xe4 |
#define MSI_STANDARD_EC_TOUCHPAD_MASK (1 << 4) |
#define MSI_STANDARD_EC_WEBCAM_MASK (1 << 1) |
#define MSI_STANDARD_EC_WLAN_MASK (1 << 3) |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
MODULE_ALIAS |
( |
"dmi:*:svnMICRO-STARINT' |
LCO., |
|
|
LTD:pnMS-1013:pvr0131 *:cvnMICRO-STARINT' |
LCO., |
|
|
LTD:ct10:*" |
|
|
) |
| |
MODULE_ALIAS |
( |
"dmi:*:svnMicro-StarInternational:pnMS-1058:pvr0581:rvnMSI:rnMS-1058:*:ct10:*" |
| ) |
|
MODULE_ALIAS |
( |
"dmi:*:svnMicro-StarInternational:pnMS-1412:*:rvnMSI:rnMS-1412:*:cvnMICRO-STARINT' |
LCO., |
|
|
LTD:ct10:*" |
|
|
) |
| |
MODULE_ALIAS |
( |
"dmi:*:svnNOTEBOOK:pnSAM2000:pvr0131*:cvnMICRO-STARINT' |
LCO., |
|
|
LTD:ct10:*" |
|
|
) |
| |
MODULE_ALIAS |
( |
"dmi:*:svnMICRO-STARINTERNATIONAL*:pnMS-N034:*" |
| ) |
|
MODULE_ALIAS |
( |
"dmi:*:svnMICRO-STARINTERNATIONAL*:pnMS-N051:*" |
| ) |
|
MODULE_ALIAS |
( |
"dmi:*:svnMICRO-STARINTERNATIONAL*:pnMS-N014:*" |
| ) |
|
MODULE_ALIAS |
( |
"dmi:*:svnMicro-StarInternational*:pnCR620:*" |
| ) |
|
MODULE_ALIAS |
( |
"dmi:*:svnMicro-StarInternational*:pnU270series:*" |
| ) |
|
MODULE_AUTHOR |
( |
"Lennart Poettering" |
| ) |
|
MODULE_DESCRIPTION |
( |
"MSI Laptop Support" |
| ) |
|
module_exit |
( |
msi_cleanup |
| ) |
|
module_param |
( |
auto_brightness |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |