Commit Graph

3596 Commits

Author SHA1 Message Date
Philippe Marzouk
f0a0683c8e There are now much more error codes handled by libgphoto2_port, the newer
errors were not catched properly, this should fix it.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3568 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-22 11:15:31 +00:00
Philippe Marzouk
d2f328b109 the A5 variable was removed but is still used
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3566 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-22 09:26:37 +00:00
Philippe Marzouk
042b1fcb40 level in canon_serial_get_cts is of type GPLevel and not int now
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3565 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-22 09:20:41 +00:00
Marcus Meissner
270311aa0f added some more Digital Dream cameras (reported by Jerome Fenal).
Added AEG Snap 300, apparently using the stm chipset too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3562 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-21 17:57:40 +00:00
Lutz Mueller
da90f34a78 2001-12-21 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* dc240.c:
          (camera_init): Kill some warnings.
          (camera_capture): Tell the filesystem about the new file.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3558 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-21 16:45:45 +00:00
Mariusz Woloszyn
8f622a9e4a added Eastman Kodak extension defines (will be used soon)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3556 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-21 13:57:11 +00:00
Fredrik
5ea573f041 s/_CANON_H/_LIBRARY_H in comment.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3555 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-21 13:12:04 +00:00
Fredrik
1154fae2f5 Remove obsolete camera->pl->A5.
s/_LIBRARY_H/_CANON_H/ in comment.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3554 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-21 13:11:41 +00:00
Fredrik
e3e015ad85 the EOS D30 is to be considered tested now.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3553 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-21 13:10:37 +00:00
Fredrik
e6e4ebc928 Change USB "serial number" to "sequence number" since that seems to be a
more adequate description.
Make attribute explanation the same (at one place LSB was called bit0 and
at another bit1) and also a bit easier to understand.
Add new USB commands EOS lock and EOS unlock.
Add new information about the USB init process.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3552 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-21 13:09:45 +00:00
Lutz Mueller
72b7a7c7ef 2001-12-21 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* stv0680.c (camera_capture): Tell the filesystem about the new
          file.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3549 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-21 08:08:40 +00:00
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