[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#726253: libsane: Add Canon MP230 support



Package: libsane
Version: 1.0.23-3owi
Severity: wishlist

Dear Maintainer,

Following patch adds scanning support for the Canon MP230 by activating
the mp230 usb ids in the mp250 support code.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500, 'stable'), (1,
'experimental') Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11.0-owi1+ (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libsane depends on:
ii  acl                2.2.52-1
ii  adduser            3.113+nmu3
ii  libavahi-client3   0.6.31-2
ii  libavahi-common3   0.6.31-2
ii  libc6              2.17-93
ii  libexif12          0.6.21-1
ii  libgphoto2-2       2.4.14-2.3
ii  libgphoto2-port0   2.4.14-2.3
ii  libieee1284-3      0.2.11-12
ii  libjpeg8           8d-1
ii  libsane-common     1.0.23-3owi
ii  libtiff4           3.9.7-2
ii  libusb-1.0-0       2:1.0.17-1+b1
ii  libv4l-0           1.0.0-1
ii  makedev            2.3.1-93
ii  multiarch-support  2.17-93
ii  udev               204-5

Versions of packages libsane recommends:
ii  libsane-extras  1.0.22.3
ii  sane-utils      1.0.23-3

Versions of packages libsane suggests:
ii  avahi-daemon  0.6.31-2
ii  hplip         3.13.4-1+b1
pn  hpoj          <none>

-- no debconf information

commit 0d9c7841a07f5427e4f7ae922114814cda386fc0
Author: Oliver Winker <oliver@oli1170.net>
Date:   Sat Oct 12 11:25:38 2013 +0200

    Add MP230

diff --git a/backend/pixma_mp150.c b/backend/pixma_mp150.c
index 66ca3e5..8077236 100644
--- a/backend/pixma_mp150.c
+++ b/backend/pixma_mp150.c
@@ -149,6 +149,7 @@
 #define MP550_PID 0x173d
 #define MP560_PID 0x173e
 #define MP640_PID 0x173f
+#define MP230_PID 0x175f
 
 /* PIXMA 2010 vintage */
 #define MX340_PID 0x1741
@@ -1626,6 +1627,7 @@ const pixma_config_t pixma_mp150_devices[] = {
   DEVICE ("Canon PIXMA MP490", "MP490", MP490_PID, 1200, 0, 0, 638, 877, PIXMA_CAP_CIS),
   DEVICE ("Canon PIXMA MP250", "MP250", MP250_PID, 600, 0, 0, 638, 877, PIXMA_CAP_CIS),
   DEVICE ("Canon PIXMA MP270", "MP270", MP270_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 (2010) Generation 4 CIS/CCD */
   DEVICE ("Canon PIXMA MP280",  "MP280",  MP280_PID,  600, 0, 0, 638, 877, PIXMA_CAP_CIS), /* TODO: 1200dpi doesn't work yet */

commit 551f4c2268978fcb5d761887b50747d9d0916916
Author: Oliver Winker <oliver@oli1170.net>
Date:   Sat Oct 12 11:48:12 2013 +0200

    Add description for udev

diff --git a/doc/descriptions/pixma.desc b/doc/descriptions/pixma.desc
index 67aaaac..8ecab69 100644
--- a/doc/descriptions/pixma.desc
+++ b/doc/descriptions/pixma.desc
@@ -153,6 +153,12 @@
 :status :complete
 :comment "All resolutions supported (up to 600DPI)"
 
+:model "PIXMA MP230"
+:interface "USB"
+:usbid "0x04a9" "0x175f"
+:status :complete
+:comment "All resolutions supported (up to 600DPI)"
+
 :model "PIXMA MP260"
 :interface "USB"
 :usbid "0x04a9" "0x1733"

Reply to: