[sane-devel] Canon PIXMA MG6350

Rolf Bensch rolf at bensch-online.de
Mon Mar 25 09:35:41 UTC 2013


Hi Theo,

I just committed button support patch to git.

Sorry, I have no idea about the usb interface. Maybe somebody else can
help with this issue.

Many thanks for your help.

Cheers,
Rolf



Am 24.03.2013 21:45, schrieb Theo:
> 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



More information about the sane-devel mailing list