misc/73515: patch to identify and use Kodak LS743 with (lib)gphoto2
Zahemszky Gábor
gabor at zahemszky.hu
Thu Nov 4 00:40:29 PST 2004
>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 at 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:
More information about the freebsd-bugs
mailing list