Subject: pkg/18742: graphics/s10sh needs support for PowerShot s330
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 10/20/2002 17:14:54
>Number: 18742
>Category: pkg
>Synopsis: graphics/s10sh needs support for PowerShot s330
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Oct 20 14:15:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: John Kohl
>Release: NetBSD 1.6
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:
System: NetBSD kolvir.arlington.ma.us 1.6 NetBSD 1.6 (KOLVIR-$Revision: 1.48 $) #15: Sun Sep 8 23:03:07 EDT 2002 jtk@kolvir.arlington.ma.us:/usr/u4/sandbox/src/sys/arch/i386/compile/KOLVIR i386
Architecture: i386
Machine: i386
>Description:
graphics/s10sh doesn't support the PowerShot S330 Digital Elph
>How-To-Repeat:
Try to use one
>Fix:
Here are minimal patches--perhaps not the cleanest, but they work for me
to fetch pictures.
--- usb.c.~1~ Tue Mar 13 08:46:18 2001
+++ usb.c Sun Oct 20 17:06:35 2002
@@ -103,6 +103,7 @@
case PRODUCT_ID_NEXTDIGICAM4:
case PRODUCT_ID_NEXTDIGICAM5:
case PRODUCT_ID_NEXTDIGICAM6:
+ case PRODUCT_ID_S330_US:
*camera_dev = dev;
printf("Unsupported Canon digicam "
"found, S10sh will try to use "
--- usb.h.~1~ Tue Mar 13 08:46:18 2001
+++ usb.h Sun Oct 20 17:06:05 2002
@@ -28,6 +28,7 @@
#define PRODUCT_ID_S100_US 0x3045 /* S100, aka. Digital Ixus, Elph */
#define PRODUCT_ID_S100_EU 0x3047 /* S100, aka. Digital Ixus, Elph */
#define PRODUCT_ID_G1 0x3048 /* PowerShot G1 */
+#define PRODUCT_ID_S330_US 0x3066 /* PowerShot S330, Digital Elph */
/* The Canon USB protocol of the S10, S20, S100, G1 is the same.
* We can hope that the next cameras will adopt a compatible protocol
>Release-Note:
>Audit-Trail:
>Unformatted: