From e742a4b256930acbf2ddc978eac25cb7d8a48dc7 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Thu, 28 Feb 2002 02:20:16 +0000 Subject: [PATCH] Add support for Tiger Fast Flicks git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4231 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/agfa/README | 20 +++++++++++++++++++- camlibs/agfa/agfa.c | 14 ++++++++++++-- 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/camlibs/agfa/README b/camlibs/agfa/README index 5ed3d3f36..ca60615a2 100644 --- a/camlibs/agfa/README +++ b/camlibs/agfa/README @@ -1,8 +1,26 @@ -This directory contains drivers for cameras made by Agfa. +This directory contains drivers for camerase that use the +Sound Vision Inc (http://www.soundvisioninc.com) +"V1 Low-Cost Dual Mode VGA Digital Camera" +The agfa CL18 is actually an earlier design known as the "1307". + +Sound Vision licences the design to many companys, hence +the wide variety of brands supported by this driver. + +Sound Vision refuses to release documentation, so this driver is based +entirely on reverse-engineering USB transactions. + List of Cameras known to work with this driver: Agfa ePhoto CL18 + Tiger Fast Flicks + +Cameras that might work with the proper USB ID's + + RCA CDS1005 + Poloroid MP3 + Eye Q3X Digital + Axia iX-100 List of Agfa cameras handled by the Sierra gphoto2 driver: diff --git a/camlibs/agfa/agfa.c b/camlibs/agfa/agfa.c index 4291244c6..d3885b125 100644 --- a/camlibs/agfa/agfa.c +++ b/camlibs/agfa/agfa.c @@ -49,6 +49,9 @@ struct { char serial; } models[] = { {"Agfa CL18",0x06bd,0x0403,0}, + /* Fast Flicks camera, made by Tiger Electronics. */ + /* Support added by Dr. William Bland */ + {"Tiger Fast Flicks",0x0919,0x0100,0}, {NULL,0,0,0} }; @@ -68,13 +71,20 @@ int camera_abilities(CameraAbilitiesList *list) { for(i=0; models[i].name; i++) { memset(&a, 0, sizeof(a)); strcpy(a.model, models[i].name); - a.status = GP_DRIVER_STATUS_PRODUCTION; + if (i==1) + a.status = GP_DRIVER_STATUS_EXPERIMENTAL; + else + a.status = GP_DRIVER_STATUS_PRODUCTION; a.port = GP_PORT_USB; a.speed[0] = 0; a.usb_vendor = models[i].idVendor; a.usb_product= models[i].idProduct; - a.operations = GP_OPERATION_CAPTURE_IMAGE; + if (i==1) + a.operations = GP_OPERATION_NONE; + else + a.operations = GP_OPERATION_CAPTURE_IMAGE; a.folder_operations = GP_FOLDER_OPERATION_NONE; + /* f_ops will (hopefully) be PUT_FILE for i==1 eventually */ a.file_operations = GP_FILE_OPERATION_PREVIEW | GP_FILE_OPERATION_DELETE;