Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2004 09:30:57 +0100 (CET)
From:      Zahemszky Gábor <gabor@zahemszky.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/73515: patch to identify and use Kodak LS743 with (lib)gphoto2
Message-ID:  <200411040830.iA48Uvv5091605@zahemszky.hu>
Resent-Message-ID: <200411040840.iA48eS12066695@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73515
>Category:       misc
>Synopsis:       patch to identify and use Kodak LS743 with (lib)gphoto2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 04 08:40:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Zahemszky Gábor
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD zahemszky.hu 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Nov 1 14:15:29 CET 2004 root@lapp.Zahemszky.HU:/usr/obj/usr/src/sys/LAPP i386


	
>Description:
	There are some errors in libgphoto2's Kodak USB-ID list.
	With this little patch libgphoto can handle Kodak LS743 machine,
	and correctly identify CX4210.
>How-To-Repeat:
	Connect an LS743, and look the USB identifier. (And look around
	in camlibs/ptp2/README.)
>Fix:

	With this little patch:

==== patch-Kodak: ====
*** camlibs/ptp2/library.c.orig	Thu Nov  4 08:57:29 2004
--- camlibs/ptp2/library.c	Thu Nov  4 08:58:26 2004
*************** static struct {
*** 225,236 ****
  	{"Kodak:DX4900", 0x040a, 0x0550},
  	{"Kodak:DX4330", 0x040a, 0x0555},
  	{"Kodak:CX4200", 0x040a, 0x0560},
! 	{"Kodak:CX4210", 0x040a, 0x0565},
! 	/* both above with different product IDs
  	   normal/retail versions of the same model */
  	{"Kodak:CX4300", 0x040a, 0x0566},
  	{"Kodak:LS443",  0x040a, 0x0568},
  	{"Kodak:LS663",  0x040a, 0x0569},
  	{"Kodak:DX6340", 0x040a, 0x0570},
  	{"Kodak:CX6330", 0x040a, 0x0571},
  	{"Kodak:DX6440", 0x040a, 0x0572},
--- 225,237 ----
  	{"Kodak:DX4900", 0x040a, 0x0550},
  	{"Kodak:DX4330", 0x040a, 0x0555},
  	{"Kodak:CX4200", 0x040a, 0x0560},
! 	{"Kodak:CX4210", 0x040a, 0x0560},
! 	/* both above with same product IDs
  	   normal/retail versions of the same model */
  	{"Kodak:CX4300", 0x040a, 0x0566},
  	{"Kodak:LS443",  0x040a, 0x0568},
  	{"Kodak:LS663",  0x040a, 0x0569},
+ 	{"Kodak:LS743",  0x040a, 0x0565},
  	{"Kodak:DX6340", 0x040a, 0x0570},
  	{"Kodak:CX6330", 0x040a, 0x0571},
  	{"Kodak:DX6440", 0x040a, 0x0572},
==== end of patch-Kodak ====
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411040830.iA48Uvv5091605>