Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 21:18:43 -0500 (EST)
From:      Ken Stailey <kstailey@surfbest.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35128: Canon Powershot A20 support for s20sh
Message-ID:  <200202200218.g1K2Ihp28722@hermes.surfbest.net>

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

>Number:         35128
>Category:       ports
>Synopsis:       Canon Powershot A20 support for s20sh
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 19 18:30:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ken Stailey
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
self
>Environment:
System: FreeBSD hermes.surfbest.net 4.5-STABLE FreeBSD 4.5-STABLE #7: Mon Feb 4 22:33:35 EST 2002 kstailey@hermes.surfbest.net:/usr/src/sys/compile/HERMES i386


	
>Description:
s10sh does not recognize the A20 even though it can support it.

>How-To-Repeat:
N/A

>Fix:

--- usb.c.DIST	Tue Mar 13 08:46:18 2001
+++ usb.c	Sun Dec 30 07:20:47 2001
@@ -84,6 +84,12 @@
 						printf("Canon S20 found\n");
 					return USB_INIT_S20;
 					break;
+				case PRODUCT_ID_A20:
+					*camera_dev = dev;
+					if (opt_debug)
+						printf("Canon A20 found\n");
+					return USB_INIT_A20;
+					break;
 				case PRODUCT_ID_S100_EU:
 				case PRODUCT_ID_S100_US:
 					*camera_dev = dev;
--- usb.h.DIST	Sun Dec 30 07:18:23 2001
+++ usb.h	Sun Dec 30 07:20:42 2001
@@ -19,12 +19,14 @@
 #define USB_INIT_S20            2       /* S20 found */
 #define USB_INIT_S100		3	/* S100 (Digital Ixus) found */
 #define USB_INIT_G1		4	/* G1 found */
+#define USB_INIT_A20		5	/* A20 found */
 #define USB_INIT_NEW		100	/* Unsupported PowerShot found! */
 #define USB_INIT_FAILED         -1      /* Unable to initialize USB */
 
 #define VENDOR_ID_CANON         0x04A9
 #define PRODUCT_ID_S10          0x3041	/* PowerShot S10 */
 #define PRODUCT_ID_S20          0x3043	/* PowerShot S20 */
+#define PRODUCT_ID_A20		0x304E  /* PowerShot A20 */
 #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 */
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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