Hi,

I acquired an used Canon Color ImageCLASS MF8350Cdn and it didn't work out
of the box (Ubuntu 14.04.2), I made some changes to sane-backend master.
patch is attached for you.

I can now scan from the feeder and and regular in both color and black and
white.

Oddities:
* Simple Scan complains with "Error communicating with scanner" at the end
when scanning from the feeder.
* Seems to make more noise than using the proprietary driver on OSX
* I need to run it as root, but I think that is an Ubuntu / install issue
on my side

Notes:
You need to set the scanner to "Remote Scanner". There is also a "Computer"
scan option, but that seems to tell the computer what to scan (e.g. PDF,
email, save, ..) and that menu doesn't even come up using the sane backend.


Where I am unsure on the patch:

I followed the MF4100 and added the MF8350 to the same places in the code
to use iclass_exec, not sure that was right/wrong.

The scanner is supposed to be 600x600 dpi, so not sure I defined that
correctly with 600, 0

And the 640 / 1050 was also just copied from one of the similar printers.

Also I haven't tried network scanning yet.

Also in case you need it the lsusb output:
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04a9 Canon, Inc.
  idProduct          0x2708
  bcdDevice            0.00
  iManufacturer           1 Canon,Inc.
  iProduct                2 MF8350
  bNumConfigurations      1


Thank you and best regards,
Florian
From ed7ec932f154924231148778d3db8d6c4165ba1d Mon Sep 17 00:00:00 2001
From: "Florian P. Nierhaus" <[email protected]>
Date: Sun, 17 May 2015 13:55:09 -0700
Subject: [PATCH] initial attempt at MF8350 support

---
 backend/pixma_imageclass.c  | 6 ++++++
 doc/descriptions/pixma.desc | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/backend/pixma_imageclass.c b/backend/pixma_imageclass.c
index 3995805..9f49ade 100644
--- a/backend/pixma_imageclass.c
+++ b/backend/pixma_imageclass.c
@@ -80,6 +80,7 @@
 #define MF3200_PID 0x2684
 #define MF6500_PID 0x2686
 /* generation 2 scanners (>=0x2707) */
+#define MF8350_PID 0x2708
 #define MF4500_PID 0x2736
 #define MF4410_PID 0x2737
 #define MF3010_PID 0x2759
@@ -208,6 +209,7 @@ activate (pixma_t * s, uint8_t x)
     case D420_PID:
     case MF4360_PID:
     case MF4100_PID:
+    case MF8350_PID:
       return iclass_exec (s, &mf->cb, 1);
       break;
     default:
@@ -239,6 +241,7 @@ select_source (pixma_t * s)
     case D420_PID:
     case MF4360_PID:
     case MF4100_PID:
+    case MF8350_PID:
       return iclass_exec (s, &mf->cb, 0);
       break;
     default:
@@ -273,6 +276,7 @@ send_scan_param (pixma_t * s)
     case D420_PID:
     case MF4360_PID:
     case MF4100_PID:
+    case MF8350_PID:
       return iclass_exec (s, &mf->cb, 0);
       break;
     default:
@@ -369,6 +373,7 @@ read_error_info (pixma_t * s, void *buf, unsigned size)
     case D420_PID:
     case MF4360_PID:
     case MF4100_PID:
+    case MF8350_PID:
       error = iclass_exec (s, &mf->cb, 0);
       break;
     default:
@@ -795,6 +800,7 @@ const pixma_config_t pixma_iclass_devices[] = {
   DEV ("Canon i-SENSYS MF4800 Series", "MF4800", MF4800_PID, 600, 0, 640, 1050, PIXMA_CAP_ADF),
   DEV ("Canon imageCLASS MF4570dw", "MF4570dw", MF4570_PID, 600, 0, 640, 877, 0),
   DEV ("Canon i-SENSYS MF8200C Series", "MF8200C", MF8200_PID, 600, 300, 640, 1050, PIXMA_CAP_ADF),
+  DEV ("Canon imageCLASS MF8350C Series", "MF8350", MF8350_PID, 600, 0, 640, 1050, PIXMA_CAP_ADF),
   DEV ("Canon imageCLASS D530", "D530", D530_PID, 600, 0, 640, 877, 0),
   /* FIXME: the following capabilities all need updating/verifying */
   DEV ("Canon imageCLASS MF5630", "MF5630", MF5630_PID, 600, 0, 640, 877, PIXMA_CAP_ADF),
diff --git a/doc/descriptions/pixma.desc b/doc/descriptions/pixma.desc
index 51c3bec..fe2a855 100644
--- a/doc/descriptions/pixma.desc
+++ b/doc/descriptions/pixma.desc
@@ -983,6 +983,12 @@
 :status :untested
 :comment "Testers needed!"
 
+:model "imageCLASS MF8350c"
+:interface "USB"
+:usbid "0x04a9" "0x2708"
+:status :untested
+:comment "Testers needed!"
+
 :model "i-SENSYS MF8200C Series"
 :interface "USB Ethernet"
 :usbid "0x04a9" "0x2779"
-- 
1.9.1

-- 
sane-devel mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [email protected]

Reply via email to