pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56666: gphoto2 hangs accessing Nikon Coolpix L22



>Number:         56666
>Category:       pkg
>Synopsis:       gphoto2 hangs accessing Nikon Coolpix L22
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 24 18:10:00 +0000 2022
>Originator:     John D. Baker
>Release:        NetBSD 9.2_STABLE
>Organization:
>Environment:
System: NetBSD spike.technoskunk.fur 9.2_STABLE NetBSD 9.2_STABLE (SPIKE) #152: Thu Dec 30 12:29:10 CST 2021 sysop%plex760.technoskunk.fur@localhost:/r0/build/netbsd-9/obj/amd64/sys/arch/amd64/compile/SPIKE amd64
Architecture: x86_64
Machine: amd64
>Description:
Any attempt to access my Nikon Coolpix L22 camera through "gphoto2"
hangs without producing any output (or error message).
>How-To-Repeat:
S/A
>Fix:
Workaround for NetBSD:

The following patch was provided by M. Levinson
<mlevins%users.sourceforge.net@localhost> in private email:

+--- libgphoto2_port/libusb1/libusb1.c
++++ 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;

With the above patch applied to "devel/libgphoto2", I can access the camera
without problems.  Don't know what the correct solution might be.



Home | Main Index | Thread Index | Old Index