Skip to content

Commit 709ee53

Browse files
laf0rgelenb
authored andcommitted
panasonic-laptop: add Panasonic Let's Note laptop extras driver v0.94
This is a driver for ACPI extras such as hotkeys and backlight brightness control on various Panasonic "Let's Note" series laptop computers. It exports the backlight via the backlight class device API, and the hotkeys as input event device. Some more esoteric items like number of installed batteries are exported via sysfs device attributes. Hotkey events also generate old-style ACPI enents through /proc/acpi/event to interoperate with current versions of acpid. Signed-off-by: Harald Welte <laforge@gnumonks.org> Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Acked-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Len Brown <len.brown@intel.com>
1 parent 72d3105 commit 709ee53

File tree

4 files changed

+784
-0
lines changed

4 files changed

+784
-0
lines changed

MAINTAINERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3148,6 +3148,11 @@ M: olof@lixom.net
31483148
L: i2c@lm-sensors.org
31493149
S: Maintained
31503150

3151+
PANASONIC LAPTOP ACPI EXTRAS DRIVER
3152+
P: Harald Welte
3153+
M: laforge@gnumonks.org
3154+
S: Maintained
3155+
31513156
PARALLEL PORT SUPPORT
31523157
L: linux-parport@lists.infradead.org (subscribers-only)
31533158
S: Orphan

drivers/misc/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,17 @@ config MSI_LAPTOP
245245

246246
If you have an MSI S270 laptop, say Y or M here.
247247

248+
config PANASONIC_LAPTOP
249+
tristate "Panasonic Laptop Extras"
250+
depends on X86 && INPUT
251+
depends on BACKLIGHT_CLASS_DEVICE
252+
---help---
253+
This driver adds support for access to backlight control and hotkeys
254+
on Panasonic Let's Note laptops.
255+
256+
If you have a Panasonic Let's note laptop (such as the R1(N variant),
257+
R2, R3, R5, T2, W2 and Y2 series), say Y.
258+
248259
config COMPAL_LAPTOP
249260
tristate "Compal Laptop Extras"
250261
depends on X86

drivers/misc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ obj-$(CONFIG_SGI_IOC4) += ioc4.o
2323
obj-$(CONFIG_SONY_LAPTOP) += sony-laptop.o
2424
obj-$(CONFIG_THINKPAD_ACPI) += thinkpad_acpi.o
2525
obj-$(CONFIG_FUJITSU_LAPTOP) += fujitsu-laptop.o
26+
obj-$(CONFIG_PANASONIC_LAPTOP) += panasonic-laptop.o
2627
obj-$(CONFIG_EEPROM_93CX6) += eeprom_93cx6.o
2728
obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
2829
obj-$(CONFIG_ENCLOSURE_SERVICES) += enclosure.o

0 commit comments

Comments
 (0)