<html><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><META name="Author" content="Novell GroupWise WebAccess"></head><body style='font-family: Helvetica, Arial, sans-serif; font-size: 13px; '>I'm happy to do all the necessary configuration and testing. I have the scanner and the flatbed unit available, we can do whatever is necessary and use all resources needed to make it work. If you're interested of course.<br><br>Cheers,<br>Milko<br><br><br>>>> "m. allan noah" <kitno455@gmail.com> 11/26/12 5:07 PM >>><br>This device does not use the same protocol as other DR machines. It is<br>actually a Gensys chipset. Stef has some more info, but I think it<br>will take a much more effort to make the flatbed work.<br><br>allan<br><br>On Mon, Nov 26, 2012 at 9:59 AM, Milko Simeonov<br><msimeonov@intepro-bg.com> wrote:<br>> Hi Allan,<br>><br>> Yes, we are able to scan now through the main scanner (DR-3010C). What's<br>> left to be done is to be able to scan using an add-on device (canon flatbed<br>> scanner unit 101) that we have. It works like this - the main scanner is<br>> connected to the flatbed unit via USB cable, and the flatbed unit is<br>> connected to the PC via another USB cable (apparently the flatbed has a<br>> built-in usb hub).<br>><br>> I've connected the devices now as they should be connected, I continue to be<br>> able to scan via the main scanner.<br>><br>> The flatbed unit has an USB ID of its own, lsusb returns:<br>> Bus 002 Device 023: ID 1083:162e Canon Electronics, Inc.<br>><br>> I can also see it in /var/log/messages:<br>> Nov 26 16:53:30 itp01 kernel: usb 2-1.3.1: new high speed USB device number<br>> 26 using ehci_hcd<br>> Nov 26 16:53:30 itp01 kernel: usb 2-1.3.1: New USB device found,<br>> idVendor=1083, idProduct=162e<br>> Nov 26 16:53:30 itp01 kernel: usb 2-1.3.1: New USB device strings: Mfr=10,<br>> Product=11, SerialNumber=0<br>> Nov 26 16:53:30 itp01 kernel: usb 2-1.3.1: Product: CANON Flatbed Scanner<br>> Unit 101<br>> Nov 26 16:53:30 itp01 kernel: usb 2-1.3.1: Manufacturer: CANON<br>><br>> What can we do to make it work? Maybe I need to add the usb id in the<br>> canon_dr.conf file?<br>><br>> Cheers,<br>> Milko<br>><br>><br>>>>> "m. allan noah" <kitno455@gmail.com> 11/26/12 4:20 PM >>><br>><br>> Ok- now, in the sane-backends source, edit backend/canon_dr.c<br>><br>> Find the function init_model. In that function, there is a section for<br>> the DR-2510C. Copy that section, and change it to match the DR-3010C.<br>> In your new section, also add this:<br>><br>> s->invert_tly = 1;<br>><br>> Then recompile and reinstall. Hopefully you will be able to scan.<br>><br>> allan<br>><br>> On Mon, Nov 26, 2012 at 9:15 AM, Milko Simeonov<br>> <msimeonov@intepro-bg.com> wrote:<br>>> OK, I've installed them back, they were sane-backends ,<br>>> sane-backends-autoconfig, hplip, hplip-sane and simple-scan .<br>>><br>>> "scanimage -L" returns:<br>>> device `canon_dr:libusb:002:020' is a CANON DR-3010C scanner<br>>><br>>> Milko<br>>><br>>><br>>>>>> "m. allan noah" <kitno455@gmail.com> 11/26/12 4:08 PM >>><br>>><br>>> You probably should not un-install all the factory sane packages, as<br>>> that will remove frontend programs, and udev rules too. Generally, I<br>>> build sane-backends to overwrite the factory install.<br>>><br>>> What is the output of scanimage -L when run as root?<br>>><br>>> allan<br>>><br>>> On Mon, Nov 26, 2012 at 8:58 AM, Milko Simeonov<br>>> <msimeonov@intepro-bg.com> wrote:<br>>>> Hi Allan,<br>>>><br>>>> OK, I've uninstalled all sane-related packages that came with the distro<br>>>> and<br>>>> then I did (as root):<br>>>><br>>>> git clone git://git.debian.org/sane/sane-backends.git<br>>>><br>>>> ./configure --enable-libusb_1_0<br>>>><br>>>> make<br>>>><br>>>> make install<br>>>><br>>>> All went fine.<br>>>><br>>>> "scanimage -V" now returns:<br>>>><br>>>> scanimage (sane-backends) 1.0.24git; backend version 1.0.24<br>>>><br>>>> "scanimage -T" returned:<br>>>> Created directory: /var/lib/net-snmp/mib_indexes<br>>>> scanimage: sane_start: Invalid argument<br>>>><br>>>> "sane-find-scanner" returned:<br>>>> # sane-find-scanner will now attempt to detect your scanner. If the<br>>>> # result is different from what you expected, first make sure your<br>>>> # scanner is powered up and properly connected to your computer.<br>>>><br>>>> # No SCSI scanners found. If you expected something different, make sure<br>>>> that<br>>>> # you have loaded a kernel SCSI driver for your SCSI adapter.<br>>>><br>>>> could not fetch string descriptor: Pipe error<br>>>> could not fetch string descriptor: Pipe error<br>>>> # No USB scanners found. If you expected something different, make sure<br>>>> that<br>>>> # you have loaded a kernel driver for your USB host controller and have<br>>>> setup<br>>>> # the USB system correctly. See man sane-usb for details.<br>>>><br>>>> # Not checking for parallel port scanners.<br>>>><br>>>> # Most Scanners connected to the parallel port or other proprietary ports<br>>>> # can't be detected by this program.<br>>>><br>>>> What should I do next?<br>>>><br>>>> Cheers,<br>>>> Milko<br>>>><br>>>><br>>>>>>> "m. allan noah" <kitno455@gmail.com> 11/26/12 3:13 PM >>><br>>>><br>>>> Yes, this scanner requires code changes, and has had only minimal<br>>>> testing. Are you able to download and compile a sane-backends<br>>>> development snapshot from here:<br>>>><br>>>> http://www.sane-project.org/source.html<br>>>><br>>>> If so, we can make some minor changes to the code, and at least get<br>>>> some scans. It is possible that more changes will be required.<br>>>><br>>>> allan<br>>>><br>>>> On Mon, Nov 26, 2012 at 7:44 AM, Milko Simeonov<br>>>> <msimeonov@intepro-bg.com> wrote:<br>>>>> We have few USB scanners Canon DR-3010C which for some reason do not<br>>>>> work<br>>>>> under linux (openSUSE12.1, sled11sp2).<br>>>>><br>>>>> lsusb returns:<br>>>>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>>>>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>>>>> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>>>>> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>>>>> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>>>>> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>>>>> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>>>>> Bus 002 Device 002: ID 1083:161d Canon Electronics, Inc.<br>>>>><br>>>>> sane-find-scanner returns:<br>>>>> found USB scanner (vendor=0x1083, product=0x161d) at libusb:002:002<br>>>>><br>>>>> In /var/log/messages you can see:<br>>>>> Nov 26 14:49:20 sc02 kernel: [ 203.108275] usb 2-2: new high-speed USB<br>>>>> device number 2 using ehci_hcd<br>>>>> Nov 26 14:49:20 sc02 kernel: [ 203.243106] usb 2-2: New USB device<br>>>>> found,<br>>>>> idVendor=1083, idProduct=161d<br>>>>> Nov 26 14:49:20 sc02 kernel: [ 203.243117] usb 2-2: New USB device<br>>>>> strings:<br>>>>> Mfr=1, Product=2, SerialNumber=0<br>>>>> Nov 26 14:49:20 sc02 kernel: [ 203.243124] usb 2-2: Product: CANON<br>>>>> DR-3010C<br>>>>> Nov 26 14:49:20 sc02 kernel: [ 203.243130] usb 2-2: Manufacturer: CANON<br>>>>><br>>>>> So all looks fine, however if I open Yast->Scanner, select the scanner<br>>>>> driver and do "Test", I get:<br>>>>> Test with 'scanimage -d canon_dr:libusb:002:002 -v' failed.<br>>>>> The results are:<br>>>>> scanimage: sane_start: Invalid argument<br>>>>><br>>>>> In /etc/sane.d/canon_dr.conf you can see the following lines:<br>>>>> # DR-3010C<br>>>>> usb 0x1083 0x161d<br>>>>><br>>>>> scanimage -V returns:<br>>>>> scanimage (sane-backends) 1.0.22; backend version 1.0.22<br>>>>><br>>>>> rpm -qa | grep sane returns:<br>>>>> sane-backends-1.0.22-15.4.1.x86_64<br>>>>> xsane-0.998-8.1.2.x86_64<br>>>>> hplip-sane-3.11.10-3.1.2.x86_64<br>>>>> sane-backends-autoconfig-1.0.22-15.4.1.x86_64<br>>>>> sane-backends-devel-1.0.22-15.4.1.x86_64<br>>>>><br>>>>> Any ideas anyone?<br>>>>><br>>>>> Milko<br>>>>><br>>>>><br>>>>> --<br>>>>> sane-devel mailing list: sane-devel@lists.alioth.debian.org<br>>>>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel<br>>>>> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>>>>> to sane-devel-request@lists.alioth.debian.org<br>>>><br>>>><br>>>><br>>>> --<br>>>> "The truth is an offense, but not a sin"<br>>>><br>>><br>>><br>>><br>>> --<br>>> "The truth is an offense, but not a sin"<br>>><br>><br>><br>><br>> --<br>> "The truth is an offense, but not a sin"<br>><br><br><br><br>-- <br>"The truth is an offense, but not a sin"<br><br></body></html>