[sane-devel] Canon MX530 - Error during device I/O

Rolf Bensch rolf at bensch-online.de
Sat Aug 26 09:39:27 UTC 2017


Hi Stephen,

I would like to know which build fails. Please test the recent version
from my test ppa.

The problem is that on my system I cannot reproduce the problem with
your scanner.

Many thanks for your help in advance.

Cheers,
Rolf

Am 23.08.2017 um 20:11 schrieb Stephen Weston:
> Rolf,
> 
> Thanks for your help. The scanner appears to work with the SANE release
> PPA and your test PPA. Terminal output below:-
> 
>     stephen at stephen-VirtualBox:~$ scanimage --version
>     scanimage (sane-backends) 1.0.27; backend version 1.0.27
> 
>  
> 
>     stephen at stephen-VirtualBox:~$ scanimage -L
>     device `pixma:MX530_192.168.1.68' is a CANON Canon PIXMA MX530
>     Series multi-function peripheral
> 
>  
> 
>     stephen at 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 at 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
> 
> 
> However, a relatively less serious issue, if I leave the scanner for a
> more extended period of time (for it to go into standby), when I attempt
> use it I get the following output. It appears that SANE is unable to
> wake the scanner up out of standby.
> 
>     stephen at 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...    [bjnp]
>     bjnp_open_tcp: ERROR - Can not connect to scanner: Connection refused
>     FAIL Error: Invalid argument
> 
> 
> After pressing a button on the device to wake it up out of standby it
> works fine again. Not  a serious issue as pressing a button on the
> scanner to wake it up isn't too problematic.
> 
> 
> Kind regards,
> Stephen
> 
> 
> 
> On 23 August 2017 at 09:00, Rolf Bensch <rolf at bensch-online.de
> <mailto:rolf at bensch-online.de>> wrote:
> 
>     Hi Stephen,
> 
>     Please try my SANE Release PPA:
>     https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-release
>     <https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-release> .
> 
>     If your scanner is working with this, please try my inofficial test
>     ppa: https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-test
>     <https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-test> .
> 
>     Other users reported similar problems with their scanners. I suppose
>     a problem with one of the recent commits to the git repository.
> 
>     Hope this helps.
> 
>     Cheers,
>     Rolf
> 
> 
>     Am 20.08.2017 um 12:49 schrieb Stephen Weston:
>>     Dear all,
>>
>>     I am hoping to get some help to get the scanner on my Canon MX535
>>     multi-function device working. In the past it has worked no
>>     problems, but trying it recently it has not been so successful.
>>     The printer function works perfectly. I am using Ubuntu Gnome
>>     17.04 fully updated and with the sane-git repository. I am using
>>     the scanner over wifi.
>>      
>>     After testing the scanner as much as I know how it appears that
>>     the scanner works initially, but then fails after trying to use it
>>     a second time. So, on the standard work flow in xsane of doing a
>>     preview first, then selecting the scan area and clicking scan, the
>>     scanner will do the preview fine, but fail with 'Error during
>>     device I/O" on clicking scan. After the initial scan appears to
>>     have completed the scanner is left in a 'busy' state with
>>     'Scanning...' displayed on its screen and a blue LED flashing as
>>     if its still trying to work away (although the light bar looks
>>     parked and is not lit up). Switching the scanner off and on again
>>     allows me to scan again, but only once before the same happens.
>>
>>     I include the output from using scanimage to test the device
>>     below. I have run scanimage -T twice, the second time shortly
>>     after the first 'successful' attempt.
>>
>>         stephen at stephen-VirtualBox:~$ scanimage --version
>>         scanimage (sane-backends) 1.0.27git; backend version 1.0.27
>>
>>      
>>
>>         stephen at stephen-VirtualBox:~$ scanimage -L
>>         device `pixma:MX530_192.168.1.68' is a CANON Canon PIXMA MX530
>>         Series multi-function peripheral
>>
>>      
>>
>>         stephen at 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
>>
>>
>>     (After this the scanner appears to still be 'busy' as described
>>     above)
>>      
>>
>>         stephen at 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
>>
>>
>>     Any help would be appreciated and I am willing to do any testing
>>     as required, but will need instructions.
>>
>>     Kind regards,
>>
>>     Stephen
>>
>>     P.S. sorry, this is my second post on to this mailing list. Not
>>     sure if my first email got through or not, but unfortunately I did
>>     not get a reply. I'm hoping with this extra information someone
>>     may be able to help.
> 
> 



More information about the sane-devel mailing list