I am using jmtpfs and libmtp to connect to my android mobile. Following code (run as root) worked well earlier in Debian before recent upgrade to the new version:
Code:
#jmtpfs -o allow_other /home/iuser/mtp_device
Earlier there used to be following message but the device used to get connected:
Code:
Device 0 (VID=1ebf and PID=707d) is UNKNOWN in libmtp v1.1.13.
Please report this VID/PID and the device model to the libmtp development team
However, in current Debian version, it gives following additional messages and the device is not getting connected:
Code:
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
ignoring libusb_claim_interface() = -6LIBMTP PANIC: failed to open session on second attempt
terminate called after throwing an instance of 'MtpErrorCantOpenDevice'
what(): Can't open device
Aborted
Where is the problem and how can this be solved? Thanks.
------------
Edit: The device was not getting connected due to screen lock on it being active. It has got connected after disabling the screen lock!