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