properties for rotable displays
Robert Gerlach
khnz at gmx.de
Fri Mar 14 08:09:44 PDT 2008
Hi,
for my tablet pc, I want to store the orientations of the rotable display in
HAL? Is there a recommendation? If not, I want to propose a new capability
(like "rotatable_display") and two properties, one for normal and one for
rotated orientation (sample fdi attached).
Robert
-------------- next part --------------
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.category" string="laptop_panel">
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" string="FUJITSU SIEMENS">
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" prefix_outof="LifeBook T;LIFEBOOK T;LIFEBOOK P1510;LIFEBOOK P1610">
<append key="info.capabilities" type="strlist">rotatable_display</append>
<merge key="rotatable_display.orientation.normal" type="string">normal</merge>
<merge key="rotatable_display.orientation.tablet_mode" type="string">right</merge>
</match>
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" prefix="Stylistic T;STYLISTIC ST5">
<append key="info.capabilities" type="strlist">rotatable_display</append>
<merge key="rotatable_display.orientation.normal" type="string">right</merge>
<merge key="rotatable_display.orientation.tablet_mode" type="string">normal</merge>
</match>
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" prefix="LifeBook U810;LifeBook U1010">
<append key="info.capabilities" type="strlist">rotatable_display</append>
<merge key="rotatable_display.orientation.normal" type="string">normal</merge>
<merge key="rotatable_display.orientation.tablet_mode" type="string">inverted</merge>
</match>
</match>
</match>
</device>
</deviceinfo>
More information about the hal
mailing list