26 Feb, 2010
13 commits
-
Calling the ENAB method on Toshiba laptops results in notifications being
sent when laptop hotkeys are pressed. This patch simply calls that method
and sets up an input device if it's successful.Signed-off-by: Matthew Garrett
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
The HP touchsmart tablet has a key for rotating the UI from landscape to
portrait. Add support for it.Signed-off-by: Matthew Garrett
-
The Latitude C640 has another variation of dell in its DMI vendor entry.
Add it to the whitelist in order to enjoy the sweet fruits of software
backlight toggling.Signed-off-by: Erik Andren
-
Instead of a MODULE_DEVICE_TABLE for every acpi_driver ids table, we
create a table containing all ids to export to get a module alias for
each one.This will fix automatic loading of the driver when one of the ACPI
devices is not present (like the accelerometer, which is not present in
some models).Signed-off-by: Thadeu Lima de Souza Cascardo
-
Right now, we assume that the hardware rfkill switch on Dells toggles all
radio devices. In fact, this can be configured in the BIOS and so right
now we may mark a device as hardware killed even when it isn't. Add code
to query the devices controlled by the switch, and use this when
determining the hardware kill state of a radio.Signed-off-by: Matthew Garrett
-
Calls to communicate with system firmware via a SMI (using dcdbas)
need to use a buffer that has a physical address of 4GB or less.
Currently the dell-laptop driver does not guarantee this, and when the
buffer address is higher than 4GB, the address is truncated to 32 bits
and the SMI handler writes to the wrong memory address.Signed-off-by: Stuart Hayes
Acked-by: Matthew Garrett -
The Mini family doesn't support smbios 17,11 although it reports it does.
Signed-off-by: Mario Limonciello
Signed-off-by: Tim Gardner -
The "hardware" switch is tied directly to a BIOS interface that will
connect and disconnect the hardware from the bus.If you use the software interface to request the BIOS to make these
changes, the HW switch will be in an inconsistent state and LEDs may not
reflect the state of the HW.Signed-off-by: Mario Limonciello
-
da_tokens was not being freed by dell-laptop on unload. Fix that.
Signed-off-by: Matthew Garrett
-
dell-laptop currently fails to clean up its platform device correctly.
Make sure that it's unregistered.Signed-off-by: Matthew Garrett
-
The rfkill interface on Dells only sends a notification that the switch
has been changed via the keyboard controller. Add a filter so we can
pick these notifications up and update the rfkill state appropriately.Signed-off-by: Matthew Garrett
-
This drops the support for manually groking the files in sysfs
to turn on and off the WLAN and BT for Compal laptops in favor
of platform rfkill support.It has been combined into a single patch to not introduce regressions
in the process of simply adding rfkill supportSigned-off-by: Mario Limonciello
Signed-off-by: Tim Gardner
Signed-off-by: Matthew Garrett
Cc: Cezary Jackiewicz -
The following Dell laptops are known to have been manufacturer by Compal
and are supported by the compal-laptop platform driver
- Mini 9
- Mini 10
- Mini 12
- Mini 10v
- Inspiron 11zSigned-off-by: Mario Limonciello
Signed-off-by: Tim Gardner
Signed-off-by: Matthew Garrett
Cc: Cezary Jackiewicz
19 Feb, 2010
1 commit
-
Set the backlight to use the current brightness when loaded, rather than
always resetting the backlight to maximum brightness.Fixes kernel bugzilla #14207
Signed-off-by: Carlos Corbacho
Reported-by: Denis Mukhin
Signed-off-by: Len Brown
16 Feb, 2010
1 commit
-
sysfs_remove_group() removed the wrong attribute_group for
thermal_read_mode TPEC_8, ACPI_TMP07 and ACPI_UPDTSigned-off-by: Roel Kluin
Acked-by: Henrique de Moraes Holschuh
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
20 Jan, 2010
1 commit
17 Jan, 2010
1 commit
-
CC [M] drivers/platform/x86/sony-laptop.o
drivers/platform/x86/sony-laptop.c: In function 'sony_nc_rfkill_setup':
drivers/platform/x86/sony-laptop.c:1162: warning: 'i' may be used uninitialized in this functionSigned-off-by: Dmitry Torokhov
Acked-by: Mattia Dongili
Signed-off-by: Len Brown
16 Jan, 2010
5 commits
-
Signed-off-by: Corentin Chary
Signed-off-by: Len Brown -
Some new models need to disable wireless hotplug.
For the moment, we don't know excactly what models need that,
except 1005HA.
Users will be able to use that param as a workaround.Signed-off-by: Corentin Chary
Signed-off-by: Len Brown -
Signed-off-by: Dmitry Torokhov
Tested-by: Alan Jenkins
Acked-by: Corentin Chary
Signed-off-by: Len Brown -
This is a short term workaround for Eeepc 1005HA.
refs:
Signed-off-by: Corentin Chary
Signed-off-by: Len Brown -
The EeePC 4G ("701") implements CFVS, but it is not supported by the
pre-installed OS, and the original option to change it in the BIOS
setup screen was removed in later versions. Judging by the lack of
"Super Hybrid Engine" on Asus product pages, this applies to all "701"
models (4G/4G Surf/2G Surf).So Asus made a deliberate decision not to support it on this model.
We have several reports that using it can cause the system to hang [1].
That said, it does not happen all the time. Some users do not
experience it at all (and apparently wish to continue "right-clocking").Check for the EeePC 701 using DMI. If met, then disable writes to the
"cpufv" sysfs attribute and log an explanatory message.Add a "cpufv_disabled" attribute which allow users to override this
policy. Writing to this attribute will log a second message.The sysfs attribute is more useful than a module option, because it
makes it easier for userspace scripts to provide consistent behaviour
(according to user configuration), regardless of whether the kernel
includes this change.[1]
Signed-off-by: Alan Jenkins
Signed-off-by: Corentin Chary
Signed-off-by: Len Brown
02 Jan, 2010
1 commit
-
Commit 3e9b988e4edf065d39c1343937f717319b1c1065
"wmi: Free the allocated acpi objects through wmi_get_event_data"
had the same purpose as commit
44ef00e6482e755f36629773abc2aee83a6f53e3
"hp-wmi: Fix two memleaks"This should solve this regression:
http://bugzilla.kernel.org/show_bug.cgi?id=14890
Signed-off-by: Anisse Astier
Reported-by: Sedat Dilek
Signed-off-by: Len Brown
30 Dec, 2009
7 commits
-
It would appear that in BIOS's with nVidia hooks, the GUID
05901221-D566-11D1-B2F0-00A0C9062910 is duplicated. For now, the simplest
solution is to just ignore any duplicate GUIDs. These particular hooks are not
currently supported/ used in the kernel, so whoever does that can figure out
what the 'right' solution should be (if there's a better one).http://bugzilla.kernel.org/show_bug.cgi?id=14846
Signed-off-by: Carlos Corbacho
Reported-by: Larry Finger
Reported-by: Oldřich Jedlička
Signed-off-by: Len Brown -
From: Dmitry Torokhov
The commit 1fdd407f4e3f2ecb453954cbebb6c22491c61853 incorrectly made driver
abort loading when known GUID is present when it should have done exactly
the opposite.Signed-off-by: Dmitry Torokhov
Signed-off-by: Len Brown -
Signed-off-by: Paul Rolland
Signed-off-by: Len Brown -
When acpi_evaluate_object() is passed ACPI_ALLOCATE_BUFFER,
the caller must kfree the returned buffer if AE_OK is returned.The callers of wmi_get_event_data() pass ACPI_ALLOCATE_BUFFER,
and thus must check its return value before accessing
or kfree() on the buffer.Signed-off-by: Len Brown
-
Emphasize that that wmi_install_notify_handler() returns an acpi_status
rather than -errno by by testing ACPI_SUCCESS(), ACPI_FAILURE().No functional change in this patch, but this confusion caused a bug in dell-wmi.
Signed-off-by: Len Brown
-
follow 0/-E convention
wmi_install_notify_handler() returns an acpi_error,
but dell_wmi_init() needs return a -errno style error.Tested-by: Paul Rolland
Signed-off-by: Len Brown
27 Dec, 2009
4 commits
-
Document that rfkill and ALSA functionality exists, but requires the
subsystems to be available, and not modular if thinkpad-acpi is not
modular.Signed-off-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown -
Allow the user to choose through Kconfig if the Console Audio Control
interface (aka "volume subdriver") should be available or not.This not only saves some memory, but also allows the thinkpad-acpi
driver to be built-in even if ALSA is modular when the console audio
control interface is not wanted.This change fixes a build problem that is causing some annoyances, in
a way that doesn't disable the entire driver on kernels without ALSA
support.Signed-off-by: Henrique de Moraes Holschuh
Cc: Ingo Molnar
Cc: Amerigo Wang
Cc: Helight Xu
Cc: Takashi Iwai
Signed-off-by: Len Brown -
If we cannot create the ALSA mixer, it is a good reason to fail to
load the volume subdriver, and not to fail to load the entire module.While at it, add more debugging messages, as the error paths are being
used a lot more than I'd expect, and it is failing to set up the ALSA
mixer on a number of ThinkPads.Reported-by: Peter Jordan
Signed-off-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown -
We don't want to be the first soundcard. We don't want to shift other
soundcards out of the way either, even if they load much later.Ask ALSA to (by default) load us in one of the last three slots. This
can be overriden at will using the "index" parameter.Reported-by: Whoopie
Signed-off-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown
24 Dec, 2009
6 commits
-
This add supports for devices like keyboard, backlight, tablet and
accelerometer.This work is supported by International Syst S/A.
[randy.dunlap@oracle.com: cmpc_acpi: depends on ACPI]
[akpm@linux-foundation.org: readability tweaks]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Thadeu Lima de Souza Cascardo
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
Signed-off-by: Thomas Renninger
Signed-off-by: Len Brown