1*2912Sartem<?xml version="1.0" encoding="UTF-8"?>
2*2912Sartem
3*2912Sartem<deviceinfo version="0.2">
4*2912Sartem
5*2912Sartem  <!-- Pocket PC PDAs -->
6*2912Sartem  <device>
7*2912Sartem    <match key="info.capabilities" contains="serial">
8*2912Sartem      <match key="@serial.physical_device:info.linux.driver" string="ipaq">
9*2912Sartem	<append key="info.capabilities" type="strlist">pda</append>
10*2912Sartem	<merge key="pda.platform" type="string">pocketpc</merge>
11*2912Sartem	<merge key="info.product" type="string">Pocket PC PDA</merge>
12*2912Sartem	<merge key="pda.pocketpc.hotsync_interface" type="copy_property">serial.device</merge>
13*2912Sartem      </match>
14*2912Sartem    </match>
15*2912Sartem  </device>
16*2912Sartem
17*2912Sartem  <!--
18*2912Sartem    on Sony Clie 3.5 devices we need to mark port 0 instead of port 1. For
19*2912Sartem    this reason, we mark the usb interface with port number to use (FIXME: is
20*2912Sartem    there a better solution?). However, we should also do this for clies that
21*2912Sartem    have been upgraded to a later version of OS, but I'm not sure if those have
22*2912Sartem    the same product id - in that case this would not work for them. The driver
23*2912Sartem    doumentation however advertises that the information about what port should
24*2912Sartem    be used is written to syslog, perhaps we can somehow get that information
25*2912Sartem    from the driver directly?)
26*2912Sartem  -->
27*2912Sartem  <device>
28*2912Sartem    <match key="info.capabilities" contains="serial">
29*2912Sartem      <match key="@serial.physical_device:info.linux.driver" string="visor">
30*2912Sartem	<match key="@serial.physical_device:usb.vendor_id" int="0x054c">
31*2912Sartem  	  <!-- Sony Clie 3.5 -->
32*2912Sartem          <match key="@serial.physical_device:usb.product_id" int="0x0038">
33*2912Sartem            <match key="serial.port" int="0">
34*2912Sartem              <append key="info.capabilities" type="strlist">pda</append>
35*2912Sartem              <merge key="pda.platform" type="string">palm</merge>
36*2912Sartem              <merge key="pda.palm.hotsync_interface" type="copy_property">serial.device</merge>
37*2912Sartem            </match>
38*2912Sartem          </match>
39*2912Sartem  	  <!-- Sony Clie SJ-22 -->
40*2912Sartem          <match key="@serial.physical_device:usb.product_id" int="0x0066">
41*2912Sartem            <match key="serial.port" int="0">
42*2912Sartem              <append key="info.capabilities" type="strlist">pda</append>
43*2912Sartem              <merge key="pda.platform" type="string">palm</merge>
44*2912Sartem              <merge key="pda.palm.hotsync_interface" type="copy_property">serial.device</merge>
45*2912Sartem            </match>
46*2912Sartem          </match>
47*2912Sartem	</match>
48*2912Sartem      </match>
49*2912Sartem    </match>
50*2912Sartem  </device>
51*2912Sartem
52*2912Sartem  <!-- Handspring -->
53*2912Sartem  <device>
54*2912Sartem    <match key="info.capabilities" contains="serial">
55*2912Sartem      <match key="@serial.physical_device:info.linux.driver" string="visor">
56*2912Sartem	<match key="@serial.physical_device:usb.vendor_id" int="0x082d">
57*2912Sartem  	  <!-- Visor -->
58*2912Sartem          <match key="@serial.physical_device:usb.product_id" int="0x0100">
59*2912Sartem            <match key="serial.port" int="1">
60*2912Sartem              <append key="info.capabilities" type="strlist">pda</append>
61*2912Sartem              <merge key="pda.platform" type="string">palm</merge>
62*2912Sartem              <merge key="pda.palm.hotsync_interface" type="copy_property">serial.device</merge>
63*2912Sartem            </match>
64*2912Sartem          </match>
65*2912Sartem	</match>
66*2912Sartem      </match>
67*2912Sartem    </match>
68*2912Sartem  </device>
69*2912Sartem
70*2912Sartem  <!-- Known Palm PDAs from Palm, Inc. -->
71*2912Sartem  <device>
72*2912Sartem    <match key="info.capabilities" contains="serial">
73*2912Sartem      <match key="@serial.physical_device:info.linux.driver" string="visor">
74*2912Sartem	<match key="@serial.physical_device:usb.vendor_id" int="0x0830">
75*2912Sartem  	  <!-- Palm m130 -->
76*2912Sartem          <match key="@serial.physical_device:usb.product_id" int="0x0050">
77*2912Sartem            <match key="serial.port" int="0">
78*2912Sartem              <append key="info.capabilities" type="strlist">pda</append>
79*2912Sartem              <merge key="pda.platform" type="string">palm</merge>
80*2912Sartem              <merge key="pda.palm.hotsync_interface" type="copy_property">serial.device</merge>
81*2912Sartem            </match>
82*2912Sartem          </match>
83*2912Sartem  	  <!-- Tungsten T5 -->
84*2912Sartem          <match key="@serial.physical_device:usb.product_id" int="0x0061">
85*2912Sartem            <match key="serial.port" int="1">
86*2912Sartem              <append key="info.capabilities" type="strlist">pda</append>
87*2912Sartem              <merge key="pda.platform" type="string">palm</merge>
88*2912Sartem              <merge key="pda.palm.hotsync_interface" type="copy_property">serial.device</merge>
89*2912Sartem            </match>
90*2912Sartem          </match>
91*2912Sartem	</match>
92*2912Sartem      </match>
93*2912Sartem    </match>
94*2912Sartem  </device>
95*2912Sartem
96*2912Sartem  <!-- All the other PalmOS PDAs as fallback -->
97*2912Sartem  <device>
98*2912Sartem    <match key="info.capabilities" contains="serial">
99*2912Sartem      <match key="@serial.physical_device:info.linux.driver" string="visor">
100*2912Sartem	<match key="pda.platform" exists="false">
101*2912Sartem          <match key="serial.port" int="0">
102*2912Sartem            <append key="info.capabilities" type="strlist">pda</append>
103*2912Sartem            <merge key="pda.platform" type="string">palm</merge>
104*2912Sartem            <merge key="pda.palm.hotsync_interface" type="copy_property">serial.device</merge>
105*2912Sartem          </match>
106*2912Sartem          <match key="serial.port" int="1">
107*2912Sartem            <append key="info.capabilities" type="strlist">pda</append>
108*2912Sartem            <merge key="pda.platform" type="string">palm</merge>
109*2912Sartem            <merge key="pda.palm.hotsync_interface" type="copy_property">serial.device</merge>
110*2912Sartem          </match>
111*2912Sartem	</match>
112*2912Sartem      </match>
113*2912Sartem    </match>
114*2912Sartem  </device>
115*2912Sartem
116*2912Sartem</deviceinfo>
117*2912Sartem
118