[sane-devel] Error: Canon Pixma MG7550 hangs

Martin martin.gu at intergga.ch
Fri Jan 2 21:59:07 UTC 2015


Hi Troels

> *Is it USB3 (on the computer)?
no, it is USB2
> *Do you have access to another computer, where you can try it - Does it
> work excactly the same strange way ... ?
No,I don't have access to another computer. But I have also Windows 7 
installed. With Windows 7 and the Canon-software it works OK. 

> *Does unit have ethernet connection / can you try that way?
Yes. With the ethernet connection the printer works. Thus the IP-address below 
is correct.
But I cannot access the scanner.
	xsane pixma:MG7500_192.168.0.3
results in the error message "illegal argument". Same thing with
	scanimage --help -d bnjp://192.168.0.3:8612

Could you please tell me how to specify the device? Or do I have to enable IP-
support during compilation?

> *Excactly what is the last log line, before it hangs?
The log shows:
> [pixma] Sending time: '14/12/07 23:12'
> [pixma] OUT  T=1.257 len=36
> [pixma]  00000000:eb 80 00 00 00 00 00 00  00 00 00 00 00 00 00 14
> [pixma]  00000010:31 34 2f 31 32 2f 30 37  20 32 33 3a 31 32 00 00
> [pixma]  00000020:00 00 00 51
> [pixma]
> [pixma] IN   T=21.258 len=-9
> [pixma]   ERROR: ETIMEDOUT
Therefore I assume the last line is "00 00 00 51"

The initialization sequence of the Canon software on Windows shows:
out:
55 53 42 43 F0 36 04 0B 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00
in:
55 53 42 53 F0 36 04 0B 00 00 00 00 01
55 53 42 43 F0 36 04 0B 12 00 00 00 80 00 0C 03 00 00 00 12 00 00 00 00 00 00 
00 00 00 00 00

Sometimes the initialization with scanimage -T does not work either. I didn't 
find out, when it works and when not.

Martin


Am Donnerstag, 1. Januar 2015, 21.56:45 schrieben Sie:
> Hi Martin,
> 
> - please keep posting to the group, and please cut away some of the bulk
> data section in the log file, so it can be posted here (100 kb limit).
> 
> As you wrote:
> >One other thing puzzled me:
> > The sequece
> > 
> >         - scanimage -T
> >         - starting xsane from the command line and terminating it
> >         - using the Gimp-plugin (create new from scanners...)
> > 
> > works all right.
> > But without the second step, starting xsane, the Gimp-plugin hangs.
> 
> This behaviour REALLY puzzels me too....
> 
> *Is it USB3 (on the computer)?
> *Do you have access to another computer, where you can try it - Does it
> work excactly the same strange way ... ?
> *Does unit have ethernet connection / can you try that way?
> *Excactly what is the last log line, before it hangs?
> 
> /Troels
> 
> 2014-12-29 19:24 GMT+01:00 Martin <martin.gu at intergga.ch>:
> > Hi Troels
> > 
> > I hope you had nice Christmas days.
> > 
> > Finally I came around to install UsbLyzer and make the log. It seems that
> > the
> > initialization sequence is very different, though I do not know the USB-
> > protocol.
> > 
> > Please let me know if you need other data. The 30-days evaluation period
> > of
> > USBLyzer started 3 days ago, so there should be enough time for further
> > tests.
> > 
> > One other thing puzzled me:
> > The sequece
> > 
> >         - scanimage -T
> >         - starting xsane from the command line and terminating it
> >         - using the Gimp-plugin (create new from scanners...)
> > 
> > works all right.
> > 
> > But without the second step, starting xsane, the Gimp-plugin hangs.
> > 
> > Martin
> > 
> > Am Mittwoch, 17. Dezember 2014, 15.37:52 schrieben Sie:
> > > Hi,
> > > 
> > > Yes, make a communication log under Windows with e.g. UsbLyzer.
> > > 
> > > Then compare it with the comm. sequence done by Sane under Linux.
> > > You can activate USB logging with environment variables, you don't need
> > 
> > to
> > 
> > > pick it up with an external tool.
> > > 
> > > /Troels
> > > 
> > > 2014-12-15 23:32 GMT+01:00 Martin <martin.gu at intergga.ch>:
> > > > Troels
> > > > 
> > > > Would it help to log the initialization sequence of the
> > > > Canon-software?
> > > > Since
> > > > their Linux-program scangearmp2 is buggy and does not run on openSUSE
> > > > I
> > > > would
> > > > have analyze it on Windows. Do you happen to know a good program for
> > 
> > that?
> > 
> > > > Martin
> > > > 
> > > > Am Sonntag, 7. Dezember 2014, 23.35:40 schrieb Martin:
> > > > > I built and installed the backend again and followed exactly the
> > > > > instructions in READEM.linux.
> > > > > - it is not a permission problem: the scanner is found and can be
> > > > 
> > > > accessed.
> > > > 
> > > > > - the library order seems correct, although version 25 is listed
> > 
> > twice:
> > > > >   sudo /sbin/ldconfig -v | grep libsane
> > > > >   
> > > > >         libsane.so.1 -> libsane.so.1.0.25
> > > > >         libsane.so.1 -> libsane.so.1.0.23
> > > > >         libsane.so.1 -> libsane.so.1.0.25
> > > > > 
> > > > > - The log file of "xsane" shows a timeout:
> > > > > [pixma] Sending time: '14/12/07 23:12'
> > > > > [pixma] OUT  T=1.257 len=36
> > > > > [pixma]  00000000:eb 80 00 00 00 00 00 00  00 00 00 00 00 00 00 14
> > > > > [pixma]  00000010:31 34 2f 31 32 2f 30 37  20 32 33 3a 31 32 00 00
> > > > > [pixma]  00000020:00 00 00 51
> > > > > [pixma]
> > > > > [pixma] IN   T=21.258 len=-9
> > > > > [pixma]   ERROR: ETIMEDOUT
> > > > [pixma]
> > > > 
> > > > > 00000010:2e 30 22 20 65 6e 63 6f  64 69 6e 67 3d 22 75 74 [pixma]
> > > > > 00000020:66 2d 38 22 20 3f 3e 3c  63 6d 64 20 78 6d 6c 6e [pixma]
> > > > > 00000030:73 3a 69 76 65 63 3d 22  68 74 74 70 3a 2f 2f 77 [pixma]
> > > > > 00000040:77 77 2e 63 61 6e 6f 6e  2e 63 6f 6d 2f 6e 73 2f [pixma]
> > > > > 00000050:63 6d 64 2f 32 30 30 38  2f 30 37 2f 63 6f 6d 6d [pixma]
> > > > > 00000060:6f 6e 2f 22 3e 3c 69 76  65 63 3a 63 6f 6e 74 65 [pixma]
> > > > > 00000070:6e 74 73 3e 3c 69 76 65  63 3a 6f 70 65 72 61 74 [pixma]
> > 
> > ...
> > 
> > > > > [pixma]
> > > > > [pixma] IN   T=21.049 len=-9
> > > > > [pixma]   ERROR: ETIMEDOUT
> > > > > [pixma]
> > > > > [pixma] No response yet. Timed out in 8 sec.
> > > > > [pixma] IN   T=42.064 len=-9
> > > > > [pixma]   ERROR: ETIMEDOUT
> > > > > 
> > > > > It is strange that the command "scanimage -T" works if run as first
> > > > 
> > > > command
> > > > 
> > > > > after the scanner is switched on. After that also "xsane" works if
> > 
> > run
> > 
> > > > > without setting SANE_DEBUG_PIXMA=11. When run with debug enabled the
> > > > > command hangs.
> > > > > 
> > > > > A timing problem?
> > > > > 
> > > > > Martin
> > > > > 
> > > > > > I probably cant fix it, but could give you a few pointers:
> > > > > > 
> > > > > > 1)
> > > > > > Please make sure you've checked and double-checked every bit of
> > > > > > the
> > > > > > README_linux.txt
> > > > > > (permissions - groups - library search order etc)
> > > > > > 
> > > > > > 2)
> > > > > > Do a scan with debug enabled, e.g.
> > > > > > 'export SANE_DEBUG_PIXMA=11' and 'xsane &> pixma.log'
> > > > > > 
> > > > > > (There is higher debug levels also)
> > > > > > 
> > > > > > See if you can figure something out and/or post log file here.
> > > > > > 
> > > > > > 
> > > > > > /Troels
> > > > > > 
> > > > > > 2014-12-05 23:21 GMT+01:00 Martin <martin.gu at intergga.ch>:
> > > > > > > Hi,
> > > > > > > 
> > > > > > > Today I built Sane 1.0.25 from the development repository.
> > > > > > > 
> > > > > > > But a software that tries to use the pixma backend hangs.
> > > > > > > I tried scanimage --format tiff -x 10 -y10 > /dev/null, xsane
> > > > > > > and
> > > > 
> > > > Gimp.
> > > > 
> > > > > > > The scanner works if the first command after power-up is
> > > > > > > "scanimage -T". After that the mentioned programs work fine.
> > > > > > > 
> > > > > > > Could anyone please look into this problem?
> > > > > > > 
> > > > > > > Martin
> > > > > > > 
> > > > > > > 
> > > > > > > --
> > > > > > > sane-devel mailing list: sane-devel at 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-request at lists.alioth.debian.org




More information about the sane-devel mailing list