[sane-devel] Epson2 backend and ADF

2013-08-03 Thread Olaf Meeuwissen
Michael Koltan writes:

> [...]
> As to the questions of Olaf: I upgraded in two steps, first from from 
> lenny to squeeze. I compiled iscan-2.29.1 with the epkowa backend 1.0.15 
> in squeeze. The compilation worked, although some test failed. But the 
> backend then produced an errormessage which I don't have anymore, but I 
> think it was the same as on wheezy (see below).
>
> After that I decided just to upgrade to wheezy and check, if the newest 
> epson2 driver would be working. It didn't. The I recompiled iscan, but 
> the backend gives the errormessage: "scanimage: open of device epkowa 
> failed: Access to resource has been denied".
>
> Then I decided to fix the epson2 backend instead of the epkowa backend, 
> because alread on lenny the epkowa backend didn't work 100% correctly. 
> Duplex worked fine, but there was a problem when scanning simplex (I 
> don't remember what it was, but I think it didn't scan the last sheet). 
> So on lenny I had to switch between 1.0.15 and 1.0.19 of the epkowa 
> driver for simplex respective duplex, because the 1.0.19 backend failed 
> on duplex.

Sounds like you are compiling the iscan package from source.  I think
you will have more luck with the precompiled binaries as there are a
number of things that need to be done after

  sudo make install

that the binary packages will do for you in the post-install phase.
Also, you will need to install the iscan-data package.

Precompiled binaries are available from:

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

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] [PATCHv2] sane-desc: add support for udev's hwdb

2013-08-03 Thread Stef
On 01/08/2013 18:46, Stef wrote:
> On 01/08/2013 17:56, Tom Gundersen wrote:
>> On Thu, Aug 1, 2013 at 2:33 PM, Stef  wrote:
>>> On 31/07/2013 15:39, Tom Gundersen wrote:
 On Wed, Jul 31, 2013 at 3:27 PM, Stef  wrote:
> On 31/07/2013 14:49, Tom Gundersen wrote:
>> Hi Stef,
>>
>> On Wed, Jul 31, 2013 at 2:39 PM, Stef  wrote:
>>>before applying this patch I'm considering adding a 
>>> testsuite for
>>> sane-desc first. Since it is too big to be in-lined, I have 
>>> posted the
>>> corresponding patch athttp://dl.free.fr/vzjrF6ete . It adds a tools
>>> subdirectory to the testsuite directory. In this directory, a test
>>> .desc
>>> file is parsed with sane-desc for all known modes and the resulting
>>> files
>>> are compared to the expected files.
>>>
>>> I am waiting for your comments and suggestions.
>> Sounds like a good idea. However, I was unable to download the 
>> file. I
>> get "code incorrect"... Any chance you could upload it elsewhere?
>>
>> -t
>
>   Hello,
>
>   the http://dl.free.fr/vzjrF6ete URL is working for me in 
> seamonkey
> and
> firefox. Maybe some typo ? I can send the patch directly to you if it
> helps.
 Thanks, now it worked. Should the patch have included an
 testsuite/tools/Makefile.in ? As it is, ./configure fails.

 Cheers,

 Tom
>>> Hello,
>>>
>>>  here is the missing file.
>> Thanks. As far as I can tell this works well (I tried breaking
>> sane-desc and it was reported as expected). It also works with my hwdb
>> patch applied.
>>
>> Will you commit this and the hwdb patch so I can just submit a
>> separate patch adding the two new hwdb modes to the testsuite?
>>
>> Cheers,
>>
>> Tom
> Hello,
>
> yes, send a patch, I'll commit all this this week-end.
>
> Regards,
> Stef
>

 Hello,

 I have committed all these patches.

Regards,
 Stef



[sane-devel] saned problem on ubuntu: undefined symbol: sanei_w_init

2013-08-03 Thread Jaakko Saarela
Does anyone know what has gone wrong in my sane installation.

Distributor ID:Ubuntu
Description:Ubuntu 12.04.2 LTS
Release:12.04
Codename:precise

scanimage -V
scanimage (sane-backends) 1.0.24git; backend version 1.0.22

scanimage -L
device `pixma:04A9173A_B3B91B' is a CANON Canon PIXMA MP250 
multi-function peripheral

When running: service saned restart

I get message:
Restarting SANE network scanner server: /usr/sbin/saned: symbol lookup 
error: /usr/sbin/saned: undefined symbol: sanei_w_init

I have installed sane with apt-get and also trid to compile it by myself 
- same issue existing. It seems that there is someting wrong in my 
ubuntu installation? What?

--JaSa



[sane-devel] saned problem on ubuntu: undefined symbol: sanei_w_init

2013-08-03 Thread Stef
On 03/08/2013 08:50, Jaakko Saarela wrote:
> Does anyone know what has gone wrong in my sane installation.
>
> Distributor ID:Ubuntu
> Description:Ubuntu 12.04.2 LTS
> Release:12.04
> Codename:precise
>
> scanimage -V
> scanimage (sane-backends) 1.0.24git; backend version 1.0.22
>
> scanimage -L
> device `pixma:04A9173A_B3B91B' is a CANON Canon PIXMA MP250 
> multi-function peripheral
>
> When running: service saned restart
>
> I get message:
> Restarting SANE network scanner server: /usr/sbin/saned: symbol lookup 
> error: /usr/sbin/saned: undefined symbol: sanei_w_init
>
> I have installed sane with apt-get and also trid to compile it by 
> myself - same issue existing. It seems that there is someting wrong in 
> my ubuntu installation? What?
>
> --JaSa
>
 Hello,

 it seems you have a mix of 1.0.24git and 1.0.22. Is the saned used 
from the compiled 1.0.24git ? saned belongs to the sane-utils package on 
ubuntu. How the new version was installed/compiled ?

Regards,
 Stef



[sane-devel] Epson2 backend and ADF

2013-08-03 Thread Olaf Meeuwissen

Olaf Meeuwissen writes:

> Michael Koltan writes:
>
>> [...]
>> As to the questions of Olaf: I upgraded in two steps, first from from 
>> lenny to squeeze. I compiled iscan-2.29.1 with the epkowa backend 1.0.15 
>> in squeeze. The compilation worked, although some test failed. But the 
>> backend then produced an errormessage which I don't have anymore, but I 
>> think it was the same as on wheezy (see below).
>>
>> After that I decided just to upgrade to wheezy and check, if the newest 
>> epson2 driver would be working. It didn't. The I recompiled iscan, but 
>> the backend gives the errormessage: "scanimage: open of device epkowa 
>> failed: Access to resource has been denied".

I checked the epkowa backend sources and it only returns the "Access to
resource has been denied" status if the backend has not been initialized
or if it cannot find any supported device.  This makes me think that
this message is courtesy of the dll backend rather than the epkowa one.
I suspect that you installed the backend somewhere the dll backend does
not look.  Could you provide the scanimage.log generated by the command
below so I can confirm?  Feel free to analyze it yourself, BTW :-)

  SANE_DEBUG_DLL=128 SANE_DEBUG_EPKOWA=HEX scanimage > /dev/null 2> 
scanimage.log

>> Then I decided to fix the epson2 backend instead of the epkowa backend, 
>> because alread on lenny the epkowa backend didn't work 100% correctly. 
>> Duplex worked fine, but there was a problem when scanning simplex (I 
>> don't remember what it was, but I think it didn't scan the last sheet). 
>> So on lenny I had to switch between 1.0.15 and 1.0.19 of the epkowa 
>> driver for simplex respective duplex, because the 1.0.19 backend failed 
>> on duplex.
>
> Sounds like you are compiling the iscan package from source.  I think
> you will have more luck with the precompiled binaries as there are a
> number of things that need to be done after
>
>   sudo make install
>
> that the binary packages will do for you in the post-install phase.
> Also, you will need to install the iscan-data package.
>
> Precompiled binaries are available from:
>
>   http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX

I tried to check the versions but didn't get any search results for the
GT-1+.  Search for the ES-6000H which is the name this model is
marketed under in Japan (as per SANE supported devices info[1]).  Latest
packages are iscan-2.29.1 and iscan-data-1.23.0.

 [1] http://sane.alioth.debian.org/lists/sane-backends-external.html#S-EPKOWA

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] [PATCHv2] sane-desc: add support for udev's hwdb

2013-08-03 Thread Tom Gundersen
On 3 Aug 2013 08:40, "Stef"  wrote:
>
> On 01/08/2013 18:46, Stef wrote:
>>
>> On 01/08/2013 17:56, Tom Gundersen wrote:
>>>
>>> On Thu, Aug 1, 2013 at 2:33 PM, Stef  wrote:
>>>>
>>>> On 31/07/2013 15:39, Tom Gundersen wrote:
>>>>>
>>>>> On Wed, Jul 31, 2013 at 3:27 PM, Stef  wrote:
>>>>>>
>>>>>> On 31/07/2013 14:49, Tom Gundersen wrote:
>>>>>>>
>>>>>>> Hi Stef,
>>>>>>>
>>>>>>> On Wed, Jul 31, 2013 at 2:39 PM, Stef  wrote:
>>>>>>>>
>>>>>>>>before applying this patch I'm considering adding a
testsuite for
>>>>>>>> sane-desc first. Since it is too big to be in-lined, I have posted
the
>>>>>>>> corresponding patch athttp://dl.free.fr/vzjrF6ete . It adds a tools
>>>>>>>> subdirectory to the testsuite directory. In this directory, a test
>>>>>>>> .desc
>>>>>>>> file is parsed with sane-desc for all known modes and the resulting
>>>>>>>> files
>>>>>>>> are compared to the expected files.
>>>>>>>>
>>>>>>>> I am waiting for your comments and suggestions.
>>>>>>>
>>>>>>> Sounds like a good idea. However, I was unable to download the
file. I
>>>>>>> get "code incorrect"... Any chance you could upload it elsewhere?
>>>>>>>
>>>>>>> -t
>>>>>>
>>>>>>
>>>>>>   Hello,
>>>>>>
>>>>>>   the http://dl.free.fr/vzjrF6ete URL is working for me in
seamonkey
>>>>>> and
>>>>>> firefox. Maybe some typo ? I can send the patch directly to you if it
>>>>>> helps.
>>>>>
>>>>> Thanks, now it worked. Should the patch have included an
>>>>> testsuite/tools/Makefile.in ? As it is, ./configure fails.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Tom
>>>>
>>>> Hello,
>>>>
>>>>  here is the missing file.
>>>
>>> Thanks. As far as I can tell this works well (I tried breaking
>>> sane-desc and it was reported as expected). It also works with my hwdb
>>> patch applied.
>>>
>>> Will you commit this and the hwdb patch so I can just submit a
>>> separate patch adding the two new hwdb modes to the testsuite?
>>>
>>> Cheers,
>>>
>>> Tom
>>
>> Hello,
>>
>> yes, send a patch, I'll commit all this this week-end.
>>
>> Regards,
>> Stef
>>
>
> Hello,
>
> I have committed all these patches.
>
> Regards,
> Stef

Thanks!

Tom
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130803/02571b1c/attachment.html>


[sane-devel] saned problem on ubuntu: undefined symbol: sanei_w_init

2013-08-03 Thread Stef
On 03/08/2013 09:26, Jaakko Saarela wrote:
> Hi,
>
> Thanks for your quick reply:
>
> 1. I downloaded sane-backends-4029979.tar.gz from git - configure, 
> make and make install
> because previous one did not work then I tried:
> 2. apt-get install sane
>
> But is it still using compiled version? What is the correct procedure 
> to remove irrelevant parts and install working one?
>
> --JaSa
>
> On 3.8.2013 10:07, Stef wrote:
>> On 03/08/2013 08:50, Jaakko Saarela wrote:
>>> Does anyone know what has gone wrong in my sane installation.
>>>
>>> Distributor ID:Ubuntu
>>> Description:Ubuntu 12.04.2 LTS
>>> Release:12.04
>>> Codename:precise
>>>
>>> scanimage -V
>>> scanimage (sane-backends) 1.0.24git; backend version 1.0.22
>>>
>>> scanimage -L
>>> device `pixma:04A9173A_B3B91B' is a CANON Canon PIXMA MP250 
>>> multi-function peripheral
>>>
>>> When running: service saned restart
>>>
>>> I get message:
>>> Restarting SANE network scanner server: /usr/sbin/saned: symbol 
>>> lookup error: /usr/sbin/saned: undefined symbol: sanei_w_init
>>>
>>> I have installed sane with apt-get and also trid to compile it by 
>>> myself - same issue existing. It seems that there is someting wrong 
>>> in my ubuntu installation? What?
>>>
>>> --JaSa
>>>
>> Hello,
>>
>> it seems you have a mix of 1.0.24git and 1.0.22. Is the saned 
>> used from the compiled 1.0.24git ? saned belongs to the sane-utils 
>> package on ubuntu. How the new version was installed/compiled ?
>>
>> Regards,
>> Stef
>

 Hello,

 for ubuntu, you may use 
https://launchpad.net/~rolfbensch/+archive/sane-git to have a very 
recent SANE packaged.

Regards,
 Stef