Commit Graph

2850 Commits

Author SHA1 Message Date
Lutz Mueller
bdf1fe7c71 2002-05-06 Lutz M�ller <lutz@users.sourceforge.net>
* library.c: ping the camera every minute to prevent shutdown.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4492 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-05-06 22:01:32 +00:00
Lutz Mueller
b7b7ee6ec2 2002-05-06 Lutz M�ller <lutz@users.sourceforge.net>
* libgphoto2/gphoto2-camera.[c,h] (gp_camera_[start,stop]_timeout),
          (gp_camera_set_timeout_funcs): New
        * configure.in: AGE 1, REVISION 0 in order to reflect above.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4491 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-05-06 18:38:25 +00:00
Marcus Meissner
444dca1c3d * The Logitech ClickSmart is not a stv680 based camera.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4490 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-05-06 06:47:56 +00:00
Hans Ulrich Niedermann
ff64aff6af hopefully added support for Canon EOS D60
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4485 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-05-01 20:08:15 +00:00
Marcus Meissner
b5e851d55e I have written the SiPix Web2 library too.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4484 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-30 06:49:32 +00:00
Marcus Meissner
fa2bb7eecc * libgphoto2/gphoto2-filesys.c: memset() filesys to 0 so
we do not forget to initialize members. (sf bug #549958)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4483 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-30 06:26:55 +00:00
Mariusz Woloszyn
c66d3ef2ad Added DeviceInfo dataset unpack code (untested)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4482 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-28 22:10:47 +00:00
Lutz Mueller
c44fe6d6f1 2002-04-28 Lutz M�ller <lutz@users.sourceforge.net>
* frontends/command-line/main.c: %s/licence/license


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4480 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-28 20:57:33 +00:00
Mariusz Woloszyn
1367b3680f Fixed stupid PTP_EVENT_* definition bug
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4479 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-28 20:50:51 +00:00
Ilya Konstantinov
27cea4c043 Documenting ping fixes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4478 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-27 16:30:24 +00:00
Ilya Konstantinov
8ac9961076 camera_start, camera_init:
Send the initialization sequence only on init. Olympus C-860L stops communications when receiving an initialization sequence after some communications have already occured.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4477 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-27 16:29:34 +00:00
Ilya Konstantinov
5e7525c2ee sierra_ping -> sierra_init:
This function isn't really a "ping", since it can be used only on startup.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4476 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-27 16:27:17 +00:00
Lutz Mueller
41fd311183 2002-04-26 Lutz M�ller <lutz@users.sourceforge.net>
* sierra.c (camera_start): Forgot a gp_port_get_settings before
          checking settings.serial.speed. Shouldn't affect anything though...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4475 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-26 18:37:31 +00:00
Hans Ulrich Niedermann
7148842eeb removed hu from ALL_LINGUAS to reflect removed hu.po file
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4474 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-26 09:57:38 +00:00
Colin Marquardt
23bac8ecdb Small tweaks in the "Reporting bugs" section.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4473 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-25 19:25:53 +00:00
Hans Ulrich Niedermann
82c3516532 added support for PowerShot S200
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4472 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-25 18:52:55 +00:00
Marcus Meissner
761034a478 * configure.in/po/hu.po: removed hu.po files that contain no translations.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4471 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-24 13:39:38 +00:00
Mariusz Woloszyn
1ae7532a22 Bug fixed
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4470 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-23 14:33:44 +00:00
Marcus Meissner
4a4d5e2a60 * serial.c: OpenBSD has /dev/cua%02x.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4469 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-22 21:12:48 +00:00
Hans Ulrich Niedermann
90667fec00 reflect changed file locations
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4468 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-22 17:54:07 +00:00
Mariusz Woloszyn
59d8f5b05f paranoid
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4467 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-22 16:30:03 +00:00
Lutz Mueller
3f5bb55708 2002-04-22 Lutz M�ller <lutz@users.sourceforge.net>
* library.c (post_func): Only put the camera back to 9600 bps if
          this is needed. And don't reset the camera before the speed change.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4466 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-22 07:50:03 +00:00
Matt Martin
5cf03379c9 library.c In post_func: Bring serial port speed back down immediately
after resetting the camera (kills the high speed at least on the DS7).
Note that this doesn't seem to be a problem immediately following the
speed change command. Needs to be tested on all cams in light of
Lutz's earlier comment that the speed isn't getting reset !


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4465 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-22 05:15:38 +00:00
Matt Martin
77ae1550e7 fuji.c Remove 0xff escaping code now done by libgphoto2_port
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4464 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-22 03:33:32 +00:00
Marcus Meissner
a1a91914cb * serial/unix.c: Unescape 0xff/0xXX parity framing sequences here.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4463 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-21 22:17:05 +00:00
Marcus Meissner
4bcbf10f4a * added camlibs/fuji/library.c, fuji.c
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4462 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-21 22:06:49 +00:00
Lutz Mueller
59effda77f 2002-04-21 Lutz M�ller <lutz@users.sourceforge.net>
* fuji.c: Formatting.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4461 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-21 22:01:45 +00:00
Lutz Mueller
03a3df7e11 2002-04-21 Lutz M�ller <lutz@users.sourceforge.net>
* library.c:
        * fuji.[c,h]: Implement upload and summary.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4460 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-21 21:51:16 +00:00
Lutz Mueller
06f81773ba 2002-04-21 Lutz M�ller <lutz@users.sourceforge.net>
* library.c: A fuji_reset doesn't seem to reset the speed to 9600.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4459 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-21 20:25:32 +00:00
Matt Martin
a167e725a0 Fixed some pointer errors in CFR macro calls.
Added quick escaping of 0xff codes, needs to become a function like get_byte of old driver.
Made provisions for DS-7 which does not support file-length query.
Fixed FUJI_CMD_PIC_GET vs PIC_GET_THUMB swap.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4458 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-21 20:22:59 +00:00
Mariusz Woloszyn
6f70e38e46 Added more early alfa events handling code...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4457 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-19 15:54:48 +00:00
Mariusz Woloszyn
c3b6af7c39 * libgphoto2_port/gphoto2-port-library.h: changed definition of
GPPortOperations.check_int.
	* libgphoto2_port/gphoto2-port.[ch]: added
	  gp_port_check_int_fast().
	* usb/libusb.c: changed definition of gp_port_usb_check_int.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4456 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-19 15:53:38 +00:00
Fredrik
ddc2ed97cc Added support for the IXUS 330, reported working by Oliver Herrmann.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4455 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-19 14:38:42 +00:00
Lutz Mueller
3026df7631 2002-04-19 Lutz M�ller <lutz@users.sourceforge.net>
* library.c: Don't make the check for supported commands fatal.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4454 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-19 08:28:38 +00:00
Lutz Mueller
8e55fef6db 2002-04-19 Lutz M�ller <lutz@users.sourceforge.net>
* library.c: If we tell the camera to switch to another speed, we
          need to change the port's speed, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4453 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-19 07:24:06 +00:00
Lutz Mueller
4068810fb6 Retry only twice.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4452 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-18 22:55:41 +00:00
Lutz Mueller
11e688144f List more commands.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4451 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-18 22:49:29 +00:00
Lutz Mueller
1213f7d804 2002-04-18 Lutz M�ller <lutz@users.sourceforge.net>
* library.c
        * fuji.[c,h]: Basic configuration support. Progress information.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4450 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-18 22:41:00 +00:00
Lutz Mueller
9bd2549cfe Oops.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4449 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-18 15:15:10 +00:00
Lutz Mueller
08629ccf4f 2002-04-18 Lutz M�ller <lutz@users.sourceforge.net>
* PROTOCOL: Some notes.
        * fuji.c: Fix calculation of packet length.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4448 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-18 15:08:39 +00:00
Lutz Mueller
443010fb15 2002-04-18 Lutz M�ller <lutz@users.sourceforge.net>
* library.c:
        * fuji.[c,h]: Use the [pre,post]_func-tions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4447 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-18 14:38:55 +00:00
Lutz Mueller
8a28423cf0 2002-04-18 Lutz M�ller <lutz@users.sourceforge.net>
* library.c:
        * fuji.[c,h]: Check for supported commands.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4446 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-18 13:55:00 +00:00
Lutz Mueller
b90d6ec80b 2002-04-18 Lutz M�ller <lutz@users.sourceforge.net>
* fuji.c: Fix calculation of checksum.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4445 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-18 13:21:51 +00:00
Lutz Mueller
17f2af4e43 2002-04-18 Lutz M�ller <lutz@users.sourceforge.net>
* fuji.c: For now, don't check the checksum.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4444 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-18 12:51:45 +00:00
Lutz Mueller
c589f5f466 2002-04-18 Lutz M�ller <lutz@users.sourceforge.net>
* fuji.c: Fix calculation of packet length.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4443 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-18 12:18:46 +00:00
Lutz Mueller
1eb9fe3e94 2002-04-18 Lutz M�ller <lutz@users.sourceforge.net>
* library.c:
	* fuji.[c,h]: Implement fetching of previews.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4442 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-18 06:54:59 +00:00
Lutz Mueller
7e545ebd07 Fix logic.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4441 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-17 20:50:57 +00:00
Lutz Mueller
6e46c0b2b0 Fix typo.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4440 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-17 20:50:10 +00:00
Lutz Mueller
b693a6851d Fix logic.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4439 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-17 20:47:21 +00:00
Lutz Mueller
f7d17fbeb6 Fix typo.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4438 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-17 20:44:26 +00:00