diff options
| -rw-r--r-- | drivers/acpi/Kconfig | 84 | ||||
| -rw-r--r-- | drivers/acpi/Makefile | 3 | ||||
| -rw-r--r-- | drivers/platform/x86/Kconfig | 85 | ||||
| -rw-r--r-- | drivers/platform/x86/Makefile | 3 | ||||
| -rw-r--r-- | drivers/platform/x86/asus_acpi.c (renamed from drivers/acpi/asus_acpi.c) | 0 | ||||
| -rw-r--r-- | drivers/platform/x86/toshiba_acpi.c (renamed from drivers/acpi/toshiba_acpi.c) | 0 | ||||
| -rw-r--r-- | drivers/platform/x86/wmi.c (renamed from drivers/acpi/wmi.c) | 0 |
7 files changed, 88 insertions, 87 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index b0243fd55ac0..d7f9839ba264 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
| @@ -196,90 +196,6 @@ config ACPI_NUMA | |||
| 196 | depends on (X86 || IA64) | 196 | depends on (X86 || IA64) |
| 197 | default y if IA64_GENERIC || IA64_SGI_SN2 | 197 | default y if IA64_GENERIC || IA64_SGI_SN2 |
| 198 | 198 | ||
| 199 | config ACPI_WMI | ||
| 200 | tristate "WMI (EXPERIMENTAL)" | ||
| 201 | depends on X86 | ||
| 202 | depends on EXPERIMENTAL | ||
| 203 | help | ||
| 204 | This driver adds support for the ACPI-WMI (Windows Management | ||
| 205 | Instrumentation) mapper device (PNP0C14) found on some systems. | ||
| 206 | |||
| 207 | ACPI-WMI is a proprietary extension to ACPI to expose parts of the | ||
| 208 | ACPI firmware to userspace - this is done through various vendor | ||
| 209 | defined methods and data blocks in a PNP0C14 device, which are then | ||
| 210 | made available for userspace to call. | ||
| 211 | |||
| 212 | The implementation of this in Linux currently only exposes this to | ||
| 213 | other kernel space drivers. | ||
| 214 | |||
| 215 | This driver is a required dependency to build the firmware specific | ||
| 216 | drivers needed on many machines, including Acer and HP laptops. | ||
| 217 | |||
| 218 | It is safe to enable this driver even if your DSDT doesn't define | ||
| 219 | any ACPI-WMI devices. | ||
| 220 | |||
| 221 | config ACPI_ASUS | ||
| 222 | tristate "ASUS/Medion Laptop Extras" | ||
| 223 | depends on X86 | ||
| 224 | select BACKLIGHT_CLASS_DEVICE | ||
| 225 | ---help--- | ||
| 226 | This driver provides support for extra features of ACPI-compatible | ||
| 227 | ASUS laptops. As some of Medion laptops are made by ASUS, it may also | ||
| 228 | support some Medion laptops (such as 9675 for example). It makes all | ||
| 229 | the extra buttons generate standard ACPI events that go through | ||
| 230 | /proc/acpi/events, and (on some models) adds support for changing the | ||
| 231 | display brightness and output, switching the LCD backlight on and off, | ||
| 232 | and most importantly, allows you to blink those fancy LEDs intended | ||
| 233 | for reporting mail and wireless status. | ||
| 234 | |||
| 235 | Note: display switching code is currently considered EXPERIMENTAL, | ||
| 236 | toying with these values may even lock your machine. | ||
| 237 | |||
| 238 | All settings are changed via /proc/acpi/asus directory entries. Owner | ||
| 239 | and group for these entries can be set with asus_uid and asus_gid | ||
| 240 | parameters. | ||
| 241 | |||
| 242 | More information and a userspace daemon for handling the extra buttons | ||
| 243 | at <http://sourceforge.net/projects/acpi4asus/>. | ||
| 244 | |||
| 245 | If you have an ACPI-compatible ASUS laptop, say Y or M here. This | ||
| 246 | driver is still under development, so if your laptop is unsupported or | ||
| 247 | something works not quite as expected, please use the mailing list | ||
| 248 | available on the above page (acpi4asus-user@lists.sourceforge.net). | ||
| 249 | |||
| 250 | NOTE: This driver is deprecated and will probably be removed soon, | ||
| 251 | use asus-laptop instead. | ||
| 252 | |||
| 253 | config ACPI_TOSHIBA | ||
| 254 | tristate "Toshiba Laptop Extras" | ||
| 255 | depends on X86 && INPUT | ||
| 256 | select INPUT_POLLDEV | ||
| 257 | select NET | ||
| 258 | select RFKILL | ||
| 259 | select BACKLIGHT_CLASS_DEVICE | ||
| 260 | ---help--- | ||
| 261 | This driver adds support for access to certain system settings | ||
| 262 | on "legacy free" Toshiba laptops. These laptops can be recognized by | ||
| 263 | their lack of a BIOS setup menu and APM support. | ||
| 264 | |||
| 265 | On these machines, all system configuration is handled through the | ||
| 266 | ACPI. This driver is required for access to controls not covered | ||
| 267 | by the general ACPI drivers, such as LCD brightness, video output, | ||
| 268 | etc. | ||
| 269 | |||
| 270 | This driver differs from the non-ACPI Toshiba laptop driver (located | ||
| 271 | under "Processor type and features") in several aspects. | ||
| 272 | Configuration is accessed by reading and writing text files in the | ||
| 273 | /proc tree instead of by program interface to /dev. Furthermore, no | ||
| 274 | power management functions are exposed, as those are handled by the | ||
| 275 | general ACPI drivers. | ||
| 276 | |||
| 277 | More information about this driver is available at | ||
| 278 | <http://memebeam.org/toys/ToshibaAcpiDriver>. | ||
| 279 | |||
| 280 | If you have a legacy free Toshiba laptop (such as the Libretto L1 | ||
| 281 | series), say Y. | ||
| 282 | |||
| 283 | config ACPI_CUSTOM_DSDT_FILE | 199 | config ACPI_CUSTOM_DSDT_FILE |
| 284 | string "Custom DSDT Table file to include" | 200 | string "Custom DSDT Table file to include" |
| 285 | default "" | 201 | default "" |
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index 3c0c93300f12..f64af36b780e 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile | |||
| @@ -59,9 +59,6 @@ obj-y += power.o | |||
| 59 | obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o | 59 | obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o |
| 60 | obj-$(CONFIG_ACPI_DEBUG) += debug.o | 60 | obj-$(CONFIG_ACPI_DEBUG) += debug.o |
| 61 | obj-$(CONFIG_ACPI_NUMA) += numa.o | 61 | obj-$(CONFIG_ACPI_NUMA) += numa.o |
| 62 | obj-$(CONFIG_ACPI_WMI) += wmi.o | ||
| 63 | obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o | ||
| 64 | obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o | ||
| 65 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o | 62 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o |
| 66 | obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o | 63 | obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o |
| 67 | obj-$(CONFIG_ACPI_SBS) += sbshc.o | 64 | obj-$(CONFIG_ACPI_SBS) += sbshc.o |
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 0a9a5b9440af..31f3ce2ac01c 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
| @@ -287,4 +287,89 @@ config EEEPC_LAPTOP | |||
| 287 | 287 | ||
| 288 | If you have an Eee PC laptop, say Y or M here. | 288 | If you have an Eee PC laptop, say Y or M here. |
| 289 | 289 | ||
| 290 | |||
| 291 | config ACPI_WMI | ||
| 292 | tristate "WMI (EXPERIMENTAL)" | ||
| 293 | depends on ACPI | ||
| 294 | depends on EXPERIMENTAL | ||
| 295 | help | ||
| 296 | This driver adds support for the ACPI-WMI (Windows Management | ||
| 297 | Instrumentation) mapper device (PNP0C14) found on some systems. | ||
| 298 | |||
| 299 | ACPI-WMI is a proprietary extension to ACPI to expose parts of the | ||
| 300 | ACPI firmware to userspace - this is done through various vendor | ||
| 301 | defined methods and data blocks in a PNP0C14 device, which are then | ||
| 302 | made available for userspace to call. | ||
| 303 | |||
| 304 | The implementation of this in Linux currently only exposes this to | ||
| 305 | other kernel space drivers. | ||
| 306 | |||
| 307 | This driver is a required dependency to build the firmware specific | ||
| 308 | drivers needed on many machines, including Acer and HP laptops. | ||
| 309 | |||
| 310 | It is safe to enable this driver even if your DSDT doesn't define | ||
| 311 | any ACPI-WMI devices. | ||
| 312 | |||
| 313 | config ACPI_ASUS | ||
| 314 | tristate "ASUS/Medion Laptop Extras" | ||
| 315 | depends on ACPI | ||
| 316 | select BACKLIGHT_CLASS_DEVICE | ||
| 317 | ---help--- | ||
| 318 | This driver provides support for extra features of ACPI-compatible | ||
| 319 | ASUS laptops. As some of Medion laptops are made by ASUS, it may also | ||
| 320 | support some Medion laptops (such as 9675 for example). It makes all | ||
| 321 | the extra buttons generate standard ACPI events that go through | ||
| 322 | /proc/acpi/events, and (on some models) adds support for changing the | ||
| 323 | display brightness and output, switching the LCD backlight on and off, | ||
| 324 | and most importantly, allows you to blink those fancy LEDs intended | ||
| 325 | for reporting mail and wireless status. | ||
| 326 | |||
| 327 | Note: display switching code is currently considered EXPERIMENTAL, | ||
| 328 | toying with these values may even lock your machine. | ||
| 329 | |||
| 330 | All settings are changed via /proc/acpi/asus directory entries. Owner | ||
| 331 | and group for these entries can be set with asus_uid and asus_gid | ||
| 332 | parameters. | ||
| 333 | |||
| 334 | More information and a userspace daemon for handling the extra buttons | ||
| 335 | at <http://sourceforge.net/projects/acpi4asus/>. | ||
| 336 | |||
| 337 | If you have an ACPI-compatible ASUS laptop, say Y or M here. This | ||
| 338 | driver is still under development, so if your laptop is unsupported or | ||
| 339 | something works not quite as expected, please use the mailing list | ||
| 340 | available on the above page (acpi4asus-user@lists.sourceforge.net). | ||
| 341 | |||
| 342 | NOTE: This driver is deprecated and will probably be removed soon, | ||
| 343 | use asus-laptop instead. | ||
| 344 | |||
| 345 | config ACPI_TOSHIBA | ||
| 346 | tristate "Toshiba Laptop Extras" | ||
| 347 | depends on ACPI | ||
| 348 | depends on INPUT | ||
| 349 | select INPUT_POLLDEV | ||
| 350 | select NET | ||
| 351 | select RFKILL | ||
| 352 | select BACKLIGHT_CLASS_DEVICE | ||
| 353 | ---help--- | ||
| 354 | This driver adds support for access to certain system settings | ||
| 355 | on "legacy free" Toshiba laptops. These laptops can be recognized by | ||
| 356 | their lack of a BIOS setup menu and APM support. | ||
| 357 | |||
| 358 | On these machines, all system configuration is handled through the | ||
| 359 | ACPI. This driver is required for access to controls not covered | ||
| 360 | by the general ACPI drivers, such as LCD brightness, video output, | ||
| 361 | etc. | ||
| 362 | |||
| 363 | This driver differs from the non-ACPI Toshiba laptop driver (located | ||
| 364 | under "Processor type and features") in several aspects. | ||
| 365 | Configuration is accessed by reading and writing text files in the | ||
| 366 | /proc tree instead of by program interface to /dev. Furthermore, no | ||
| 367 | power management functions are exposed, as those are handled by the | ||
| 368 | general ACPI drivers. | ||
| 369 | |||
| 370 | More information about this driver is available at | ||
| 371 | <http://memebeam.org/toys/ToshibaAcpiDriver>. | ||
| 372 | |||
| 373 | If you have a legacy free Toshiba laptop (such as the Libretto L1 | ||
| 374 | series), say Y. | ||
| 290 | endif # X86_PLATFORM_DEVICES | 375 | endif # X86_PLATFORM_DEVICES |
diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile index 4d26b1bf22ae..1e9de2ae0de5 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile | |||
| @@ -14,3 +14,6 @@ obj-$(CONFIG_THINKPAD_ACPI) += thinkpad_acpi.o | |||
| 14 | obj-$(CONFIG_FUJITSU_LAPTOP) += fujitsu-laptop.o | 14 | obj-$(CONFIG_FUJITSU_LAPTOP) += fujitsu-laptop.o |
| 15 | obj-$(CONFIG_PANASONIC_LAPTOP) += panasonic-laptop.o | 15 | obj-$(CONFIG_PANASONIC_LAPTOP) += panasonic-laptop.o |
| 16 | obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o | 16 | obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o |
| 17 | obj-$(CONFIG_ACPI_WMI) += wmi.o | ||
| 18 | obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o | ||
| 19 | obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o | ||
diff --git a/drivers/acpi/asus_acpi.c b/drivers/platform/x86/asus_acpi.c index 1e74988c7b2d..1e74988c7b2d 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/platform/x86/asus_acpi.c | |||
diff --git a/drivers/acpi/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index 40e60fc2e596..40e60fc2e596 100644 --- a/drivers/acpi/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c | |||
diff --git a/drivers/acpi/wmi.c b/drivers/platform/x86/wmi.c index 8a8b377712c9..8a8b377712c9 100644 --- a/drivers/acpi/wmi.c +++ b/drivers/platform/x86/wmi.c | |||
