gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

gphoto2 times out talking to pixel 6a in ptp mode

Open bconoboy opened this issue 1 year ago • 3 comments

Describe the bug

I am unable to download photos on a pixel 6a using gphoto2, shotwell, etc. The device is in PTP mode. When put into file transfer mode I'm able to copy files by mounting the device, so the problem seems to be particular to PTP mode. The same system, when used with a Galaxy S21 is able to copy files without incident. I've reproduced this problem on two different Linux systems, so the problem does seem to be specific to the device.

I am reporting this issue against Fedora 38, kernel version 6.2.11-300.fc38.x86_64 with gphoto2-2.5.27-5.fc38.x86_64

Name the camera If this is camera specific, include the camera name as shown by gphoto2 --auto-detect or USB IDs

libgphoto2 and gphoto2 version

$ gphoto2 --auto-detect Model Port

Google Inc Nexus/Pixel (PTP) usb:005,011

To Reproduce Steps to reproduce the behavior:

Just running "gphoto2 -l" is sufficient:

$ gphoto2 -l

*** Error ***
PTP Timeout

*** Error ***
An error occurred in the io-library ('Timeout reading from or writing to the port'): No error description available *** Error (-10: 'Timeout reading from or writing to the port') ***

I will attach a --debug run file to this issue.

bconoboy avatar May 09 '23 02:05 bconoboy