Commit Graph

4674 Commits

Author SHA1 Message Date
Marcus Meissner
54a7e0a952 * Makefile.am: Added protocol.txt and STATUS
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7694 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-31 06:14:53 +00:00
Marcus Meissner
9d3f417cc4 * Makefile.am: EXTRADIST -> EXTRA_DIST
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7693 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-31 06:13:40 +00:00
Marcus Meissner
42b43cb194 * Makefile.am: Added urb-interpret to EXTRA_DIST
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7692 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-31 06:12:16 +00:00
Stephen H. Westin
71b68744b4 Improved credits in "about".
Updated latest models in "manual".
Reversed sense of "not yet downloaded" attribute bit, so
  it will be cleared properly on camera after download.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7691 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-30 16:04:09 +00:00
Stephen H. Westin
17e14eb595 Camera model changes:
o MVX100i/Optura 20 is now 0x3082, not 0x3081.
 o PowerShot A75 moved from class 5 to class 1 as a guess.
Allow unexpected length of packet returned from "get picture abilities".
Made canon_int_capture_preview() more like canon_int_capture_image().
A bit of housekeeping here and there.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7690 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-30 15:13:28 +00:00
Hans Ulrich Niedermann
7a728a838e replace stricmp() by strcasecmp()
#include <gphoto2-port-portability.h> should take care of
          portability of strcasecmp()


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7689 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-30 14:41:24 +00:00
Stephen H. Westin
67d1fd66e4 Fixed initialization that I broke in making the 20D work.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7688 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-28 18:35:50 +00:00
Stephen H. Westin
0ebd59d645 Corrected vendor ID for EOS 350D/EOS Digital Rebel N/EOS Digital Kiss XT:
30ee is correct for Canon mode, 30ef is for PTP only.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7687 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-28 18:34:53 +00:00
Stephen H. Westin
49eb72bb2c Made debug messages explicit about whether ltdl is being used.
Made labels on debug messages consistent: "gphoto2-port-info-list".


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7686 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-28 17:20:19 +00:00
Stephen H. Westin
cc3142e837 Extra underscore not needed for Mac using ltdl.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7685 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-28 16:47:19 +00:00
Stephen H. Westin
adb7d6e5fd Debug messages now make it clear whether ltdl is being used to load
drivers.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7684 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-28 16:35:42 +00:00
Stephen H. Westin
cbd19efe7c Update manual text: we now can deal with at least one camera from 2005.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7683 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-28 16:33:36 +00:00
Stephen H. Westin
d8355b61a5 Slight change to initialization sequence for new protocol; if camera is
already set up (sends 'A' as first byte), it doesn't generate the
  interrupt message during initialization.
Tidied up one more long/int warning message.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7682 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-28 16:32:55 +00:00
Stephen H. Westin
d7948fcd6a Added S30, A510, A40, A200 to table of data in init response.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7681 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-25 18:49:27 +00:00
Marcus Meissner
d6720dcf91 * blink2.txt: some more documentation
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7680 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-25 17:40:14 +00:00
Marcus Meissner
767e5f45cf * blink2.txt: Updated with more USB control commands.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7679 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-25 15:53:58 +00:00
Stephen H. Westin
a3fb7a312d Corrected some XML errors.
Added info on command codes (new protocol) found by stupidly sending;
   these are the ones that got a reply.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7678 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-24 22:03:21 +00:00
Stephen H. Westin
6c1a9ef4ce Attempt to decode status reported by camera and supply an intelligible
message.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7677 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-24 22:01:03 +00:00
Stephen H. Westin
6e5ed28513 Added code to set attribute bits in the new protocol, but I don't think
I have the right value.
Added struct to help in printing intelligible messages when the camera
   reports an error.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7676 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-24 21:59:51 +00:00
Stephen H. Westin
ea6edf29f0 Updated and expanded list of models with USB ID's.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7675 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-24 21:55:04 +00:00
Marcus Meissner
9749dab246 * Added EOS 350D, also with root dir bug enabled.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7674 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-24 10:52:48 +00:00
Marcus Meissner
2d605ebf67 changelog
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7671 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-23 23:51:01 +00:00
Marcus Meissner
d6d2409282 * blink2.c: Implemented capture and delete all.
* blink2.txt: More documentation.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7670 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-23 23:40:56 +00:00
Marcus Meissner
217eee5109 * blink2.txt: New file describing the protocol of the Blink2.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7669 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-23 23:20:51 +00:00
Stephen H. Westin
e6592ac8e6 Corrected bug in canon_int_set_file_attributes: one byte too short on
command (we need two NULs at the end). We now use
  canon_usb_set_file_attributes in usb.c.
Corrected canon_usb_set_file_attributes, which never could have worked.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7664 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-21 18:53:43 +00:00
Stephen H. Westin
e03ac95213 Now ignores all HTML output from Protocol.xml.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7663 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-21 14:23:11 +00:00
Stephen H. Westin
ca6c46f4f0 Fixed one type warning long vs. int
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7662 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-21 14:14:03 +00:00
Marcus Meissner
b8f4763ba4 * actually brandname is Sea & Sea 5000G
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7661 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-21 13:48:36 +00:00
Stephen H. Westin
0f077cea74 Updated copyright notice.
Added more info on new protocol (EOS 20D).
Added note on differing response lengths to "get camera photo abilities"
  with some newer cameras.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7660 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-21 13:44:07 +00:00
Stephen H. Westin
ca95975d75 Fixed parsing of output from current (1.8) version of SniffUSB, which I
broke in fixing parsing of 0.13 output.
Improved parsing of output from EOS 20D (new protocol).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7659 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-21 13:38:25 +00:00
Marcus Meissner
befe2a8ac9 * g3.c: Added Ricoh 5000G
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7658 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-21 13:35:00 +00:00
Marcus Meissner
69d5a6415d * commands.c: memset had arguments swapped, reported by Tim Waugh.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7657 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-21 12:26:46 +00:00
Marcus Meissner
564a4b9115 * gphoto2-widget.c: long choice lists may overflow the 64 entry
buffer. return errors when the list is full.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7656 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-20 20:54:57 +00:00
Marcus Meissner
f7bd804f80 * ptp.h: Merged some findings during debugging.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7655 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-20 10:36:23 +00:00
Marcus Meissner
8ed6686039 * POTFILES.in: added adc65
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7654 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-19 15:43:58 +00:00
Marcus Meissner
f2f9167c38 * make update-po
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7653 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-19 15:42:01 +00:00
Stephen H. Westin
9b50066e71 Minor fix to "Models Covered" table.
Added a model or two to the table of initial responses.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7652 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-17 18:12:01 +00:00
Stephen H. Westin
685e33f06e We can now interpret logs from older versions of USBSnoop (0.13) again.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7651 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-17 18:04:09 +00:00
Stephen H. Westin
ab17da51e1 Progess toward downloading files from EOS 20D, including getting
download block size from camera when available.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7650 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-17 17:55:56 +00:00
Stephen H. Westin
c4ae17e6ce Added CANON_USB_FUNCTION_DISK_INFO_2
CANON_USB_FUNCTION_20D_UNKNOWN_5
      CANON_USB_FUNCTION_DELETE_FILE_2
  to enum, and fixed command table.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7649 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-17 17:54:06 +00:00
Stephen H. Westin
3d7d220663 Added keys_locked flag and xfer_length to private library structure.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7648 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-17 17:50:06 +00:00
Stephen H. Westin
c311577d8c Fixed sizes reported by get_disk_info for EOS 20D.
Added PowerShot A510.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7647 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-17 17:38:26 +00:00
Marcus Meissner
7e7066bce0 * library.c: Added Kodak CX7525
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7646 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-17 16:59:13 +00:00
Stephen H. Westin
0382a37e7e Syntax corrections.
More info on EOS 20D.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7645 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-14 22:52:22 +00:00
Stephen H. Westin
100894e315 Log a debugging message, rather than using gp_context_message, for an
unexpected length returned from "get camera photo abilities".
Added "keys_locked" member to the camera data, and unlock only when we
  think the camera has been left locked. This should be never for EOS
  cameras, and useless for other models, as we don't know how to
  unlock those.
Trying a different command code for key lock and unlock for EOS 20D.
Corrected comments in canon_usb_dialogue.
Added some casts to avoid warnings on both Linux and Darwin, since one
  defines size_t as long, the other as int.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7644 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-14 15:25:50 +00:00
Stephen H. Westin
47290c6d9b Fixes toward EOS 20D support:
o "flash device ID", "get disk info", and "delete file"
   have different command codes.
 o "get disk info" seems to return values in K rather than bytes.
Moved PowerShot A60 & A70 from class 5 to class 1.
Casts on various parameters to avoid warnings both on Linux and
  on Mac OS X, which seem to have different sizes for size_t.
Changed to use all 32 bytes, if present, from both camera
  model and owner name from "identify camera" command.
Some realignment.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7643 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-14 15:21:03 +00:00
Marcus Meissner
317ce3de7d added adc65
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7642 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-12 21:47:14 +00:00
Marcus Meissner
85b68f452c added adc65 driver (from external source)
clean up by me.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7641 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-12 21:42:09 +00:00
Stephen H. Westin
1968c42e09 Setting byte 0x46 in command packet is needed for (new) class 6,
but causes other cameras to hang. I now do it only for class 6.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7637 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-09 21:35:01 +00:00
Stephen H. Westin
0fcb115c06 Corrected an infinite loop when checking for filename
of a newly captured image, only if that was the only image
  on the camera.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7636 67ed7778-7388-44ab-90cf-0a291f65f57c
2005-03-09 21:31:27 +00:00