summaryrefslogtreecommitdiff
path: root/data/logs/README.md
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-04-13 15:51:22 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-04-13 15:51:22 +0200
commit8067958728bf3ebc9784bfb1d9fd842946e95824 (patch)
tree13cdebf6c35e4d596145af2ed959761e6f110ebc /data/logs/README.md
parentf359f4dcae47a69031b5ae719131c980f9160e47 (diff)
parent81b704e9e098c84fc79243e383e8633c45d02b94 (diff)
Merge branch 'release/debian/3.36.1-1'debian/3.36.1-1
Diffstat (limited to 'data/logs/README.md')
-rw-r--r--data/logs/README.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/data/logs/README.md b/data/logs/README.md
new file mode 100644
index 0000000..4e5e370
--- /dev/null
+++ b/data/logs/README.md
@@ -0,0 +1,36 @@
+
+# Introduction
+
+The purpose of logs, is to gather information about options of different scanners.
+
+# How to use it
+
+If you would like to check minimum and maximum values of the `brightness`, you could type:
+```
+ $ cd data/descriptors
+ $ git grep name=\'brightness\'
+```
+The output of this command will be for example:
+```
+Canon_LiDE_220.log:[+5,91s] DEBUG: scanner.vala:735: Option 24: name='brightness' title='Brightness' type=int size=4 min=-100, max=100, quant=1 cap=soft-select,soft-detect
+Epson_NX300.log:[+58,31s] DEBUG: Option 6: name='brightness' title='Brightness' type=int size=4 min=0, max=0, quant=0 cap=soft-select,soft-detect,inactive
+Hewlett-Packard_Officejet_4630_series.log:[+10,75s] DEBUG: scanner.vala:742: Option 6: name='brightness' title='Brightness' type=int size=4 min=0, max=2000, quant=0 cap=soft-select,soft-detect,advanced
+````
+
+The first word is the file name (eg. `Canon_LiDE_220.log`), which corresponding to Scanner/Printer model.
+You could notice that for `Canon_LiDE_220` the `brightness` range is `-100,100`,
+for `Epson_NX300` it is `0,0`, as the descriptor is inactive and for `HP_4630` the range is `0,2000`.
+
+# How to add new logs
+
+1. Run simple scan in debug mode:
+
+ $ simple-scan --debug
+
+1. Press scan button
+
+1. Create new `.log` file
+
+1. Copy logs from terminal to a new file
+
+1. Create Merge Request