Ondrej Zary
2f16465384
pixma: define some magic values
2020-07-31 13:51:39 +02:00
Ondrej Zary
d651e44192
pixma: Log unsupported scanner type in BJNP and AXIS
2020-07-31 13:47:58 +02:00
Ondrej Zary
18ddb14b1f
pixma: silence AXIS gcc string truncation warning
2020-05-06 15:00:56 +02:00
Ondrej Zary
f7dc5eb072
pixma: display AXIS server name in debug messages
2020-05-06 12:58:20 +02:00
Ondrej Zary
c41455dd19
pixma: allow NULL parameters in axis_recv
...
Allow NULL parameters in axis_recv to remove dummy buffers
2020-05-05 16:47:53 +02:00
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
Ralph Little
4e9cbda3ba
plustek: fix for gain loop computation to prevent buffer overrun
2020-03-15 20:21:16 -07: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
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
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
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
Rolf Bensch
0033357120
pixma: backend version 0.27.3
2020-03-11 13:21:12 +01:00
Rolf Bensch
b956a3cef0
pixma: update copyright
2020-03-11 13:19:31 +01:00
Rolf Bensch
dbc966e97e
Merge branch 'pixma/new_scanners' into 'master'
...
Pixma: new scanners
See merge request sane-project/backends!354
2020-03-11 12:14:42 +00:00
Rolf Bensch
c4af131848
pixma: new scanners Canon PIXMA G7000 and GM4000 Series
2020-03-11 12:56:28 +01:00
Rolf Bensch
7322b5aff0
pixma: restrict ADF scans to 300dpi for Canon i-SENSYS MF440 Series
2020-03-11 12:53:05 +01:00