Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
07290bed
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
07290bed
编写于
4月 05, 2009
作者:
L
Len Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'acer' into release
上级
12648810
4f0175dc
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
40 addition
and
5 deletion
+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
未找到文件。
Documentation/laptops/acer-wmi.txt
浏览文件 @
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
浏览文件 @
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
();
/*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录