Re: [sane-devel] HP5590 and scanbd button recognition

2018-04-11 Thread Ilia Sotnikov
Damiano,
apologies for a delay on my side - had just a quick look over the patch and it 
seems ok to me overall, just had no time to apply it. Sorry for that. Hopefully 
would be able to make it on coming weekend.

---
 Ilia Sotnikov

> On Apr 9, 2018, at 2:01 PM, Cesello  
>  wrote:
> 
> Hi Ilia,
> some news about my patch on hp5590.c ? Was usefull ? Un-usefull ? Very 
> Bad thing ? :)
> 
> Let me know
> Damiano
> 
> 
>> On 13/03/2018 20:56, Ilia Sotnikov wrote:
>> Excellent, thanks Damiano! As a quick step you could send the patch over to 
>> the DL and I’ll adapt it if needed. Or you could create a merge request, 
>> which would be more elegant though require additional steps.
>> ---
>> Ilia Sotnikov
>> 
>>> On Mar 13, 2018, at 21:29, Cesello  wrote:
>>> 
>>> Hi Ilia and Jared
>>> I'm just registered to this ML to propose my patch to this back end
>>> driver made in the past weekend.
>>> And I see someone have my same problem :)
>>> I've used hp5590 scanner with scanbuttond for years. Some week ago I've
>>> upgraded my system to debian 9 and
>>> discovered that scanbd does not works anymore with my scanner. I really
>>> need this functionality so I've made
>>> modifications to hp5590.c code to export the options .
>>> Is a first attempt and the backend called by scanbd threads makes
>>> buttons quite  responsive
>>> without using a self polling thread.
>>> I've made a patch file for debian 9  stable version package (yes but the
>>> real patch is for hp5590.c only)
>>> If you are interested I can send it (or tell me if I have to release
>>> into the repo directly I'm new user here :))
>>> 
>>> Damiano
>>> 
 On 07/03/2018 14:01, hostcc at gmail.com (Ilia Sotnikov) wrote:
 Hi,
 backend author here - it shouldn't be too much of effort to expose
 button status so scanbd can use it. Though haven't gone thru its
 documentation to understand requirements. As a technical insight -
 there is hp5590_read_buttons() function in hp5590_cmds.c that reads
 button status.
 However, I'll seek for a volunteer to test a change as I don't have
 access to HW currently.
 
 On Wed, Mar 7, 2018 at 12:40 AM, Wilhelm Meier
  wrote:
> Please try the old scanbuttond-backend for this type of scanner - it
> should work. The HP sane backend sadly doesn't support the buttons on
> this scanner.
> 
> Am 06.03.2018 um 15:46 schrieb Jared Hedegaard:
>>> Main question: does the HP 5590 support button presses or am I just 
>>> setting this up incorrectly?
>>> 
>>> I'm been successful using scanbd with SANE backends to get scanning 
>>> working over my network and locally on the host machine, but I can't 
>>> seem to get it to recognize button presses, either running scanbd in 
>>> foreground or background.
>>> 
>>> For past testing, it seems that actions defined in scanbd.conf are used 
>>> to tie to the backend options? From searching /var/log/syslog, I 
>>> expected to track button presses or get some sort of trigger feedback, 
>>> and I didn't think I needed an action set up for it.
>>> 
>>> Any help on this one would be much appreciated. Thanks.
>>> 
>>> Jared H
>>> 
>> After a bit more research, it looks like doing this with the SANE 
>> backend for HP 5590 is not possible. scanbd is used to tie custom 
>> actions to the options available on the scanner. In this case, none of 
>> the 10 options seem to return values. They all look to be ones that I 
>> designate from some client software.
>> 
>> scanbd: found active option[1] tl-x (type: 2) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[2] tl-y (type: 2) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[3] br-x (type: 2) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[4] br-y (type: 2) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[5] mode (type: 3) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[6] source (type: 3) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[7] resolution (type: 1) for device 
>> hp5590:libusb:001:008 scanbd: found active option[8] extend-lamp-timeout 
>> (type: 0) for device hp5590:libusb:001:008
>> scanbd: found active option[9] wait-for-button (type: 0) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[10] preview (type: 0) for device 
>> hp5590:libusb:001:008
>> 
>> In this case, it looks like I will have to try the old scanbuttond 
>> backends for this, or see if there are optional enhancements for the 
>> SANE hp5590 backend.
>> 
>> Jared
>> 
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>

Re: [sane-devel] HP5590 and scanbd button recognition

2018-04-09 Thread Cesello
Hi Ilia,
some news about my patch on hp5590.c ? Was usefull ? Un-usefull ? Very 
Bad thing ? :)

Let me know
Damiano


On 13/03/2018 20:56, Ilia Sotnikov wrote:
> Excellent, thanks Damiano! As a quick step you could send the patch over to 
> the DL and I’ll adapt it if needed. Or you could create a merge request, 
> which would be more elegant though require additional steps.
> ---
>  Ilia Sotnikov
>
>> On Mar 13, 2018, at 21:29, Cesello  wrote:
>>
>> Hi Ilia and Jared
>> I'm just registered to this ML to propose my patch to this back end
>> driver made in the past weekend.
>> And I see someone have my same problem :)
>> I've used hp5590 scanner with scanbuttond for years. Some week ago I've
>> upgraded my system to debian 9 and
>> discovered that scanbd does not works anymore with my scanner. I really
>> need this functionality so I've made
>> modifications to hp5590.c code to export the options .
>> Is a first attempt and the backend called by scanbd threads makes
>> buttons quite  responsive
>> without using a self polling thread.
>> I've made a patch file for debian 9  stable version package (yes but the
>> real patch is for hp5590.c only)
>> If you are interested I can send it (or tell me if I have to release
>> into the repo directly I'm new user here :))
>>
>> Damiano
>>
>>> On 07/03/2018 14:01, hostcc at gmail.com (Ilia Sotnikov) wrote:
>>> Hi,
>>> backend author here - it shouldn't be too much of effort to expose
>>> button status so scanbd can use it. Though haven't gone thru its
>>> documentation to understand requirements. As a technical insight -
>>> there is hp5590_read_buttons() function in hp5590_cmds.c that reads
>>> button status.
>>> However, I'll seek for a volunteer to test a change as I don't have
>>> access to HW currently.
>>>
>>> On Wed, Mar 7, 2018 at 12:40 AM, Wilhelm Meier
>>>  wrote:
 Please try the old scanbuttond-backend for this type of scanner - it
 should work. The HP sane backend sadly doesn't support the buttons on
 this scanner.

 Am 06.03.2018 um 15:46 schrieb Jared Hedegaard:
>> Main question: does the HP 5590 support button presses or am I just 
>> setting this up incorrectly?
>>
>> I'm been successful using scanbd with SANE backends to get scanning 
>> working over my network and locally on the host machine, but I can't 
>> seem to get it to recognize button presses, either running scanbd in 
>> foreground or background.
>>
>> For past testing, it seems that actions defined in scanbd.conf are used 
>> to tie to the backend options? From searching /var/log/syslog, I 
>> expected to track button presses or get some sort of trigger feedback, 
>> and I didn't think I needed an action set up for it.
>>
>> Any help on this one would be much appreciated. Thanks.
>>
>> Jared H
>>
> After a bit more research, it looks like doing this with the SANE backend 
> for HP 5590 is not possible. scanbd is used to tie custom actions to the 
> options available on the scanner. In this case, none of the 10 options 
> seem to return values. They all look to be ones that I designate from 
> some client software.
>
> scanbd: found active option[1] tl-x (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[2] tl-y (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[3] br-x (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[4] br-y (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[5] mode (type: 3) for device 
> hp5590:libusb:001:008
> scanbd: found active option[6] source (type: 3) for device 
> hp5590:libusb:001:008
> scanbd: found active option[7] resolution (type: 1) for device 
> hp5590:libusb:001:008 scanbd: found active option[8] extend-lamp-timeout 
> (type: 0) for device hp5590:libusb:001:008
> scanbd: found active option[9] wait-for-button (type: 0) for device 
> hp5590:libusb:001:008
> scanbd: found active option[10] preview (type: 0) for device 
> hp5590:libusb:001:008
>
> In this case, it looks like I will have to try the old scanbuttond 
> backends for this, or see if there are optional enhancements for the SANE 
> hp5590 backend.
>
> Jared
>
 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-request at lists.alioth.debian.org
>>>
>>
>> -- 
>> sane-devel mailing list: sane-devel@lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>> to sane-devel-requ...@lists.alioth.debian.org



-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.al

[sane-devel] HP5590 and scanbd button recognition

2018-03-13 Thread Cesello
Ops a missing important info:

The patch is for hp5590.c in the git repo 
https://gitlab.com/sane-project/backends.git
tag RELEASE_1_0_25.
I've choose that version  because is the last in debian stable.

Damiano




On 13/03/2018 20:56, Ilia Sotnikov wrote:
> Excellent, thanks Damiano! As a quick step you could send the patch over to 
> the DL and I’ll adapt it if needed. Or you could create a merge request, 
> which would be more elegant though require additional steps.
> ---
>  Ilia Sotnikov
>
>> On Mar 13, 2018, at 21:29, Cesello  wrote:
>>
>> Hi Ilia and Jared
>> I'm just registered to this ML to propose my patch to this back end
>> driver made in the past weekend.
>> And I see someone have my same problem :)
>> I've used hp5590 scanner with scanbuttond for years. Some week ago I've
>> upgraded my system to debian 9 and
>> discovered that scanbd does not works anymore with my scanner. I really
>> need this functionality so I've made
>> modifications to hp5590.c code to export the options .
>> Is a first attempt and the backend called by scanbd threads makes
>> buttons quite  responsive
>> without using a self polling thread.
>> I've made a patch file for debian 9  stable version package (yes but the
>> real patch is for hp5590.c only)
>> If you are interested I can send it (or tell me if I have to release
>> into the repo directly I'm new user here :))
>>
>> Damiano
>>
>>> On 07/03/2018 14:01, hostcc at gmail.com (Ilia Sotnikov) wrote:
>>> Hi,
>>> backend author here - it shouldn't be too much of effort to expose
>>> button status so scanbd can use it. Though haven't gone thru its
>>> documentation to understand requirements. As a technical insight -
>>> there is hp5590_read_buttons() function in hp5590_cmds.c that reads
>>> button status.
>>> However, I'll seek for a volunteer to test a change as I don't have
>>> access to HW currently.
>>>
>>> On Wed, Mar 7, 2018 at 12:40 AM, Wilhelm Meier
>>>  wrote:
 Please try the old scanbuttond-backend for this type of scanner - it
 should work. The HP sane backend sadly doesn't support the buttons on
 this scanner.

 Am 06.03.2018 um 15:46 schrieb Jared Hedegaard:
>> Main question: does the HP 5590 support button presses or am I just 
>> setting this up incorrectly?
>>
>> I'm been successful using scanbd with SANE backends to get scanning 
>> working over my network and locally on the host machine, but I can't 
>> seem to get it to recognize button presses, either running scanbd in 
>> foreground or background.
>>
>> For past testing, it seems that actions defined in scanbd.conf are used 
>> to tie to the backend options? From searching /var/log/syslog, I 
>> expected to track button presses or get some sort of trigger feedback, 
>> and I didn't think I needed an action set up for it.
>>
>> Any help on this one would be much appreciated. Thanks.
>>
>> Jared H
>>
> After a bit more research, it looks like doing this with the SANE backend 
> for HP 5590 is not possible. scanbd is used to tie custom actions to the 
> options available on the scanner. In this case, none of the 10 options 
> seem to return values. They all look to be ones that I designate from 
> some client software.
>
> scanbd: found active option[1] tl-x (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[2] tl-y (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[3] br-x (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[4] br-y (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[5] mode (type: 3) for device 
> hp5590:libusb:001:008
> scanbd: found active option[6] source (type: 3) for device 
> hp5590:libusb:001:008
> scanbd: found active option[7] resolution (type: 1) for device 
> hp5590:libusb:001:008 scanbd: found active option[8] extend-lamp-timeout 
> (type: 0) for device hp5590:libusb:001:008
> scanbd: found active option[9] wait-for-button (type: 0) for device 
> hp5590:libusb:001:008
> scanbd: found active option[10] preview (type: 0) for device 
> hp5590:libusb:001:008
>
> In this case, it looks like I will have to try the old scanbuttond 
> backends for this, or see if there are optional enhancements for the SANE 
> hp5590 backend.
>
> Jared
>
 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-request at lists.alioth.debian.org
>>>
>>
>> -- 
>> sane-devel mailing list: sane-devel@lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>> to sane-devel-requ...@lists.ali

[sane-devel] HP5590 and scanbd button recognition

2018-03-13 Thread Cesello
Hi Ilia et all
attached to this message is the patch (hope mailman engine does not
strip it out :))
Basically exports all missing options as buttons and fix a small problem
I've found interacting with scanbd.
I've tested during the weekend and last days (as real user , I missed
this feature for two months after debian upgrade)
and it seems to work.
Sometime the buttons are less responsive (it depends from scheduled
calls to options made by scanbd)
Probably a better approach could be a separate polling thread (maybe a
next version :))
but for now is quite usable.
I've tested with normal sane application too and with scanbm (for
network scanning and desktop shared scanner)
and no problems at all
Sorry for some erratic indentation.. I've used a
"week-end-found-bad-editor" that mixed up tab and blank spaces

Let me know
Happy PI Day ;)

Damiano

On 13/03/2018 20:56, Ilia Sotnikov wrote:
> Excellent, thanks Damiano! As a quick step you could send the patch over to 
> the DL and I’ll adapt it if needed. Or you could create a merge request, 
> which would be more elegant though require additional steps.
> ---
>  Ilia Sotnikov
>
>> On Mar 13, 2018, at 21:29, Cesello  wrote:
>>
>> Hi Ilia and Jared
>> I'm just registered to this ML to propose my patch to this back end
>> driver made in the past weekend.
>> And I see someone have my same problem :)
>> I've used hp5590 scanner with scanbuttond for years. Some week ago I've
>> upgraded my system to debian 9 and
>> discovered that scanbd does not works anymore with my scanner. I really
>> need this functionality so I've made
>> modifications to hp5590.c code to export the options .
>> Is a first attempt and the backend called by scanbd threads makes
>> buttons quite  responsive
>> without using a self polling thread.
>> I've made a patch file for debian 9  stable version package (yes but the
>> real patch is for hp5590.c only)
>> If you are interested I can send it (or tell me if I have to release
>> into the repo directly I'm new user here :))
>>
>> Damiano
>>
>>> On 07/03/2018 14:01, hostcc at gmail.com (Ilia Sotnikov) wrote:
>>> Hi,
>>> backend author here - it shouldn't be too much of effort to expose
>>> button status so scanbd can use it. Though haven't gone thru its
>>> documentation to understand requirements. As a technical insight -
>>> there is hp5590_read_buttons() function in hp5590_cmds.c that reads
>>> button status.
>>> However, I'll seek for a volunteer to test a change as I don't have
>>> access to HW currently.
>>>
>>> On Wed, Mar 7, 2018 at 12:40 AM, Wilhelm Meier
>>>  wrote:
 Please try the old scanbuttond-backend for this type of scanner - it
 should work. The HP sane backend sadly doesn't support the buttons on
 this scanner.

 Am 06.03.2018 um 15:46 schrieb Jared Hedegaard:
>> Main question: does the HP 5590 support button presses or am I just 
>> setting this up incorrectly?
>>
>> I'm been successful using scanbd with SANE backends to get scanning 
>> working over my network and locally on the host machine, but I can't 
>> seem to get it to recognize button presses, either running scanbd in 
>> foreground or background.
>>
>> For past testing, it seems that actions defined in scanbd.conf are used 
>> to tie to the backend options? From searching /var/log/syslog, I 
>> expected to track button presses or get some sort of trigger feedback, 
>> and I didn't think I needed an action set up for it.
>>
>> Any help on this one would be much appreciated. Thanks.
>>
>> Jared H
>>
> After a bit more research, it looks like doing this with the SANE backend 
> for HP 5590 is not possible. scanbd is used to tie custom actions to the 
> options available on the scanner. In this case, none of the 10 options 
> seem to return values. They all look to be ones that I designate from 
> some client software.
>
> scanbd: found active option[1] tl-x (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[2] tl-y (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[3] br-x (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[4] br-y (type: 2) for device 
> hp5590:libusb:001:008
> scanbd: found active option[5] mode (type: 3) for device 
> hp5590:libusb:001:008
> scanbd: found active option[6] source (type: 3) for device 
> hp5590:libusb:001:008
> scanbd: found active option[7] resolution (type: 1) for device 
> hp5590:libusb:001:008 scanbd: found active option[8] extend-lamp-timeout 
> (type: 0) for device hp5590:libusb:001:008
> scanbd: found active option[9] wait-for-button (type: 0) for device 
> hp5590:libusb:001:008
> scanbd: found active option[10] preview (type: 0) for device 
> hp5590:libusb:001:008
>
> In this case, it looks like I will have to try the old scanbuttond 
> backends for this, or see 

Re: [sane-devel] HP5590 and scanbd button recognition

2018-03-13 Thread Wilhelm Meier
Hi together,

if this is a patch for scanbd and the old scanbuttond backends included
there, please send the patch to this list. I'll be happy to integrate it
into scanbd.

Thanks,
 Wilhelm

Am 13.03.2018 um 19:29 schrieb Cesello:
> Hi Ilia and Jared
> I'm just registered to this ML to propose my patch to this back end
> driver made in the past weekend.
> And I see someone have my same problem :)
> I've used hp5590 scanner with scanbuttond for years. Some week ago I've
> upgraded my system to debian 9 and
> discovered that scanbd does not works anymore with my scanner. I really
> need this functionality so I've made
> modifications to hp5590.c code to export the options .
> Is a first attempt and the backend called by scanbd threads makes
> buttons quite  responsive
> without using a self polling thread.
> I've made a patch file for debian 9  stable version package (yes but the
> real patch is for hp5590.c only)
> If you are interested I can send it (or tell me if I have to release
> into the repo directly I'm new user here :))
> 
> Damiano
> 
> On 07/03/2018 14:01, hostcc at gmail.com (Ilia Sotnikov) wrote:
>> Hi,
>> backend author here - it shouldn't be too much of effort to expose
>> button status so scanbd can use it. Though haven't gone thru its
>> documentation to understand requirements. As a technical insight -
>> there is hp5590_read_buttons() function in hp5590_cmds.c that reads
>> button status.
>> However, I'll seek for a volunteer to test a change as I don't have
>> access to HW currently.
>>
>> On Wed, Mar 7, 2018 at 12:40 AM, Wilhelm Meier
>>  wrote:
>>> Please try the old scanbuttond-backend for this type of scanner - it
>>> should work. The HP sane backend sadly doesn't support the buttons on
>>> this scanner.
>>>
>>> Am 06.03.2018 um 15:46 schrieb Jared Hedegaard:
> Main question: does the HP 5590 support button presses or am I just 
> setting this up incorrectly?
>
> I'm been successful using scanbd with SANE backends to get scanning 
> working over my network and locally on the host machine, but I can't seem 
> to get it to recognize button presses, either running scanbd in 
> foreground or background.
>
> For past testing, it seems that actions defined in scanbd.conf are used 
> to tie to the backend options? From searching /var/log/syslog, I expected 
> to track button presses or get some sort of trigger feedback, and I 
> didn't think I needed an action set up for it.
>
> Any help on this one would be much appreciated. Thanks.
>
> Jared H
>
 After a bit more research, it looks like doing this with the SANE backend 
 for HP 5590 is not possible. scanbd is used to tie custom actions to the 
 options available on the scanner. In this case, none of the 10 options 
 seem to return values. They all look to be ones that I designate from some 
 client software.

 scanbd: found active option[1] tl-x (type: 2) for device 
 hp5590:libusb:001:008
 scanbd: found active option[2] tl-y (type: 2) for device 
 hp5590:libusb:001:008
 scanbd: found active option[3] br-x (type: 2) for device 
 hp5590:libusb:001:008
 scanbd: found active option[4] br-y (type: 2) for device 
 hp5590:libusb:001:008
 scanbd: found active option[5] mode (type: 3) for device 
 hp5590:libusb:001:008
 scanbd: found active option[6] source (type: 3) for device 
 hp5590:libusb:001:008
 scanbd: found active option[7] resolution (type: 1) for device 
 hp5590:libusb:001:008 scanbd: found active option[8] extend-lamp-timeout 
 (type: 0) for device hp5590:libusb:001:008
 scanbd: found active option[9] wait-for-button (type: 0) for device 
 hp5590:libusb:001:008
 scanbd: found active option[10] preview (type: 0) for device 
 hp5590:libusb:001:008

 In this case, it looks like I will have to try the old scanbuttond 
 backends for this, or see if there are optional enhancements for the SANE 
 hp5590 backend.

 Jared

>>>
>>> --
>>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>>  to sane-devel-request at lists.alioth.debian.org
>>
>>
> 
> 


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] HP5590 and scanbd button recognition

2018-03-13 Thread Ilia Sotnikov
Excellent, thanks Damiano! As a quick step you could send the patch over to the 
DL and I’ll adapt it if needed. Or you could create a merge request, which 
would be more elegant though require additional steps.
---
 Ilia Sotnikov

> On Mar 13, 2018, at 21:29, Cesello  wrote:
> 
> Hi Ilia and Jared
> I'm just registered to this ML to propose my patch to this back end
> driver made in the past weekend.
> And I see someone have my same problem :)
> I've used hp5590 scanner with scanbuttond for years. Some week ago I've
> upgraded my system to debian 9 and
> discovered that scanbd does not works anymore with my scanner. I really
> need this functionality so I've made
> modifications to hp5590.c code to export the options .
> Is a first attempt and the backend called by scanbd threads makes
> buttons quite  responsive
> without using a self polling thread.
> I've made a patch file for debian 9  stable version package (yes but the
> real patch is for hp5590.c only)
> If you are interested I can send it (or tell me if I have to release
> into the repo directly I'm new user here :))
> 
> Damiano
> 
>> On 07/03/2018 14:01, hostcc at gmail.com (Ilia Sotnikov) wrote:
>> Hi,
>> backend author here - it shouldn't be too much of effort to expose
>> button status so scanbd can use it. Though haven't gone thru its
>> documentation to understand requirements. As a technical insight -
>> there is hp5590_read_buttons() function in hp5590_cmds.c that reads
>> button status.
>> However, I'll seek for a volunteer to test a change as I don't have
>> access to HW currently.
>> 
>> On Wed, Mar 7, 2018 at 12:40 AM, Wilhelm Meier
>>  wrote:
>>> Please try the old scanbuttond-backend for this type of scanner - it
>>> should work. The HP sane backend sadly doesn't support the buttons on
>>> this scanner.
>>> 
>>> Am 06.03.2018 um 15:46 schrieb Jared Hedegaard:
> Main question: does the HP 5590 support button presses or am I just 
> setting this up incorrectly?
> 
> I'm been successful using scanbd with SANE backends to get scanning 
> working over my network and locally on the host machine, but I can't seem 
> to get it to recognize button presses, either running scanbd in 
> foreground or background.
> 
> For past testing, it seems that actions defined in scanbd.conf are used 
> to tie to the backend options? From searching /var/log/syslog, I expected 
> to track button presses or get some sort of trigger feedback, and I 
> didn't think I needed an action set up for it.
> 
> Any help on this one would be much appreciated. Thanks.
> 
> Jared H
> 
 After a bit more research, it looks like doing this with the SANE backend 
 for HP 5590 is not possible. scanbd is used to tie custom actions to the 
 options available on the scanner. In this case, none of the 10 options 
 seem to return values. They all look to be ones that I designate from some 
 client software.
 
 scanbd: found active option[1] tl-x (type: 2) for device 
 hp5590:libusb:001:008
 scanbd: found active option[2] tl-y (type: 2) for device 
 hp5590:libusb:001:008
 scanbd: found active option[3] br-x (type: 2) for device 
 hp5590:libusb:001:008
 scanbd: found active option[4] br-y (type: 2) for device 
 hp5590:libusb:001:008
 scanbd: found active option[5] mode (type: 3) for device 
 hp5590:libusb:001:008
 scanbd: found active option[6] source (type: 3) for device 
 hp5590:libusb:001:008
 scanbd: found active option[7] resolution (type: 1) for device 
 hp5590:libusb:001:008 scanbd: found active option[8] extend-lamp-timeout 
 (type: 0) for device hp5590:libusb:001:008
 scanbd: found active option[9] wait-for-button (type: 0) for device 
 hp5590:libusb:001:008
 scanbd: found active option[10] preview (type: 0) for device 
 hp5590:libusb:001:008
 
 In this case, it looks like I will have to try the old scanbuttond 
 backends for this, or see if there are optional enhancements for the SANE 
 hp5590 backend.
 
 Jared
 
>>> 
>>> --
>>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>> to sane-devel-request at lists.alioth.debian.org
>> 
>> 
> 
> 
> -- 
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-requ...@lists.alioth.debian.org

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

[sane-devel] HP5590 and scanbd button recognition

2018-03-13 Thread Cesello
Hi Ilia and Jared
I'm just registered to this ML to propose my patch to this back end
driver made in the past weekend.
And I see someone have my same problem :)
I've used hp5590 scanner with scanbuttond for years. Some week ago I've
upgraded my system to debian 9 and
discovered that scanbd does not works anymore with my scanner. I really
need this functionality so I've made
modifications to hp5590.c code to export the options .
Is a first attempt and the backend called by scanbd threads makes
buttons quite  responsive
without using a self polling thread.
I've made a patch file for debian 9  stable version package (yes but the
real patch is for hp5590.c only)
If you are interested I can send it (or tell me if I have to release
into the repo directly I'm new user here :))

Damiano

On 07/03/2018 14:01, hostcc at gmail.com (Ilia Sotnikov) wrote:
> Hi,
> backend author here - it shouldn't be too much of effort to expose
> button status so scanbd can use it. Though haven't gone thru its
> documentation to understand requirements. As a technical insight -
> there is hp5590_read_buttons() function in hp5590_cmds.c that reads
> button status.
> However, I'll seek for a volunteer to test a change as I don't have
> access to HW currently.
>
> On Wed, Mar 7, 2018 at 12:40 AM, Wilhelm Meier
>  wrote:
>> Please try the old scanbuttond-backend for this type of scanner - it
>> should work. The HP sane backend sadly doesn't support the buttons on
>> this scanner.
>>
>> Am 06.03.2018 um 15:46 schrieb Jared Hedegaard:
 Main question: does the HP 5590 support button presses or am I just 
 setting this up incorrectly?

 I'm been successful using scanbd with SANE backends to get scanning 
 working over my network and locally on the host machine, but I can't seem 
 to get it to recognize button presses, either running scanbd in foreground 
 or background.

 For past testing, it seems that actions defined in scanbd.conf are used to 
 tie to the backend options? From searching /var/log/syslog, I expected to 
 track button presses or get some sort of trigger feedback, and I didn't 
 think I needed an action set up for it.

 Any help on this one would be much appreciated. Thanks.

 Jared H

>>> After a bit more research, it looks like doing this with the SANE backend 
>>> for HP 5590 is not possible. scanbd is used to tie custom actions to the 
>>> options available on the scanner. In this case, none of the 10 options seem 
>>> to return values. They all look to be ones that I designate from some 
>>> client software.
>>>
>>> scanbd: found active option[1] tl-x (type: 2) for device 
>>> hp5590:libusb:001:008
>>> scanbd: found active option[2] tl-y (type: 2) for device 
>>> hp5590:libusb:001:008
>>> scanbd: found active option[3] br-x (type: 2) for device 
>>> hp5590:libusb:001:008
>>> scanbd: found active option[4] br-y (type: 2) for device 
>>> hp5590:libusb:001:008
>>> scanbd: found active option[5] mode (type: 3) for device 
>>> hp5590:libusb:001:008
>>> scanbd: found active option[6] source (type: 3) for device 
>>> hp5590:libusb:001:008
>>> scanbd: found active option[7] resolution (type: 1) for device 
>>> hp5590:libusb:001:008 scanbd: found active option[8] extend-lamp-timeout 
>>> (type: 0) for device hp5590:libusb:001:008
>>> scanbd: found active option[9] wait-for-button (type: 0) for device 
>>> hp5590:libusb:001:008
>>> scanbd: found active option[10] preview (type: 0) for device 
>>> hp5590:libusb:001:008
>>>
>>> In this case, it looks like I will have to try the old scanbuttond backends 
>>> for this, or see if there are optional enhancements for the SANE hp5590 
>>> backend.
>>>
>>> Jared
>>>
>>
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>  to sane-devel-request at lists.alioth.debian.org
>
>


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] HP5590 and scanbd button recognition

2018-03-07 Thread Jared Hedegaard
Thank you both Ilia and Wilhem.
I'll be testing out scanbuttond backends in the next day or two. 

Ilia, if you need assistance testing any changes, I'd be willing to help if 
need be. I've taken a peek at the backend code, and did see the function you 
mentioned, so I can do a little tinkering on in. Thanks for the insight.

Jared

On March 7, 2018 6:01 AM, Ilia Sotnikov  wrote:

> ​​
> 
> Hi,
> 
> backend author here - it shouldn't be too much of effort to expose
> 
> button status so scanbd can use it. Though haven't gone thru its
> 
> documentation to understand requirements. As a technical insight -
> 
> there is hp5590\_read\_buttons() function in hp5590_cmds.c that reads
> 
> button status.
> 
> However, I'll seek for a volunteer to test a change as I don't have
> 
> access to HW currently.
> 
> On Wed, Mar 7, 2018 at 12:40 AM, Wilhelm Meier
> 
> wilhelm.wm.me...@googlemail.com wrote:
> 
> > Please try the old scanbuttond-backend for this type of scanner - it
> > 
> > should work. The HP sane backend sadly doesn't support the buttons on
> > 
> > this scanner.
> > 
> > Am 06.03.2018 um 15:46 schrieb Jared Hedegaard:
> > 
> > > > Main question: does the HP 5590 support button presses or am I just 
> > > > setting this up incorrectly?
> > > > 
> > > > I'm been successful using scanbd with SANE backends to get scanning 
> > > > working over my network and locally on the host machine, but I can't 
> > > > seem to get it to recognize button presses, either running scanbd in 
> > > > foreground or background.
> > > > 
> > > > For past testing, it seems that actions defined in scanbd.conf are used 
> > > > to tie to the backend options? From searching /var/log/syslog, I 
> > > > expected to track button presses or get some sort of trigger feedback, 
> > > > and I didn't think I needed an action set up for it.
> > > > 
> > > > Any help on this one would be much appreciated. Thanks.
> > > > 
> > > > Jared H
> > > 
> > > After a bit more research, it looks like doing this with the SANE backend 
> > > for HP 5590 is not possible. scanbd is used to tie custom actions to the 
> > > options available on the scanner. In this case, none of the 10 options 
> > > seem to return values. They all look to be ones that I designate from 
> > > some client software.
> > > 
> > > scanbd: found active option\[1\] tl-x (type: 2) for device 
> > > hp5590:libusb:001:008
> > > 
> > > scanbd: found active option\[2\] tl-y (type: 2) for device 
> > > hp5590:libusb:001:008
> > > 
> > > scanbd: found active option\[3\] br-x (type: 2) for device 
> > > hp5590:libusb:001:008
> > > 
> > > scanbd: found active option\[4\] br-y (type: 2) for device 
> > > hp5590:libusb:001:008
> > > 
> > > scanbd: found active option\[5\] mode (type: 3) for device 
> > > hp5590:libusb:001:008
> > > 
> > > scanbd: found active option\[6\] source (type: 3) for device 
> > > hp5590:libusb:001:008
> > > 
> > > scanbd: found active option\[7\] resolution (type: 1) for device 
> > > hp5590:libusb:001:008 scanbd: found active option\[8\] 
> > > extend-lamp-timeout (type: 0) for device hp5590:libusb:001:008
> > > 
> > > scanbd: found active option\[9\] wait-for-button (type: 0) for device 
> > > hp5590:libusb:001:008
> > > 
> > > scanbd: found active option\[10\] preview (type: 0) for device 
> > > hp5590:libusb:001:008
> > > 
> > > In this case, it looks like I will have to try the old scanbuttond 
> > > backends for this, or see if there are optional enhancements for the SANE 
> > > hp5590 backend.
> > > 
> > > Jared
> > 
> > --
> > 
> > sane-devel mailing list: sane-devel@lists.alioth.debian.org
> > 
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> > 
> > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > 
> > to sane-devel-requ...@lists.alioth.debian.org
> 
> --
> 
> Ilia Sotnikov
> -
> 
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> 
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> 
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> 
> to sane-devel-requ...@lists.alioth.debian.org



-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] HP5590 and scanbd button recognition

2018-03-07 Thread Ilia Sotnikov
Hi,
backend author here - it shouldn't be too much of effort to expose
button status so scanbd can use it. Though haven't gone thru its
documentation to understand requirements. As a technical insight -
there is hp5590_read_buttons() function in hp5590_cmds.c that reads
button status.
However, I'll seek for a volunteer to test a change as I don't have
access to HW currently.

On Wed, Mar 7, 2018 at 12:40 AM, Wilhelm Meier
 wrote:
> Please try the old scanbuttond-backend for this type of scanner - it
> should work. The HP sane backend sadly doesn't support the buttons on
> this scanner.
>
> Am 06.03.2018 um 15:46 schrieb Jared Hedegaard:
>>>
>>> Main question: does the HP 5590 support button presses or am I just setting 
>>> this up incorrectly?
>>>
>>> I'm been successful using scanbd with SANE backends to get scanning working 
>>> over my network and locally on the host machine, but I can't seem to get it 
>>> to recognize button presses, either running scanbd in foreground or 
>>> background.
>>>
>>> For past testing, it seems that actions defined in scanbd.conf are used to 
>>> tie to the backend options? From searching /var/log/syslog, I expected to 
>>> track button presses or get some sort of trigger feedback, and I didn't 
>>> think I needed an action set up for it.
>>>
>>> Any help on this one would be much appreciated. Thanks.
>>>
>>> Jared H
>>>
>>
>> After a bit more research, it looks like doing this with the SANE backend 
>> for HP 5590 is not possible. scanbd is used to tie custom actions to the 
>> options available on the scanner. In this case, none of the 10 options seem 
>> to return values. They all look to be ones that I designate from some client 
>> software.
>>
>> scanbd: found active option[1] tl-x (type: 2) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[2] tl-y (type: 2) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[3] br-x (type: 2) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[4] br-y (type: 2) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[5] mode (type: 3) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[6] source (type: 3) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[7] resolution (type: 1) for device 
>> hp5590:libusb:001:008 scanbd: found active option[8] extend-lamp-timeout 
>> (type: 0) for device hp5590:libusb:001:008
>> scanbd: found active option[9] wait-for-button (type: 0) for device 
>> hp5590:libusb:001:008
>> scanbd: found active option[10] preview (type: 0) for device 
>> hp5590:libusb:001:008
>>
>> In this case, it looks like I will have to try the old scanbuttond backends 
>> for this, or see if there are optional enhancements for the SANE hp5590 
>> backend.
>>
>> Jared
>>
>
>
> --
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>  to sane-devel-requ...@lists.alioth.debian.org



-- 
 Ilia Sotnikov

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] HP5590 and scanbd button recognition

2018-03-06 Thread Wilhelm Meier
Please try the old scanbuttond-backend for this type of scanner - it
should work. The HP sane backend sadly doesn't support the buttons on
this scanner.

Am 06.03.2018 um 15:46 schrieb Jared Hedegaard:
>>
>> Main question: does the HP 5590 support button presses or am I just setting 
>> this up incorrectly?
>>
>> I'm been successful using scanbd with SANE backends to get scanning working 
>> over my network and locally on the host machine, but I can't seem to get it 
>> to recognize button presses, either running scanbd in foreground or 
>> background.
>>
>> For past testing, it seems that actions defined in scanbd.conf are used to 
>> tie to the backend options? From searching /var/log/syslog, I expected to 
>> track button presses or get some sort of trigger feedback, and I didn't 
>> think I needed an action set up for it.
>>
>> Any help on this one would be much appreciated. Thanks.
>>
>> Jared H
>>
> 
> After a bit more research, it looks like doing this with the SANE backend for 
> HP 5590 is not possible. scanbd is used to tie custom actions to the options 
> available on the scanner. In this case, none of the 10 options seem to return 
> values. They all look to be ones that I designate from some client software.
> 
> scanbd: found active option[1] tl-x (type: 2) for device 
> hp5590:libusb:001:008 
> scanbd: found active option[2] tl-y (type: 2) for device 
> hp5590:libusb:001:008 
> scanbd: found active option[3] br-x (type: 2) for device 
> hp5590:libusb:001:008 
> scanbd: found active option[4] br-y (type: 2) for device 
> hp5590:libusb:001:008 
> scanbd: found active option[5] mode (type: 3) for device 
> hp5590:libusb:001:008 
> scanbd: found active option[6] source (type: 3) for device 
> hp5590:libusb:001:008 
> scanbd: found active option[7] resolution (type: 1) for device 
> hp5590:libusb:001:008 scanbd: found active option[8] extend-lamp-timeout 
> (type: 0) for device hp5590:libusb:001:008 
> scanbd: found active option[9] wait-for-button (type: 0) for device 
> hp5590:libusb:001:008 
> scanbd: found active option[10] preview (type: 0) for device 
> hp5590:libusb:001:008
> 
> In this case, it looks like I will have to try the old scanbuttond backends 
> for this, or see if there are optional enhancements for the SANE hp5590 
> backend.
> 
> Jared
> 


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] HP5590 and scanbd button recognition

2018-03-06 Thread Jared Hedegaard
> 
> Main question: does the HP 5590 support button presses or am I just setting 
> this up incorrectly?
> 
> I'm been successful using scanbd with SANE backends to get scanning working 
> over my network and locally on the host machine, but I can't seem to get it 
> to recognize button presses, either running scanbd in foreground or 
> background.
> 
> For past testing, it seems that actions defined in scanbd.conf are used to 
> tie to the backend options? From searching /var/log/syslog, I expected to 
> track button presses or get some sort of trigger feedback, and I didn't think 
> I needed an action set up for it.
> 
> Any help on this one would be much appreciated. Thanks.
> 
> Jared H
> 

After a bit more research, it looks like doing this with the SANE backend for 
HP 5590 is not possible. scanbd is used to tie custom actions to the options 
available on the scanner. In this case, none of the 10 options seem to return 
values. They all look to be ones that I designate from some client software.

scanbd: found active option[1] tl-x (type: 2) for device hp5590:libusb:001:008 
scanbd: found active option[2] tl-y (type: 2) for device hp5590:libusb:001:008 
scanbd: found active option[3] br-x (type: 2) for device hp5590:libusb:001:008 
scanbd: found active option[4] br-y (type: 2) for device hp5590:libusb:001:008 
scanbd: found active option[5] mode (type: 3) for device hp5590:libusb:001:008 
scanbd: found active option[6] source (type: 3) for device 
hp5590:libusb:001:008 
scanbd: found active option[7] resolution (type: 1) for device 
hp5590:libusb:001:008 scanbd: found active option[8] extend-lamp-timeout (type: 
0) for device hp5590:libusb:001:008 
scanbd: found active option[9] wait-for-button (type: 0) for device 
hp5590:libusb:001:008 
scanbd: found active option[10] preview (type: 0) for device 
hp5590:libusb:001:008

In this case, it looks like I will have to try the old scanbuttond backends for 
this, or see if there are optional enhancements for the SANE hp5590 backend.

Jared

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


[sane-devel] HP5590 and scanbd button recognition

2018-03-04 Thread Jared Hedegaard
Main question: does the HP 5590 support button presses or am I just setting 
this up incorrectly? 

I'm been successful using scanbd with SANE backends to get scanning working 
over my network and locally on the host machine, but I can't seem to get it to 
recognize button presses, either running scanbd in foreground or background.

For past testing, it seems that actions defined in scanbd.conf are used to tie 
to the backend options? From searching /var/log/syslog, I expected to track 
button presses or get some sort of trigger feedback, and I didn't think I 
needed an action set up for it.

Any help on this one would be much appreciated. Thanks.

Jared H

Details Below:
==
I've got an HP ScanJet 5590 connected via USB to my raspberry pi with Raspbian 
9 (Stretch).
sane 1.0.14-12 armhf
scanbd 1.4.4-1+b1 armhf
Both provided by the package manager. I've tried to keep it as close to the way 
it is set up by default. I've changed dll.conf and net.conf in the /etc/sane.d 
folder.

$ cat /etc/sane.d/dll.conf
net

$ cat /etc/sane.d/net.conf 
connect_timeout = 5
localhost

I've copied saned.conf from /etc/sane.d and added a soft link to 
/usr/share/scanbd/scripts/ as scripts into /etc/scanbd. Adjusted dll.conf and 
minor edits on scanbd.conf

$ cat /etc/scanbd/dll.conf
hp5590

$ cat /etc/scanbd/saned.conf
localhost
laptop.luthr.net

$ cat /etc/scanbd/scanbd.conf
$ cat /etc/scanbd/scanbd.conf

global {

debug   = true 
debug-level = 7
user= saned
group   = scanner

# the saned executable for manager-mode
saned   = "/usr/sbin/saned"
saned_opt  = { } # string-list
saned_env  = { "SANE_CONFIG_DIR=/etc/scanbd" } # list of environment 
vars for saned

scriptdir = /etc/scanbd/scripts
device_insert_script = "insert.script"

timeout = 500 
pidfile = "/var/run/scanbd.pid"

# env-vars for the scripts
environment {
# pass the device label as below in this env-var
device = "SCANBD_DEVICE"
# pass the action label as below in this env-var
action = "SCANBD_ACTION"
}

function function_knob {
filter = "^message.*"
desc   = "The value of the function knob / wheel / selector"
env= "SCANBD_FUNCTION" 
}
function function_mode {
filter = "^mode.*"
desc   = "Color mode"
env= "SCANBD_FUNCTION_MODE" 
}

multiple_actions = true # allow multiple actions per option (up to the 
total amount of options)

action scan {
filter = "^scan.*"
numerical-trigger {
from-value = 1
to-value   = 0
}
desc   = "Scan to file"
# script must be an relative path starting from scriptdir (see 
above), 
# or an absolute pathname. 
# It must contain the path to the action script without 
arguments
# Absolute path example: script = "/some/path/foo.script 
script = "test.script"
}
action button {
filter = "^but.*"
desc = "Testing a button press"
script = "test.script"
}
}

include(scanner.d/hp.conf)



I can access the scanner from the local client and over the network using the 
the net: backend.

@pi$ pidof scanbd && SANE_CONFIG_DIR=/etc/sane.d scanimage -L
797
device `net:localhost:hp5590:libusb:001:008' is a HP 5590 Workgroup scanner

@pi$ SANE_CONFIG_DIR=/etc/scanbd scanimage -L
device `hp5590:libusb:001:008' is a HP 5590 Workgroup scanner

Running interactively:
$ SANE_CONFIG_DIR=/etc/scanbd scanbd -d7 -f -c /etc/scanbd/scanbd.conf

scanbd: foreground
scanbd: config-file: /etc/scanbd/scanbd.conf
scanbd: reading config file /etc/scanbd/scanbd.conf
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: pi
scanbd: jaredh
scanbd: dispatcher
scanbd: drop privileges to gid: 113
scanbd: Can't set the effective gid to 113
scanbd: drop privileges to uid: 109
scanbd: Can't set the effective uid to 109
scanbd: dbus_init
scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager'
scanbd: SANE_CONFIG_DIR=/etc/scanbd
scanbd: sane version 1.0
scanbd: Scanning for local-only devices
scanbd: found device: hp5590:libusb:001:008 HP 5590 Workgroup scanner
scanbd: start_sane_threads
scanbd: Starting poll thread for hp5590:libusb:001:008
scanbd: Thread started for device hp5590:libusb:001:008
scanbd: start dbus thread
scanbd: sane_poll
scanbd: found 11 options for device hp5590:libusb:001:008
scanbd: sane_find_matching_options
scanbd: Not Primary Owner (-1)
scanbd: Name Error (Connection ":1.9" is not allowed to own the service 
"de.kmu