[sane-devel] support for Canon MG8150

Louis Lagendijk louis at lagendijk.xs4all.nl
Mon Nov 1 20:29:14 UTC 2010


On Sun, 2010-10-31 at 19:51 +0100, 
> > 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
> >
> 
> I already treid something along those lines by copying the line for  
> the MP990 instead of the MG6200. Since I didn't know where to find the  
> id, I just copied the one from the 990. So since this is the USB id, I  
> will connect the device via USB and try what you suggested.

Please check the USB-ids, if it is incorrect network scanning will work
(as long as the device id is unique) as the network code gets the
device-id from the definition in mp150.c where it does the lookup by the
name of the device read over the ethernet connection. For USB it works
the other way round....SO if the the id is incorrect network scanning
will work, while usb scanning fails

best regards, Louis (author of the BJNP stuff)





More information about the sane-devel mailing list