From: Jeff M. <kd...@em...> - 2007-04-24 19:05:23
|
Greetings-- I work on Amarok, which supports iPod devices natively through =20 libgpod, and am in contact with the guys working on Solid for KDE4. =20 One things that is common to most of the proprietary libraries =20 (libgpod, libifp, libmtp, etc) is that there is no good way to detect =20 when such a device is plugged in, as well as what type of device it =20 is. Often you can detect one or the other but not both. The way to do this lies with udev/HAL. I won't go into them, as I'm =20 sure you're well aware of what they do and how they work...but I'm =20 unclear as to whether or not libgpod is really fully supported with =20 the current setup (as I don't have an iPod myself). The current 10-usb-music-players.fdi contains this: <!-- Apple iPod - TODO: use USB ids to determine exact output formats --> <match key=3D"storage.vendor" contains=3D"Apple"> <match key=3D"storage.model" contains=3D"iPod"> <append key=3D"info.capabilities" =20 type=3D"strlist">portable_audio_player</append> <merge key=3D"info.category" =20 type=3D"string">portable_audio_player</merge> <merge key=3D"portable_audio_player.access_method" =20 type=3D"string">storage</merge> <merge key=3D"portable_audio_player.type" type=3D"string">ipod</m= erge> <merge key=3D"portable_audio_player.storage_device" =20 type=3D"copy_property">info.udi</merge> <append key=3D"portable_audio_player.output_formats" =20 type=3D"strlist">audio/mpeg</append> <append key=3D"portable_audio_player.output_formats" =20 type=3D"strlist">audio/aac</append> <merge key=3D"storage.requires_eject" type=3D"bool">true</merge> </match> </match> Since I don't have an iPod/many iPods, I don't know if this is enough =20 to match the whole range of devices (perhaps it is? You guys would =20 probably know for sure). If any work needs to be done in this regard, I'm quite willing to help =20 out with this Thanks, Jeff |