<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks Wilhelm,<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 15 Oct 2018, at 15:35, Wilhelm Meier <<a href="mailto:wilhelm.wm.meier@googlemail.com" class="">wilhelm.wm.meier@googlemail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Hi,</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">scanbd needs SANE_CONFIG_DIR to find the scanners because it uses sane.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">So, SANE_CONFIG_DIR is usually setup by your startup-script, etc.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote><div><br class=""></div>I decided to clean up the config and start afresh rather that use the backed up config files. Still ploughing through it but at least SANE is working. </div><div><br class=""></div><div>Working on SCANBD now</div><div><br class=""></div><div>Regards</div><div>Tony<br class=""><blockquote type="cite" class=""><div class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">HTH,</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Wilhelm</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Am 15.10.18 um 13:38 schrieb Tony Kinyua:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Hello Bernard,<br class=""><br class="">I upgraded to 18.04 LTS. All my config files remain the same (From<br class="">backups) but for some reason the scanner is now not accessible.<br class=""><br class="">I can find the scanner via sane-find-scanner tool<br class=""><br class="">"found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x1705 [hp<br class="">scanjet scanner]) at libusb:001:004”<br class=""><br class="">Since am using scannbd I then start scanned in the foreground with <br class=""><br class="">scanbd -fd -c /etc/scanbd/scanbd.conf<br class=""><br class="">Output is as below;<br class=""><br class="">scanbd: debug on: level: 7<br class="">scanbd: dropping privs to uid saned<br class="">scanbd: dropping privs to gid scanner<br class="">scanbd: group scanner has member:<br class="">scanbd: saned<br class="">scanbd: tony<br class="">scanbd: drop privileges to gid: 123<br class="">scanbd: Running as effective gid 123<br class="">scanbd: drop privileges to uid: 120<br class="">scanbd: Running as effective uid 120<br class="">scanbd: dbus_init<br class="">scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager'<br class="">*scanbd: SANE_CONFIG_DIR not set*<br class="">scanbd: sane version 1.0<br class="">scanbd: Scanning for local-only devices<br class="">scanbd: start_sane_threads<br class="">scanbd: no devices, not starting any polling thread<br class=""><br class="">What is jumping out to me is the SANE_CONFIG_DIR not set line yet my<br class="">/etc/scanbd/scanbd.conf has this line uncommented<br class=""><br class="">saned_env  = { "SANE_CONFIG_DIR=/etc/scanbd/sane.d" } # list of<br class="">environment vars for saned<br class=""><br class="">so why would scanbd say the directory is not set?<br class=""><br class="">Regards<br class="">Tony<br class=""><br class=""><blockquote type="cite" class="">On 11 Sep 2018, at 18:36, Tony Kinyua <<a href="mailto:tony@kysh.me.ke" class="">tony@kysh.me.ke</a><br class=""><<a href="mailto:tony@kysh.me.ke" class="">mailto:tony@kysh.me.ke</a>>> wrote:<br class=""><br class="">Hello Bernard,<br class=""><br class=""><blockquote type="cite" class="">On 10 Sep 2018, at 22:30, Bernard Badeer <<a href="mailto:bb3138@live.de" class="">bb3138@live.de</a><br class=""><<a href="mailto:bb3138@live.de" class="">mailto:bb3138@live.de</a>>> wrote:<br class=""><br class="">Hi Tony:<br class=""><br class="">Support for scanbd with hp5590 is integrated in the current version<br class="">of sane on Gitlab<br class="">(<a href="https://gitlab.com/sane-project/backends" class="">https://gitlab.com/sane-project/backends</a>).<br class=""></blockquote><br class="">I updated the sane backends<br class="">via PPA: <a href="https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git" class="">https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git</a><br class=""><<a href="https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git" class="">https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git</a>><br class=""><br class=""><blockquote type="cite" class="">Read here the details on how to use it:<br class="">   <br class=""><a href="https://alioth-lists.debian.net/pipermail/sane-devel/2018-June/036257.html" class="">https://alioth-lists.debian.net/pipermail/sane-devel/2018-June/036257.html</a><br class=""></blockquote><br class="">Made a few adjustments to scanbd configuration using the above<br class="">guidelines. I now have the buttons working.<br class=""><br class="">With this complete all the functions of the scanner are working in<br class="">Linux as they would in Windows but with more fine grained control.<br class=""><br class="">Thank You and Best Regards<br class="">Tony<br class="">--<span class="Apple-converted-space"> </span><br class="">sane-devel mailing list:<span class="Apple-converted-space"> </span><a href="mailto:sane-devel@alioth-lists.debian.net" class="">sane-devel@alioth-lists.debian.net</a><br class=""><<a href="mailto:sane-devel@alioth-lists.debian.net" class="">mailto:sane-devel@alioth-lists.debian.net</a>><br class=""><a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel" class="">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel</a><br class="">Unsubscribe: Send mail with subject "unsubscribe your_password"<br class="">            to<span class="Apple-converted-space"> </span><a href="mailto:sane-devel-request@lists.alioth.debian.org" class="">sane-devel-request@lists.alioth.debian.org</a></blockquote></blockquote></div></blockquote></div><br class=""></body></html>