Re: [sane-devel] Canon PIXMA MX925 - scan process now broken (does not end)

2017-09-02 Thread Rolf Bensch
Hi Jörn-Ingo,

Please test ADF with gscan2pdf.

I know that ADF scanning is faulty for scanners from the mp150 sub backend.

I'm sorry, but I cannot fix this issue because I have no access to such
scanners. I stopped remote fixing issues because I don't have much time
for maintaining SANE anymore.

@List: I can support software developers with ADF scanners fixing this
issue and I can commit patches to git. Affected scanners are all Canon
Maxify and PIXMA types with simple and duplex ADF.

Hope this helps.

Cheers,
Rolf


Am 01.09.2017 um 22:35 schrieb Jörn-Ingo Weigert:
> Hello Rolf,
> 
> the Scanner works fluently local in all resolutions now without problems
> using latest 1.0.27git01092017 version.
> 
> Great!
> What's not working:
> - ADF (tested with simple-scan), neither locally nor remote via net-backend.
> 
> Is there any special setting for this?
> 
> - interrupting (stopping) a remote scan from connected clients causes
> Scanner infinite scanning and scanline not moving or resetting, only off
> and on switching of printer help.
> 
> Model is by the way a Canon Maxify MX 2050, my fault. 
> 
> Great work so far Rolf! 
> 
> Kind regards,
> 
> Jörn-Ingo Weigert
> 
> Am 01.09.2017 10:01 vorm. schrieb "Rolf Bensch"  >:
> 
> The >600dpi should also be solved with the new version from my ppa.
> 
> Cheers,
> Rolf
> 
> Am 31.08.2017 um 21:15 schrieb Jörn-Ingo Weigert:
> > I will wait for it, thanks!
> >
> > Meanwhile, i would like to remind you of a still existing problem, we
> > talked about in the past, that scans over 600dpi are possible, but end
> > result are a overlapping, doubled image, which were also stored as
> a non
> > valid jpeg file..
> >
> > If you have time to research on it, that would be great. Just drop a
> > note on that, when.
> >
> > Kind regards,
> >
> > Jörn-Ingo Weigert
> >
> > Am 31.08.2017 9:05 nachm. schrieb "Rolf Bensch"
> 
> > >>:
> >
> > Please try the next version which will be provided tomorrow,
> or just try
> > the recent one from my test ppa.
> >
> > Hope this helps.
> >
> > Cheers,
> > Rolf
> >
> >
> > Am 31.08.2017 um 16:35 schrieb Jörn-Ingo Weigert:
> > > Could this be a general problem for Pixma aio scanners?
> > >
> > > I had to switch back to 1.0.25 after latest update from your
> ppa (
> > sane
> > > 1.0.27git20170707¿?) The scan process was interruptive,
> stopping,
> > moving
> > > a bit until reaching ca. 75% of flatbed area the scanner neither
> > respond
> > > and stalled with a enabled scanline until switch off and on
> again.
> > >
> > > Happens on a Canon pixma MP350 connected through USB to a
> Ubuntu 17.04
> > > x64 system
> > > Kind regarded,
> > >
> > > Jörn-Ingo Weigert
> > >
> > > Am 31.08.2017 14:49 schrieb "Rolf Bensch"
> 
> > >
> > > 
>  > >
> > > Hi Stephen,
> > >
> > > Sounds great ... and I found a bug in the mp150 code.
> Your scanner
> > > hasn't received the XML end of scan dialog. So you
> couldn't be
> > able to
> > > start a new scan...
> > >
> > > Please test the version +git20170823 from my test ppa.
> This is
> > the most
> > > recent SANE version from git *with* the bug fix.
> > >
> > > Many thanks for your help.
> > >
> > > Cheers,
> > > Rolf
> > >
> > > Am 30.08.2017 um 17:28 schrieb Stephen Weston:
> > > > Rolf,
> > > >
> > > > I have tried it out with the '$SANE_USB_WORKAROUND=1
> > scanimage -T'
> > > > command on a none-working system and it has not made any
> > > difference. The
> > > > scanner continues to look busy after the initial scan
> and a
> > second
> > > scan
> > > > fails as before.
> > > >
> > > > I had much more success with the git+20170627 version as
> > that worked
> > > > okay as you suggested it might.
> > > >
> > > > I am keen to help, test and do what I can to help get the
> > scanner
> > > > working correctly, but just to let you know I will be
> unable
> > to do
> > 

Re: [sane-devel] Canon PIXMA MX925 - scan process now broken (does not end)

2017-08-31 Thread Rolf Bensch
Hi Stephen,

Sounds great ... and I found a bug in the mp150 code. Your scanner
hasn't received the XML end of scan dialog. So you couldn't be able to
start a new scan...

Please test the version +git20170823 from my test ppa. This is the most
recent SANE version from git *with* the bug fix.

Many thanks for your help.

Cheers,
Rolf

Am 30.08.2017 um 17:28 schrieb Stephen Weston:
> Rolf,
> 
> I have tried it out with the '$SANE_USB_WORKAROUND=1 scanimage -T'
> command on a none-working system and it has not made any difference. The
> scanner continues to look busy after the initial scan and a second scan
> fails as before.
> 
> I had much more success with the git+20170627 version as that worked
> okay as you suggested it might.
> 
> I am keen to help, test and do what I can to help get the scanner
> working correctly, but just to let you know I will be unable to do much
> until the 15th September. I am moving home and my ISP won't be
> connecting my new place to the internet until then (and thats assuming
> no hiccups). I will have mobile internet, so I can receive and send
> emails at least, but nothing data heavy.
> 
> Kind regards,
> Stephen
> 
> On 29 August 2017 at 11:52, Rolf Bensch  > wrote:
> 
> Hi Stephen,
> 
> Please test an older version from my test ppa: git20170627. I hope that
> this version is running.
> 
> On a not working system, please test this:
> $ SANE_USB_WORKAROUND=1 scanimage -T
> 
> I still cannot reproduce this problem on my system, even in a VirtualBox
> VM with installed Ubuntu 17.04.
> 
> Many thanks for your help.
> 
> Cheers,
> Rolf
> 
> 
> Am 26.08.2017 um 14:57 schrieb Stephen Weston:
> > Hi,
> >
> > Had a go with the Ubuntu test ppa after a fresh install of Ubuntu
> 17.04
> > in VirtualBox. The terminal output is as below. As you can see the
> > scanner was successfully detected and the initial scan worked, but the
> > scanner was left in a busy 'scanning...' state and a second attempt at
> > scanning did not work.
> >
> > stephen@stephen-VirtualBox:~$ scanimage --version
> > scanimage (sane-backends) 1.0.27git; backend version 1.0.27
> >
> >
> >
> > stephen@stephen-VirtualBox:~$ scanimage -L
> > device `pixma:MX530_192.168.1.68' is a CANON Canon PIXMA MX530
> > Series multi-function peripheral
> >
> >
> >
> > stephen@stephen-VirtualBox:~$ scanimage -T
> > scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
> > scanimage: acquiring RGB frame, 8 bits/sample
> > scanimage: reading one scanline, 1914 bytes...PASS
> > scanimage: reading one byte...PASS
> > scanimage: stepped read, 2 bytes... PASS
> > scanimage: stepped read, 4 bytes... PASS
> > scanimage: stepped read, 8 bytes... PASS
> > scanimage: stepped read, 16 bytes... PASS
> > scanimage: stepped read, 32 bytes... PASS
> > scanimage: stepped read, 64 bytes... PASS
> > scanimage: stepped read, 128 bytes... PASS
> > scanimage: stepped read, 256 bytes... PASS
> > scanimage: stepped read, 512 bytes... PASS
> > scanimage: stepped read, 1024 bytes... PASS
> > scanimage: stepped read, 2048 bytes... PASS
> > scanimage: stepped read, 2047 bytes... PASS
> > scanimage: stepped read, 1023 bytes... PASS
> > scanimage: stepped read, 511 bytes... PASS
> > scanimage: stepped read, 255 bytes... PASS
> > scanimage: stepped read, 127 bytes... PASS
> > scanimage: stepped read, 63 bytes... PASS
> > scanimage: stepped read, 31 bytes... PASS
> > scanimage: stepped read, 15 bytes... PASS
> > scanimage: stepped read, 7 bytes... PASS
> > scanimage: stepped read, 3 bytes... PASS
> >
> >
> >
> > stephen@stephen-VirtualBox:~$ scanimage -T
> > scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
> > scanimage: acquiring RGB frame, 8 bits/sample
> > scanimage: reading one scanline, 1914 bytes...FAIL Error:
> Error
> > during device I/O
> >
> >
> >
> > Thanks. I appreciate your work in getting the scanner sorted.
> > Kind regards,
> > Stephen
> >
> > On 26 August 2017 at 10:50, Rolf Bensch  
> > >> wrote:
> >
> > Hi,
> >
> > I just uploaded a version without the sanei threading changes to my
> > Ubuntu test ppa
> > (https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-test
> 
> > 

Re: [sane-devel] Canon PIXMA MX925 - scan process now broken (does not end)

2017-08-29 Thread Rolf Bensch
Hi Stephen,

Please test an older version from my test ppa: git20170627. I hope that
this version is running.

On a not working system, please test this:
$ SANE_USB_WORKAROUND=1 scanimage -T

I still cannot reproduce this problem on my system, even in a VirtualBox
VM with installed Ubuntu 17.04.

Many thanks for your help.

Cheers,
Rolf


Am 26.08.2017 um 14:57 schrieb Stephen Weston:
> Hi,
> 
> Had a go with the Ubuntu test ppa after a fresh install of Ubuntu 17.04
> in VirtualBox. The terminal output is as below. As you can see the
> scanner was successfully detected and the initial scan worked, but the
> scanner was left in a busy 'scanning...' state and a second attempt at
> scanning did not work.
> 
> stephen@stephen-VirtualBox:~$ scanimage --version
> scanimage (sane-backends) 1.0.27git; backend version 1.0.27
> 
>  
> 
> stephen@stephen-VirtualBox:~$ scanimage -L
> device `pixma:MX530_192.168.1.68' is a CANON Canon PIXMA MX530
> Series multi-function peripheral
> 
>  
> 
> stephen@stephen-VirtualBox:~$ scanimage -T
> scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
> scanimage: acquiring RGB frame, 8 bits/sample
> scanimage: reading one scanline, 1914 bytes...PASS
> scanimage: reading one byte...PASS
> scanimage: stepped read, 2 bytes... PASS
> scanimage: stepped read, 4 bytes... PASS
> scanimage: stepped read, 8 bytes... PASS
> scanimage: stepped read, 16 bytes... PASS
> scanimage: stepped read, 32 bytes... PASS
> scanimage: stepped read, 64 bytes... PASS
> scanimage: stepped read, 128 bytes... PASS
> scanimage: stepped read, 256 bytes... PASS
> scanimage: stepped read, 512 bytes... PASS
> scanimage: stepped read, 1024 bytes... PASS
> scanimage: stepped read, 2048 bytes... PASS
> scanimage: stepped read, 2047 bytes... PASS
> scanimage: stepped read, 1023 bytes... PASS
> scanimage: stepped read, 511 bytes... PASS
> scanimage: stepped read, 255 bytes... PASS
> scanimage: stepped read, 127 bytes... PASS
> scanimage: stepped read, 63 bytes... PASS
> scanimage: stepped read, 31 bytes... PASS
> scanimage: stepped read, 15 bytes... PASS
> scanimage: stepped read, 7 bytes... PASS
> scanimage: stepped read, 3 bytes... PASS
> 
>  
> 
> stephen@stephen-VirtualBox:~$ scanimage -T
> scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
> scanimage: acquiring RGB frame, 8 bits/sample
> scanimage: reading one scanline, 1914 bytes...FAIL Error: Error
> during device I/O
> 
> 
> 
> Thanks. I appreciate your work in getting the scanner sorted.
> Kind regards,
> Stephen
> 
> On 26 August 2017 at 10:50, Rolf Bensch  > wrote:
> 
> Hi,
> 
> I just uploaded a version without the sanei threading changes to my
> Ubuntu test ppa
> (https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-test
> ). Please
> test this version and report your results.
> 
> Many thanks for your help.
> 
> Cheers,
> Rolf
> 
> Am 12.08.2017 um 05:32 schrieb Olaf Meeuwissen:
> > Hi Kay,
> >
> > Kay Drangmeister writes:
> >
> >> Hi,
> >>
> >> I am using the sane libs (Ubuntu 16.04) with a Canon Pixma MX925
> >> successfully for years now. Since some time (days, maybe weeks), the
> >> scan process does not terminate well.
> >
> > There were two recent threads about similar issues that may be of
> > interest
> >
> > 
> https://lists.alioth.debian.org/pipermail/sane-devel/2017-July/035481.html
> 
> 
> > 
> https://lists.alioth.debian.org/pipermail/sane-devel/2017-July/035520.html
> 
> 
> >
> > Note, both threads continue on
> >
> > 
> 
> https://lists.alioth.debian.org/pipermail/sane-devel/2017-August/thread.html
> 
> 
> >
> > You could try reverting to 1.0.25+git20150528
> >
> > @Rolf> I hope these recent problem don't have anything to do with my
> >sanei threading changes.
> >
> >> [...]
> >
> > Hope this helps,
> > --
> > Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
> >  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
> >  Support Free Softwarehttps://my.fsf.org/donate
> >  Join the Free Software Foundation  https://my.fsf.org/join
> >
> 
> --
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> 

Re: [sane-devel] Canon PIXMA MX925 - scan process now broken (does not end)

2017-08-26 Thread Stephen Weston
Hi,

Had a go with the Ubuntu test ppa after a fresh install of Ubuntu 17.04 in
VirtualBox. The terminal output is as below. As you can see the scanner was
successfully detected and the initial scan worked, but the scanner was left
in a busy 'scanning...' state and a second attempt at scanning did not work.

stephen@stephen-VirtualBox:~$ scanimage --version
> scanimage (sane-backends) 1.0.27git; backend version 1.0.27
>


> stephen@stephen-VirtualBox:~$ scanimage -L
> device `pixma:MX530_192.168.1.68' is a CANON Canon PIXMA MX530 Series
> multi-function peripheral
>


> stephen@stephen-VirtualBox:~$ scanimage -T
> scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
> scanimage: acquiring RGB frame, 8 bits/sample
> scanimage: reading one scanline, 1914 bytes...PASS
> scanimage: reading one byte...PASS
> scanimage: stepped read, 2 bytes... PASS
> scanimage: stepped read, 4 bytes... PASS
> scanimage: stepped read, 8 bytes... PASS
> scanimage: stepped read, 16 bytes... PASS
> scanimage: stepped read, 32 bytes... PASS
> scanimage: stepped read, 64 bytes... PASS
> scanimage: stepped read, 128 bytes... PASS
> scanimage: stepped read, 256 bytes... PASS
> scanimage: stepped read, 512 bytes... PASS
> scanimage: stepped read, 1024 bytes... PASS
> scanimage: stepped read, 2048 bytes... PASS
> scanimage: stepped read, 2047 bytes... PASS
> scanimage: stepped read, 1023 bytes... PASS
> scanimage: stepped read, 511 bytes... PASS
> scanimage: stepped read, 255 bytes... PASS
> scanimage: stepped read, 127 bytes... PASS
> scanimage: stepped read, 63 bytes... PASS
> scanimage: stepped read, 31 bytes... PASS
> scanimage: stepped read, 15 bytes... PASS
> scanimage: stepped read, 7 bytes... PASS
> scanimage: stepped read, 3 bytes... PASS
>


> stephen@stephen-VirtualBox:~$ scanimage -T
> scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
> scanimage: acquiring RGB frame, 8 bits/sample
> scanimage: reading one scanline, 1914 bytes...FAIL Error: Error during
> device I/O
>


Thanks. I appreciate your work in getting the scanner sorted.
Kind regards,
Stephen

On 26 August 2017 at 10:50, Rolf Bensch  wrote:

> Hi,
>
> I just uploaded a version without the sanei threading changes to my
> Ubuntu test ppa
> (https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-test). Please
> test this version and report your results.
>
> Many thanks for your help.
>
> Cheers,
> Rolf
>
> Am 12.08.2017 um 05:32 schrieb Olaf Meeuwissen:
> > Hi Kay,
> >
> > Kay Drangmeister writes:
> >
> >> Hi,
> >>
> >> I am using the sane libs (Ubuntu 16.04) with a Canon Pixma MX925
> >> successfully for years now. Since some time (days, maybe weeks), the
> >> scan process does not terminate well.
> >
> > There were two recent threads about similar issues that may be of
> > interest
> >
> >  https://lists.alioth.debian.org/pipermail/sane-devel/2017-
> July/035481.html
> >  https://lists.alioth.debian.org/pipermail/sane-devel/2017-
> July/035520.html
> >
> > Note, both threads continue on
> >
> >  https://lists.alioth.debian.org/pipermail/sane-devel/2017-
> August/thread.html
> >
> > You could try reverting to 1.0.25+git20150528
> >
> > @Rolf> I hope these recent problem don't have anything to do with my
> >sanei threading changes.
> >
> >> [...]
> >
> > Hope this helps,
> > --
> > Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
> >  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
> >  Support Free Softwarehttps://my.fsf.org/donate
> >  Join the Free Software Foundation  https://my.fsf.org/join
> >
>
> --
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>  to sane-devel-requ...@lists.alioth.debian.org
>
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon PIXMA MX925 - scan process now broken (does not end)

2017-08-26 Thread Rolf Bensch
Hi,

I just uploaded a version without the sanei threading changes to my
Ubuntu test ppa
(https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-test). Please
test this version and report your results.

Many thanks for your help.

Cheers,
Rolf

Am 12.08.2017 um 05:32 schrieb Olaf Meeuwissen:
> Hi Kay,
> 
> Kay Drangmeister writes:
> 
>> Hi,
>>
>> I am using the sane libs (Ubuntu 16.04) with a Canon Pixma MX925
>> successfully for years now. Since some time (days, maybe weeks), the
>> scan process does not terminate well.
> 
> There were two recent threads about similar issues that may be of
> interest
> 
>  https://lists.alioth.debian.org/pipermail/sane-devel/2017-July/035481.html
>  https://lists.alioth.debian.org/pipermail/sane-devel/2017-July/035520.html
> 
> Note, both threads continue on
> 
>  https://lists.alioth.debian.org/pipermail/sane-devel/2017-August/thread.html
> 
> You could try reverting to 1.0.25+git20150528
> 
> @Rolf> I hope these recent problem don't have anything to do with my
>sanei threading changes.
> 
>> [...]
> 
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
> 

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] Canon PIXMA MX925 - scan process now broken (does not end)

2017-08-11 Thread Olaf Meeuwissen
Hi Kay,

Kay Drangmeister writes:

> Hi,
>
> I am using the sane libs (Ubuntu 16.04) with a Canon Pixma MX925
> successfully for years now. Since some time (days, maybe weeks), the
> scan process does not terminate well.

There were two recent threads about similar issues that may be of
interest

 https://lists.alioth.debian.org/pipermail/sane-devel/2017-July/035481.html
 https://lists.alioth.debian.org/pipermail/sane-devel/2017-July/035520.html

Note, both threads continue on

 https://lists.alioth.debian.org/pipermail/sane-devel/2017-August/thread.html

You could try reverting to 1.0.25+git20150528

@Rolf> I hope these recent problem don't have anything to do with my
   sanei threading changes.

> [...]

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org