06 Aug, 2011
38 commits
-
The AMW0 function in acer-wmi works on Lenovo ideapad S205 for control
the wifi hardware state. We also found there have a 0x78 EC register
exposes the state of wifi hardware switch on the machine.So, add this patch to support Lenovo ideapad S205 wifi hardware switch
in acer-wmi driver.Reference: bko#37892
https://bugzilla.kernel.org/show_bug.cgi?id=37892Cc: Carlos Corbacho
Cc: Matthew Garrett
Cc: Dmitry Torokhov
Cc: Corentin Chary
Cc: Thomas Renninger
Tested-by: Florian Heyer
Signed-off-by: Lee, Chun-Yi
Signed-off-by: Matthew Garrett -
It seems that aliases shouldn't contain spaces, as
module-init-tools uses them as delimeters in module.alias fileSigned-off-by: Anton V. Boyarshinov
Signed-off-by: Matthew Garrett -
In the case of ideapad_backlight_init() failure,
we need to free the resources allocated by ideapad_input_init().Aslo drop __devexit annotation for ideapad_input_exit() because
we also call it in ideapad_acpi_add() error path.Signed-off-by: Axel Lin
Signed-off-by: Matthew Garrett -
When enabling turbo, we need to set both the TDC and TDP bits. IIRC
only the TDC one actually matters, but fix it up anyway since the
current code is confusing.Signed-off-by: Jesse Barnes
Signed-off-by: Matthew Garrett -
Some samsung latop of the N150/N2{10,20,30} serie are badly detected by the samsung-laptop platform driver, see bug # 36082.
It appears that N230 identifies itself as N150/N210/N220/N230 whereas the other identify themselves as N150/N210/220.
This patch attemtp fix #36082 allowing correct identification for all the said netbook model.Reported-by: Daniel Eklöf
Signed-off-by: Thomas Courbon
Signed-off-by: Matthew Garrett -
All of these keys are being reported on the keyboard
controller but are also generating WMI events. Add them
to the legacy keymap to silence the noise.BugLink: http://bugs.launchpad.net/bugs/815914
Signed-off-by: Seth Forshee
Signed-off-by: Matthew Garrett -
We only care about if there is any successful match from the dmi table
or no match at all, we can make dmi_check_system return immediately if
we have a successful match instead of iterate thorough the whole table.Signed-off-by: Axel Lin
Signed-off-by: Matthew Garrett -
This adds backlight control on the Samsung Q10 laptop, which does not support
the SABI interface. Also tested successfully on the Dell Latitude X200.Signed-off-by: Frederick van der Wyck
Signed-off-by: Matthew Garrett -
Signed-off-by: Axel Lin
Signed-off-by: Matthew Garrett -
And also remove unused variable 'my_id_table'.
Signed-off-by: Axel Lin
Signed-off-by: Matthew Garrett -
Otherwise, the error path will always be executed.
Signed-off-by: Axel Lin
Signed-off-by: Matthew Garrett -
The memory for td_info which is allocated in initialize_sensor()
should be properly kfreed in mid_thermal_probe() error patch and
mid_thermal_remove().Signed-off-by: Axel Lin
Signed-off-by: Matthew Garrett -
Signed-off-by: Axel Lin
Signed-off-by: Matthew Garrett -
The N510 benefits from this code as well. Below is a patch to include support.
Signed-off-by: Jouke Witteveen
Signed-off-by: Matthew Garrett -
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
ref: http://dev.iksaif.net/projects/3/wiki/Asus-laptop_WAPF
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
Cc: stable@kernel.org
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
Based on a patch from Nate Weibley. .
Cc: Nate Weibley
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
The T101MT Home/Express Gate key autorepeats in hardware, but
sparse-keymap does not support hardware autorepeat. Enable the
input core's software autorepeat to emulate the hardware behavior.
Normal hotkeys are autoreleased, so the behavior of these keys
will not be affected.Signed-off-by: Seth Forshee
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
This key is different than other hotkeys, having seperate scan
codes for press, release, and hold, so it requires some special
filtering. Press and release events are passed on, and hold events
are ignored since sparse-keymap does not support hardware
autorepeat.Note that "Home" in the context of this button doesn't mean the
same thing as the usual Home key, and it really isn't clear at
all what is meant by "Home". The manufacurer's description of the
button indicates that it should launch some sort of touch screen
settings interface on short press and apply a desktop rotation on
long press.Signed-off-by: Seth Forshee
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
This is required for the T101MT home key, which behaves differently
than other hotkeys.Signed-off-by: Seth Forshee
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
The code was completly broken, and should never had been sent
to the kernel. That's what happens when you write code without
hardware to test it.Cc: stable@kernel.org
Signed-off-by: Corentin Chary
Signed-off-by: Matthew Garrett -
When acpi_backlight=vendor in cmdline or no backlight support in acpi video
device, ideapad-laptop will register backlight device and control brightness
and backlight power via the command in VPC2004.Signed-off-by: Ike Panhc
Signed-off-by: Matthew Garrett -
Signed-off-by: Ike Panhc
Signed-off-by: Matthew Garrett -
Create /sys/devices/platform/ideapad/cfg for showing cfg value.
Signed-off-by: Ike Panhc
Signed-off-by: Matthew Garrett -
I suspect that this works on T410.
Signed-off-by: Andy Lutomirski
Signed-off-by: Matthew Garrett -
After test, msi-laptop driver also can support MSI U270 netbook.
So, add MSI U270's dmi information to module alias and scm table
for support this machine.Tested on MSI U270 netbook.
Cc: Matthew Garrett
Cc: Dmitry Torokhov
Cc: Corentin Chary
Cc: Thomas Renninger
Signed-off-by: Lee, Chun-Yi
Signed-off-by: Matthew Garrett -
Signed-off-by: Seth Forshee
Signed-off-by: Matthew Garrett -
Would you please consider applying the following patch adding support for
the Aspire 1810TZ BIOS v.1.3314 version to the acerhdf module and avoids the
following error:acerhdf: unknown (unsupported) BIOS version Acer/Aspire 1810TZ/v1.3314, ple=
ase report, aborting!Not sure about the other Aspire models, but it seems at least 1810T should
also be updated.Signed-off-by: Julien Valroff
-
DEFINE_MUTEX() will automatically initialize buffer_mutex,
no need to call mutex_init() in dell_init().Signed-off-by: Axel Lin
Signed-off-by: Matthew Garrett -
we can now autodetect internal 3G device and already have the threeg
rfkill device. So, we plan to remove threeg sysfs support for it's no
longer necessary.We also plan to remove interface sysfs file that exposed which ACPI-WMI
interface that was used by acer-wmi driver. It will replaced by information
log when acer-wmi initial.We keep it around for userspace compatibility reasons, schedule removal
in 2012.Cc: Carlos Corbacho
Cc: Matthew Garrett
Cc: Dmitry Torokhov
Cc: Corentin Chary
Acked-by: Thomas Renninger
Signed-off-by: Lee, Chun-Yi
Signed-off-by: Matthew Garrett
24 Jul, 2011
1 commit
-
It's mode_t; return 0 (no access) on error.
Signed-off-by: Al Viro
11 Jul, 2011
1 commit
-
[ 191.310008] WARNING: kmemcheck: Caught 32-bit read from freed memory (f0d25f14)
[ 191.310011] c056d2f088000000105fd2f00000000050415353040000000000000000000000
[ 191.310020] i i i i f f f f f f f f f f f f f f f f f f f f f f f f f f f f
[ 191.310027] ^
[ 191.310029]
[ 191.310032] Pid: 737, comm: modprobe Not tainted 3.0.0-rc5+ #268 Hewlett-Packard HP Compaq 6005 Pro SFF PC/3047h
[ 191.310036] EIP: 0060:[] EFLAGS: 00010286 CPU: 0
[ 191.310039] EIP is at hp_wmi_perform_query+0x104/0x150 [hp_wmi]
[ 191.310041] EAX: f0d25601 EBX: f0d25f00 ECX: 000121cf EDX: 000121ce
[ 191.310043] ESI: f0d25f10 EDI: f0f97ea8 EBP: f0f97ec4 ESP: c173f34c
[ 191.310045] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 191.310046] CR0: 8005003b CR2: f540c000 CR3: 30f30000 CR4: 000006d0
[ 191.310048] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 191.310050] DR6: ffff4ff0 DR7: 00000400
[ 191.310051] [] hp_wmi_dock_state+0x2b/0x40 [hp_wmi]
[ 191.310054] [] hp_wmi_init+0x93/0x1a8 [hp_wmi]
[ 191.310057] [] do_one_initcall+0x30/0x170
[ 191.310061] [] sys_init_module+0xef/0x1a60
[ 191.310064] [] sysenter_do_call+0x12/0x28
[ 191.310067] [] 0xffffffffSigned-off-by: Eric Dumazet
Signed-off-by: Matthew Garrett