Ondrej Zary
48d2f18833
pixma: replace if/else/else with switch
2020-05-05 13:20:57 +02:00
Ondrej Zary
72802d9519
pixma: Update pixma.conf with AXIS support
2020-05-05 12:29:38 +02:00
Ondrej Zary
89ad855ec9
pixma: disable AXIS autodetection by default
...
Require manual configuration in pixma.conf to enable AXIS autodetection
2020-05-04 16:28:49 +02:00
Ondrej Zary
e2e8893ab7
pixma: change AXIS backend name to pixma_axis
2020-05-04 15:53:11 +02:00
Ondrej Zary
040f6a60e0
pixma: print size_t portably in AXIS
...
Use %z to print size_t variables
2020-05-04 15:05:58 +02:00
Ondrej Zary
91a7b84aa4
pixma: fix AXIS endian conversions
...
Tested on big-endian MIPS in QEMU
2020-05-04 14:38:54 +02:00
Ondrej Zary
d1cdf7a25d
pixma: honor BUSY status of AXIS devices during open
...
Check device status before connecting to a device and abort if BUSY.
2020-04-20 13:14:44 +02:00
Ondrej Zary
b765b16989
pixma: mark busy AXIS device
...
When an AXIS device is in BUSY state, add "BUSY username" to serial number.
Haven't found any better way to do this in SANE.
2020-04-20 12:17:02 +02:00
Ondrej Zary
72f01d9bb6
pixma: prevent buffer overflow
...
Prevent buffer overflow when serial is too long
2020-04-15 15:28:57 +02:00
Ondrej Zary
43eb737cdc
pixma: fix signedness warning
2020-04-09 15:35:52 +02:00
Ondrej Zary
3e96f8ccc1
pixma: cleanup AXIS debug output
2020-04-09 14:36:55 +02:00
Ondrej Zary
94aa7b5057
pixma: cleanup AXIS udp_socket handling
...
Don't call connect() on UDP socket, use sendto() and recvfrom() properly
2020-04-09 12:13:05 +02:00
Ondrej Zary
92e2ef6270
pixma: add AXIS pixma.conf support
...
Support reading configuration from pixma conf.
Also fix some debug messages.
2020-04-09 11:00:18 +02:00
Ondrej Zary
7de193c9a4
pixma: honor local_only for AXIS devices
...
Don't search for AXIS devices if local_only flag is set
2020-04-07 14:20:19 +02:00
Ondrej Zary
4577e34080
pixma: make AXIS support really work
...
Add support for long transfers, timeout, ignore 0x24 bytes and fix warnings
Scanning works now!
2020-04-07 11:24:39 +02:00
Ondrej Zary
2832e4ef9f
pixma: move lookup_scanner back to pixma_io_sanei.c
...
Move lookup_scanner from pixma_bjnp.c back to pixma_io_sanei.c
as it will be required by Axis support.
This partially reverts bd2d5f5e7d
2020-04-02 15:57:27 +02:00
Rolf Bensch
d89af0691e
pixma: new axis driver
...
moved to new pixma folder
provided by Ondrej Zary <linux@zary.sk>
see https://alioth-lists.debian.net/pipermail/sane-devel/2020-March/037734.html
2020-03-20 19:46:45 +01:00
Rolf Bensch
1ed4c7d8f5
pixma: backend version 0.27.4
2020-03-19 16:11:06 +01:00
Rolf Bensch
b113ef1285
pixma: for Canon LiDE300 and LiDE400 map target 06 to cancel/end button
...
see issue sane-project/backends#259
2020-03-19 16:09:38 +01:00
Olaf Meeuwissen
120d8c0bd3
README: Mention need for C++11 compiler for genesys backend
2020-03-18 20:24:21 +09:00
Ralph Little
787b89daea
Merge branch '236-red-and-yellow-overlay-after-3rd-scan-with-simple-scan-epson-perfection-1260' into 'master'
...
Resolve "Red and Yellow overlay after 3rd scan with simple-scan Epson Perfection 1260"
Closes #236
See merge request sane-project/backends!359
2020-03-17 15:51:35 +00:00
Olaf Meeuwissen
e12b1e26aa
Merge branch '243-cannot-build-escl-backend-for-ubuntu-16.04-lts' into 'master'
...
Resolve "cannot build escl backend for Ubuntu 16.04 LTS"
Closes #243
See merge request sane-project/backends!360
2020-03-17 12:16:38 +00:00
Olaf Meeuwissen
db4cbd4185
Add a build to prove that the previous commit fixes #243
2020-03-17 20:46:34 +09:00
Olaf Meeuwissen
f5af34e75f
Add checks for newer JPEG API used by the escl backend. Fixes #243
...
The backend is excluded from the build if this API is not available by
SANE_CHECK_BACKENDS.
2020-03-17 20:44:40 +09:00
Ralph Little
4e9cbda3ba
plustek: fix for gain loop computation to prevent buffer overrun
2020-03-15 20:21:16 -07:00
Povilas Kanapickas
a1888ae3bd
Merge branch 'genesys-duplication' into 'master'
...
genesys: Reduce code duplication
See merge request sane-project/backends!357
2020-03-15 16:13:53 +00:00
Povilas Kanapickas
3da269b7de
genesys: Use common code path for memory layouts
2020-03-14 23:19:38 +02:00
Povilas Kanapickas
718550e2d4
genesys: Add a way to flush GenesysRegisterSettingSet without read back
2020-03-14 23:19:37 +02:00
Povilas Kanapickas
cb442169e4
genesys: Implement a way to serialize ModelId
2020-03-14 23:19:36 +02:00
Povilas Kanapickas
c1d4369410
genesys: Reuse generic value filtering code for scan method filtering
2020-03-14 23:19:35 +02:00
Povilas Kanapickas
c234ce6b77
genesys: Add generic value filter class for resolutions filtering
2020-03-14 23:19:34 +02:00
Povilas Kanapickas
ee2e026f2a
genesys: Don't overwrite RAM settings
2020-03-14 23:19:33 +02:00
Povilas Kanapickas
ea5047466c
genesys: Reuse common gpio code on gl846
2020-03-14 23:19:32 +02:00
Povilas Kanapickas
31fecb8140
genesys: Clean up motor setup on gl847
2020-03-14 23:19:31 +02:00
Povilas Kanapickas
b307eba5cc
genesys: Clean up motor setup on gl846
2020-03-14 23:19:30 +02:00
Povilas Kanapickas
884de5f9fe
genesys: Clean up motor setup on gl843
2020-03-14 23:19:29 +02:00
Povilas Kanapickas
cd43109966
genesys: Deduplicate gain calibration
2020-03-14 23:19:28 +02:00
Povilas Kanapickas
233cb4bd5a
genesys: Use single code path for gain code calculation
2020-03-14 23:19:27 +02:00
Povilas Kanapickas
e0bec6723d
genesys: Deduplicate offset calibration
2020-03-14 23:19:26 +02:00
Povilas Kanapickas
255da97fcb
genesys: Remove get_closest_resolution()
...
All gl646 scanners have sensors for all supported resolutions
2020-03-14 23:19:25 +02:00
Povilas Kanapickas
428293c1e2
genesys: Reflow sensor tables
2020-03-14 23:19:24 +02:00
Rolf Bensch
c7c5b1a602
Merge branch '224-enable-avahi-support-by-default' into 'master'
...
Enable Avahi support by default if possible. Re #224
Closes #224
See merge request sane-project/backends!355
2020-03-14 13:08:41 +00:00
Rolf Bensch
93fd01866e
INSTALL.linux: add missing development package
2020-03-14 13:53:56 +01:00
Olaf Meeuwissen
82515511a6
Merge branch 'master' into '224-enable-avahi-support-by-default'
...
# Conflicts:
# .gitlab-ci.yml
2020-03-14 09:03:31 +00:00
Olaf Meeuwissen
168e22a941
Merge branch 'escl-lineart' into 'master'
...
Escl lineart
See merge request sane-project/backends!339
2020-03-14 09:01:17 +00:00
Ordissimo
5dcd770e5e
.gitlab-ci.yml: Revert poppler related changes
...
The Docker images used by CI have been updated to include the required
packages.
2020-03-14 09:01:17 +00:00
Olaf Meeuwissen
0f857f94cd
.gitlab-ci.yml: Follow Avahi configure option rename
2020-03-14 16:02:10 +09:00
Olaf Meeuwissen
f8c4bb77de
kodakaio: Update Avahi configure time option documentation
...
It has been removed from the command-line examples as the default is
to enable when possible and the Ubuntu example says to install the
necessary libraries. The avahi library reference has been fixed.
2020-03-14 15:58:02 +09:00
Olaf Meeuwissen
cf7227b598
Pass Avahi related preprocessor flags where needed
2020-03-14 15:48:19 +09:00
Olaf Meeuwissen
53875a5238
Fix WITH_AVAHI preprocessor conditionals
...
The macro is now always defined to either 0 or 1.
2020-03-14 15:46:03 +09:00