Marcus Meissner

Results 498 comments of Marcus Meissner

yes, libgphoto2 needs libusb0 or libusb1 to be able to accept USB cameras. libgphoto2 links against libusb during build.

you need to change the capturetarget configuration on the system gphoto2 --set-config capturetarget=1 would set SD card (=0 would be SDRAM)

I am not aware if cameras can do this currently, e.g. having a low power mode but still talk over usb.

it is currently not possible , but a new option could be added to gphoto2 commandline tool to set this number if wanted.

I implemented this in current git, using --filenumber NUMBER e.g. gphoto2 \ --port $port0 \ --filenumber 42 --filename %03n-TOP_%Y-%m-%d_%H-%M-%S.%C \ --capture-image-and-download --interval -1 untested so far

i tested it in the meantime, and it seems to work for me at least.

The functionality is in the gphoto2 commandline tool, currently unreleased 2.5.27.1 development. I need to create a new release, not sure when the next weekend will be available, but I...

if the camera reports that, usually it means a image left in the SDRAM capture buffer... e.g. as if capturetarget setting to card did not work.

the capturetarget persists in the setting file usually... can you move setting it out of the commandline?

usbdiskdirect is the access method. (ioctls backchannelling over scsi disk) debuglog would be good, it might be a permissons issue perhaps.