pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gphoto2 --list-files error
El 18/3/24 a las 13:46, John D. Baker escribió:
I had a similar problem accessing a Nikon Coolpix L22. See the thread
starting here:
https://mail-index.netbsd.org/netbsd-users/2022/01/23/msg028205.html
and the PR I filed: pkg/56666.
The patch to "devel/libgphoto2" posted in the PR makes it work for me.
Hello John,
I applied your patch, I rebuilt libgphoto2 and gphoto2 and worked!
--- libgphoto2_port/libusb1/libusb1.c.orig
+++ libgphoto2_port/libusb1/libusb1.c
@@ -684,6 +684,8 @@ gp_libusb1_queue_interrupt_urbs (GPPort *port)
unsigned int i;
int ret = 0;
+ return 0; /* not working yet */
+
/* no interrupt endpoint */
if (port->settings.usb.intep == -1)
return GP_OK;
netbsd-nuc# gphoto2 --list-files
There is no file in folder '/'.
There is no file in folder '/store_00000001'.
There is no file in folder '/store_00000001/DCIM'.
There are 4 files in folder '/store_00000001/DCIM/100CANON'.
#1 IMG_0001.CR2 rd 7925 KB image/x-canon-cr2
#2 IMG_0001.JPG rd 1683 KB 3456x2304 image/jpeg
#3 IMG_0002.CR2 rd 7955 KB image/x-canon-cr2
#4 IMG_0002.JPG rd 1713 KB 3456x2304 image/jpeg
Before I received your hints I filled a bug report in pkg/58048
Will this patch be applied in pkgsrc?
Thanks
Home |
Main Index |
Thread Index |
Old Index