[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080608204948.GA22405@panic.cs-bristol.org.uk>
Date: Sun, 8 Jun 2008 21:49:48 +0100
From: Julian Brown <jules@...ic.cs-bristol.org.uk>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] Fujitsu U810 keyboard light support
Hi,
This patch contains support for the Fujitsu U810 mini-laptops'
keyboard-illuminating "headlights". Information on how to control these
was reverse-engineered from the ACPI DSDT and from disassembling the
Windows driver for the device (i.e. it's not 100% certain that this
patch won't make your laptop explode, but it works for me. A more likely
problem is that I might have broken support for other Fujitsu laptops,
but I can't test that).
The patched fujitsu-laptop module creates two entities in the /sys
hierarchy:
/sys/devices/platform/fujitsu-laptop/kbd_light
/sys/class/leds/kbd_light/*
So that then, the lights can be controlled by reading/writing to these
files. (Probably not all the LED class things are relevant, though).
The fujitsu-laptop module before patching only uses the FUJ02B1 ACPI "HID"
(namespace? Identifier?), but the keyboard LEDs (as well as several other
possibly-interesting things) hang off the FUJ02E3 ("FEXT") HID. I'm not
sure if adding the latter to the existing driver (vs. creating a new one)
was the right thing to do, but I think it's probably sensible.
Any comments/suggestions?
Thanks,
Julian
(Please CC me on replies.)
View attachment "fujitsu-laptop-fuj02e3-support-2.diff" of type "text/x-diff" (6893 bytes)
Powered by blists - more mailing lists