From: Linus W. <lin...@gm...> - 2009-07-24 21:07:03
|
2009/7/24 Mikko C. <mik...@gm...>: > on 23/07/2009 23:47 Linus Walleij wrote: >> 2009/7/5 Mikko C. <mik...@gm...>: >> >>> it seems that libmtp thinks my Cowon isn't able to play ogg/flac. >>> Here's the output of mtp-detect: http://zlin.dk/p/?ZjE4ZTg1 >> >> It does, actually. The Ogg files just have to be tagged with the >> "undefined" type. There is a workaround in the CVS libmtp. >> >> Please report this bug to Cowon if you can. >> > > Yes, I tried CVS and OGG is recognized now, but not FLAC. Is there > anything that can be done about that? Of course :-) I hacked in an identical quirk as we have for unknown OGG files for FLAC too. Can you check out the latest CVS again an see if it works? > Also, Cowon doesn't officially support MTP mode on linux, only MSC: what > should I tell them exactly? That they are violating the MTP protocol by letting the device recognize Ogg and FLAC files by simply inspecting the filename of "unknown" files while these should be tagged with the apropriate 16-bit file type tag: #define PTP_OFC_MTP_OGG 0xb902 #define PTP_OFC_MTP_FLAC 0xb906 Respectively. This is even written in the open MTP spec from USB IF I believe. Linus |