Commit Graph

2831 Commits

Author SHA1 Message Date
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
Lutz Mueller
dc27c8c496 2002-04-17 Lutz M�ller <lutz@users.sourceforge.net>
* fuji.c: Fix logic.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4437 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-17 20:42:21 +00:00
Lutz Mueller
d7b0fdf4ef 2002-04-17 Lutz M�ller <lutz@users.sourceforge.net>
* fuji.[c,h]:
        * library.c: More functions. Needs testing.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4436 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-17 20:09:47 +00:00
Marcus Meissner
1fbe194378 * fuji.c: Ported the send_packet, read_packet, get_byte and
put_byte functions.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4435 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-17 19:34:17 +00:00
Lutz Mueller
7d89cf1824 2002-04-17 Lutz M�ller <lutz@users.sourceforge.net>
Patch by Ilya Konstantinov <anonymous1@future.shiny.co.il>:

        * library.c: break on timeout.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4434 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-17 16:22:21 +00:00
Marcus Meissner
548ad8471f * gphoto2-port.h: Make C++ happy.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4431 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-16 18:09:37 +00:00
Marcus Meissner
c3a5ae56c7 * library.c: This should get the parity fixes too.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4430 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-16 16:49:30 +00:00
Marcus Meissner
681f004258 * fuji.c: It is still using a stopbit.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4429 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-16 16:48:05 +00:00
Marcus Meissner
dc73e1a5d6 * fuji.c: Dropped fix_serial, replaced by parity support in
libgphoto2_port.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4428 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-16 15:34:43 +00:00
Marcus Meissner
9649e6b8e0 * libgphoto_port/gphoto2-port.h, serial/unix.c:
Handle parity, introduced new enum GPPortSerialParity,
	  switched one element of the structure from int to enum
	  (enums are ints, so it should remain binary compatible).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4427 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-16 15:25:56 +00:00
Lutz Mueller
c073dca522 New file.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4426 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-16 14:43:34 +00:00
Lutz Mueller
6260d6b8b5 2002-04-16 Lutz M�ller <lutz@users.sourceforge.net>
* configure.in: Add fuji.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4425 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-16 14:43:27 +00:00
Lutz Mueller
c9bd80b153 2002-04-16 Lutz M�ller <lutz@users.sourceforge.net>
* library.c: New.
        * fuji.[c,h]: Rewrite.
        * exif.[c,h]:
        * fuji_exif.c: Removed.
        * Makefile.am: Updated.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4424 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-16 14:42:56 +00:00
Marcus Meissner
90c1e1d5ba * The UMAX AstraPix 320S is actually a SiPix StyleCam clone and
not supported by this driver.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4423 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-15 21:00:09 +00:00
Hans Ulrich Niedermann
6be6e15f7e configure PATH setup and lib detection
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4422 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-14 00:40:10 +00:00
Hans Ulrich Niedermann
78782f87c4 USB port lists
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4421 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-13 18:36:01 +00:00
Mariusz Woloszyn
50d23d2cbf Started event support code
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4420 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-13 15:34:44 +00:00
Mariusz Woloszyn
ec6ec2efd3 even more accurate PTP info
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4419 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-13 15:33:54 +00:00
Marcus Meissner
a9b3db4352 * Added sipix driver, myself as maintainer and tester of it.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4418 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-12 16:32:59 +00:00
Marcus Meissner
81dc72dea6 * *: First version of SiPix Web2 driver:
The Camera is a 640x480 JPEG camera. The driver
	  currently supports:
		- Picture, Thumbnail, EXIF download.
		- Delete Single Picture


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4417 67ed7778-7388-44ab-90cf-0a291f65f57c
2002-04-12 16:31:44 +00:00