diff options
author | Danny Kukawka <danny.kukawka@web.de> | 2008-03-12 19:08:53 +0100 |
---|---|---|
committer | Danny Kukawka <danny.kukawka@web.de> | 2008-03-12 19:08:53 +0100 |
commit | ea8441f5b0fd783d5803c5c7a0a1c95e72bf1a01 (patch) | |
tree | a1fe88065c38598c1c2ce59fb8663fb1eee3ac4e /fdi | |
parent | 5610b603840dfb264db039756c8d541106df2305 (diff) |
added support for Tablet PCs
Added support for Tablet PCs with these features:
* identify Wacom and Finepoint Tablet PC devices and port/irq
* set system.formfactor.subtype to 'tabletpc' this allow the desktop
to handle special tasks for Tablet PCs as e.g. show OnScreen Keyboard
* added setserial helper to setup /dev/ttyS* devices with sepcial
parameter if needed
* added fdi-file to call for special Tablet devices setserial with
needed parameter where the kernel can't setup the device correct
This patch is already included in the SUSE hal package since 08/2005.
Diffstat (limited to 'fdi')
-rw-r--r-- | fdi/policy/10osvendor/10-tabletPCs.fdi | 25 | ||||
-rw-r--r-- | fdi/policy/10osvendor/Makefile.am | 9 |
2 files changed, 30 insertions, 4 deletions
diff --git a/fdi/policy/10osvendor/10-tabletPCs.fdi b/fdi/policy/10osvendor/10-tabletPCs.fdi new file mode 100644 index 00000000..f1bddde9 --- /dev/null +++ b/fdi/policy/10osvendor/10-tabletPCs.fdi @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<deviceinfo version="0.2"> + + <device> + <match key="info.capabilities" contains="input.tablet.tabletPC"> + <!-- There is a report that we should use ttyS2 instead of ttyS0 --> + <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="HP Compaq tc4200"> + <merge key="input.device.set" type="string">/dev/ttyS2</merge> + </match> + + <!-- to get the device up we need to set the baud_rate correct --> + <match key="pnp.id" contains="FPI2004"> + <merge key="input.device.set" type="string">/dev/ttyS0</merge> + <merge key="pnp.serial.baud_base" type="int">38400</merge> + </match> + </match> + + <!-- add addon if need special ttySx settings --> + <match key="input.device.set" exists="true"> + <append key="info.callouts.add" type="strlist">hal-system-setserial</append> + </match> + </device> + +</deviceinfo> diff --git a/fdi/policy/10osvendor/Makefile.am b/fdi/policy/10osvendor/Makefile.am index f9c75799..19f18256 100644 --- a/fdi/policy/10osvendor/Makefile.am +++ b/fdi/policy/10osvendor/Makefile.am @@ -3,14 +3,15 @@ fdidir = $(datadir)/hal/fdi/policy/10osvendor dist_fdi_DATA = \ 10-input-policy.fdi \ - 10-x11-input.fdi \ + 10-dockstation.fdi \ + 10-laptop-panel-mgmt-policy.fdi \ 10-power-mgmt-policy.fdi \ 10-rfkill-switch.fdi \ - 10-laptop-panel-mgmt-policy.fdi \ + 10-tabletPCs.fdi \ + 10-x11-input.fdi \ 15-storage-luks.fdi \ 20-storage-methods.fdi \ - 30-wol.fdi \ - 10-dockstation.fdi + 30-wol.fdi if BUILD_KEYMAPS dist_fdi_DATA += 10-keymap.fdi |