hal: Branch 'master' - 2 commits

David Zeuthen david at kemper.freedesktop.org
Wed Feb 21 09:37:58 PST 2007


 fdi/information/10freedesktop/10-sony-bluetooth-switch.fdi |   35 +++++++++++++
 1 files changed, 35 insertions(+)

New commits:
diff-tree cb70ef6d659f16d5db7fadcb94b3500374210234 (from parents)
Merge: 76962cf06ba6fd14d25d732afb5d91aad21e1192 defc0819bb691d3adad05b1b61df080e4db0f726
Author: David Zeuthen <davidz at redhat.com>
Date:   Wed Feb 21 12:37:42 2007 -0500

    Merge branch 'master' of ssh://david@git.freedesktop.org/git/hal-info

diff-tree 76962cf06ba6fd14d25d732afb5d91aad21e1192 (from 3de31d4b45dcdf63ebda2fefe603264875e32b59)
Author: Bastien Nocera <hadess at hadess.net>
Date:   Wed Feb 21 12:37:12 2007 -0500

    add support for bluetooth killswitch support for Sony laptops

diff --git a/fdi/information/10freedesktop/10-sony-bluetooth-switch.fdi b/fdi/information/10freedesktop/10-sony-bluetooth-switch.fdi
new file mode 100644
index 0000000..0755fec
--- /dev/null
+++ b/fdi/information/10freedesktop/10-sony-bluetooth-switch.fdi
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deviceinfo version="0.2">
+
+  <device>
+    <match key="system.kernel.name" string="Linux"> 
+      <match key="smbios.system.manufacturer" string="Sony Corporation">
+        <match key="system.formfactor" string="laptop">
+	  <match key="system.product" contains="VGN-S1XP">
+            <spawn udi="/org/freedesktop/Hal/devices/sonypic_bluetooth_switch"/>
+	  </match>
+	  <!-- FIXME add more laptops here -->
+        </match>
+      </match>
+    </match>
+  </device>
+
+  <device>
+    <match key="info.udi" string="/org/freedesktop/Hal/devices/sonypic_bluetooth_switch">
+      <append key="info.capabilities" type="strlist">bluetooth_switch</append>
+      <merge key="info.category" type="string">bluetooth_switch</merge>
+      <merge key="info.product" type="string">Sony Bluetooth Switch</merge>
+      <merge key="killswitch.type" type="string">bluetooth</merge>
+      <merge key="killswitch.access_method" type="string">sonypic</merge>
+
+      <match key="@info.parent:system.product" contains="VGN-S1XP">
+        <merge key="killswitch.expected_usb_vendor_id" type="int">0x44e</merge>
+        <merge key="killswitch.expected_usb_product_id" type="int">0x3007</merge>
+      </match>
+
+      <!-- FIXME add more laptops here -->
+    </match>
+  </device>
+
+</deviceinfo>


More information about the hal-commit mailing list