[sane-devel] scanbd works but not buttons

Wilhelm wilhelm.meier at fh-kl.de
Mon Nov 26 10:01:41 UTC 2012


Am 26.11.2012 10:43, schrieb Алексей:
> On Mon, Nov 26, 2012 at 10:18:50AM +0100, Wilhelm wrote:
>> Am 26.11.2012 09:48, schrieb Алексей:
>>> On Mon, Nov 26, 2012 at 07:53:55AM +0100, Wilhelm wrote:
>>>> Hello Alexey,
>>>>
>>>> Am 26.11.2012 06:50, schrieb Alexey Smirnoff:
>>>>>
>>>>> But when I start scanbd directry and pressing keys on a scanner, I do not see
>>>>> anything related in the debug output, it only says `Iteration on dbus call´
>>>>> every second:
>>>>>
>>>>> ...
>>>>> /usr/local/bin/scanbd: Iteration on dbus call
>>>>>
>>>>> ...
>>>>>
>>>>> What am I doing wrong?
>>>>
>>>> please show also your scanbd.conf. The scanner isn't recognized at all.
>>>>
>>>>
>>>> --
>>>> Wilhelm
>>>>
>>>
>>> http://dpaste.com/hold/836724/
>>> I did not changed anything in this file
>>> Idk if I need to change something.
>>>
>>> Here are other config files:
>>>
>>> storage ~ # cat /etc/sane.d/net.conf
>>> connect_timeout = 3
>>> # scanbd-host1.local.net   # the host with the scanbd running (and the attached scanners with buttons)
>>> # scanbd-host2.local.net # there can be more than one scanbd one the net (and attached scanners with buttons)
>>> # sane-host.local.net    # there can also be a sane host without scanbd running (and scanner without buttons)
>>> localhost              # if desktop machine with scanbd AND scan-applications like xsane
>>>
>>> storage ~ # cat /etc/sane.d/dll.conf
>>> # enable the next line if you want to allow access through the network:
>>> net
>>>
>>> storage ~ # grep -Ev '^#|^$' /etc/sane.d/saned.conf
>>> 127.0.0.1
>>> 10.0.2.1/24
>>>
>>
>> thanks!
>>
>> ok, using root the scanner is found.
>>
>> You've configured scanbd to run as scaned:lp and it looks like there is
>> a privilege problem. Try using scanimage as this uid:gid and/or try
>> using scanbd as root:root.
>>
>> Which distro are you using?
>>
>> --
>> Wilhelm
>>
>
> gentoo gnu/linux
>
> I have set this:
> 	user    = root
> 	group   = root
> in /usr/local/etc/scanbd/scanbd.conf
> and now I see my buttons pressed in the debug output, thanks!

great - keep me informed if anything doesn't work!

-- 
Wilhelm




More information about the sane-devel mailing list