[sane-devel] Canon PIXMA MP230

Petar Dodev petar.dodev at gmail.com
Thu Mar 21 11:38:45 UTC 2013


Hi!

I recently bought a MP230 and I mounted it on my home Linux  server. The
model wasn't supported by SANE yet, so I dug around and found how to add it
in the supported devices:

diff --git a/backend/pixma_mp150.c b/backend/pixma_mp150.c
index 494c23e..08edc45 100644
--- a/backend/pixma_mp150.c
+++ b/backend/pixma_mp150.c
@@ -185,6 +185,7 @@
 #define MX890_PID 0x175E
 #define E600_PID 0x175A
 #define MG4200_PID 0x1763
+#define MP230_PID 0x175F

 /* 2013 new devices (untested) */
 #define MG6300_PID 0x1765
@@ -1711,6 +1712,7 @@ const pixma_config_t pixma_mp150_devices[] = {
   DEVICE ("Canon PIXMA MX890 Series", "MX890", MX890_PID, 2400, 0, 0, 638,
877, PIXMA_CAP_CIS | PIXMA_CAP_ADFDUP),
   DEVICE ("Canon PIXMA E600 Series",  "E600",  E600_PID,  1200, 0, 0, 638,
877, PIXMA_CAP_CIS | PIXMA_CAP_ADF),
   DEVICE ("Canon PIXMA MG4200", "MG4200", MG4200_PID, 1200, 0, 0, 638,
877, PIXMA_CAP_CIS),
+  DEVICE ("Canon PIXMA MP230", "MP230", MP230_PID, 600, 0, 0, 638, 877,
PIXMA_CAP_CIS),

   /* Latest devices (2013) Generation 4 CIS */
   DEVICE ("Canon PIXMA MG6300", "MG6300", MG6300_PID, 2400, 0, 0, 638,
877, PIXMA_CAP_CIS),


I compiled the patched git source and now it works perfectly:
$ scanimage -L
device `pixma:04A9175F_027A7C' is a CANON Canon PIXMA MP230 multi-function
peripheral

I've scanned color and BW up to 600dpi without a problem.

The only thing I'm not sure about is the max resolution - the official site
says "600x1200dpi" so I wrote 600 in the backend.

I hope my experience will be helpful.

Cheers,
Petar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130321/0a0f69b5/attachment.html>


More information about the sane-devel mailing list