Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not claim issue with Canon EOS R8 #665

Open
karlmunstedt opened this issue Dec 13, 2024 · 1 comment
Open

Could not claim issue with Canon EOS R8 #665

karlmunstedt opened this issue Dec 13, 2024 · 1 comment

Comments

@karlmunstedt
Copy link

Hi there,
I'm experiencing the below error while attempting to run gphoto2 commands, despite no apps other than terminal being open.

*** Error ***
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (No such file or directory). Make sure no other program (MacOS PTPCamera service) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-53: 'Could not claim the USB device') ***

I'm using a Canon EOS R8, shows up in --auto-detect as USB PTP Class Camera. I've gotten it working with this camera and computer before but running into this issue now, nothing has updated or changed to my knowledge.

I've checked for any USB processes via lsof | grep USB and killed everything that came up
Replugged/tried different cables/turned camera + computer off/on
Reinstalled gphoto2

gphoto2 version 2.5.28
running in macos Sonoma on an M2 Mac
Security settings set to always allow accessories to connect

Steps to recreate:
Plug the camera into the computer, run gphoto2 --capture-image-and-download (or any gphoto2 command)

Attached debug log:

my-logfile.txt

I'm a little stumped and would appreciate any ideas or steps to try to fix if there's something I'm missing on my end. Thanks so much!!

@ndim
Copy link
Member

ndim commented Dec 14, 2024

You probably are not missing anything on your end.

gphoto/libgphoto2#1064 (comment) describes the situation in more detail, and its conclusion cannot offer a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants