home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / hal / fdi / information / 10freedesktop / 10-usb-card-readers.fdi < prev    next >
Encoding:
Extensible Markup Language  |  2009-04-09  |  5.8 KB  |  142 lines

  1. <?xml version="1.0" encoding="UTF-8"?> <!-- -*- xml -*- -->
  2.  
  3. <deviceinfo version="0.2">
  4.   <device>
  5.  
  6.     <!-- Should probably move to separate file for pcmcia devices -->
  7.     <match key="storage.bus" string="pcmcia">
  8.       <match key="storage.model" contains="FLASH">
  9.         <merge key="storage.drive_type" type="string">compact_flash</merge>
  10.       </match>
  11.     </match>
  12.  
  13.     <!-- Should probably move to separate file for firewire devices -->
  14.     <match key="storage.bus" string="ieee1394">
  15.       <match key="storage.model" string="FWIRE CF READER">
  16.         <merge key="storage.drive_type" type="string">compact_flash</merge>
  17.       </match>
  18.     </match>
  19.  
  20.     <!-- Generic catch all -->
  21.     <match key="storage.bus" string="usb">
  22.       <match key="storage.model" prefix_outof="HS-;Reader-;IC1210        ">
  23.         <match key="storage.model" suffix="CF">
  24.           <merge key="storage.drive_type" type="string">compact_flash</merge>
  25.         </match>
  26.         <match key="storage.model" suffix="MS">
  27.           <merge key="storage.drive_type" type="string">memory_stick</merge>
  28.         </match>
  29.         <match key="storage.model" suffix="SM">
  30.           <merge key="storage.drive_type" type="string">smart_media</merge>
  31.         </match>
  32.         <match key="storage.model" suffix="xD">
  33.           <merge key="storage.drive_type" type="string">smart_media</merge>
  34.         </match>
  35.         <match key="storage.model" suffix="SD">
  36.           <merge key="storage.drive_type" type="string">sd_mmc</merge>
  37.         </match>
  38.       </match>
  39.  
  40.       <!-- Yet another common theme -->
  41.       <match key="storage.model" contains="Storage-CFC">
  42.         <merge key="storage.drive_type" type="string">compact_flash</merge>
  43.       </match>
  44.       <match key="storage.model" contains="Storage-MSC">
  45.         <merge key="storage.drive_type" type="string">memory_stick</merge>
  46.       </match>
  47.       <match key="storage.model" contains="Storage-SMC">
  48.         <merge key="storage.drive_type" type="string">smart_media</merge>
  49.       </match>
  50.       <match key="storage.model" contains="Storage-MMC">
  51.         <merge key="storage.drive_type" type="string">sd_mmc</merge>
  52.       </match>
  53.       <match key="storage.model" contains="Storage-SDC">
  54.         <merge key="storage.drive_type" type="string">sd_mmc</merge>
  55.       </match>
  56.  
  57.       <!-- Hama card reader -->
  58.       <match key="storage.model" contains_outof="Card;USB">
  59.         <match key="storage.model" contains="Reader">
  60.       <match key="storage.model" contains=" CF">
  61.         <merge key="storage.drive_type" type="string">compact_flash</merge>
  62.           </match>
  63.           <match key="storage.model" contains=" MS">
  64.         <merge key="storage.drive_type" type="string">memory_stick</merge>
  65.           </match>
  66.           <match key="storage.model" contains=" SM">
  67.         <merge key="storage.drive_type" type="string">smart_media</merge>
  68.           </match>
  69.           <match key="storage.model" contains_outof="MMC/SD; SD">
  70.         <merge key="storage.drive_type" type="string">sd_mmc</merge>
  71.           </match>
  72.         </match>
  73.       </match>
  74.  
  75.       <!-- Noname multi-card Readers (vendor: Genesys Logic) -->
  76.       <match key="@storage.originating_device:usb.vendor_id" int="0x05e3">
  77.     <match key="@storage.originating_device:usb.product_id" int_outof="0x070e;0x0760;0x927">
  78.       <match key="storage.lun" int="0">
  79.         <merge key="storage.drive_type" type="string">compact_flash</merge>
  80.       </match>
  81.       <match key="storage.lun" int="1">
  82.         <merge key="storage.drive_type" type="string">smart_media</merge>
  83.       </match>
  84.       <match key="storage.lun" int="2">
  85.         <merge key="storage.drive_type" type="string">sd_mmc</merge>
  86.       </match>
  87.       <match key="storage.lun" int="3">
  88.         <merge key="storage.drive_type" type="string">memory_stick</merge>
  89.       </match>
  90.         </match>
  91.       </match>
  92.  
  93.       <!-- Lexar CF Reader -->
  94.       <match key="@storage.originating_device:usb.vendor_id" int="0x05dc">
  95.         <match key="@storage.originating_device:usb.product_id" int="0x0002">
  96.           <merge key="storage.drive_type" type="string">compact_flash</merge>
  97.         </match>
  98.       </match>
  99.  
  100.       <!-- SanDisk ImageMate II CF Reader -->
  101.       <match key="@storage.originating_device:usb.vendor_id" int="0x0781">
  102.         <match key="@storage.originating_device:usb.product_id" int="0x0002">
  103.           <merge key="storage.drive_type" type="string">compact_flash</merge>
  104.         </match>
  105.         <!-- SanDisk ImageMate 12 in 1 Reader -->
  106.     <match key="@storage.originating_device:usb.product_id" int="0xb4b5">
  107.       <match key="storage.lun" int="0">
  108.         <merge key="storage.drive_type" type="string">compact_flash</merge>
  109.       </match>
  110.       <match key="storage.lun" int="1">
  111.         <merge key="storage.drive_type" type="string">smart_media</merge>
  112.       </match>
  113.       <match key="storage.lun" int="2">
  114.         <merge key="storage.drive_type" type="string">sd_mmc</merge>
  115.       </match>
  116.       <match key="storage.lun" int="3">
  117.         <merge key="storage.drive_type" type="string">memory_stick</merge>
  118.       </match>
  119.     </match>
  120.       </match>
  121.  
  122.       <!-- Sony Ericsson Handys with Memory Stick (Duo) -->
  123.       <match key="@storage.originating_device:usb.vendor_id" int="0xfce">
  124.         <!-- K750i -->
  125.     <match key="@storage.originating_device:usb.product_id" int="0xd016">
  126.           <merge key="storage.drive_type" type="string">memory_stick</merge>
  127.           <merge key="info.vendor" type="copy_property">@storage.originating_device:usb.vendor</merge>
  128.           <merge key="storage.vendor" type="copy_property">@storage.originating_device:usb.vendor</merge>
  129.     </match>
  130.     <!-- General match-->
  131.     <match key="storage.model" contains="Memory Stick">
  132.           <merge key="storage.drive_type" type="string">memory_stick</merge>
  133.           <merge key="info.vendor" type="copy_property">@storage.originating_device:usb.vendor</merge>
  134.           <merge key="storage.vendor" type="copy_property">@storage.originating_device:usb.vendor</merge>
  135.     </match>
  136.       </match>
  137.  
  138.     </match>
  139.  
  140.   </device>
  141. </deviceinfo>
  142.