EanderAlx.org

Linux, Virtualization and whatever I find interesting ...

User Tools


Site Tools


linux:scanner_lide110

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:scanner_lide110 [27.10.2013 17:49] – [Network Scanner] eanderalxlinux:scanner_lide110 [28.10.2013 17:58] (current) eanderalx
Line 5: Line 5:
 So hear the setup for an [[http://www.canon.de/For_Home/Product_Finder/Scanners/Flatbed/canoscan_lide_110/|Canon CanoScan LiDE 110]] scanner. So hear the setup for an [[http://www.canon.de/For_Home/Product_Finder/Scanners/Flatbed/canoscan_lide_110/|Canon CanoScan LiDE 110]] scanner.
 ~~READMORE~~ ~~READMORE~~
-<note important>Work in progress</note> +Most configuration work out of the box. Important is //don't use scanbuttond//it's no longer really maintained and complicated when you want to use it with scanners that are not supported by default additionally it seems to have some usb issues on Arch Linux because theoretical, it would detect my scanner after patching sources.
-Most configuration work out of the box. Important is //don't use scanbuttond// it's no longer really maintained and complicated when you want to use it with scanners that are not supported by default additionaly it seems to have some usb issues on Arch Linux because theoretical, it would detect my scanner after patching sources.+
 ===== Software ===== ===== Software =====
  
 The software chosen for this is [[https://wiki.archlinux.org/index.php/Scanner_Button_Daemon|scanbd]] which work with [[http://www.sane-project.org/|sane]]. The software chosen for this is [[https://wiki.archlinux.org/index.php/Scanner_Button_Daemon|scanbd]] which work with [[http://www.sane-project.org/|sane]].
-scanbd and the included socket will made the scanner accessible und read the buttons pressed. Sane itself is importent for its available config for all the scanner and for local scanning.+scanbd and the included socket will made the scanner accessible and read the buttons pressed. Sane itself is important for its config for all the scanner and for local scanning.
  
 I've made these with: I've made these with:
Line 29: Line 28:
 cp /etc/sane.d/* /etc/scanbd/sane.d/ cp /etc/sane.d/* /etc/scanbd/sane.d/
 </code> </code>
-tell the local sane only to use network scanner so it won't block the scanner, later the scanner is accessible via a socket for the local sane.+tell the local sane only to use network scanner so it won't block the scanner. We will make the scanner accessible via a socket for the local sane.
 <code bash /etc/sane.d/dll.conf> <code bash /etc/sane.d/dll.conf>
 net net
Line 37: Line 36:
 localhost # scanbm is listening on localhost localhost # scanbm is listening on localhost
 </code> </code>
-configure scanbd's sane part to not use network+configure scanbd's sane part to **not** use network
 <code bash /etc/scanbd/sane.d/dll.conf> <code bash /etc/scanbd/sane.d/dll.conf>
 #net #net
-pixma +genesys
-epson2+
 #... whatever other scanner backend needed ... #... whatever other scanner backend needed ...
 </code> </code>
-When I installed scanbd the default config was full debuging loglevel. Change this bevor you start scanbd to save disk space on your system.+When I installed scanbd inside the default config was full debuging loglevel enabled. Change this before you start scanbd to save disk space on your system.
 <code bash /etc/scanbd/scanbd.conf> <code bash /etc/scanbd/scanbd.conf>
 ... ...
Line 62: Line 60:
         }         }
 </code> </code>
-enable and start services and socket+enable and start services and the socket
 <code bash> <code bash>
 systemctl enable scanbd.service systemctl enable scanbd.service
Line 72: Line 70:
 Now you should see an action to buttom pressed in your log. Now you should see an action to buttom pressed in your log.
 ==== Action Script ==== ==== Action Script ====
- 
 But you need an useful action script to do something when one buttom is pressed. But you need an useful action script to do something when one buttom is pressed.
  
Line 130: Line 127:
 </code> </code>
 ===== Network Scanner ===== ===== Network Scanner =====
- 
 With sane you can use your scanner via network and XSane or scanimage on an desktop installation. With sane you can use your scanner via network and XSane or scanimage on an desktop installation.
   - edit ''/etc/scanbd/sane.d/saned.conf'' and allow your ip range, no service restart is needed because saned is loaded when anyone connect to the socket   - edit ''/etc/scanbd/sane.d/saned.conf'' and allow your ip range, no service restart is needed because saned is loaded when anyone connect to the socket
   - edit ''/etc/sane.d/net.conf'' on your client and set the right server   - edit ''/etc/sane.d/net.conf'' on your client and set the right server
   - search for scanners on the client ''scanimage -L''   - search for scanners on the client ''scanimage -L''
- 
- 
- 
 ===== Links ===== ===== Links =====
 +> https://wiki.archlinux.org/index.php/Scanner_Button_Daemon
 > http://en.wikipedia.org/wiki/Scanner_Access_Now_Easy > http://en.wikipedia.org/wiki/Scanner_Access_Now_Easy
  
linux/scanner_lide110.txt · Last modified: 28.10.2013 17:58 by eanderalx