Ralph Little
cc4ad6be99
brother_mfp: Added ADF duplex function for supported devices.
2023-12-11 13:02:32 -08:00
Ralph Little
4173926d3b
brother_mfp: Added additional test suites for brother2 and brother3
...
Also some encoder tests and general code tidy up.
2023-12-11 13:02:32 -08:00
Ralph Little
b64b8c13bb
brother_mfp: Added support for source option.
...
Can now select Flatbed or ADF for supported machines.
2023-12-11 13:02:32 -08:00
Ralph Little
a8a9e895b9
brother_mfp: added query block and error conditions
...
Now detects cover open and paper jam.
Also formalised the query packet which occurs during initialization.
Hopefully, we will be able to decode this for useful information.
2023-12-11 13:02:32 -08:00
Ralph Little
9bbf24cf97
brother_mfp: updated unit tests for changes to decoder API
2023-12-11 13:02:32 -08:00
Ralph Little
a484c6ad93
brother_mfp: added device cancel and compression option
...
Some devices can compress colour (JPEG) and also provide raw data
in uncompressed form. The two devices that I have supply raw data
not in RBG but in YCbCr form.
Now applications have the option to choose compressed or uncompressed
colour scans if supported by the device.
Cancel from the device by pressing STOP is now handled properly.
2023-12-11 13:02:32 -08:00
Ralph Little
0055214614
brother_mfp: Added brother2 decoder + button support
...
Also:
- Fixed major issue in gray decoder that caused data loss.
- Button support added for Brother2 decoder.
2023-12-11 13:02:32 -08:00
Ralph Little
22d8ab2b49
brother_mfp: first set of unit tests for decoder.
...
Looks like we found the rare lost data issue in gray decoding.
Yayy! for unit tests.
2023-12-11 13:02:32 -08:00
Ralph Little
6eb9e1cc43
brother_mfp: Added basic test framework and moved source into brother_mfp directory
2023-12-11 13:02:32 -08:00
Ralph Little
edfc90450e
genesys: corrections to include file order.
...
minigtest.h has items that require the definitions in tests_printers.h.
Pre-GCC-12, this didn't seem to matter but GCC12 seems to have a
problem with this and requires the template definitions to have already
appeared.
2022-10-02 18:14:25 -07:00
Povilas Kanapickas
5529eb73d7
testsuite: Allow any 1.x.y version when comparing sane-desc results
2022-01-19 17:31:28 +02:00
Povilas Kanapickas
2f030f04e2
genesys: Implement image pipeline for merging color channels to gray
2021-12-27 22:22:44 +02:00
Povilas Kanapickas
ad84284186
genesys: Rename ImagePipelineNodeMergeMono{Lines -> LinesToColor}
2021-12-27 22:22:44 +02:00
Olaf Meeuwissen
e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
...
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.
Re #320 .
2021-02-12 17:41:38 +09:00
Olaf Meeuwissen
fea0ccca1e
Build genesys testsuite only when backend is build. Re #354
2021-02-07 16:25:30 +09:00
Olaf Meeuwissen
e86771c21b
Fix ignore pattern when comparing sane-desc outputs in testsuite
...
The old versions used plain `git describe` output leading to versions
like 1.0.32-265-g5ff049. The `git-version-gen` scripts replaces the
first dash, `-`, with a period, `.`, for the benefit of other version
comparison tools and strips the `g` to save a byte. So that leads to
versions like 1.0.32.265-5ff049.
2021-02-07 15:02:38 +09:00
Olaf Meeuwissen
63d938de61
Merge branch 'fix-udev-rules' into 'master'
...
Trigger udev rules parsing on all kernel events except of "remove".
See merge request sane-project/backends!541
2021-01-24 08:24:47 +00:00
Mikolaj Kucharski
65f1131541
drop CVS keywords
2020-11-28 12:48:32 +00:00
Marcin Kocur
1042a61c30
Trigger udev rules parsing on all kernel events except of "remove" - fix tests - udev.ref
2020-10-28 18:09:33 +00:00
Marcin Kocur
968114e7e4
Trigger udev rules parsing on all kernel events except of "remove" - fix test udev+hwdb
2020-10-28 17:52:59 +00:00
Marcin Kocur
b5bbcb2ef7
Trigger udev rules parsing on all kernel events except of "remove" - fix tests.
2020-10-28 17:29:19 +00:00
Olaf Meeuwissen
2539a13dfb
Fix spelling differences in testsuite reference data
...
Fix up of ffff088641
.
2020-09-13 16:31:41 +09:00
Olaf Meeuwissen
404e1500c2
Merge branch 'usb_udev_attrs' into 'master'
...
Speedup ATTR match for USB devices
Closes #341
See merge request sane-project/backends!510
2020-09-13 06:07:39 +00:00
Olaf Meeuwissen
b5cf71318b
sane-desc: Update test reference files
...
This follows ad66f79c43
.
2020-09-13 14:50:15 +09:00
Olaf Meeuwissen
124c16fe6f
sane-desc: Fail build if testsuite fails
2020-09-13 14:34:21 +09:00
Peter Marschall
ffff088641
spelling fixes for testsuite
2020-08-29 09:18:04 +02:00
Peter Marschall
0cd9de9bef
spelling fixes for genesys backend
2020-08-29 09:18:03 +02:00
pobrn
45f84a569c
respect 'local_only' parameter of sane_get_devices()
...
Certain backends do network scans even if the 'local_only'
parameter for 'sane_get_devices()' is true. Fix that.
Changes:
1. Modify 'sanei_configure_attach()' so that backend specific
data may be passed to the 'attach()' function.
2. Use this in certain backends to pass the value of the
'local_only' parameter so that network related activities
are only carried out when the value is false.
2020-08-12 12:29:38 +02:00
Povilas Kanapickas
a12083c8c4
genesys: Remove support for generating lineart within the backend
2020-05-24 18:20:17 +03:00
Povilas Kanapickas
55691ece2c
genesys: Merge ImagePipelineNodeBuffered{CallableSource and GenesysUsb}
2020-05-23 10:39:07 +03:00
Povilas Kanapickas
d770012132
genesys: Use TIFF files for debugging
2020-05-23 14:03:01 +03:00
Povilas Kanapickas
95d7196fca
genesys: Implement image pipeline node to shift columns
2020-05-22 01:23:49 +03:00
Povilas Kanapickas
1bae94fd1e
genesys: Support more than 2 columns in ImagePipelineNodePixelShiftLines
2020-05-22 01:23:48 +03:00
Povilas Kanapickas
b6eb01cd0f
genesys: Update session test to include scan params
2020-05-21 23:40:54 +03:00
Povilas Kanapickas
b5430cc039
genesys: Rename Genesys_Sensor::{optical_res => full_resolution}
2020-05-18 06:35:19 +03:00
Povilas Kanapickas
88b49704b2
genesys: Use create_slope_table() directly on gl841
2020-05-18 04:34:28 +03:00
Povilas Kanapickas
253bd0ffe4
genesys: Regenerate motor table total duration when it is updated
2020-05-18 03:53:08 +03:00
Povilas Kanapickas
9c4f84f91a
genesys: Don't generate excessive amount of steps for the motor tables
2020-05-18 03:53:07 +03:00
Povilas Kanapickas
fe3677b68f
genesys; Rename create_slope_table{=>_speed}()
2020-05-09 10:34:40 +03:00
Povilas Kanapickas
52cd02d78c
genesys: Add image pipeline to invert pixel values
2020-05-09 13:29:51 +03:00
Povilas Kanapickas
e5c371b24b
genesys: Merge motor optical_ydpi to base_ydpi
2020-04-22 22:41:45 +03:00
Povilas Kanapickas
922cabc0be
genesys: Remove no longer used ccd_start_xoffset
2020-04-13 07:23:43 +03:00
Povilas Kanapickas
9698bfece7
genesys: Add support for matching devices by bcdDevice
2020-03-28 23:15:48 +02:00
Povilas Kanapickas
0bdce7928f
genesys: Turn Genesys_USB_Device_Entry into a class
2020-03-28 23:15:47 +02:00
Povilas Kanapickas
1e116f1223
genesys: Verify that sensor tables are setup correctly
2020-03-21 00:03:47 +02:00
Olaf Meeuwissen
10620841b0
Run through all sane-desc modes before signalling failures
2020-03-08 21:56:10 +09:00
Olaf Meeuwissen
ea65e1b2ae
Drop diff ignore pattern from sane-desc check. Re #228
2020-03-08 21:38:45 +09:00
Olaf Meeuwissen
b9651d5e19
Update test reference outputs to match new sane-desc format. Re #228
2020-03-08 21:36:06 +09:00
Povilas Kanapickas
9d7aa61544
genesys: Define the width of the sensor in mm instead of pixels
2020-02-22 10:48:26 +02:00
Povilas Kanapickas
55000d82ac
genesys: Simplify shading line calculation by defining distance in mm
2020-02-16 10:46:09 +02:00