[sane-devel] HP5590 and scanbd button recognition

Tony Kinyua tony at kysh.me.ke
Mon Oct 15 12:38:43 BST 2018


Hello Bernard,

I upgraded to 18.04 LTS. All my config files remain the same (From backups) but for some reason the scanner is now not accessible.

I can find the scanner via sane-find-scanner tool

"found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x1705 [hp scanjet scanner]) at libusb:001:004”

Since am using scannbd I then start scanned in the foreground with 

scanbd -fd -c /etc/scanbd/scanbd.conf

Output is as below;

scanbd: debug on: level: 7
scanbd: dropping privs to uid saned
scanbd: dropping privs to gid scanner
scanbd: group scanner has member:
scanbd: saned
scanbd: tony
scanbd: drop privileges to gid: 123
scanbd: Running as effective gid 123
scanbd: drop privileges to uid: 120
scanbd: Running as effective uid 120
scanbd: dbus_init
scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager'
scanbd: SANE_CONFIG_DIR not set
scanbd: sane version 1.0
scanbd: Scanning for local-only devices
scanbd: start_sane_threads
scanbd: no devices, not starting any polling thread

What is jumping out to me is the SANE_CONFIG_DIR not set line yet my /etc/scanbd/scanbd.conf has this line uncommented

saned_env  = { "SANE_CONFIG_DIR=/etc/scanbd/sane.d" } # list of environment vars for saned

so why would scanbd say the directory is not set?

Regards
Tony

> On 11 Sep 2018, at 18:36, Tony Kinyua <tony at kysh.me.ke> wrote:
> 
> Hello Bernard,
> 
>> On 10 Sep 2018, at 22:30, Bernard Badeer <bb3138 at live.de <mailto:bb3138 at live.de>> wrote:
>> 
>> Hi Tony:
>> 
>> Support for scanbd with hp5590 is integrated in the current version of sane on Gitlab
>> (https://gitlab.com/sane-project/backends <https://gitlab.com/sane-project/backends>).
> 
> I updated the sane backends via PPA: https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git <https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git>
> 
>> Read here the details on how to use it:
>>     https://alioth-lists.debian.net/pipermail/sane-devel/2018-June/036257.html <https://alioth-lists.debian.net/pipermail/sane-devel/2018-June/036257.html>
> 
> Made a few adjustments to scanbd configuration using the above guidelines. I now have the buttons working.
> 
> With this complete all the functions of the scanner are working in Linux as they would in Windows but with more fine grained control.
> 
> Thank You and Best Regards
> Tony
> -- 
> sane-devel mailing list: sane-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>             to sane-devel-request at lists.alioth.debian.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20181015/ea78592d/attachment.html>


More information about the sane-devel mailing list