LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   MTP device not getting connected (https://www.linuxquestions.org/questions/debian-26/mtp-device-not-getting-connected-4175611858/)

rng 08-12-2017 11:59 PM

MTP device not getting connected
 
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!

bathory 08-14-2017 07:25 AM

Quote:

Edit: The device was not getting connected due to screen lock on it being active. It has got connected after disabling the screen lock!
Thanks for posting the solution.

Cheers


All times are GMT -5. The time now is 10:36 PM.