It doesn't work neither, I think that file is only for mtp devices. The syntax is:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> <!-- This file was generated by /build/buildd/libmtp-1.1.0/util/.libs/lt-mtp-hotplug - - fdi --> <deviceinfo version="0.2"> <device> <match key="info.subsystem" string="usb"> <!-- Creative ZEN Vision --> <match key="usb.vendor_id" int="0x041e"> <match key="usb.product_id" int="0x411f"> <match key="info.capabilities" contains_not="portable_audio_player"> <append key="info.capabilities" type="strlist">portable_audio_player</append> </match> <merge key="info.vendor" type="string">Creative</merge> <merge key="info.product" type="string">ZEN Vision</merge> <merge key="info.category" type="string">portable_audio_player</merge> <merge key="portable_audio_player.access_method" type="string">user</merge> <match key="portable_audio_player.access_method.protocols" contains_not="mtp"> <append key="portable_audio_player.access_method.protocols" type="strlist">mtp</append> </match> <append key="portable_audio_player.access_method.drivers" type="strlist">libmtp</append> <match key="portable_audio_player.output_formats" contains_not="audio/mpeg"> <append key="portable_audio_player.output_formats" type="strlist">audio/mpeg</append> </match> <match key="portable_audio_player.output_formats" contains_not="audio/x-ms-wma"> <append key="portable_audio_player.output_formats" type="strlist">audio/x-ms-wma</append> </match> <merge key="portable_audio_player.libmtp.protocol" type="string">mtp</merge> </match> </match> </device> </deviceinfo>
There is another file on the same folder for apple devices (31-apple-mobile-device). The syntax is:
<?xml version="1.0"?> <deviceinfo version="0.2"> <device> <match key="info.subsystem" string="usb"> <match key="usb.vendor_id" int="0x05ac"> <match key="usb.product_id" compare_ge="0x1290"> <match key="usb.product_id" compare_le="0x12af"> <match key="usb.interface.number" int="0x1"> <append key="info.capabilities" type="strlist">afc</append> </match> </match> </match> </match> </match> </device> </deviceinfo>
It doesn't work neither, I think that file is only for mtp devices.
The syntax is:
<?xml version="1.0" encoding= "ISO-8859- 1"?> <!-- -*- SGML -*- --> buildd/ libmtp- 1.1.0/util/ .libs/lt- mtp-hotplug - - fdi --> subsystem" string="usb"> product_ id" int="0x411f"> capabilities" contains_ not="portable_ audio_player" > capabilities" >portable_ audio_player< /append> >Creative< /merge> >portable_ audio_player< /merge> audio_player. access_ method" >user</ merge> audio_player. access_ method. protocols" audio_player. access_ method. protocols" >mtp</append> audio_player. access_ method. drivers" >libmtp< /append> audio_player. output_ formats" not="audio/ mpeg"> audio_player. output_ formats" >audio/ mpeg</append> audio_player. output_ formats" not="audio/ x-ms-wma" > audio_player. output_ formats" >audio/ x-ms-wma< /append> audio_player. libmtp. protocol" >mtp</merge>
<!-- This file was generated by
/build/
<deviceinfo version="0.2">
<device>
<match key="info.
<!-- Creative ZEN Vision -->
<match key="usb.vendor_id" int="0x041e">
<match key="usb.
<match key="info.
<append key="info.
type="strlist"
</match>
<merge key="info.vendor" type="string"
<merge key="info.product" type="string">ZEN Vision</merge>
<merge key="info.category" type="string"
<merge key="portable_
type="string"
<match key="portable_
contains_not="mtp">
<append
key="portable_
type="strlist"
</match>
<append key="portable_
type="strlist"
<match key="portable_
contains_
<append key="portable_
type="strlist"
</match>
<match key="portable_
contains_
<append key="portable_
type="strlist"
</match>
<merge key="portable_
type="string"
</match>
</match>
</device>
</deviceinfo>
There is another file on the same folder for apple devices mobile- device) . The syntax is:
(31-apple-
<?xml version="1.0"?> subsystem" string="usb"> product_ id" compare_ ge="0x1290" > product_ id" compare_ le="0x12af" > interface. number" int="0x1">
<append key="info. capabilities" type="strlist" >afc</append>
</ match>
<deviceinfo version="0.2">
<device>
<match key="info.
<match key="usb.vendor_id" int="0x05ac">
<match key="usb.
<match key="usb.
<match key="usb.
</match>
</match>
</match>
</match>
</device>
</deviceinfo>