summaryrefslogtreecommitdiff
path: root/fdi
diff options
context:
space:
mode:
authorDanny Kukawka <danny.kukawka@web.de>2007-03-30 15:44:08 +0200
committerDanny Kukawka <danny.kukawka@web.de>2007-03-30 15:44:08 +0200
commit9afee233753225e4884bc4caef58da048f07b4ef (patch)
tree0baaa0d80e03c3558ac71e84c484e153df418a0a /fdi
parent6ea370ecbc29638a40bd991909e7ae401243f520 (diff)
added optional support for IBM ACPI (hotkey) events.
Added support for optional IBM ACPI (hotkey) events to HAL. This feature is disabled by default and need to get enabled by using the configure option --enable-acpi-ibm. This include also support for the display rotation events of IBM Tablet PCs.
Diffstat (limited to 'fdi')
-rw-r--r--fdi/policy/10osvendor/10-laptop-buttons.fdi20
-rw-r--r--fdi/policy/10osvendor/10-toshiba-buttons.fdi15
-rw-r--r--fdi/policy/10osvendor/Makefile.am2
3 files changed, 21 insertions, 16 deletions
diff --git a/fdi/policy/10osvendor/10-laptop-buttons.fdi b/fdi/policy/10osvendor/10-laptop-buttons.fdi
new file mode 100644
index 00000000..ee7cd0bf
--- /dev/null
+++ b/fdi/policy/10osvendor/10-laptop-buttons.fdi
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deviceinfo version="0.2">
+
+ <device>
+ <match key="system.formfactor" string="laptop">
+ <!-- Only launch the addon for Toshiba laptops. -->
+ <match key="system.hardware.vendor" string="TOSHIBA">
+ <append key="info.addons" type="strlist">hald-addon-acpi-buttons-toshiba</append>
+ <append key="info.capabilities" type="strlist">button</append>
+ </match>
+
+ <!-- button capability for IBM laptops -->
+ <match key="system.hardware.vendor" string="IBM">
+ <append key="info.capabilities" type="strlist">button</append>
+ </match>
+ </match>
+ </device>
+
+</deviceinfo>
diff --git a/fdi/policy/10osvendor/10-toshiba-buttons.fdi b/fdi/policy/10osvendor/10-toshiba-buttons.fdi
deleted file mode 100644
index d60bee2a..00000000
--- a/fdi/policy/10osvendor/10-toshiba-buttons.fdi
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<deviceinfo version="0.2">
-
- <!-- Only launch the addon for Toshiba laptops. -->
- <device>
- <match key="system.hardware.vendor" string="TOSHIBA">
- <match key="system.formfactor" string="laptop">
- <append key="info.addons" type="strlist">hald-addon-acpi-buttons-toshiba</append>
- <append key="info.capabilities" type="strlist">button</append>
- </match>
- </match>
- </device>
-
-</deviceinfo>
diff --git a/fdi/policy/10osvendor/Makefile.am b/fdi/policy/10osvendor/Makefile.am
index 98bbe927..d60d5b3b 100644
--- a/fdi/policy/10osvendor/Makefile.am
+++ b/fdi/policy/10osvendor/Makefile.am
@@ -4,7 +4,7 @@ fdidir = $(datadir)/hal/fdi/policy/10osvendor
dist_fdi_DATA = \
10-keyboard-policy.fdi \
10-power-mgmt-policy.fdi \
- 10-toshiba-buttons.fdi \
+ 10-laptop-buttons.fdi \
10-rfkill-switch.fdi \
10-laptop-panel-mgmt-policy.fdi \
15-storage-luks.fdi \