[sane-devel] Scanner Button Daemon [scanbd] 1.3: parse error in config file

2013-01-19 Thread Rolf Bensch
Hi Wilhelm,

Yesterday I started with scanbd and my CS9000F.

I mentioned an error with scanbd.conf:

$ /usr/local/bin/scanbd -df -c /usr/local/etc/scanbd/scanbd.conf
/usr/local/etc/scanbd/scanbd.conf:197: no such option 'include'
/usr/local/bin/scanbd: parse error in config file

As a workaround I copied the contents of pixma.conf into scanbd.conf.

It could be nice to use the 'include' function. Configuration will be
much easier to use prepared conf files. I'll provide my conf and script
files to the ml when everything is working.

Cheers,
Rolf



Am 06.01.2013 09:11, schrieb Wilhelm:
 Hi all,
 
 I like to announce the new version 1.3 of scanbd, the scanner button
 daemon.
 
 This release is mostly a maintainers release as it restructures the
 layout of the source repository and adds support for autotools /
 configure. This makes compilation / integration much more simple. More
 documentation and helpful integration files (like systemd-config or
 startup for FreeBSD e.g.) for various platforms are added.
 
 I would like to clearly mention that all the hard work was done by
 Louis Lagendijk (louis at fazant.net)! Many thanks for his efforts and his
 patience!
 
 http://sourceforge.net/projects/scanbd/files/releases/scanbd-1.3.tar.gz/download
 
 
 or
 
 svn co https://scanbd.svn.sourceforge.net/svnroot/scanbd/releases/1.3
 
 [
 scanbd is a scanner button daemon. It polls the scanner buttons looking
 for buttons pressed or function knob changes or other scanner events  as
 paper inserts / removals and at the same time allows
 also scan-applications to access the scanners. If buttons are pressed,
 etc., various actions can be submitted (scan, copy, email, ...) via
 action scripts. The function knob values are passed to the
 action-scripts as well. Scan actions are also signaled via dbus. This
 can be useful for foreign applications. Scans can also be triggered via
 dbus from foreign applications.
 On platforms which support signaling of dynamic device insertion /
 removal (libudev, dbus, hal) scanbd supports this as well.
 scanbd can use all sane-backends or some special backends from the (old)
 scanbuttond project.
 Supported platforms: Linux, FreeBSD, NetBSD, OpenBSD
 ]
 



[sane-devel] Sane support for Canon PIXMA MG2120, trying to get it to work

2013-01-19 Thread David H. Durgee
Rolf Bensch wrote:
 Hi David,

 I prepared a patch to fix 1200dpi scans.

 First you should install Sane 1.0.24 as described in README.linux.

 You can accelerate build time with this special configure command:
 BACKENDS=pixma ./configure

 Then:
 (1) save pixma_mp150c.diff1 into the folder sane-backends/backend/.
 (2) cd into this folder
 (3) patch the sources with this command:
  patch pixma_mp150.c pixma_mp150.c.diff1
 (4) cd ..
 (5) make  sudo make install
 (6) test 1200 dpi scan again.

 If this patch won't work, please send me an jpeg image directly to my
 email address.

 Cheers,
 Rolf
I installed 1.0.24 with the patch applied as per your instructions. This 
did correct the image scan at 1200 dpi for me.  Thank you for your 
assistance in this matter.  I only installed updated backends, is there 
a reason to install the updated frontends as well?

Now I just need to get Gutenprint upgraded to 5.2.8 from 5.2.6 so the 
unit is recognized as a printer as well.

Dave



[sane-devel] Epson Perfection 1670 -- a hardware or software issue?

2013-01-19 Thread Mike Wirth
Folks,

I have an Epson Perfection 1670 scanner that I'm trying to resurrect.
 Could run it on a WinXP machine or a MacBook Pro, but all efforts to use
it have failed.  Symptoms common to all HW/SW combinations are:

   - On power up, USB disconnected, machine makes some noise, light (in
   middle of scan button) blinks and turns on steady green.
   - When USB is connected, light turns red, then blinks red.
   - Machine shows up on USB device scans with correct manufacturer and
   device IDs.

Here's what's seen from various SW, including SANE (where I've followed
various instructions on the net to put the esfw30.bin firmware file in the
appropriate place and make corresponding changes to the epson and scansnap
(tried both) conf files:

   - MacBook Pro, running latest OS X 10.8.2, downloaded ICA driver from
   Epson via Apple's App Store update mechanism.  Result is that plugging in
   the scanner USB causes Apple's Image Capture utility to start up with
   Perfection 1670 available as a device.  But attempting to scan causes
   Image Capture to crash with a backtrace showing that it was trying to read
   a block of data from the scanner.
   - Other scanner SW on the MacBook Pro (e.g., VueScan) see the scanner,
   but fail to be able to do anything with it (e.g., go into permanent wait
   for lamp to warm up, 0 thru 100%, then repeat).
   - SANE on MacBook Pro can see the scanner (e.g., with sane-find-scanner
   and scanimage -L) but scanimage fails.
   - Tests on a WinXP machine produce similar results.

A prudent person would guess that the hardware is faulty, but I thought I
would ask here before giving up.  Any ideas?  Is there a more primitive
diagnostic I can try?  A way to force load the firmware? (BTW, does the
firmware need to be reloaded with every scanner power-up or is it stored in
Flash?)

TIA,

Mike (who wants to get an automatic photo feeder working with this scanner
-- once he gets the basic unit running :-)

PS: I have electronic skills and tools.  A useful reply might be Hang a
scope on xxx.
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130119/5ca5966e/attachment.html


[sane-devel] Scanner Button Daemon [scanbd] 1.3: parse error in config file

2013-01-19 Thread Louis Lagendijk

On Sat, 2013-01-19 at 18:54 +0100, Rolf Bensch wrote:
 Hi Wilhelm,
 
 Yesterday I started with scanbd and my CS9000F.
 
 I mentioned an error with scanbd.conf:
 
 $ /usr/local/bin/scanbd -df -c /usr/local/etc/scanbd/scanbd.conf
 /usr/local/etc/scanbd/scanbd.conf:197: no such option 'include'
 /usr/local/bin/scanbd: parse error in config file
 
 As a workaround I copied the contents of pixma.conf into scanbd.conf.
 
 It could be nice to use the 'include' function. Configuration will be
 much easier to use prepared conf files. I'll provide my conf and script
 files to the ml when everything is working.
 
 Cheers,
 Rolf

hello Rolf
include works only in between sections. It does work here with the
default config. Could you please mail me the failing configuration so I
can have a look at it? As Wilhelm already pointed out, I did most of the
changes (and bugs :-) ) for the 1.3 release

Are you running the stock 1.3 version or from subversion?
Kind regards, Louis