[PATCH]Add more common themes for 10-usb-card-readers.fdi

Danny Kukawka danny.kukawka at web.de
Mon Aug 23 08:28:08 PDT 2010


Hi,

thanks for the patch, I've commited an adopted version to git.

Danny

On Dienstag, 13. April 2010, WangLi wrote:
> 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>




More information about the hal mailing list