Shuffle redux
And talking of Linux hardware – much of the (minimal) fussing about getting the iPod shuffle working under Linux that I mentioned back in March is now unnecessary. The version of gtkpod in Debian/unstable now has shuffle support – and the automount process can be simplified by a simple xml file I modified from development files and dropped into /etc/hal/fdi/local-ipod.fdi. So I guess that for later distros you won’t even have to do that.
The following allows shuffle to be automounted (based on its USB id) under /media/ipod (where both gtkpod and rhythmbox look for it). (updated 2005-11-23)
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<!-- iPod Shuffle -->
<deviceinfo version="0.2">
<device>
<match key="block.is_volume" bool="true">
<match key="volume.fsusage" string="filesystem">
<match key="@block.storage_device:@storage.physical_device:usb.vendor_id" int="0x05ac">
<match key="@block.storage_device:@storage.physical_device:usb.product_id" int="0x1300">
<merge key="volume.policy.desired_mount_point" type="string">ipod</merge>
<merge key="volume.label" type="string">iPod: </merge>
<append key="volume.label" type="copy_property">info.product</append>
<merge key="volume.policy.mount_option.check=r" type="bool">true</merge>
<merge key="volume.policy.mount_option.utf8" type="bool">false</merge>
<append key="info.capabilities" type="string"> portable_audio_player</append>
<merge key="portable_audio_player.access_method" type="string">storage</merge>
<merge key="portable_audio_player.type" type="string">ipod</merge>
<merge key="portable_audio_player.storage_device" type="copy_property">info.udi</merge>
<merge key="portable_audio_player.output_formats" type="strlist">audio/mpeg audio/x-mp3 audio/aac</merge>
<merge key="storage.requires_eject" type="bool">true</merge>
</match>
</match>
</match>
</match>
</device>
</deviceinfo>



