Wykres commitów

24 Commity (34c15b47d9fd839a5334665a869bc0944a073534)

Autor SHA1 Wiadomość Data
Manuel Argüelles d61a59ca01 Add support for Canon DR-X10C scanner
Added initial support for DR-X10C SSM2 scanner with dropout color, hardware
deskew and hardware crop.
2018-08-21 15:22:20 -05:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
m. allan noah 1e04f18ed1 canon_dr backend v48
- set another unknown byte in buffermode for ssm2
- add another gettimeofday call at end of do_usb_cmd
- don't print 0 length line in hexdump
- mark DR-7080C as working
- default DR-G1100 and DR-G1130 to 8 meg buffers
2014-08-06 21:42:00 -04:00
m. allan noah ffb7051725 canon_dr backend v45
- dropout support for machines with ssm2 command
- doublefeed support for machines with ssm2 command
2014-03-29 21:18:35 -04:00
m. allan noah e20f3b5473 canon_dr backend v44
- buffermode support for machines with ssm2 command
- DR-M140 needs always_op=0
2014-03-29 21:18:29 -04:00
m. allan noah 3609f406ca canon_dr backend v43
- initial DR-M140 support
- add extra_status config and code
- split status code into do_usb_status
- fix copy_line margin offset
- add new color interlacing modes and code
- comment out ssm2
- add timestamp to do_usb_cmd
2014-03-29 21:17:35 -04:00
m. allan noah c4a5bbc143 canon_dr backend v42
- initial DR-G1100 support
- add support for paper sensors (P-215 & P-208)
- add initial support for card reader (P-215)
- removed unused var from do_scsi_cmd()
2013-12-09 20:56:45 -05:00
m. allan noah eacdc3a5b3 canon_dr backend version 41
- initial P-208 and P-215 support
- bug fix for calibration of scanners with duplex_offset
- allow duplex_offset to be controlled from config file
2013-07-31 21:38:25 -04:00
m. allan noah f7fe42c33e canon_dr v40: DR-9050, 7550, 6050 and 3010 support 2012-11-28 21:51:13 -05:00
m. allan noah e237abad17 hopefully enable flatbed support 2011-01-26 22:05:02 -05:00
m. allan noah caaa891c35 canon_dr v30: improved support for DR-2050/2080 and minor bug fixes
- add fine cal support for machines with internal buffer (2050/2080)
- support fixed-width machines that require even bytes per scanline
- pad end of scan with gray if scanner stops prematurely
- better handling of errors during calibration
- cleanup canceling debug messages
- remove old cancel() prototype
2009-06-17 15:45:48 -04:00
m. allan noah 327250b7dc canon_dr v28, improve DR-2xxx support by emulating missing hw features
- use average instead of min/max for fine offset and gain
- rewrite supported resolution list as x and y arrays
- merge x and y resolution options into single option
- move scan params into two new structs, s->u and s->s
- sane_get_parameters() just returns values from s->u
- dont call wait_scanner() in object_position()
- dont call ssm_*() from option handler
- refactor sane_start()
- read_from_buffer() can workaround missing res, modes and cropping
- set most DR-2xxx machines to use the read_from_buffer workarounds
- set default threshold to 90
- add option for button #3 of some machines
- don't eject paper during init
- add DR-2010 quirks
- switch counter to HARD_SELECT, not SOFT
2009-05-22 10:24:58 -04:00
m. allan noah 024cd35c9c canon_dr backend v27, bugfixes and new calibration code
- bug fix in read_panel()
- initialize vars in do_usb_cmd()
- set buffermode off by default
- clear page counter during init and sane_start()
- eject previous page during init and sane_start()
- improved SSM_BUFF macros
- moved set_window() to after ssm-*()
- add coarse calibration (AFE offset/gain & per-channel exposure)
- add fine calibration (per-cell offset/gain)
- free image and fine cal buffers in sane_close()
- compare page counter of small scanners only in non-buffered mode
- add back-side gray mirroring code for DR-2580C
2009-05-08 16:05:54 -04:00
m. allan noah a4561362b0 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v23
- rewrite all image data processing code
- handle more image interlacing formats
- re-enable binary mode on some scanners
- limit some machines to full-width scanning
* doc/desciptions/canon_dr.desc: v23, improved comments
2009-03-28 01:04:02 +00:00
m. allan noah 93b880cbd1 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v21
- correct rgb padding macro
- skip send_panel and ssm_df commands for DR-20xx scanners
* doc/desciptions/microtek2.desc: add ScanMaker 6400XL
2009-03-24 13:38:32 +00:00
m. allan noah a50ac53580 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v20
- improved macros for inquiry and set window
- shorten inquiry vpd length to match windows driver
- remove status-length config option
- add padded-read config option
- rewrite do_usb_cmd to pad reads and calloc/copy buffers
* backend/canon_dr.conf.in: s/status-length/padded-read/g
2009-03-23 16:49:19 +00:00
m. allan noah cd0b09ddf4 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v15 thru v18
- add byte-oriented duplex interlace code
- add RRGGBB color interlace code
- add basic support for DR-2580C, DR-2050C, DR-2080C, DR-2510C
- add more unknown setwindow bits
- add support for 16 byte status packets
- clean do_usb_cmd error handling (call reset more often)
- set status packet size from config file
- rewrite config file parsing to reset options after each scanner
- add config options for vendor, model, version
- dont call inquiry if those 3 options are set
- remove default config file from code
- add initial gray deinterlacing code for DR-2510C
- rename do_usb_reset to do_usb_clear
* doc/descriptions/canon_dr.desc: backend v18, update model status
* backend/canon_dr.conf.in: added better comments and new options
2009-03-22 02:56:45 +00:00
m. allan noah b900ffd2a3 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v11
- send_panel() can disable too
- add cancel() to send d8 command
- call cancel() only after final read from scanner
- stop button reqests cancel
2009-01-10 23:39:54 +00:00
m. allan noah 41e9763143 * backend/canon_dr.c: backend v10
- add all documented request sense codes to sense_handler()
 - fix color jpeg (remove unneeded BGR to RGB swapping code)
 - add macros for LUT data
* backend/canon_dr.conf.in: add DR-2080C usb ID
* doc/descriptions/canon_dr.desc: backend v10, add DR 3020
2008-12-10 18:47:57 +00:00
m. allan noah 56ed54d96e * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v9
- add rollerdeskew and stapledetect options
- add rollerdeskew and stapledetect bits to ssm_df()
* doc/descriptions/canon_dr.desc: backend v9
2008-12-09 03:21:47 +00:00
m. allan noah 8e38974a3e * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v8
- rename read/send_counter to read/send_panel
 - enable control panel during init
 - add options for all buttons
 - call TUR twice in wait_scanner(), even if first succeeds
 - disable rif
 - enable brightness/contrast/threshold options
* doc/descriptions/canon_dr.desc, doc/sane-canon_dr.man: backend v8
2008-12-08 03:47:35 +00:00
m. allan noah 5ee6f8de28 * backend/canon_dr.[ch], backend/canon_dr-cmd.c: backend v6
- fix adf simplex
- rename ssm_duplex to ssm_buffer
- add --buffer option
- reduce inter-page commands when buffering is enabled
- improve sense_handler output
- enable counter option
- drop unused code
* doc/descriptions/canon_dr.desc: backend v6
2008-11-29 05:22:37 +00:00
m. allan noah 9e0e272a9b backend/canon_dr.[ch], backend/canon_dr-cmd.c,
doc/descriptions/canon_dr.desc: backend v5
- remove EOF ejection code
- add SSM and GSM commands
- add dropout, doublefeed, and jpeg compression options
- disable adf backside
- fix adf duplex
- read two extra lines (ignore errors) at end of image
- only send scan command at beginning of batch
- fix bug in hexdump with 0 length string
- DR-7580 support
2008-11-26 04:37:40 +00:00
m. allan noah 03c5a9ee44 * backend/canon_dr.[ch], backend/canon_dr-cmd.h, doc/sane-canon_dr.man,
backend/canon_dr.conf.in, doc/descriptions/canon_dr.desc:
- New Canon DR-series backend v3
- support all modes and resolutions of DR-9080C
- advanced options (MF detection, compression) not yet supported
- other larger models believed similar, smaller ones unknown
* doc/descriptions/unsupported.desc: remove Canon DR-series machines
2008-11-10 03:36:11 +00:00