Nevermind. I have downloaded drivers from canon's site, and extracted the information I needed. I have attached a patch. Instructions:
1. download latest sane-backends snapshot from http://www.sane-project.org/snapshots/ 2. tar xzf sane-backends-git20140708.tar.gz 3. cd sane-backends-git20140708 4. cat cdr-47a.diff | patch -p1 5. ./configure [your various configure options here] 6. make 7. remove the existing canon_dr.conf file, probably in /etc/sane.d 8. sudo make install Then, as the root user, you should be able to see the DR-G1130 when you run scanimage -L, and you should also be able to scan. To get the non-root user to scan, we will have to modify the device permissions, using udev or hal. I am unsure what ancient Ubuntu used. allan On Mon, Jul 7, 2014 at 8:01 PM, m. allan noah <kitno...@gmail.com> wrote: > Is the scanner plugged in an turned on? You might have to try it as root > user. > > allan > > > On Mon, Jul 7, 2014 at 7:56 PM, Valeria Genesis Vargas Ruiz < > vvar...@microformas.com.mx> wrote: > >> Hello, >> >> Here are the result >> >> Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub >> Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse >> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> >> >> Thanks >> >> >> 2014-07-07 18:18 GMT-05:00 m. allan noah <kitno...@gmail.com>: >> >> I assume this scanner is similar to the G1100, so tell me what the USB >>> ID's are (the command lsusb will show you), and I will send you a patch >>> which attempts to enable this scanner. >>> >>> allan >>> >>> >>> On Mon, Jul 7, 2014 at 4:13 PM, Valeria Genesis Vargas Ruiz < >>> vvar...@microformas.com.mx> wrote: >>> >>>> Hello >>>> >>>> Who could support me with this machine to work in Ubuntu 10.04 ?? >>>> >>>> Thanks >>>> >>>> -- >>>> >>>> >>>> -- >>>> sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org >>>> >>> >>> >>> >>> -- >>> "The truth is an offense, but not a sin" >>> >> >> >> >> -- >> >> > > > -- > "The truth is an offense, but not a sin" > -- "The truth is an offense, but not a sin"
diff --git a/backend/canon_dr.c b/backend/canon_dr.c index d6d7f8c..39b28d4 100644 --- a/backend/canon_dr.c +++ b/backend/canon_dr.c @@ -303,6 +303,8 @@ - split debug level 30 into two levels - simplify jpeg ifdefs - add support for DR-M160 + v47 2014-07-07, MAN + - initial DR-G1130 support SANE FLOW DIAGRAM @@ -352,7 +354,7 @@ #include "canon_dr.h" #define DEBUG 1 -#define BUILD 46 +#define BUILD 47 /* values for SANE_DEBUG_CANON_DR env var: - errors 5 @@ -1269,6 +1271,7 @@ init_model (struct scanner *s) || strstr (s->model_name,"DR-7550") || strstr (s->model_name,"DR-6050") || strstr (s->model_name,"DR-G1100") + || strstr (s->model_name,"DR-G1130") ){ /*missing*/ diff --git a/backend/canon_dr.conf.in b/backend/canon_dr.conf.in index 22218bd..b551c71 100644 --- a/backend/canon_dr.conf.in +++ b/backend/canon_dr.conf.in @@ -149,12 +149,56 @@ option extra-status 1 option duplex-offset 400 usb 0x1083 0x163f +# DR-C125 +usb 0x1083 0x1640 + +# DR-P215 +usb 0x1083 0x1641 + # P-215 usb 0x1083 0x1646 +# FSU-201 +usb 0x1083 0x1648 + +# DR-C130 +usb 0x1083 0x164a + +# DR-P208 +usb 0x1083 0x164b + # P-208 usb 0x1083 0x164c +# DR-G1130 +usb 0x1083 0x164f + # DR-G1100 usb 0x1083 0x1650 +# DR-C120 +usb 0x1083 0x1651 + +# P-201 +usb 0x1083 0x1652 + +# DR-F120 +usb 0x1083 0x1654 + +# DR-M1060 +usb 0x1083 0x1657 + +# DR-C225 +usb 0x1083 0x1658 + +# DR-P215II +usb 0x1083 0x1659 + +# P-215II +usb 0x1083 0x165b + +# DR-P208II +usb 0x1083 0x165d + +# P-208II +usb 0x1083 0x165f diff --git a/doc/descriptions/canon_dr.desc b/doc/descriptions/canon_dr.desc index ae3802b..5c08d43 100644 --- a/doc/descriptions/canon_dr.desc +++ b/doc/descriptions/canon_dr.desc @@ -11,7 +11,7 @@ :backend "canon_dr" ; name of backend :url "http://www.thebility.com/canon/" -:version "41" ; version of backend +:version "47" ; version of backend :manpage "sane-canon_dr" ; name of manpage (if it exists) :comment "Backend updated for SANE release 1.0.25, see sane-canon_dr manpage" :devicetype :scanner ; start of a list of devices.... @@ -265,15 +265,30 @@ :status :untested :comment "Please test!" +:model "DR-C120" +:interface "USB" +:usbid "0x1083" "0x1651" +:status :untested + :model "DR-C125" :interface "USB" -;:usbid "0x1083" "0x" +:usbid "0x1083" "0x1640" :status :untested :comment "Similar protocol to other canon_dr machines, but unsupported image format." :model "DR-C130" :interface "USB" -;:usbid "0x1083" "0x" +:usbid "0x1083" "0x164a" +:status :untested + +:model "DR-C225" +:interface "USB" +:usbid "0x1083" "0x1658" +:status :untested + +:model "DR-F120" +:interface "USB" +:usbid "0x1083" "0x1654" :status :untested :model "DR-G1100" @@ -283,7 +298,7 @@ :model "DR-G1130" :interface "USB" -;:usbid "0x1083" "0x" +:usbid "0x1083" "0x164f" :status :untested :model "DR-M140" @@ -296,6 +311,16 @@ :usbid "0x1083" "0x163e" :status :good +:model "DR-M160II" +:interface "USB" +;:usbid "0x1083" "0x" +:status :untested + +:model "DR-M1060" +:interface "USB" +:usbid "0x1083" "0x1657" +:status :untested + :model "P-150" :interface "USB" ;:usbid "0x1083" "0x" @@ -306,15 +331,57 @@ ;:usbid "0x1083" "0x" :status :untested +:model "P-201" +:interface "USB" +:usbid "0x1083" "0x1652" +:status :untested + +:model "DR-P208" +:interface "USB" +:usbid "0x1083" "0x164b" +:status :untested +:comment "Same as P-208?" + :model "P-208" :interface "USB" :usbid "0x1083" "0x164c" :status :basic :comment "All modes and resolutions working, but calibration is poor." +:model "DR-P208II" +:interface "USB" +:usbid "0x1083" "0x165d" +:status :untested + +:model "P-208II" +:interface "USB" +:usbid "0x1083" "0x165f" +:status :untested + +:model "DR-P215" +:interface "USB" +:usbid "0x1083" "0x1641" +:status :untested +:comment "Same as P-215?" + :model "P-215" :interface "USB" :usbid "0x1083" "0x1646" :status :basic :comment "All modes and resolutions working, but calibration is poor. Card reader slot not working." +:model "DR-P215II" +:interface "USB" +:usbid "0x1083" "0x1659" +:status :untested + +:model "P-215II" +:interface "USB" +:usbid "0x1083" "0x165b" +:status :untested + +:model "FSU-201" +:interface "USB" +:usbid "0x1083" "0x1648" +:status :untested +
-- sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org