|
From: Peter H. <pe...@pe...> - 2009-04-17 03:03:44
|
On Monday 06 April 2009, Linus Walleij wrote: > 2009/3/30 Peter Hedlund <pe...@pe...>: > > I have tried to get a MyMusix PD-6070 > > (http://mymusix.mmvoice.com/products/audio/PD-6070/ ) to work with libmtp > > from cvs. It is definitely a dual-mode device. > > OK device added to database. > > Thanks! > > > Here is the output from mtp-detect (there are some mp3 files loaded on > > the device): > > (...) > > I would love to get this device working with Amarok 2 on Fedora 10. > > If it gets that far (as the mtp-detect prints) it should "just work" > if you recompile the RPM > or similar so you get the proper udev scripts in place. Hm, I maintain > that RPM so with > next libmtp release it will probably work. > Hello, Thanks for your help. I have not had very much time to test things, but this is what I have found. I appreciate being pushed to recompile the rpm and get everything installed in the right place as that made testing more accurate. As far as I can tell the device works OK for its limited capabilities. These are the flags I have settled on: { "MyMusix", 0x0aa6, "PD-6070", 0x9601, DEVICE_FLAG_UNLOAD_DRIVER | DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | DEVICE_FLAG_NO_RELEASE_INTERFACE }, DEVICE_FLAG_UNLOAD_DRIVER because it is a dual mode device. DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST makes Amarok retrieve album and artist of songs, otherwise only track titles are found and the rest is listed as unknown. Strange because mtp-files shows the same info regardless. The year tag is always lost. DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST otherwise it is not possible to copy files to the device, even mtp-connect --sendfile gives an error without this flag. DEVICE_FLAG_NO_RELEASE_INTERFACE seems to make things more stable, but I am not entirely sure. Thanks, Peter |