[PATCH 2/2] Add JVC Digital Media Camera

bug-track at fisher-privat.net bug-track at fisher-privat.net
Tue Apr 15 12:09:08 PDT 2008


From: Alexey Rempel <bug-track at fisher-privat.net> 

JVC Digital Media Camera section.

I tested only two cameras from this series GZ-MCxxx and GZ-MGxxxx, but is schould work for aothers too. Seems like all products have same usb id, so i used product.info.


---
 .../10freedesktop/10-usb-music-players.fdi         |   21 ++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/fdi/information/10freedesktop/10-usb-music-players.fdi b/fdi/information/10freedesktop/10-usb-music-players.fdi
index fbaf4f6..c0b9729 100644
--- a/fdi/information/10freedesktop/10-usb-music-players.fdi
+++ b/fdi/information/10freedesktop/10-usb-music-players.fdi
@@ -808,6 +808,27 @@
           </match>
 	</match>
 
+        <!-- JVC Digital Media Camera -->
+        <match key="@storage.originating_device:usb.vendor_id" int="0x04f1">
+          <!-- for GZ-MCxxx and GZ-MGxxxx serien -->
+          <!-- GZ-MGxxxx have internal HDD + SD/MMC slot -->
+          <match key="@storage.originating_device:usb.product_id" int="0x0008">
+            <match key="storage.lun" int="1">
+              <merge key="storage.drive_type" type="string">sd_mmc</merge>
+            </match>
+            <!-- GZ-MCxxx like GZ-MC500 have  CF/HDD slot + SD/MMC slot -->
+            <match key="info.product" contains="GZ-MC">
+              <match key="storage.lun" int="0">
+                <merge key="storage.drive_type" type="string">compact_flash</merge>
+              </match>
+              <!-- and build in voice recorder with read only eccess --> 
+              <addset key="portable_audio_player.access_method.protocols" type="strlist">storage</addset>
+              <append key="portable_audio_player.input_formats" type="strlist">audio/x-wav</append>
+              <append key="portable_audio_player.audio_folders" type="strlist">DCVC/100JVCMC/</append>
+            </match>
+          </match>
+        </match>
+
       </match>
     </match>      
 
-- 
1.5.5.23.g2a5f



More information about the hal mailing list