home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / rescue / usr / share / doc / packages / hal / conf / match-cardreader.fdi next >
Extensible Markup Language  |  2006-11-29  |  1KB  |  28 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!-- Example: This device information file matches a memory card reader with 
  4.               multiple storage ports that can be active at the same time. -->
  5.  
  6. <deviceinfo version="0.2">
  7.   <device>
  8.     <match key="storage.bus" string="usb">
  9.       <match key="@storage.physical_device:usb.vendor_id" int="0x0424">
  10.         <match key="@storage.physical_device:usb.product_id" int="0x20fc">
  11.           <match key="storage.lun" int="0">
  12.             <merge key="storage.drive_type" type="string">compact_flash</merge>
  13.       </match>
  14.           <match key="storage.lun" int="1">
  15.             <merge key="storage.drive_type" type="string">memory_stick</merge>
  16.       </match>
  17.           <match key="storage.lun" int="2">
  18.             <merge key="storage.drive_type" type="string">smart_media</merge>
  19.       </match>
  20.           <match key="storage.lun" int="3">
  21.             <merge key="storage.drive_type" type="string">sd_mmc</merge>
  22.       </match>
  23.         </match>
  24.       </match>
  25.     </match>
  26.   </device>
  27. </deviceinfo>
  28.