Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
07290bed
Commit
07290bed
authored
Apr 05, 2009
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'acer' into release
parents
12648810
4f0175dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
5 deletions
+40
-5
Documentation/laptops/acer-wmi.txt
Documentation/laptops/acer-wmi.txt
+7
-3
drivers/platform/x86/acer-wmi.c
drivers/platform/x86/acer-wmi.c
+33
-2
No files found.
Documentation/laptops/acer-wmi.txt
View file @
07290bed
Acer Laptop WMI Extras Driver
http://code.google.com/p/aceracpi
Version 0.
2
18th August 2008
Version 0.
3
4th April 2009
Copyright 2007-200
8
Carlos Corbacho <carlos@strangeworlds.co.uk>
Copyright 2007-200
9
Carlos Corbacho <carlos@strangeworlds.co.uk>
acer-wmi is a driver to allow you to control various parts of your Acer laptop
hardware under Linux which are exposed via ACPI-WMI.
...
...
@@ -36,6 +36,10 @@ not possible in kernel space from a 64 bit OS.
Supported Hardware
******************
NOTE: The Acer Aspire One is not supported hardware. It cannot work with
acer-wmi until Acer fix their ACPI-WMI implementation on them, so has been
blacklisted until that happens.
Please see the website for the current list of known working hardare:
http://code.google.com/p/aceracpi/wiki/SupportedHardware
...
...
drivers/platform/x86/acer-wmi.c
View file @
07290bed
/*
* Acer WMI Laptop Extras
*
* Copyright (C) 2007-200
8
Carlos Corbacho <carlos@strangeworlds.co.uk>
* Copyright (C) 2007-200
9
Carlos Corbacho <carlos@strangeworlds.co.uk>
*
* Based on acer_acpi:
* Copyright (C) 2005-2007 E.M. Smith
...
...
@@ -225,6 +225,25 @@ static struct quirk_entry quirk_fujitsu_amilo_li_1718 = {
.
wireless
=
2
,
};
/* The Aspire One has a dummy ACPI-WMI interface - disable it */
static
struct
dmi_system_id
__devinitdata
acer_blacklist
[]
=
{
{
.
ident
=
"Acer Aspire One (SSD)"
,
.
matches
=
{
DMI_MATCH
(
DMI_SYS_VENDOR
,
"Acer"
),
DMI_MATCH
(
DMI_PRODUCT_NAME
,
"AOA110"
),
},
},
{
.
ident
=
"Acer Aspire One (HDD)"
,
.
matches
=
{
DMI_MATCH
(
DMI_SYS_VENDOR
,
"Acer"
),
DMI_MATCH
(
DMI_PRODUCT_NAME
,
"AOA150"
),
},
},
{}
};
static
struct
dmi_system_id
acer_quirks
[]
=
{
{
.
callback
=
dmi_matched
,
...
...
@@ -1117,11 +1136,17 @@ static int __devinit acer_platform_probe(struct platform_device *device)
}
err
=
acer_rfkill_init
(
&
device
->
dev
);
if
(
err
)
goto
error_rfkill
;
return
err
;
error_rfkill:
if
(
has_cap
(
ACER_CAP_BRIGHTNESS
))
acer_backlight_exit
();
error_brightness:
acer_led_exit
();
if
(
has_cap
(
ACER_CAP_MAILLED
))
acer_led_exit
();
error_mailled:
return
err
;
}
...
...
@@ -1254,6 +1279,12 @@ static int __init acer_wmi_init(void)
printk
(
ACER_INFO
"Acer Laptop ACPI-WMI Extras
\n
"
);
if
(
dmi_check_system
(
acer_blacklist
))
{
printk
(
ACER_INFO
"Blacklisted hardware detected - "
"not loading
\n
"
);
return
-
ENODEV
;
}
find_quirks
();
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment