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

2017-08-31 Thread Rolf Bensch
Hi Stephen,

Many thanks for your fast response. I just committed the bug fix into
the master branch. It will be available in my SANE repository tomorrow.

Many thanks again for your help making SANE more stable.

Cheers,
Rolf

Am 31.08.2017 um 18:48 schrieb Stephen Weston:
> Rolf,
> 
>  
> 
> Thanks. Tested +git20170823 and it worked perfectly.
> 
>  
> 
> I appreciate the work you’ve done in correcting the bug and it certainly
> helps me to be able to use the scanner!
> 
>  
> 
> Kind regards,
> 
> Stephen
> 
>  
> 
> Sent from Mail  for
> Windows 10
> 
>  
> 
> *From: *Rolf Bensch 
> *Sent: *31 August 2017 13:48
> *To: *Stephen Weston 
> *Cc: *Sane Development 
> *Subject: *Re: [sane-devel] Canon PIXMA MX925 - scan process now broken
> (doesnot end)
> 
>  
> 
> 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
> 

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

2017-08-31 Thread Stephen Weston
Rolf,

Thanks. Tested +git20170823 and it worked perfectly.

I appreciate the work you’ve done in correcting the bug and it certainly helps 
me to be able to use the scanner!

Kind regards,
Stephen

Sent from Mail for Windows 10

From: Rolf Bensch
Sent: 31 August 2017 13:48
To: Stephen Weston
Cc: Sane Development
Subject: Re: [sane-devel] Canon PIXMA MX925 - scan process now broken (doesnot 
end)

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  

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
> 
> >