|
From: Nyall D. <ny...@zo...> - 2009-09-09 23:40:12
|
Ok, here's a log of sending a short sound file via mtp-sendtr, with the usb debug prints. On Wed, Sep 9, 2009 at 8:27 PM, Nyall Dawson <ny...@zo...> wrote: > On Wed, Sep 9, 2009 at 7:37 PM, Linus Walleij > <lin...@gm...> wrote: >> 2009/9/9 Nyall Dawson <ny...@zo...>: >> >>> Error 2: PTP Layer error a803: send_file_object_info():Could not send >>> object property list. >>> Error 2: (Look this up in ptp.h for an explanation.) >>> Error 1: LIBMTP_Send_Track_From_File_Descriptor(): subcall to >>> LIBMTP_Send_File_From_File_Descriptor failed. >> >> No, now wait return code 0xa803 is special, this means: >> PTP_RC_MTP_Invalid_ObjectProp_Value 0xA803 > > Sorry for the confusion, after a format of the device I no longer see > the error a803 message. Just the other "call to > ptp_mtp_getobjectpropssupported() failed." message. > > Error sending file "/tmp/gnomad-z2lCHP/01 Seguir Siendo.mp3" to MTP device! > Error 2: PTP Layer error 02fe: LIBMTP_Get_Filelisting_With_Callback(): > call to ptp_mtp_getobjectpropssupported() failed. > Error 2: (Look this up in ptp.h for an explanation.) > Error 2: PTP Layer error 2002: add_object_to_cache(): couldn't add > object to cache > Error 2: (Look this up in ptp.h for an explanation.) > Error 1: LIBMTP_Send_File_From_File_Descriptor(): Could not retrieve > updated metadata. > Error 1: LIBMTP_Send_Track_From_File_Descriptor(): subcall to > LIBMTP_Send_File_From_File_Descriptor failed. > > >> So one of the properties we try to set is not applicable for this >> device. One property we began setting in 1.0.0 is modificationdate, >> what happens if you try adding the flag: >> DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED ? > > This didn't help either > > >> Else we have to drill down and try to see which metadata >> item has an invalid value, we can probably see this from a USB >> debug trace also if you want to make one again, or you >> can selectively comment out different metadata props in >> e.g. LIBMTP_Update_Track_Metadata(), I think that's the >> function where it fails. > > I'll make a usb trace for you - give me a moment to put it together! :) > |