summaryrefslogtreecommitdiff
path: root/camlibs/toshiba
diff options
context:
space:
mode:
authorSean Bruno <sean.bruno@dsl-only.net>2004-07-17 20:29:57 +0000
committerSean Bruno <sean.bruno@dsl-only.net>2004-07-17 20:29:57 +0000
commite14a8547d346d014038b823f6d43127007b9c7b1 (patch)
tree59dafbe4522c5b68e77d772361e0257c7a401a17 /camlibs/toshiba
parent4be37891e7e2c885de2e4d4114231fd0f54df835 (diff)
downloadlibgphoto2-e14a8547d346d014038b823f6d43127007b9c7b1.tar.gz
Modified pdrm65_get_filenames to properly determine how many files are in the camera. Module still non-functional.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7247 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/toshiba')
-rw-r--r--camlibs/toshiba/pdrm65/library.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/camlibs/toshiba/pdrm65/library.c b/camlibs/toshiba/pdrm65/library.c
index 136b676aa..3abed4a23 100644
--- a/camlibs/toshiba/pdrm65/library.c
+++ b/camlibs/toshiba/pdrm65/library.c
@@ -52,16 +52,13 @@ camera_abilities (CameraAbilitiesList *list)
memset(&a, 0, sizeof(a));
strcpy(a.model, "Toshiba:PDR-M65");
- a.status = GP_DRIVER_STATUS_PRODUCTION;
- a.port = GP_PORT_SERIAL | GP_PORT_USB;
+ a.status = GP_DRIVER_STATUS_EXPERIMENTAL;
+ a.port = GP_PORT_USB;
a.usb_vendor = 0x1132;
a.usb_product = 0x4334;
- a.speed[0] = 0;
- a.operations = GP_OPERATION_CAPTURE_PREVIEW |
- GP_CAPTURE_IMAGE;
- a.file_operations = GP_FILE_OPERATION_DELETE |
- GP_FILE_OPERATION_PREVIEW;
- a.folder_operations = GP_FOLDER_OPERATION_NONE;
+ a.operations =GP_OPERATION_CAPTURE_PREVIEW | GP_CAPTURE_IMAGE;
+ a.file_operations =GP_FILE_OPERATION_DELETE | GP_FILE_OPERATION_PREVIEW;
+ a.folder_operations =GP_FOLDER_OPERATION_NONE;
gp_abilities_list_append(list, a);
@@ -238,7 +235,8 @@ folder_list_func (CameraFilesystem *fs, const char *folder, CameraList *list,
/* List your folders here */
- return (GP_ERROR_NOT_SUPPORTED);
+ //return (GP_ERROR_NOT_SUPPORTED);
+ return (GP_OK);
}
static int