"Error initializing camera: -7: I/O problem"

Issues related to hardware problems
Post Reply
tedc
Posts: 17
Joined: 2007/12/09 18:27:05

"Error initializing camera: -7: I/O problem"

Post by tedc » 2018/12/09 04:23:16

CentOS 7 with latest updates etc.. Trying to transfer pictures via USB from a Canon PowerShot G12. This was trivial with CentOS 6.x--file browser could do it, not to mention "real digital camera applications." Nothing seems to work with CentOS 7, which can't show even the file names, not even after installing "camera applications" such as shotwell or digikam. Nor do those applications have any "configuration feature" that enables accessing the files on the camera. After "mounting" the camera with file manager,

lsusb | grep Canon
returns
Bus 001 Device 004: ID 04a9:320f Canon, Inc. PowerShot G12

and
ls -l /dev/bus/usb/001/004
returns
crw-rw-r--+ 1 root root 189, 3 Dec 8 23:08 /dev/bus/usb/001/004

Is this just a permissions problem? How to fix it?

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: "Error initializing camera: -7: I/O problem"

Post by toracat » 2018/12/09 07:51:43

Does the command "gphoto2 --list-folders" find the camera? If not, you may be affected by RHBZ bug #1551747. The libgphoto2 package needs to be updated by Red Hat.
CentOS Forum FAQ

tedc
Posts: 17
Joined: 2007/12/09 18:27:05

Re: "Error initializing camera: -7: I/O problem"

Post by tedc » 2018/12/10 03:11:42

gphoto2? What gphoto2? What repo is it in?

The installed libgphoto2 is indeed the 64 bit libgphoto2-2.5.15-1.el7 specified in the bug report.

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: "Error initializing camera: -7: I/O problem"

Post by toracat » 2018/12/10 05:47:30

Ah, sorry, it is not in CentOS. I downloaded the gphoto2 package for Fedora and "extracted" from it.

Anyway, if you'd like to test-install the 2.5.17 version of libgphoto2 referenced in the RHBZ, you can get it from here.
CentOS Forum FAQ

Post Reply