Discussion:
[gphoto-devel] Unsupported Camera Model SONY SLT-A37
Abhishek Anand
2017-02-10 16:34:32 UTC
Permalink
Hi ,
First up thank you for the awesome job you guys have been doing. I was
pretty excited to chance upon the gphoto package and decided to give it a
spin today. Unfortunately the Sony A37 I possess seems to be unsupported
as of this writing.
Could you please help me out with this.

I'm pasting below the results of the code snippets, that were mentioned on
the website.

--------------------------------------------------------------------------------------------------------------------------------


***@raspberrypi:~ $ lsusb
Bus 001 Device 004: ID 24ae:2000
Bus 001 Device 010: ID 054c:066c Sony Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514
Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
***@raspberrypi:~ $ gphoto2 --auto-detect
Model Port

----------------------------------------------------------
USB PTP Class Camera usb:001,010
***@raspberrypi:~ $ LANG=C gphoto2 --summary >summary.txt

*** Error ***
An error occurred in the io-library ('Could not claim the USB device'):
Could not claim interface 0 (Device or resource busy). Make sure no other
program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx,
stv680, spca50x) is using the device and you have read/write access to the
device.
*** Error (-53: 'Could not claim the USB device') ***

***@raspberrypi:~ $ LANG=C gphoto2 --list-all-config >config.txt

*** Error ***
An error occurred in the io-library ('Could not claim the USB device'):
Could not claim interface 0 (Device or resource busy). Make sure no other
program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx,
stv680, spca50x) is using the device and you have read/write access to the
device.
*** Error (-53: 'Could not claim the USB device') ***

***@raspberrypi:~ $ gphoto2 --capture-image


*** Error ***
An error occurred in the io-library ('Could not claim the USB device'):
Could not claim interface 0 (Device or resource busy). Make sure no other
program (gvfs-gphoto2-volume-monitor) 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') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-***@lists.sourceforge.net>, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--capture-image

Please make sure there is sufficient quoting around the arguments.

***@raspberrypi:~ $





Regards,
Abhishek Anand
Marcus Meissner
2017-02-11 18:15:57 UTC
Permalink
Hi,

The message reads different, but its probably not obvious.
Post by Abhishek Anand
Could not claim interface 0 (Device or resource busy). Make sure no other
program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx,
stv680, spca50x) is using the device and you have read/write access to the
device.
Basically, "gvfs" , the GNOME virtual filesystem has already grabbed
your camera to offer it in Nautilus as filesystem.

You will need to stop / kill the gvfs gphoto monitor process.

ps auxw|grep gphoto.*gvfs
to find them.

However, in this mode it will likely only allow downloading images.


Can you switch the A37 internally to "PC Control Mode" and try again?
This is needed for capture on the SLT series.


Ciao, Marcus
Post by Abhishek Anand
Hi ,
First up thank you for the awesome job you guys have been doing. I was
pretty excited to chance upon the gphoto package and decided to give it a
spin today. Unfortunately the Sony A37 I possess seems to be unsupported
as of this writing.
Could you please help me out with this.
I'm pasting below the results of the code snippets, that were mentioned on
the website.
--------------------------------------------------------------------------------------------------------------------------------
Bus 001 Device 004: ID 24ae:2000
Bus 001 Device 010: ID 054c:066c Sony Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514
Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Model Port
----------------------------------------------------------
USB PTP Class Camera usb:001,010
*** Error ***
Could not claim interface 0 (Device or resource busy). Make sure no other
program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx,
stv680, spca50x) is using the device and you have read/write access to the
device.
*** Error (-53: 'Could not claim the USB device') ***
*** Error ***
Could not claim interface 0 (Device or resource busy). Make sure no other
program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx,
stv680, spca50x) is using the device and you have read/write access to the
device.
*** Error (-53: 'Could not claim the USB device') ***
*** Error ***
Could not claim interface 0 (Device or resource busy). Make sure no other
program (gvfs-gphoto2-volume-monitor) 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') ***
For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt
--capture-image
Please make sure there is sufficient quoting around the arguments.
Regards,
Abhishek Anand
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-devel mailing list
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Loading...