Commit Graph

2035 Commits

Author SHA1 Message Date
Donn Morrison
0e13b57166 if selected speed = 0 (Best), set to 115200
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3548 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-21 03:56:28 +00:00
Dan Fandrich
e099b8eea6 * libgphoto2_port/m4/byteorder.m4
* configure.in: added AC_NEED_BYTEORDER_H macro to generate _byteorder.h


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3547 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-21 03:31:02 +00:00
Dan Fandrich
fdb3c06005 Create a header file that defines extended byte swapping macros
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3546 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-21 03:29:36 +00:00
Dan Fandrich
55cf6cc5a0 Minor miscellaneous edits.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3544 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-20 23:17:17 +00:00
Hubert Figuiere
8764f27f22 * library.c (dc240_load_status_data_to_table, dc240_get_status):
changed fdata from char * to unsigned char *


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3536 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-20 18:53:12 +00:00
Hubert Figuiere
98253bfac4 * dc120.c, library.h, library.c: cleaned it up a
lot and improved error handling. Patch by
	Ralf Engels <ralf-engels@gmx.de>


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3534 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-20 18:12:20 +00:00
Lutz Mueller
2ed0020239 2001-12-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Tim Waugh <twaugh@redhat.com>:

        * usb/libusb.c: "I think this makes it clearer exactly which kernel
          module to unload when dc2xx is loaded."


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3533 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-20 13:12:46 +00:00
Mariusz Woloszyn
e02bfb07c0 Added DX-3600 Vendor and Product IDs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3532 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-20 08:44:51 +00:00
Hubert Figuiere
4952215c2d * library.h:
* library.c:
	* dc240.c (camera_summary): Implemented summary.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3531 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-19 21:48:30 +00:00
Marcus Meissner
34ab7ac071 changed status to testing, since the commonly used functions work.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3523 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-17 09:03:18 +00:00
Marcus Meissner
a8a43ce2f1 Added models which apparently are the same from the documentation:
- IOMagic MagicImage 400
- Hawking DC120 Pocketcam
- Fuji IX-1 (unconfirmed, due to utterly javascript/shockwave disabled website)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3522 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-16 10:52:11 +00:00
Fredrik
084892ce4e forgot to mention that I changed canon_usb_dialogue() to read data the same
way the windows driver does.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3521 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:18:28 +00:00
Fredrik
e542661b11 USB init/model detection changes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3520 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:12:28 +00:00
Fredrik
77a7c25e35 added prototype for canon_usb_identify().
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3519 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:11:49 +00:00
Fredrik
9212a5cfb0 init based on USB vendor/product ID.
add special init code for EOS D30 cameras.
simplified canon_usb_camera_init().
moved stuff from canon_usb_ready() to canon_usb_init().


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3518 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:11:20 +00:00
Fredrik
3072dd48e6 s/_CANON_H/_LIBRARY_H/
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3517 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:09:46 +00:00
Fredrik
b025f70da0 Moved models[] from library.c to canon.h and added canonCamModel model to
models[].
s/_LIBRARY_H/_CANON_H/.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3516 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-15 15:09:12 +00:00
Dan Fandrich
cadbd527a1 Added lists of required and optional software needed for building
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3515 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-14 22:28:59 +00:00
Lutz Mueller
5a540aa7fa 2001-12-14 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Comment out check for ltdl.h. See comment in there.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3513 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-14 17:35:32 +00:00
Lutz Mueller
b7dc05e0e2 2001-12-14 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* gphoto2-port-config.in: Added missing -lgphoto2_port


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3511 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-14 17:06:19 +00:00
Mariusz Woloszyn
89562e0ba3 fixed small bug in file_delete_func
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3510 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-14 12:26:25 +00:00
Mariusz Woloszyn
29b9e41cf4 * file deleting implemented
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3509 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-14 12:22:02 +00:00
Mariusz Woloszyn
924bc98fdb small improvements, plus file_delete implementation.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3508 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-14 12:15:03 +00:00
Lutz Mueller
fd9680408e 2001-12-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in:
        * acconfig.h: Put the --disable-debugging option back in.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3507 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-13 21:35:19 +00:00
Mariusz Woloszyn
cb5688cdfb * whole parts of code has been rewriten
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3506 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-13 15:57:21 +00:00
Lutz Mueller
4e06f2ab1e Fix one informative message.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3505 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-13 15:21:15 +00:00
Lutz Mueller
c5423b6306 2001-12-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Check if ltdl.h is available and ...
        * libgphoto2_port: ... use it.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3504 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-13 15:11:57 +00:00
Lutz Mueller
0d528e7ce9 2001-12-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Fix no-ltdl.h case.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3503 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-13 15:11:10 +00:00
Lutz Mueller
2454c6ece2 2001-12-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2: Use ltdl.h if available


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3502 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-13 12:34:44 +00:00
Mariusz Woloszyn
e3690b71ab added implementation of Object Format, fixing get_info_func
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3501 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-13 09:26:20 +00:00
Mariusz Woloszyn
a3a31a81c4 Adapted get_info_func to Object Types other than image.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3499 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 17:33:57 +00:00
Mariusz Woloszyn
27ec07e844 Added proper implementation of Object Format Codes and mapping to MIME
types.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3492 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 16:55:43 +00:00
Mariusz Woloszyn
d4babf93fe Added Object Format Codes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3491 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 15:53:41 +00:00
Mariusz Woloszyn
9cf5c9a75d bugfix
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3490 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 15:23:34 +00:00
Mariusz Woloszyn
bcb9048161 Reversed prevoiuce workaround and added workaround not allowing downloading
of non-image objects (listing is allowed).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3489 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 15:11:07 +00:00
Mariusz Woloszyn
802f2de650 Workaround not adding no-image files fo filesystem interface.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3488 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 15:06:32 +00:00
Lutz Mueller
9c5df86719 2001-12-12 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Remove some error codes, and move some variable names into the
        gp-namespace.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3487 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-12 08:20:51 +00:00
Lutz Mueller
82026be10a Fix typo.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3486 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 20:11:32 +00:00
Lutz Mueller
3e968170e6 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* library.c: Add some debugging stuff.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3485 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 19:08:48 +00:00
Lutz Mueller
1d0a457331 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* lowlevel.c: Clean up.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3484 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 12:45:50 +00:00
Lutz Mueller
734a70fe8c 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/Makefile.am: It seems we need to
          LDADD libgphoto2_port.la here, too, although we LIBADDed it in
          libgphoto2/Makefile.am to libgphoto2.la?


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3483 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 12:44:52 +00:00
Lutz Mueller
f967e2d00d 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs: Remove references to GP_ERROR_IO_TIMEOUT - we use
          GP_ERROR_TIMEOUT instead.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3482 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 12:29:56 +00:00
Lutz Mueller
dd56bbba59 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2_port/gphoto2-port-result.[c,h]: Remove
          GP_ERROR_IO_TIMEOUT - we already have GP_ERROR_TIMEOUT.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3481 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 12:29:22 +00:00
Lutz Mueller
5ee3627bab Correctly initialize the CameraFile to 0 using memset.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3479 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 10:52:20 +00:00
Lutz Mueller
c8dc2897b7 2001-12-11 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* lowlevel.c: Fix bug introduced with last patch.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3478 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-11 10:51:34 +00:00
Johannes Erdfelt
e815e8b054 The digita specific colorspace conversion routine has been moved to the
digita driver


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3477 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-10 00:54:01 +00:00
Johannes Erdfelt
57d62f42cc Null terminate path name correctly
Move colorspace conversion from libgphoto2/gphoto2-file.* to here since
we're the only people to do it


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3476 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-10 00:52:33 +00:00
Johannes Erdfelt
af2999a867 Adding a path with a trailing / confuses the core it seems. Strip it off
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3475 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 23:51:58 +00:00
Johannes Erdfelt
1031bc6881 28400 isn't quite a valid speed, supposed to be 38400
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3474 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 23:48:04 +00:00
Lutz Mueller
c7edc71ecc 2001-12-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* lowlevel.c: Do not read one byte after another - that makes
          debugging output easier to read.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3473 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 21:41:15 +00:00