[sane-devel] SANE for Epson scanner is not working

2012-11-19 Thread Olaf Meeuwissen

Mark Deiss writes:

 Hi developers,

 I have Ubuntu LTS 12.04.1 LTS / 32 bit and also a Epson Perfection V10
 flatbed scanner.  I can't get it working and hope that it is just a
 matter of configuration. I do all what is needed to avoid that I have
 to use a Windows machine just to have the scanner working.  I will
 post you all information I have and hope you can figure you why it is
 not working.

 Download
 driver of http://www.avasys.jp/lx-bin2/linux_e/scan/DL2.do

That page no longer exists.  Please download Image Scan! for Linux
packages via

  http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX

Have a look at the FAQ for which packages you need to install at

  http://download.ebz.epson.net/faq/linux/faq_ls_2.html

 2 packages:
 install first: iscan-data_1.13.0-1_all.deb
 than: iscan_2.28.1-3.ltdl7_i386.deb

These packages are old and miss the non-free plugin needed for the V10.
You need the following Debian packages for your architecture

  iscan_2.29.1-5
  iscan-data_1.19.0-1
  iscan-plugin-gt-s600_2.1.2-1

 /etc/sane.d/dll.conf has line epson2 active
 /etc/sane.d/epson2.conf 

The epson2 backend (in its default setup) is known to cause long delays
in device recognition and occasionally prevent the epkowa backend from
doing its job.  Try disabling it.

 enabled line: usb 0x04b8 0x012d

This should not be necessary.

 On command line Scanimage -L
 is hanging. No response at all. Time out after ca. 1 minute.

 After pulling the USB cable or time out the response is: 
 device `epkowa:usb:001:004' is a Epson (unknown model) flatbed scanner

 under root the same.

 Add line epkowa to file dll.conf before the line epson2.
 In epkowa.conf line usb is enabled and usb 0x04b8 0x012d

When you install iscan from binary packages it automatically enables
itself.  When you install the plugin package, it automatically adds
itself to the list of supported devices.  There is *no* needs to do
anything but install the required packages.  Things should work out of
the box.

 Too bad. This is not working
 Cost me some swearing.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962   Help support software freedom
 http://www.fsf.org/jf?referrer=1962



[sane-devel] Epson iscan release notes?

2012-11-19 Thread 2cv67
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20121119/9e8c7734/attachment.html


[sane-devel] [Regression][Patch] genesys: Canon Lidescan 60, head does not return

2012-11-19 Thread Georg Altmann
Hi,

after upgrading from Ubuntu 10.04 (lucid, libsane-1.0.20-13ubuntu2) to
ubuntu 12.04 (precise, libsane-1.0.22-7ubuntu1), the scan head of my
Scanner stopped returning to its starting position after each scan.

I traced the problem down in sane-backends to
commit eba438b9

don't wait head to be parked at end of scan to improve scan speed
- issue slow_back_home without wait flag at end of scan
- ensure head is parked at scan start and at close
- issue slow_back_home before doing digital processing

The problem appears to be caused by
diff --git a/backend/genesys.c b/backend/genesys.c
index f01bb6b..ecdec48 100644
--- a/backend/genesys.c
+++ b/backend/genesys.c
@@ -8029,7 +8029,7 @@ sane_cancel (SANE_Handle handle)
   /* park head if flatbed scanner */
   if (s-dev-model-is_sheetfed == SANE_FALSE)
 {
-  status = s-dev-model-cmd_set-slow_back_home (s-dev, 1);
+  status = s-dev-model-cmd_set-slow_back_home (s-dev,
s-dev-model-flags  GENESYS_FLAG_MUST_WAIT);
   if (status != SANE_STATUS_GOOD)
{
  DBG (DBG_error,

which should probably read

  status = s-dev-model-cmd_set-slow_back_home (s-dev,
s-dev-model-flags  GENESYS_FLAG_MUST_WAIT);


The latter reproducibly fixes the problem for me.


For completeness I attached two patches:
fix-lidescan60-regression-orig-eba438b9.patch
- Fixes the bug where it was originally introduced (commit eba438b9)

fix-lidescan60-regression-master_2012-11-19-eb9af2d4.patch
- Fixes the bug in the current master branch (commit eb9af2d4a3)

Tested for  Canon Lidescan 60
% sane-find-scanner
[...]
found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan],
chip=GL842) at libusb:002:009
[...]

% lsb_release -a
LSB Version:
core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:cxx-3.0-ia32:cxx-3.0-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:cxx-4.0-ia32:cxx-4.0-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:desktop-4.0-ia32:desktop-4.0-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-3.2-ia32:printing-3.2-noarch:printing-4.0-ia32:printing-4.0-noarch:qt4-3.1-ia32:qt4-3.1-noarch
Distributor ID: Ubuntu
Description:Ubuntu 12.04.1 LTS
Release:12.04
Codename:   precise

% uname -a
Linux georg-ubuntu 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27
17:25:43 UTC 2012 i686 i686 i386 GNU/Linux

There is also a bug report in the tracker
#313909
https://alioth.debian.org/tracker/index.php?func=detailaid=313909group_id=30186atid=410366

Thank you for developing sane!

Regards,
Georg

-- 
PGP-Key: 0x1E320E65
D150 7783 A0D1 7507 1266  C5B3 BBF1 9C42 1E32 0E65
-- next part --
A non-text attachment was scrubbed...
Name: fix-lidescan60-regression-master_2012-11-19-eb9af2d4.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20121119/5563cc45/attachment.bin
-- next part --
A non-text attachment was scrubbed...
Name: fix-lidescan60-regression-orig-eba438b9.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20121119/5563cc45/attachment-0001.bin
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20121119/5563cc45/attachment.pgp


[sane-devel] gscan2pdf v1.1.0 released

2012-11-19 Thread Jeffrey Ratcliffe
gscan2pdf - A GUI to produce a multipage PDF or DjVu from a scan.

http://gscan2pdf.sourceforge.net/

Only two clicks are required to scan several pages and then save all or a
selection as a PDF or DjVu file, including metadata if required.

gscan2pdf can control regular or sheet-fed (ADF) scanners with SANE via
libsane-perl, scanimage or scanadf, and can scan multiple pages at
once. It presents a
thumbnail view of scanned pages, and permits simple operations such as
cropping, rotating and deleting pages.

OCR can be used to recognise text in the scans, and the output
embedded in the PDF or DjVu.

PDF conversion is done by PDF::API2.

The resulting document may be saved as a PDF, DjVu, multipage TIFF file, or
single page image file.


Much refactorisation of code was carried out to allow more regression
tests and reduce duplication. The libsane-perl frontend feels much
snappier as a result.

Changelog for 1.1.0:

* Fix applying default settings to widgets in scanimage dialog
  Closes debian bug #682818 (Presets aren't working)
* Fixed bug editing OCR output.
* Add profiles to libsane-perl frontend
* Fixed switching to last directory on open/save
* Fixed extracting image resolution in non-English locales
  Closes bug 3572463 (After update suse 12.2 pdf blank page)
* Much refactorisation of code to allow more regression tests
  and reduce duplication
* Fixed bug importing multipage PDF
  Closes bug 3574898 (Always imports all pages of a PDF)
* Update to German translation (thanks to Jari)
* Update to Greek translation (thanks to Stavros Kakaliantis)
* Update to Gujarati translation (thanks to Vishal Goswami)
* Update to Occitan (post 1500) translation (thanks to C?dric VALMARY)
* Update to Turkish translation (thanks to Utku BERBERO?LU)



[sane-devel] [Regression][Patch] genesys: Canon Lidescan 60, head does not return

2012-11-19 Thread Stef
On 19/11/2012 17:14, Georg Altmann wrote:
 Hi,

 after upgrading from Ubuntu 10.04 (lucid, libsane-1.0.20-13ubuntu2) to
 ubuntu 12.04 (precise, libsane-1.0.22-7ubuntu1), the scan head of my
 Scanner stopped returning to its starting position after each scan.

 I traced the problem down in sane-backends to
 commit eba438b9

  don't wait head to be parked at end of scan to improve scan speed
  - issue slow_back_home without wait flag at end of scan
  - ensure head is parked at scan start and at close
  - issue slow_back_home before doing digital processing

 The problem appears to be caused by
 diff --git a/backend/genesys.c b/backend/genesys.c
 index f01bb6b..ecdec48 100644
 --- a/backend/genesys.c
 +++ b/backend/genesys.c
 @@ -8029,7 +8029,7 @@ sane_cancel (SANE_Handle handle)
 /* park head if flatbed scanner */
 if (s-dev-model-is_sheetfed == SANE_FALSE)
   {
 -  status = s-dev-model-cmd_set-slow_back_home (s-dev, 1);
 +  status = s-dev-model-cmd_set-slow_back_home (s-dev,
 s-dev-model-flags  GENESYS_FLAG_MUST_WAIT);
 if (status != SANE_STATUS_GOOD)
  {
DBG (DBG_error,

 which should probably read

status = s-dev-model-cmd_set-slow_back_home (s-dev,
 s-dev-model-flags  GENESYS_FLAG_MUST_WAIT);


 The latter reproducibly fixes the problem for me.


 For completeness I attached two patches:
 fix-lidescan60-regression-orig-eba438b9.patch
 - Fixes the bug where it was originally introduced (commit eba438b9)

 fix-lidescan60-regression-master_2012-11-19-eb9af2d4.patch
 - Fixes the bug in the current master branch (commit eb9af2d4a3)

 Tested for  Canon Lidescan 60
 % sane-find-scanner
 [...]
 found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan],
 chip=GL842) at libusb:002:009
 [...]

 % lsb_release -a
 LSB Version:
 core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:cxx-3.0-ia32:cxx-3.0-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:cxx-4.0-ia32:cxx-4.0-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:desktop-4.0-ia32:desktop-4.0-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-3.2-ia32:printing-3.2-noarch:printing-4.0-ia32:printing-4.0-noarch:qt4-3.1-ia32:qt4-3.1-noarch
 Distributor ID:   Ubuntu
 Description:  Ubuntu 12.04.1 LTS
 Release:  12.04
 Codename: precise

 % uname -a
 Linux georg-ubuntu 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27
 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux

 There is also a bug report in the tracker
 #313909
 https://alioth.debian.org/tracker/index.php?func=detailaid=313909group_id=30186atid=410366

 Thank you for developing sane!

 Regards,
   Georg



 Hello,

 like you wrote in bugtracker #313909, a flag is needed to the 
device description of the LiDE60. Thanks for testing it.
 It would be great if you could test the latest git source version. 
I have improved a few things regarding head parking.


Regards,
 Stef





[sane-devel] Epson iscan release notes?

2012-11-19 Thread 2cv67
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20121119/398a03e7/attachment.html