Comment 1 for bug 64300

Revision history for this message
In , Chris Jones (cmsj) wrote :

I think this will work. At the very least it has the right vendor/product IDs:

Bus 005 Device 013: ID 0781:7421 SanDisk Corp.

and the device supports mp3 and wma

  <!-- Sandisk Corp. Sansa e270 (maybe others as well) -->
      <match key="@storage.physical_device:usb.vendor_id" int="0x0781">
        <match key="@storage.physical_device:usb.product_id" int="0x7421">
           <append key="info.capabilities"
type="strlist">portable_audio_player</append>
           <merge key="info.category" type="string">portable_audio_player</merge>
           <merge key="portable_audio_player.type" type="string">generic</merge>
           <merge key="portable_audio_player.access_method"
type="string">storage</merge>
           <merge key="portable_audio_player.storage_device"
type="copy_property">info.udi</merge>
           <append key="portable_audio_player.output_formats"
type="strlist">audio/mpeg</append>
           <append key="portable_audio_player.output_formats"
type="strlist">audio/x-ms-wma</append>
           <append key="portable_audio_player.input_formats"
type="strlist">audio/mpeg</append>
           <append key="portable_audio_player.input_formats"
type="strlist">audio/x-ms-wma</append>
           </match>
      </match>