Wykres commitów

7985 Commity (a4cff1c9e20892ba66b2fe67125992081f392354)

Autor SHA1 Wiadomość Data
Hiroshi Miura a4cff1c9e2 epjitsu: implement get_gcd
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura bc459dea9d epjitsu: ScanSnap S1100 support
Add S1100 support

The ideas and cmd data are comes from:
http://ubuntuforums.org/showthread.php?t=1678335

TBD: test on S1100, I don't have a machine.
2014-05-15 22:04:36 -04:00
Hiroshi Miura ceeb9bb2d3 epjitsu: refactor coarsecal()
Now refactoring coarsecal() for S1100 support.
it is carefully changed not to break S300/1300/1500.

the chunk come from http://ubuntuforums.org/showthread.php?t=1678335
2014-05-15 22:04:36 -04:00
Hiroshi Miura e6abe74b5c epjitsu: introduce object_position()
Rename ingest() to object_position()
now it can do both ingest and eject.
This is required by S1100 support.

chunk come from
http://ubuntuforums.org/showthread.php?t=1678335
2014-05-15 22:04:36 -04:00
Hiroshi Miura 2f7c6382f4 epjitsu: x,y_resolution difference treatment
ScanScanp has a resolution 225x200 in each model.

The function which treat it should use a mathematic theory.
Euclidean algorithm should be used to get GCD (Greatest Common Devisor)
for this calcuration.

This patch make a separate function that should be get_GCD and
simplize a logic in copy image function.

TBD: this don't have Euclidean algorithm. Just prepare for it.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 25947781ec epjitsu: tl_y parameter support
The driver can cut top of image for padding.
We can also cut an ordered size at a top of image.
It make tl_y parameter works.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 529a7611d2 epjitsu: skip top padding
The driver need a padding at top of page.
Because scansnap don't treat empty image
at the top of image that is generated when
loading paper, the driver cut top of page
in 1/2 inch.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 5ab232d3a6 epjitsu: fix indent
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura f3d5455e9a epjitsu: optimize loop
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 9f1542afc6 epjitsu: page width support
ScanSnap itself don't have a feature to
detect and scan area in demanded width.
Otherwise driver need to cut into proper width.

this introduce page_width parameter and facility
to cut image into page width.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Hiroshi Miura 8ef91bb06d epjitsu: unit convert macro
introducing macros converting between scanner unit
and inches each other.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-15 22:04:36 -04:00
Stéphane Voltz 0694698fd8 enable gamma only at scan time 2014-05-12 22:02:06 +02:00
Stéphane Voltz cced79e963 fix #314663
- bug was due to an off by one in gamma table copy
2014-05-12 21:39:16 +02:00
Stéphane Voltz b51673a252 debug cleanups
- cleanup some debug messages
- prepare for new internal scan API
2014-05-11 09:24:16 +02:00
Stéphane Voltz ee4cd1cdc4 halt endpoint properly before resetting 2014-05-10 08:50:45 +02:00
Rolf Bensch 316d1b1098 changelog for recent work 2014-05-08 20:04:56 +02:00
Rolf Bensch 932cd03d10 MX360 shouldn't hang anymore (@ adf paper empty) 2014-05-08 19:57:59 +02:00
Rolf Bensch 7a695f3f47 remove comment: adf empty buggy 2014-05-08 19:51:54 +02:00
Rolf Bensch 3b0861b3bd Pixma backend version 0.17.7 2014-05-08 19:46:50 +02:00
Rolf Bensch b4d7533ae3 fix adf paper empty bug
- new parameter mp->adf_state:
  + detect start scan session
  + handle adf scan between pages
  + detect end scan session (adf paper empty)
- old code: s->param->adf_pageid hasn't been reset @ adf paper empty
2014-05-08 19:35:25 +02:00
Rolf Bensch f5d936c655 all ADF scanners support 14" legal paper size 2014-05-08 19:22:01 +02:00
m. allan noah 522f4f4d0f canon_dr backend v46
- split debug level 30 into two levels
- simplify jpeg ifdefs
- add support for DR-M160
2014-04-11 21:21:42 -04:00
m. allan noah 0eabc04805 Fix range and value of fujitsu offtimer option 2014-04-11 21:20:30 -04:00
m. allan noah 50236fab4e fujitsu backend v121
- add JFIF APP0 marker with resolution to jpeg images
- improve jpeg duplex parsing code
- simplify jpeg ifdefs
- add offtimer option for more recent scanners
2014-04-08 22:11:42 -04:00
m. allan noah 17a6615a11 canon_dr: split debug level 2014-04-08 22:11:42 -04:00
Rolf Bensch 39965093e1 Canon Pixma MX410 is working 2014-04-07 16:56:50 +02:00
m. allan noah 763e08b4c9 fujitsu backend v120
- only call hopper_before_op code at batch start
- remove unused backup/restore_params
2014-03-29 21:18:35 -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
Alessandro Zummo b768bb07b6 epson2: fixed another timeout/crash 2014-03-25 14:51:42 +01:00
Rolf Bensch 46682f4b79 changelog for recent work 2014-03-21 19:23:03 +01:00
Rolf Bensch 6018623efa Canon Pixma MX520 Series is working 2014-03-21 19:22:05 +01:00
Rolf Bensch 6ff135ed33 clamp minimum image size to 16 px x 16 px 2014-03-21 19:15:50 +01:00
Rolf Bensch 23b266f92c MX520 has button support 2014-03-21 19:09:33 +01:00
Rolf Bensch e6b3f9ea01 MX520 supports 14" legal paper size in ADF mode 2014-03-21 19:08:21 +01:00
Rolf Bensch acba17825d rename WLAN to WiFi 2014-03-21 18:54:04 +01:00
Rolf Bensch dfd2d4861e Canon Pixma MG3200 is working 2014-03-21 18:51:23 +01:00
Alessandro Zummo db31fdd1e3 epson2: fixed timeout and scanner crash on WP-4540 series (and others) 2014-03-13 22:57:17 +01:00
Alessandro Zummo 3babe5de40 epson2: fixed ADF detection 2014-03-13 22:56:29 +01:00
Alessandro Zummo 0a37fc99f7 epson2: updated usb ids 2014-03-04 00:57:33 +01:00
Alessandro Zummo f26f3d38a7 epson2: do not reset after each page 2014-03-03 23:56:29 +01:00
Alessandro Zummo e855744b5c epson2: improve debug output 2014-03-03 23:56:28 +01:00
Alessandro Zummo 83b9767539 epson2: fixed detection of multiple network-enabled scanners 2014-03-03 23:56:28 +01:00
Rolf Bensch 13e9fb47eb changelog for recent work 2014-02-28 21:20:10 +01:00
Rolf Bensch 5a22adb9ea rename MF4550d to MF4500 Series 2014-02-28 21:19:53 +01:00
Stéphane Voltz a54bbf84f5 fix calibration file name collision
- handle the case where there are several identical scanners plugged in,
  and avoid sharing the same calibration file
2014-02-24 06:53:10 +01:00
Louis Lagendijk ff7faa7964 pixma_bjnp.c: remove code and sanei_bjnp_activate/deactivate to make ADF scan work on MFNP protocol
Code is moved to sanei_bjnp_open/close instead. The FINISH command killed ADF scan
2014-02-12 00:16:34 +01:00
Louis Lagendijk bd851f2a3e pixma_bjnp.c: fix regression in bjnp support 2014-02-11 21:46:49 +01:00
Louis Lagendijk 74fd53f720 Updated Changelog for mfnp laser multifunctional support 2014-02-10 23:59:37 +01:00