Raf Czlonka
6fed5be5f3
$BUSNAME is a full device path, not just the device node name
2020-03-25 20:12:53 +00:00
Raf Czlonka
2c9a411b12
Remove superfluous double quotes
...
Device nodes are always comprised of alphanumeric characters so
there's no need to quote them. That being said, where appropriate,
use curly braces if the variable doesn't terminate the string -
technically, this isn't necessary as the character which follows
is a dot ('.'), which isn't a legal character in variable names so
there's no ambiguity but it makes the variable "stand out" at the
very least.
2020-03-25 20:05:04 +00:00
Raf Czlonka
d24a5171c2
chown -> chmod
2020-03-25 20:03:41 +00:00
Rolf Bensch
1fdb7021df
pixma: Canon PIXMA TS3300 Series is working
...
see merge request sane-project/backends!376
2020-03-25 20:22:27 +01:00
Raf Czlonka
6b1b071b77
Group commands and add conditionals
2020-03-25 03:02:56 +00:00
Raf Czlonka
0d0c03ab68
Change the owner as well as the group - missed earlier
2020-03-25 02:48:53 +00:00
Raf Czlonka
9687ff8aa0
Additionally to user:group, modes also need changing
2020-03-25 02:47:54 +00:00
Raf Czlonka
5a842d8dd6
Remove useless comments
2020-03-25 02:44:37 +00:00
Raf Czlonka
0b978ea742
Simplify - use test(1) and && instead of 'if ... then ... fi"
2020-03-25 02:25:50 +00:00
Raf Czlonka
a129b7767d
Incorporate hotplugd(8) patches from the OpenBSD port
...
https://cvsweb.openbsd.org/~checkout~/ports/graphics/sane-backends/patches/patch-tools_openbsd_attach?rev=1.3
https://cvsweb.openbsd.org/~checkout~/ports/graphics/sane-backends/patches/patch-tools_openbsd_detach?rev=1.2
While there, use "$()" instead of "``" for running commands in a
subshell (this is to match `attach` change commited earlier).
More whitespace fixes.
2020-03-25 02:07:05 +00:00
Raf Czlonka
61881417fa
Provide a working hotplugd(8) attach example
...
Current example not only doesn't work but also hard-codes `ugen0` device name.
Fix whitespace while there.
2020-03-25 01:59:59 +00:00
Matthew Petroff
5c1643291a
genesys: Add 4800dpi support for Canon LiDE 220.
2020-03-24 21:40:10 -04:00
Matthew Petroff
93f6bb19a9
genesys: Simplify GL124 shading data segment iteration.
2020-03-24 21:40:10 -04:00
Matthew Petroff
74f2af604b
genesys: Add 4800dpi support for Canon LiDE 210.
...
Based on USB logs from Windows driver.
2020-03-24 21:40:10 -04:00
Olaf Meeuwissen
dd78511072
Merge branch 'escl-unix-socket' into 'master'
...
Add unix socket support to ESCL
See merge request sane-project/backends!348
2020-03-24 12:22:38 +00:00
Rolf Bensch
03a135cafd
pixma: backend version 0.27.5
2020-03-24 13:05:19 +01:00
Rolf Bensch
86a8780c0c
Merge branch 'pixma/use-BT.709-luma' into 'master'
...
pixma: for grayscale conversion use BT.709 luma
See merge request sane-project/backends!373
2020-03-24 12:03:18 +00:00
Rolf Bensch
6e52b3f01a
pixma: for grayscale conversion use BT.709 luma
...
Before we used linear grayscale conversion. This is not state of the art.
2020-03-24 12:46:27 +01:00
Olaf Meeuwissen
a309a2a58d
Merge branch '111-sane-backends-1-0-28-backend-gt68xx_high-c-100-bad-expression-testpicture' into 'master'
...
Resolve "sane-backends-1.0.28/backend/gt68xx_high.c💯 bad expression ?"
Closes #111
See merge request sane-project/backends!369
2020-03-24 11:30:46 +00:00
Olaf Meeuwissen
199b9eeef6
Merge branch '243-really-fix-build-failure-on-ubuntu-16.04' into 'master'
...
Resolve "cannot build escl backend for Ubuntu 16.04 LTS"
Closes #243
See merge request sane-project/backends!372
2020-03-23 13:17:23 +00:00
Olaf Meeuwissen
56522b6a35
Fix references to function check results
2020-03-23 22:00:16 +09:00
Olaf Meeuwissen
00a7fd8f00
Add linker flags for JPEG library when checking for functions
2020-03-23 21:59:41 +09:00
Ralph Little
e5e63f306a
test: extra brackets to silence cppcheck warning.
2020-03-22 12:40:17 -07:00
Ralph Little
2583158a5b
Merge branch '111-sane-backends-1-0-28-backend-gt68xx_high-c-100-bad-expression' into 'master'
...
Resolve "sane-backends-1.0.28/backend/gt68xx_high.c💯 bad expression ?"
See merge request sane-project/backends!363
2020-03-22 17:10:37 +00:00
Ralph Little
487b4a3a3c
Merge branch '116-sane-backends-1-0-28-backend-dmc-c-many-redundant-assignments' into 'master'
...
Resolve "sane-backends-1.0.28/backend/dmc.c: many redundant assignments ?"
Closes #116
See merge request sane-project/backends!364
2020-03-22 17:09:45 +00:00
Thierry HUCHARD
81325dc773
Fix build.
2020-03-22 16:41:53 +01:00
Thierry HUCHARD
f4e6677fc1
Fix build.
2020-03-22 16:29:34 +01:00
Thierry HUCHARD
79f7463366
Refactoring the ADF mode.
2020-03-22 16:14:23 +01:00
Povilas Kanapickas
c99580b811
Merge branch 'genesys-simplify-dpiset' into 'master'
...
genesys: Simplify DPISET register calculations
See merge request sane-project/backends!367
2020-03-22 13:01:07 +00:00
Povilas Kanapickas
dab5594a50
Merge branch 'genesys-remove-hwdpi' into 'master'
...
genesys: Simplify hwdpi calculation
See merge request sane-project/backends!366
2020-03-22 12:42:23 +00:00
Povilas Kanapickas
6ab010939c
Merge branch '114-sane-backends-1-0-28-sanei-sanei_pio-c-3-bad-test' into 'master'
...
Resolve "sane-backends-1.0.28/sanei/sanei_pio.c: 3 * bad test ?"
Closes #114
See merge request sane-project/backends!362
2020-03-22 12:34:05 +00:00
Povilas Kanapickas
115bbf6a24
Merge branch 'genesys-remove-hwdpi-divisor' into 'master'
...
genesys: Remove hwdpi divisor
See merge request sane-project/backends!365
2020-03-22 12:18:46 +00:00
Ralph Little
28abffad3c
dmc: corrected tl-x, tl-y, br-x and br-y option ranges, to eliminate compiler warnings
2020-03-20 20:43:12 -07:00
Ralph Little
afdc2a159e
gt68xx: corrected | character to || to fix warning.
2020-03-20 20:27:52 -07:00
Ralph Little
db9e4d4729
mustek: added clarifying brackets to expression.
2020-03-20 19:37:35 -07:00
Ralph Little
bc57c7ce5f
kvs20xx: added clarifying brackets to expression.
2020-03-20 19:37:00 -07:00
Ralph Little
7a86b487bd
sanei: corrected fd validity check, which always used to fail.
2020-03-20 19:28:56 -07:00
Povilas Kanapickas
ef583d54f2
genesys: Rename dpiset_override to register_dpiset
2020-03-21 00:11:32 +02:00
Povilas Kanapickas
5bcb5f3e80
genesys: Simplify shading resolution calculation on gl646
2020-03-21 00:11:31 +02:00
Povilas Kanapickas
c8c9deaf6d
genesys: Simplify dpiset calculation on gl646
2020-03-21 00:11:30 +02:00
Povilas Kanapickas
989782bd72
genesys: Simplify dpiset calculation on gl847
2020-03-21 00:11:29 +02:00
Povilas Kanapickas
a43d362b7b
genesys: Simplify dpiset calculation on gl845/gl846
2020-03-21 00:11:28 +02:00
Povilas Kanapickas
4a5f65d2d2
genesys: Verify that dpiset_override is specified
2020-03-21 00:11:27 +02:00
Povilas Kanapickas
94cfdbfdc6
genesys: Simplify dpiset calculation on gl843
2020-03-21 00:11:26 +02:00
Povilas Kanapickas
d9cd672a43
genesys: Simplify shading data upload on gl841
2020-03-21 00:11:25 +02:00
Povilas Kanapickas
459c62c131
genesys: Simplify dpiset calculation on gl841
2020-03-21 00:11:24 +02:00
Povilas Kanapickas
cce3cdeaab
genesys: Update all sensors with calibrated exposure on gl841
2020-03-21 00:11:23 +02:00
Povilas Kanapickas
38cf079e99
genesys: Simplify dpihw register setup on gl841
2020-03-21 00:11:22 +02:00
Povilas Kanapickas
692178eade
genesys: Simplify dpiset calculation on gl124
2020-03-21 00:11:21 +02:00
Povilas Kanapickas
79e403bb89
genesys: Simplify register setup on gl841
2020-03-21 00:11:20 +02:00