Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 613366 Details for
Bug 848270
Elantech touchpad properly detected but doesn't work without some wonky workaround
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
0001-acer-wmi-enable-touchpad-when-acer-wmi-load.patch
0001-acer-wmi-enable-touchpad-when-acer-wmi-load.patch (text/plain), 1.92 KB, created by
jlee
on 2012-09-16 01:56:30 UTC
(
hide
)
Description:
0001-acer-wmi-enable-touchpad-when-acer-wmi-load.patch
Filename:
MIME Type:
Creator:
jlee
Created:
2012-09-16 01:56:30 UTC
Size:
1.92 KB
patch
obsolete
>From b5f522a647c57edc9bc222f64239730ac042f514 Mon Sep 17 00:00:00 2001 >From: Lee, Chun-Yi <jlee@suse.com> >Date: Sun, 16 Sep 2012 09:48:20 +0800 >Subject: [PATCH] acer-wmi: enable touchpad when acer-wmi load > > >Signed-off-by: Lee, Chun-Yi <jlee@suse.com> >--- > drivers/platform/x86/acer-wmi.c | 13 +++++++++---- > 1 files changed, 9 insertions(+), 4 deletions(-) > >diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c >index 9d865fb..936ab0b 100644 >--- a/drivers/platform/x86/acer-wmi.c >+++ b/drivers/platform/x86/acer-wmi.c >@@ -156,7 +156,8 @@ struct lm_input_params { > u16 commun_devices; /* Communication type devices default status */ > u16 devices; /* Other type devices default status */ > u8 lm_status; /* Launch Manager Status */ >- u16 reserved; >+ u8 bitmask; >+ u8 reserved; > } __attribute__((packed)); > > struct lm_return_value { >@@ -1800,6 +1801,7 @@ static int acer_wmi_enable_ec_raw(void) > .commun_devices = 0xFFFF, > .devices = 0xFFFF, > .lm_status = 0x00, /* Launch Manager Deactive */ >+ .bitmask = 0x01, > }; > > status = wmid3_set_lm_mode(¶ms, &return_value); >@@ -1820,9 +1822,10 @@ static int acer_wmi_enable_lm(void) > acpi_status status; > struct lm_input_params params = { > .function_num = 0x1, >- .commun_devices = 0xFFFF, >- .devices = 0xFFFF, >- .lm_status = 0x01, /* Launch Manager Active */ >+ .commun_devices = 0x801, /* enable wifi and bluetooth */ >+ .devices = 0x2, /* enable touchpad */ >+ .lm_status = 0x41, /* Launch Manager Active */ >+ .bitmask = 0x41, /* set LM and device state */ > }; > > status = wmid3_set_lm_mode(¶ms, &return_value); >@@ -1831,6 +1834,8 @@ static int acer_wmi_enable_lm(void) > pr_warn("Enabling Launch Manager failed: 0x%x - 0x%x\n", > return_value.error_code, > return_value.ec_return_value); >+ else >+ pr_info("Enabled Launch Manager mode\n"); /* TODO: log for testing */ > > return status; > } >-- >1.6.0.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 848270
:
604773
|
604789
|
612620
|
612621
|
613362
| 613366 |
613883