- 25 11月, 2010 1 次提交
-
-
由 Dmitry Torokhov 提交于
This fixes the following: CC [M] drivers/platform/x86/eeepc-wmi.o drivers/platform/x86/eeepc-wmi.c:322: warning: initialization from incompatible pointer type Signed-off-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
-
- 21 10月, 2010 2 次提交
-
-
由 Chris Bagwell 提交于
eeepc-laptop provides a sysfs interface to read and control what it calls cpufv. When WMI is enabled, the ACPI interface changes slightly and becames a write-only control with 3 valid values. Expose cpufv again to allow for user space utils that can extended battery life noticably and come a little closer to parity with eeepc-laptop. Write-only is OK for most user space apps because read status was mostly used to prevent unneeded mode changes. Since this same check to ignore changes to same mode also exists in the DSDT then it was wasted ACPI call. acpi_osi="!Windows 2009" can be used for get back eeepc-laptop's read support of cpufv for debugging things such as behaviour during resume. This patch was tested with EEE PC 1005PE by monitoring powertop output while writing values of "0", "1", and "2" and by reviewing the decompiled DSDT of an 1201NL and comparing it to 1005PE's DSDT. Signed-off-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
-
由 Chris Bagwell 提交于
Added 4 hotkeys using same keymap values as eeepc-latop. These are mousepad toggle, resolution change, screen off, and task manager. These were tested on 1005PE and are the Fn-F3, F4, F7, and F9, respectively. Also, added a new hot key for power toggles (Fn-Space on 1005PE) and is meant to drive cpufv interface from userspace. Signed-off-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
-
- 20 5月, 2010 1 次提交
-
-
由 Daniel Mack 提交于
drivers/platform/x86/eeepc-wmi.c: In function ‘eeepc_wmi_notify’: drivers/platform/x86/eeepc-wmi.c:209: warning: ‘new’ may be used uninitialized in this function drivers/platform/x86/eeepc-wmi.c:209: note: ‘new’ was declared here Signed-off-by: NDaniel Mack <daniel@caiaq.de> Cc: Matthew Garrett <mjg@redhat.com> Cc: Yong Wang <yong.y.wang@intel.com> Cc: Corentin Chary <corentincj@iksaif.net> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Tejun Heo <tj@kernel.org> Cc: platform-driver-x86@vger.kernel.org Acked-By: NCorentin Chary <corentincj@iksaif.net> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
-
- 13 4月, 2010 3 次提交
-
-
由 Yong Wang 提交于
Add backlight support for WMI based Eee PC laptops. Signed-off-by: NYong Wang <yong.y.wang@intel.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com> Reviewed-by: NCorentin Chary <corentincj@iksaif.net>
-
由 Yong Wang 提交于
Add a platform device and use it as the parent device of all sub-devices. Signed-off-by: NYong Wang <yong.y.wang@intel.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com> Reviewed-by: NCorentin Chary <corentincj@iksaif.net>
-
由 Yong Wang 提交于
Add an eeepc_wmi context structure to manage all the sub-devices that will be implemented later on. Put input device into it first. Signed-off-by: NYong Wang <yong.y.wang@intel.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com> Reviewed-by: NCorentin Chary <corentincj@iksaif.net>
-
- 05 4月, 2010 1 次提交
-
-
由 Tejun Heo 提交于
eeepc-wmi uses kfree() but doesn't include slab.h. Include it. Signed-off-by: NTejun Heo <tj@kernel.org> Cc: Yong Wang <yong.y.wang@intel.com>
-
- 01 4月, 2010 1 次提交
-
-
由 Yong Wang 提交于
Add a WMI driver for Eee PC laptops. Currently it only supports hotkeys. Signed-off-by: NYong Wang <yong.y.wang@intel.com> Signed-off-by: NMatthew Garrett <mjg@redhat.com> Acked-by: NDmitry Torokhov <dtor@mail.ru>
-