[sane-devel] Scanner Button Daemon [scanbd]: release 1.3

Wilhelm wilhelm.meier at fh-kl.de
Tue Jan 8 07:40:06 UTC 2013


Am 06.01.2013 21:25, schrieb Michael Watson:
> Thank you.

Thank you for your feedback!

>
> I have 1.3 working on archlinuxarm (systemd).  Please find below
> "integration" tweaks:
>
> ------------------------------------------------------
> /usr/lib/systemd/system/scanbd.service
> #Type=simple
> # dbus
> Type=dbus
>
> ------------------------------------------------------
> /usr/lib/systemd/system/scanbm at .service
> # required for systemctl enable scanbm@
> [Install]
> WantedBy=multi-user.target
>
> #/etc/systemd/system/multi-user.target.wants/scanbm at .service ->
> /usr/lib/systemd/system/scanbm at .service
> ------------------------------------------------------
> /etc/xinetd.d/sane
> service sane-port
> {
>          port        = 6566
>          socket_type = stream
>          wait        = no
>          user        = saned
>          group       = scanner
>          server      = /usr/local/sbin/scanbm
> 	  #not sure if this is required
>          server_args = scanbm
>          # disabled by default!
>          disable     = no
> }
> ------------------------------------------------------
>
> R/
> Michael
>
> -----Original Message-----
> From: sane-devel-bounces+mwatson33=comcast.net at lists.alioth.debian.org
> [mailto:sane-devel-bounces+mwatson33=comcast.net at lists.alioth.debian.org] On
> Behalf Of sane-devel-request at lists.alioth.debian.org
> Sent: Sunday, January 06, 2013 7:00 AM
> To: sane-devel at lists.alioth.debian.org
> Subject: sane-devel Digest, Vol 91, Issue 6
>
>
> Send sane-devel mailing list submissions to
> 	sane-devel at lists.alioth.debian.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> or, via email, send a message with subject or body 'help' to
> 	sane-devel-request at lists.alioth.debian.org
>
> You can reach the person managing the list at
> 	sane-devel-owner at lists.alioth.debian.org
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of sane-devel digest..."
>
>
> Today's Topics:
>
>     1. Willing to test Canon MG8150 (David Legg)
>     2. Re: compile problems with scanbd: undefined reference	to
>        symbol 'pthread_sigmask@@GLIBC_2.2.5' (Dominik Kopp)
>     3. Re: compile problems with scanbd: undefined reference to
>        symbol 'pthread_sigmask@@GLIBC_2.2.5' (Prof. Dr.-Ing. Wilhelm Meier)
>     4. Scanner Button Daemon [scanbd]: release 1.3 (Wilhelm)
>     5. Re: Scanner Button Daemon [scanbd]: release 1.3 (e.marc at orange.fr)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 05 Jan 2013 17:40:55 +0000
> From: David Legg <david.legg at searchevent.co.uk>
> To: sane-devel at lists.alioth.debian.org
> Subject: [sane-devel] Willing to test Canon MG8150
> Message-ID: <50E865A7.2040408 at searchevent.co.uk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I bought a Canon Pixma MG8150 printer over a year ago which has been
> brilliant for both printing and scanning.
>
> Recently, I've acquired the family slides which I'd like to archive for
> safety and so I tried the slide scanner.  After setting the scan source
> to 'Transparency Unit' and pressing the Scan button I can see the slide
> scanning light turn on but after a few moments a dialog pops up to say
> 'Operation was cancelled.'
>
> The device is attached to the network via cat6 ethernet cable. Normal
> document scanning and printing works fine, it is just the slide scanner
> which stalls.  I'm running xsane 0.998 on an Ubuntu 12.10 (64bit) system
> with 8GB ram and 3TB storage.
>
> I see from the SANE compatibility table [1] that testers are wanted for
> this model... I'm happy to help :-)
>
>
> Regards,
> David Legg
>
>
> [1] http://www.sane-project.org/sane-mfgs.html#Z-CANON
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 06 Jan 2013 00:12:27 +0100
> From: Dominik Kopp <my at kabelfunk.de>
> To: sane-devel at lists.alioth.debian.org
> Subject: Re: [sane-devel] compile problems with scanbd: undefined
> 	reference	to symbol 'pthread_sigmask@@GLIBC_2.2.5'
> Message-ID: <kcac0e$gc5$1 at ger.gmane.org>
> Content-Type: text/plain; charset="UTF-8"
>
> Louis Lagendijk wrote:
>
>> On Thu, 2013-01-03 at 22:12 +0100, Dominik Kopp wrote:
>> This was something missed in the autoconf configuation. I hopefully
>> fixed it in svn. Can you try again? I also fixed the autoconf
>> rebuilding.
>
> yes, make all was sucessfully. it compiles.
>
> Note:
> in the doc/README.txt chapter 1.1 stands, that libjpeg8-devel is required.
> however, it seems to work with libjpeg62(-devel) as well, which is installed
>
> per default (nevertheless, the libjpeg8(-devel) is also available in the
> repo)
>
>
>>
>>> ok, and where is the binary?
>>> (this is my fourth or fifth program I'm trying to compile. Therefore
>>> I'm not very skilled...)
>>>
>> In src/scanbd. Use make install to install the binary. It ends up in
>> /usr/local/bin or /usr/local/sbin
>>
>>> cc  -DUSE_SANE -UUSE_SCANBUTTOND -DUSE_HAL  -c -o scanbd.o scanbd.c
>>> In file included from scanbd.h:45:0,
>>>                   from scanbd.c:23:
>>> slog.h:33:1: error: unknown type name ?bool?
>>> In file included from scanbd_dbus.h:33:0,
>>>                   from scanbd.h:46,
>>>                   from scanbd.c:23:
>>> /usr/include/dbus-1.0/dbus/dbus.h:29:33: fatal error:
>>> dbus/dbus-arch-deps.h: Datei oder Verzeichnis nicht gefunden
>>> compilation terminated.
>>> make: *** [scanbd.o] Fehler 1
>>>
>> Did you change something in the Makefile?
>
> no
>
>> It is really strange that it
>> tries to compile with HAL and not UDEV. I would guess that Suse
>> switched to udev?
>
> yes, suse moved completely from hal to udev.
>
>
>>> echo "Copy scanbd_dbus.conf to /etc/dbus-1/system.d/"
>>> Copy scanbd_dbus.conf to /etc/dbus-1/system.d/
>>> cp scanbd_dbus.conf "/etc/dbus-1/system.d"
>>> cp scanbuttond/backends/meta.conf
>>> "/usr/local/etc/scanbd/scanbuttond/backends" || /bin/true echo "Edit
>>> /etc/inetd.conf" Edit /etc/inetd.conf
>>>
>>>
>>> is that OK? Should I try to move forward with the next steps as
>>> described in INSTALL?
>>
>> It looks that you compiled scanbd ok here. So you should be able to
>> continue from here. Have a look at scanbd.conf and Try scanbd -f
>>
>> regards, Louis
>>
>
> next problem:
> I don't have any /etc/inetd.conf
> opensuse has /etc/xinetd.conf
>
> And this uses a different style as in chapter 3) of README.txt ("sane-port
> stream tcp4 nowait ..."
>
> regards
> Dominik
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 6 Jan 2013 08:54:16 +0100
> From: "Prof. Dr.-Ing. Wilhelm Meier" <wilhelm.meier at fh-kl.de>
> To: Dominik Kopp <my at kabelfunk.de>,
> 	<sane-devel at lists.alioth.debian.org>
> Subject: Re: [sane-devel] compile problems with scanbd: undefined
> 	reference to symbol 'pthread_sigmask@@GLIBC_2.2.5'
> Message-ID: <50E92DA8.7030106 at fh-kl.de>
> Content-Type: text/plain; charset="UTF-8"; format=flowed
>
> Am 06.01.2013 00:12, schrieb Dominik Kopp:
>> Louis Lagendijk wrote:
>>
>>> On Thu, 2013-01-03 at 22:12 +0100, Dominik Kopp wrote:
>>> This was something missed in the autoconf configuation. I hopefully
>>> fixed it in svn. Can you try again? I also fixed the autoconf
>>> rebuilding.
>>
>> yes, make all was sucessfully. it compiles.
>>
>> Note:
>> in the doc/README.txt chapter 1.1 stands, that libjpeg8-devel is
>> required. however, it seems to work with libjpeg62(-devel) as well,
>> which is installed per default (nevertheless, the libjpeg8(-devel) is
>> also available in the
>> repo)
>>
>>
>>>
>>>> ok, and where is the binary?
>>>> (this is my fourth or fifth program I'm trying to compile. Therefore
>>>> I'm not very skilled...)
>>>>
>>> In src/scanbd. Use make install to install the binary. It ends up in
>>> /usr/local/bin or /usr/local/sbin
>>>
>>>> cc  -DUSE_SANE -UUSE_SCANBUTTOND -DUSE_HAL  -c -o scanbd.o scanbd.c
>>>> In file included from scanbd.h:45:0,
>>>>                    from scanbd.c:23:
>>>> slog.h:33:1: error: unknown type name ?bool?
>>>> In file included from scanbd_dbus.h:33:0,
>>>>                    from scanbd.h:46,
>>>>                    from scanbd.c:23:
>>>> /usr/include/dbus-1.0/dbus/dbus.h:29:33: fatal error:
>>>> dbus/dbus-arch-deps.h: Datei oder Verzeichnis nicht gefunden
>>>> compilation terminated.
>>>> make: *** [scanbd.o] Fehler 1
>>>>
>>> Did you change something in the Makefile?
>>
>> no
>>
>>> It is really strange that it
>>> tries to compile with HAL and not UDEV. I would guess that Suse
>>> switched to udev?
>>
>> yes, suse moved completely from hal to udev.
>>
>>
>>>> echo "Copy scanbd_dbus.conf to /etc/dbus-1/system.d/"
>>>> Copy scanbd_dbus.conf to /etc/dbus-1/system.d/
>>>> cp scanbd_dbus.conf "/etc/dbus-1/system.d"
>>>> cp scanbuttond/backends/meta.conf
>>>> "/usr/local/etc/scanbd/scanbuttond/backends" || /bin/true echo "Edit
>>>> /etc/inetd.conf" Edit /etc/inetd.conf
>>>>
>>>>
>>>> is that OK? Should I try to move forward with the next steps as
>>>> described in INSTALL?
>>>
>>> It looks that you compiled scanbd ok here. So you should be able to
>>> continue from here. Have a look at scanbd.conf and Try scanbd -f
>>>
>>> regards, Louis
>>>
>>
>> next problem:
>> I don't have any /etc/inetd.conf
>> opensuse has /etc/xinetd.conf
>>
>> And this uses a different style as in chapter 3) of README.txt
>> ("sane-port stream tcp4 nowait ..."
>
> Just updated trunk to include an example.
>
> But you can also look here (in german):
>
> http://www.mehr4u.de/component/k2/item/99-mit-scanbd-scannertasen-an-einem-c
> anon-mx700-nutzen.html
>


-- 
Wilhelm




More information about the sane-devel mailing list