Dear developers,
I am running into the following problem:
When I use the function LIBMTP_Get_File_To_Handler
and, from the the handler given as "put_func",
I return LIBMTP_HANDLER_RETURN_CANCEL,
the call to LIBMTP_Get_File_To_Handler never returns.
Eventually, the library writes to stderr:
"PTP: reading event an error 0x02ff occurred"
If I instead return LIBMTP_HANDLER_RETURN_OK,
all works as expected.
Any advice would be welcome,
but it appears to me as if it is a bug in libmtp.
OS: Debian 12.5
Version of libmtp: 1.1.20-1
Device: 18d1:4ee1
Anonymous