#
77ca5b01 |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: comments keymap to clarify the meaning of some keys
Found while checking PDF manuals...
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.c
eeepc-wmi: comments keymap to clarify the meaning of some keys
Found while checking PDF manuals...
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
show more ...
|
#
8571d75d |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: real touchpad led device id is 0x001000012
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
c14d4b8e |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: respect wireless_hotplug setting
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
b7187265 |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: support backlight power (bl_power) attribute
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
54c799a5 |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: set the right key code for 0xe9
This key should power off the backlight, not the display, it is also used in acpi/video.c to do the same thing.
Signed-off-by: Corentin Chary <corentincj@
eeepc-wmi: set the right key code for 0xe9
This key should power off the backlight, not the display, it is also used in acpi/video.c to do the same thing.
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
show more ...
|
#
2e9e159d |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: add wimax support
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
9e1565bc |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: add camera and card reader support
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
aafa719d |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: use the presence bit correctly
I checked some more DSDT, and it seems that I wasn't totally right about the meaning of DSTS return value. Bit 0 is clearly the status of the device, and I
eeepc-wmi: use the presence bit correctly
I checked some more DSDT, and it seems that I wasn't totally right about the meaning of DSTS return value. Bit 0 is clearly the status of the device, and I discovered that bit 16 is set when the device is present.
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
show more ...
|
#
33e0e6fe |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: reorder defines
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
a04ce290 |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: switch to platform_create_bundle()
This allow to remove ~30 lines of code.
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
0773d7f9 |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: add hibernate/resume callbacks
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
5c95638d |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: add an helper using simple return codes
eeepc_wmi_get_devstate returns an acpi_status, so each call need extra logic to handle the return code. This patch add a simple getter, returning a
eeepc-wmi: add an helper using simple return codes
eeepc_wmi_get_devstate returns an acpi_status, so each call need extra logic to handle the return code. This patch add a simple getter, returning a boolean (or a negative error code).
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
show more ...
|
#
7898cf1a |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: return proper error code in eeepc_rfkill_set()
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
279f8f95 |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: serialize access to wmi method
\AMW0.WMBC, which is the main method that we use, is not reentrant. When wireless hotpluging is enabled, toggling the status of the wireless device using WM
eeepc-wmi: serialize access to wmi method
\AMW0.WMBC, which is the main method that we use, is not reentrant. When wireless hotpluging is enabled, toggling the status of the wireless device using WMBC will trigger a notification and the notification handler need to call WMBC again to get the new status of the device, this will trigger the following error:
ACPI Error (dswload-0802): [_T_0] Namespace lookup failure, AE_ALREADY_EXISTS ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20100428/psloop-231) ACPI Error (psparse-0537): Method parse/execution failed [\AMW0.WMBC] (Node f7023b88), AE_ALREADY_EXISTS ACPI: Marking method WMBC as Serialized because of AE_ALREADY_EXISTS error
Since there is currently no way to tell the acpi subsystem to mark a method as serialized, we do it in eeepc-wmi.
Of course, we could let the first call fail, and then it would work, but it doesn't seems really clean, and it will make the first WMBC call return a random value.
This patch was tested on EeePc 1000H with a RaLink RT2860 wireless card using the rt2800pci driver. rt2860sta driver seems to deadlock when we remove the pci device...
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
show more ...
|
#
afa7c886 |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: add hotplug code for Eeepc 1000H
Implement wireless like hotplug handling (code stolen from eeepc-laptop).
Reminder: on some models rfkill is implemented by logically unplugging the wire
eeepc-wmi: add hotplug code for Eeepc 1000H
Implement wireless like hotplug handling (code stolen from eeepc-laptop).
Reminder: on some models rfkill is implemented by logically unplugging the wireless card from the PCI bus. Despite sending ACPI notifications, this does not appear to be implemented using standard ACPI hotplug - nor does the firmware provide the _OSC method required to support native PCIe hotplug. The only sensible choice appears to be to handle the hotplugging directly in the platform driver.
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
show more ...
|
#
bc40cce2 |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: add wlan key found on 1015P
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
5628e5aa |
| 06-Feb-2011 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: reorder keymap
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
Revision tags: v2.6.38-rc3, v2.6.38-rc2, v2.6.38-rc1, v2.6.37, v2.6.37-rc8, v2.6.37-rc7, v2.6.37-rc6, v2.6.37-rc5, v2.6.37-rc4 |
|
#
d358cb55 |
| 29-Nov-2010 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: never load if legacy device is enabled
If legacy device (SB.ATKD - ASUS010) used by eeepc-laptop is enabled, don't allow eeepc-wmi to load because: - eeepc-laptop may be loaded, and can c
eeepc-wmi: never load if legacy device is enabled
If legacy device (SB.ATKD - ASUS010) used by eeepc-laptop is enabled, don't allow eeepc-wmi to load because: - eeepc-laptop may be loaded, and can conflict with eeepc-wmi (they both try to register eeepc::touchpad led for example). - the WMI interface is inteded to be used when the OS is not detected as Win 7. And when this is the case, the ASUS010 device is disabled.
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
show more ...
|
#
dfed65d5 |
| 29-Nov-2010 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: remove unneeded static
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
4c4edfa3 |
| 29-Nov-2010 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: claim eeepc-wmi maintainership
Since eeepc-wmi has currently no official maintainer, I claim maintainership of this driver, and add it to the acpi4asus project.
Signed-off-by: Corentin C
eeepc-wmi: claim eeepc-wmi maintainership
Since eeepc-wmi has currently no official maintainer, I claim maintainership of this driver, and add it to the acpi4asus project.
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
show more ...
|
#
2a3f0064 |
| 29-Nov-2010 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: fix confusion between ctrl_param and retval
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
8c1b2d83 |
| 29-Nov-2010 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: add debugfs entries
eeepc-wmi/ - debugfs root directory dev_id - current dev_id ctrl_param - current ctrl_param devs - call DEVS(dev_id, ctrl_param) and print result
eeepc-wmi: add debugfs entries
eeepc-wmi/ - debugfs root directory dev_id - current dev_id ctrl_param - current ctrl_param devs - call DEVS(dev_id, ctrl_param) and print result dsts - call DSTS(dev_id) and print result
DEVS and DSTS are the main functions used in eeepc-wmi, this will allow to test new features without patching the drivers.
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
show more ...
|
#
4e37b42d |
| 29-Nov-2010 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: use attribute group to manage attributes
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|
#
ba48fdb9 |
| 29-Nov-2010 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: add rfkill support for wlan, bluetooth and 3g
wimax support is missing because I don't have any DSDT with WMI and wimax support.
Most of the code comes from eeepc-laptop.
Signed-off-by:
eeepc-wmi: add rfkill support for wlan, bluetooth and 3g
wimax support is missing because I don't have any DSDT with WMI and wimax support.
Most of the code comes from eeepc-laptop.
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
show more ...
|
#
084fca63 |
| 29-Nov-2010 |
Corentin Chary <corentincj@iksaif.net> |
eeepc-wmi: add touchpad led support
Most of the code comes from eeepc-laptop.
Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|