From owner-freebsd-ports Tue Feb 19 18:30:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EA5C337B405 for ; Tue, 19 Feb 2002 18:30:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1K2U0k71529; Tue, 19 Feb 2002 18:30:00 -0800 (PST) (envelope-from gnats) Received: from server11.safepages.com (server11.safepages.com [216.127.146.25]) by hub.freebsd.org (Postfix) with ESMTP id 99CAC37B4DA for ; Tue, 19 Feb 2002 18:20:17 -0800 (PST) Received: from hermes.surfbest.net (reston-gnap-ip-216007-31.dynamic.ziplink.net [216.8.7.31]) by server11.safepages.com (Postfix) with ESMTP id 90D9014F537 for ; Wed, 20 Feb 2002 02:20:09 +0000 (GMT) Received: (from kstailey@localhost) by hermes.surfbest.net (8.11.6/8.11.6) id g1K2Ihp28722; Tue, 19 Feb 2002 21:18:43 -0500 (EST) (envelope-from kstailey) Message-Id: <200202200218.g1K2Ihp28722@hermes.surfbest.net> Date: Tue, 19 Feb 2002 21:18:43 -0500 (EST) From: Ken Stailey Reply-To: Ken Stailey To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35128: Canon Powershot A20 support for s20sh Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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