[sane-devel] support for Canon MG8150

Wandrille Roncé w at ndrille.fr
Fri Jun 10 03:08:51 UTC 2011


Le vendredi 10 juin 2011 04:17:54, vous avez écrit :
> On Fri, Jun 10, 2011 at 10:50 AM, VanVan <vanvan at vanvan.cc> wrote:
> > Hi,
> > I saw you didn't commit that to the git.
> 
> Hello,
> 
> I am afraid I cannot tell who you are speaking to, or what message you
> are relating to. Can you please clarify?
> 
> > I try to do the same things like you, but i have a little problem.
> > You said that the ID was wrong, I use  #define MG8100_PID 0x174b, because
> > my lsusb told me that my id was 174b.
> 
> That looks correct.
> 
> > When I run sane-find-scanner with USB, I found :
> > found USB scanner (vendor=0x04a9 [Canon], product=0x174b [MG8100 series])
> > at libusb:002:004
> 
> That looks correct. That means libusb is working (IIRC).
> 
> > (But I found nothing on Ethernet)
> 
> I don't know how the ethernet functionality works, sorry.
> 
> > And after that, When I run scanimage -L or -F, I found nothing.
> 
> Maybe you did not compile the driver correctly? Or maybe support is
> not complete? You should look at sane-pixma and enable the debug level
> (maybe 3?) and then run the correct (/usr/local ?) scanimage again,
> with -v, to see what the pixma backend does with the USB IDs it finds.
> 
> > Did I missed something ?
> > (Sorry for my english, I'm french)
> 
> No problem! Your English is fine.
> Best regards,
> Gernot Hassenpflug
> 
> > --
> > 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



Thanks for the quick response.

It was a reply to
"
On Tue, Nov 2, 2010 at 5:29 AM, Louis Lagendijk
<louis <at> lagendijk.xs4all.nl> wrote:
  On Sun, 2010-10-31 at 19:51 +0100,
"
I had try again with git last version.
I just compile a sane-backends ( git clone git://anonscm.debian.org/sane/sane-
backends.git) and modify the file pixma_mp150.c to add support for the Canon 
MG8150 printer.

By adding this :
>> > You can try adding the definitions near the end of pixma_mp150.c where
>> > similar definitions exist, like this:
>> >
>> >   /* Latest devices (2010) Generation 4 CIS/CCD */
>> >   DEVICE ("Canon PIXMA MP280",  "MP280",  MP280_PID,  1200, 638, 877,
>> > PIXMA_CAP_CIS),
>> >   DEVICE ("Canon PIXMA MG5100", "MG5100", MG5100_PID, 1200, 638, 877,
>> > PIXMA_CAP_CIS),
>> >   DEVICE ("Canon PIXMA MG6100", "MG6100", MG6100_PID, 2400, 638, 877,
>> > PIXMA_CAP_CIS),
>> >   DEVICE ("Canon PIXMA MG6200", "MG6200", MG6200_PID, 2400, 638, 877,
>> > PIXMA_CAP_CIS),
>> >   DEVICE ("Canon PIXMA MG8100", "MG8100", MG8100_PID, 4800, 638, 877,
>> > PIXMA_CAP_CCD | PIXMA_CAP_TPU),
>> >
>> > and the USB ids near the start of the file under the existing ones,
>> > like this:
>> >
>> > #define MP280_PID 0x1746
>> > #define MG5100_PID 0x1748
>> > #define MG5200_PID 0x1749
>> > #define MG6100_PID 0x174a
>> > #define MG8100_PID 0x174b

sane-find-scanner found the scanner on USB mode
> found USB scanner (vendor=0x04a9 [Canon], product=0x174b [MG8100 series]) at
> libusb:002:004

But after:

Scanimage (from /usr/local/bin) has no verbose mode, with -v or no, I just has 
the msg "scanimage: no SANE devices found" 

Have you and idée ?


If I success to have the Canon MG8150 to work, can i commit that to git  to 
give the driver for this printer to all the community ? (And after that on 
each linux distribution ?)

Thanks.
W.R



More information about the sane-devel mailing list