Wykres commitów

6297 Commity (2ae58b0e6f15fca44984839c4e7dd6a9bb854b0b)

Autor SHA1 Wiadomość Data
Paweł Pękala 83812214fc magicolor: correct SANE device struct to better match reality 2025-02-07 10:52:19 +01:00
Ralph Little b7d223aa44 Merge branch 'master' into 'master'
Add support for Toshiba TEC e-STUDIO2323AM

See merge request sane-project/backends!861
2025-02-06 16:45:41 +00:00
Zdenek Dohnal 90815a9f25 sm3600.h: Fix build with standard C23
bool, true and false are keywords in the standard C23 - the sm3600
backend defines them on its own, which is forbidden with the new
standard.

The patch adds ifdef guards for the affected typedef - the old code
will be used for older standards, C23 will define TBool as bool.
2025-02-05 13:19:11 +01:00
Paweł Pękala 6bf06ad805 Add support for Toshiba TEC e-STUDIO2323AM
With few subtle magicolor network protocol modifications this
device seems to work pretty good.
2025-02-03 12:33:25 +01:00
Joseph Spiros 927d68017c
avision: add support for Xerox Book Scanner 4167
The Xerox Book Scanner 4167 is a rebadged Avision FB6080E with modified USB IDs. It works perfectly with the existing support in the avision backend for the Avision FB6080E.
There is very little information about this model available online. From what I could find, it seems this model was distributed as a component, along with a pre-configured PC running Scannx software, of the Xerox BookCentre S7141 turn-key institutional book scanning system.
2025-01-12 05:53:27 -05:00
ThierryFR 5ef1064bc7 Pixma: add new models 2024 2 2024-12-09 03:09:25 +00:00
Ralph Little 7e31903355 hp5590: Fix for large read buffer issue. 2024-11-18 21:34:50 -08:00
Ralph Little 5c327b10e9 Merge branch 'canon_dr_add_sensor_function_number' into 'master'
canon_dr: Function-number support on Canon DR-3010C

See merge request sane-project/backends!843
2024-09-12 18:20:29 +00:00
Ondrej Zary 464dfeb5c6 rts8891: gamma-correct image in find_origin and find_margin
Apply gamma correction to image in find_origin and find_margin
to allow correct detection with cold lamp.
Also find 4 consecutive white pixels (instead of one) in find_margin.
2024-09-07 16:50:59 -07:00
Ondrej Zary 4e4180c459 rts8891: add lamp warm-up
Implement lamp warm-up for Umax.
2024-09-07 16:50:36 -07:00
Ondrej Zary eff6358dd7 rts8891: fix 100dpi
Make 100dpi scanning (and preview) really work.
Register 0x7a is x-divider, setting it to 2 divides the 200dpi horizontal
resolution to 100dpi.
So the amount of data is halved but the scanning area and shading data must
be set as when scanning at 200dpi.
2024-09-07 16:50:33 -07:00
Ondrej Zary d281e7e230 rts8891: bugfix 2024-09-07 16:49:49 -07:00
Ondrej Zary 8bbf8d5a5a rts8891: resume work on Umax Astra 4400/4450
Resume work on Umax Astra 4400/4450 support from 2015.
2024-09-07 16:49:45 -07:00
Ralph Little 836a33c3c4 Merge branch '617-sane-pixma-canon-mf4570dw-ethernet-supported' into 'master'
Resolve "sane-pixma canon mf4570dw ethernet - supported?"

Closes #617

See merge request sane-project/backends!761
2024-09-06 06:11:40 +00:00
Ralph Little 31a09f5500 various: convert pre-ANSI declarations to ANSI
Newer clang deprecates the pre-ANSI way to declare functions with no args.
This breaks recent Fedora CI images.
2024-09-05 22:17:27 -07:00
Ralph Little 7615208fc9 epson: rename receive() to scanner_receive() for consistency. 2024-09-05 13:58:35 -07:00
Ralph Little 1b12daf3d5 epson: rename send() function as it conflicts with system function.
This hasn't been an issue but recent clang-16 doesn't like it.
In any case, it is not right.
2024-09-04 11:34:06 -07:00
ThierryFR ce0f507649 escl : Adapt the code to HTTP2 2024-09-03 21:04:56 +00:00
Zdenek Dohnal 8cf5af772c backend/kodakio.c: Remove unnecessary Unicode character
There is an bidirectional Unicode character <202d> in the comment.
The character looks like a typo, because it does not look fitting
there, so IMHO it can be removed.

Checking tools like rpminspect are wary of Unicode characters in the
code after CVE regarding bidirectional Unicode characters from several
years ago, and character <202d> is for left-to-right override in
Unicode, so tools report them as an issue.
2024-07-26 09:25:35 +02:00
ThierryFR a60773b8a0 Merge branch 'escl-delete-noise' into 'master'
escl : delete noise

See merge request sane-project/backends!847
2024-07-20 06:31:59 +00:00
ThierryFR eb48ed29ee escl : delete noise 2024-07-20 06:31:59 +00:00
ThierryFR 0c3ca8f49d Merge branch 'escl-fix-tls-check' into 'master'
escl : fix tls/ssl connection

Closes #760

See merge request sane-project/backends!846
2024-07-19 11:40:23 +00:00
ThierryFR f711faf0a6 escl : fix tls/ssl connection 2024-07-19 11:40:22 +00:00
Ralph Little 65baf4b11b Merge branch 'canon-add-new-model-2024' into 'master'
PIXMA: Addition of 3 new models and updating of 2 models

See merge request sane-project/backends!841
2024-07-18 04:07:31 +00:00
ThierryFR 1e45304dbd PIXMA: Addition of 3 new models and updating of 2 models 2024-07-18 04:07:31 +00:00
Martin Ostertag 94ce64e89a Reworked due to review comments:
- re-ordered the new option into the block of enums for the panel
- re-ordered the code to reflect the new value of OPT_FUNCTION_NUMBER
- corrected size of variable panel_read to include the new option OPT_FUNCTION_NUMBER
2024-06-23 23:05:20 +02:00
Ordissimo d4df090e45 The logs are sent on the output 10 indeed of the 1 (that equal at stdout) 2024-06-21 11:22:32 +02:00
Martin Ostertag 3f143af244 canon_dr: Function-number support on Canon DR-3010C
This change adds support for the function number configuration on the
Canon DR-3010C panel display. The function number can be used to
start different actions by "scanbd" when the start button is hit.
Support in scanbd must be configured appropriately.
The new SANE sensor has the name "function-number".
2024-06-03 12:39:16 +02:00
ThierryFR fbf80b0fc1 Escl adf lineart 2024-05-21 21:36:23 +00:00
ThierryFR 113be50f6b Escl force idle status 2024-04-16 20:45:49 +00:00
Cyp bc54b0990f Random minor cleanup. 2024-04-02 19:56:11 +02:00
Wolfram Sang ee5f9a89e1 Merge branch 'epson2/ignore_cancel' into 'master'
epson2: ignore 'cancel request' status bit for more scanners

Closes #716

See merge request sane-project/backends!823
2024-02-04 19:07:33 +00:00
Alex Belkin 05c770546f Merge branch 'xerox_mfp-adf' into 'master'
xerox_mfp: When scanning from ADF, do not stop the device at page completion

Closes #537 and #47

See merge request sane-project/backends!655
2024-02-04 01:06:13 +00:00
Wolfram Sang fc6516afc1 epson2: ignore 'cancel request' status bit for more scanners
Not only the Perfection1650, but other scanners need to ignore the
FSG_STATUS_CANCEL_REQ bit as well. Thanks to @matc for debugging and
providing a list. Should fix #716. Remove the hardcoded bitmask while
here.

Signed-off-by: Wolfram Sang <wsa@kernel.org>
2024-01-28 14:58:32 +01:00
Wolfram Sang 9266b647c5 Merge branch 'add-l360' into 'master'
Add support for epson L360

See merge request sane-project/backends!816
2024-01-26 14:23:06 +00:00
Artur Shepilko 86bb976ad6 xerox_mfp: When scanning from ADF, do not stop the device at page completion
- Stopping and releasing the device causes the ADF to purge any remaining pages,
thus only the first page gets properly scanned (observed with Samsung
SCX-4729FW).
- Instead, when sourcing from the ADF, at each page's completion it should
continue and issue "OBJECT POSITION" command to proceed to the next page.
- Once all pages have been processed, the subsequent "OBJECT POSITION" command
returns the proper "CHECK CONDITION" status  (ADF is empty) and triggers the
device stop and release.
- Additionally, the status of the ADF (loaded/empty) needs to be requeried
at the `sane_start()` for proper handling of the "Auto" mode. Otherwise,
the scanning session retains the ADF state from the start of the session,
even though ADF will become empty. Thus the "Auto" mode will not properly
switch to Flatbed as intended in the client application (observed in
Simple-Scan).

> NOTE: the initial "READ" command in `sane_start()` is extraneous and
> appears to always return STATUS_BUSY (indeed, the scanner is usually
> busy loading the page). The actual READ is correctly done in
> `dev_acquire()`. It may appear benign in a single page scan mode, however,
> it becomes malfunctioning in the mutipage ADF mode. The initial READ,
> when successful, will cause the skipping of the read block from processing,
> as the actual processing is tied to content read from `dev_acquire()`.
>
> Therefore, the initial READ command in the `sane_start()` is removed.
2024-01-25 17:20:03 -06:00
Artur Shepilko 8fe58ab678 xerox_mfp: Use doc source macros for clarity 2024-01-25 17:20:13 -06:00
Artur Shepilko 0a9bf84d3c xerox_mfp: Add support for Samsung SCX-4729FW (network mode) 2024-01-25 17:20:03 -06:00
Ben Olden-Cooligan ec3eacfbcb Remove obsolete pixma macOS workaround
Without this change, pixma scanning is currently broken (tested with Canon MP495). The stated reason for the workaround (libusb not supporting timeouts for interrupts) hasn't been true since 2010:
67d9ef7b68
2024-01-11 20:21:36 -08:00
Ralph Little bff8d25007 Merge branch 'master' into 'master'
Fix hpljm1005 #723

See merge request sane-project/backends!819
2024-01-11 21:54:21 +00:00
ThierryFR 77059fe3d4 Merge branch 'escl_fix_option_without_poppler' into 'master'
escl: Fix option without poppler.

See merge request sane-project/backends!820
2024-01-11 18:23:04 +00:00
Ordissimo cc13a4986d escl: Fix option without poppler. 2024-01-11 19:13:45 +01:00
Tarwirdur Turon 829b11b72e Fix hpljm1005 #723
1. Fixed scan to jpeg/png
2. Fixed bottom part of the image
3. Removed white pixels from the right part of the image
4. Adjusted physical dimensions of the scanning area
2024-01-06 18:45:25 +03:00
Ralph Little 22e3de3642 net: fix trailing whitespace from previous merge. 2023-12-31 18:46:24 -08:00
Jonathan Schulz 8a57a6934f Refactor deprecated getlogin() 2023-12-31 21:35:26 +00:00
beeduh 4750093faa Add support for epson L360 2023-12-13 06:07:06 +00:00
Dianne Skoll 3f612c1277 Update DMC author's contact details
My legal name and my email address have changed.
2023-12-11 22:15:30 -05:00
Ralph Little 8096f84a6f Merge branch 'lexmark_X2670_backend' into 'master'
Lexmark x2600 backend

See merge request sane-project/backends!769
2023-12-10 18:36:08 +00:00
Benoit JUIN c1e9a341ab memory leak fix 2023-12-03 08:08:07 +01:00
Benoit JUIN 7efa04ff78 white spaces 2023-12-03 07:12:11 +01:00