[sane-devel] Canon PIXMA MG6350

Theo theo.van.rijn at gmail.com
Sun Mar 24 20:45:17 UTC 2013


Hi Rolf,

regarding the scanner buttons: the MG6300 matches the MG6200. This would 
make the patch as simple as this:||||

diff --git a/backend/pixma_mp150.c b/backend/pixma_mp150.c
index 494c23e..febd06c 100644
--- a/backend/pixma_mp150.c
+++ b/backend/pixma_mp150.c
@@ -918,7 +918,7 @@ handle_interrupt (pixma_t * s, int timeout)
     * oo: original
     * tt: target
     * poll event with 'scanimage -A' */
-  if (s->cfg->pid == MG6200_PID)
+  if (s->cfg->pid == MG6200_PID || s->cfg->pid == MG6300_PID)
    /* button no. in buf[7]
     * size in buf[10] 01=A4; 02=Letter; 08=10x15; 09=13x18; 0b=auto
     * format in buf[11] 01=JPEG; 02=TIFF; 03=PDF; 04=Kompakt-PDF


Regarding the USB connectivity error: it occurred again today and I sort 
of believe it was caused by a xsane. I did noticed the USB connection 
name changed when the issue occurred. When it works, the name is 
'pixma:04A91765_20A814', when there are issues the name changes to 
'pixma:04A91765':

With the connection issue:
   $ scanimage -L
   device `v4l:/dev/video0' is a Noname UVC Camera (046d:0825) virtual 
device
   device `pixma:MG6300_canon-printer' is a CANON Canon PIXMA MG6300 
multi-function peripheral
   device `pixma:04A91765' is a CANON Canon PIXMA MG6300 multi-function 
peripheral

Without the connection issue:
   $ scanimage -L
   device `v4l:/dev/video0' is a Noname UVC Camera (046d:0825) virtual 
device
   device `pixma:MG6300_canon-printer' is a CANON Canon PIXMA MG6300 
multi-function peripheral
   device `pixma:04A91765_20A814' is a CANON Canon PIXMA MG6300 
multi-function peripheral

Can you tell where this name is created?

Thanks again, Theo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130324/b174622a/attachment.html>


More information about the sane-devel mailing list