[PATCH]Add more common themes for 10-usb-card-readers.fdi
WangLi
iec23801 at gmail.com
Tue Apr 13 02:54:34 PDT 2010
The patch adds more common themes to support more card readers which has the
following informations:
storage.automount_enabled_hint = true (bool)
storage.bus = 'usb' (string)
storage.drive_type = 'disk' (string)
storage.firmware_version = '1.00' (string)
storage.hotpluggable = true (bool)
storage.lun = 0 (0x0) (int)
storage.media_check_enabled = true (bool)
storage.model = 'Multi-Card' (string)
storage.no_partitions_hint = false (bool)
storage.originating_device =
'/org/freedesktop/Hal/devices/usb_device_bda_158_20071114173400000_if0'
(string)
storage.partitioning_scheme = 'mbr' (string)
storage.removable = true (bool)
storage.removable.media_available = true (bool)
storage.removable.media_size = 998768640 (0x3b880000) (uint64)
storage.removable.support_async_notification = false (bool)
storage.requires_eject = false (bool)
storage.serial = 'Generic-_Multi-Card_20071114173400000-0:0' (string)
storage.size = 0 (0x0) (uint64)
storage.vendor = 'Generic-' (string)
---
hal-info-20091130/fdi/information/10freedesktop/10-usb-card-readers.fdi
2009-08-27 17:53:41.000000000 +0800
+++
hal-info-20091130.old/fdi/information/10freedesktop/10-usb-card-readers.fdi
2010-04-13 10:12:25.000000000 +0800
@@ -38,6 +38,9 @@
</match>
<!-- Yet another common theme -->
+ <match key="storage.model" contains="Multi-Card">
+ <merge key="storage.drive_type" type="string">sd_mmc</merge>
+ </match>
<match key="storage.model" contains="Storage-CFC">
<merge key="storage.drive_type" type="string">compact_flash</merge>
</match>
--
Best Regards
Michael.Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/hal/attachments/20100413/5188f6f6/attachment.html>
More information about the hal
mailing list