Discussion:
[gphoto-devel] dev/sg0
Peter Hollenbeck
2016-07-07 16:49:00 UTC
Permalink
I have three Raspberry Pis with Nikon 4300 cameras. They are powered on
every three hours, take a picture, post to my web site, power off.

The Nikon 4300 is accessed by /dev/sg0. One of the Pis fails to find
/dev/sg0 over half the time. The other two fail rarely.

The faulty Pi is running:
Kernel 4.1.18+
gphoto2 2.5.6 gcc, popt(m), exif, no cdk, no aa, no jpeg,
no readline
libgphoto2 2.5.7 all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0 gcc, ltdl, USB, serial without locking

The other two are running:
Kernel 3.6.11
gphoto2 2.5.2 gcc, popt(m), exif, no cdk, no aa, no jpeg,
no readline
libgphoto2 2.5.2 all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.10.0 gcc, ltdl, USB, serial without locking

Can anyone suggest what might be wrong?
Thanks,
Peter
Marcus Meissner
2016-07-07 22:48:24 UTC
Permalink
Post by Peter Hollenbeck
I have three Raspberry Pis with Nikon 4300 cameras. They are powered on
every three hours, take a picture, post to my web site, power off.
The Nikon 4300 is accessed by /dev/sg0. One of the Pis fails to find
/dev/sg0 over half the time. The other two fail rarely.
Kernel 4.1.18+
gphoto2 2.5.6 gcc, popt(m), exif, no cdk, no aa, no jpeg,
no readline
libgphoto2 2.5.7 all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0 gcc, ltdl, USB, serial without locking
Kernel 3.6.11
gphoto2 2.5.2 gcc, popt(m), exif, no cdk, no aa, no jpeg,
no readline
libgphoto2 2.5.2 all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.10.0 gcc, ltdl, USB, serial without locking
Can anyone suggest what might be wrong?
Without a failure debug trace it is hard to say :(

Btw, the 2.5.4+ versions can use the libusb sierra port and can avoid /dev/sg0
usage.

Ciaop, Marcus

Loading...