[PATCH] Add support for the LG Fusic Phone

Steven Walter stevenrwalter at gmail.com
Mon Jun 4 17:03:36 PDT 2007


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

diff --git a/fdi/information/10freedesktop/10-usb-music-players.fdi b/fdi/information/10freedesktop/10-usb-music-players.fdi
index 05fa8de..664b4a8 100644
--- a/fdi/information/10freedesktop/10-usb-music-players.fdi
+++ b/fdi/information/10freedesktop/10-usb-music-players.fdi
@@ -679,6 +679,22 @@
 
 	</match>
 
+ 	<!-- LG Fusic Phone -->
+ 	<match key="@storage.physical_device:usb.vendor_id" int="0x05c6">
+ 	  <match key="@storage.physical_device:usb.product_id" int="0x1000">
+ 	    <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/aac</append>
+             <append key="portable_audio_player.audio_folders" type="strlist">MUSIC</append>
+ 	    <append key="portable_audio_player.playlist_path" type="string">MUSIC/AllMyMusic.m3u</append>
+ 	    <append key="portable_audio_player.playlist_format" type="string">audio/x-mpegurl</append>
+ 	  </match>
+	</match>
+ 
 	<match key="@storage.originating_device:usb.vendor_id" int="0x1006">
           <!-- iGP 100 -->
           <match key="@storage.originating_device:usb.product_id" int="0x2001">
-- 
1.5.2


--ZPt4rx8FFjLCG7dd--


More information about the hal mailing list