Hi,<br><br>I&#39;m currently trying to get the USB scanner on my Canon MF4660 multi-function scanner/printer to work.&nbsp; <br><br>This device is not marked as supported anywhere on the sane site, but the 4690 is, which I believe is the same device only with added fax capability.<br>
<br>The 4690 is marked as needing testers on the CVS supported devices pages, so I thought I&#39;d install the CVS version &amp; give it a go :<br><br>&quot;imageCLASS MF4690&nbsp;&nbsp; USB&nbsp;&nbsp;&nbsp;&nbsp; 0x04a9/0x26b0&nbsp;&nbsp; Untested&nbsp;&nbsp;&nbsp; Same protocol as imageCLASS MF4270? Testers needed!&nbsp;&nbsp;&nbsp;&nbsp; pixma<br>
(0.15.0)&nbsp;&nbsp;&nbsp; sane-pixma&quot;<br><br>So having installed the CVS version (on Ubuntu Intrepid, x86), I can now see the scanner, I followed the procedure discussed here :<br><br><a href="http://ubuntuforums.org/showthread.php?t=878966">http://ubuntuforums.org/showthread.php?t=878966</a><br>
<br>$ sane-find-scanner<br><br>&nbsp; # sane-find-scanner will now attempt to detect your scanner. If the<br>&nbsp; # result is different from what you expected, first make sure your<br>&nbsp; # scanner is powered up and properly connected to your computer.<br>
<br>&nbsp; # No SCSI scanners found. If you expected something different, make sure that<br>&nbsp; # you have loaded a kernel SCSI driver for your SCSI adapter.<br><br>found USB scanner (vendor=0x04a9 [Canon,Inc.], product=0x26b0 [MF4600Series]) at libusb:005:004<br>
&nbsp; # Your USB scanner was (probably) detected. It may or may not be supported by<br>&nbsp; # SANE. Try scanimage -L and read the backend&#39;s manpage.<br><br>$ scanimage -L<br>device `pixma:04A926B0_4175H0007854&#39; is a CANON Canon imageCLASS MF4690 multi-function peripheral<br>
<br><br>However, I have a problem when trying to scan using scanimage or xsane, basically the scanner display goes to &quot;Scanning Mode&quot;, but the applications appear to be having trouble accessing the device :<br><br>
<br>$ scanimage -d pixma:04A926B0_4175H0007854P6<br># SANE data follows<br>640 877<br>255<br>scanimage: sane_read: Error during device I/O<br><br>So I ran strace to see what was causing the sane_read error :<br><br>strace shows lots of EBUSY&#39;s :<br>
&lt;strace snip&gt;<br>socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3<br>setsockopt(3, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0<br>bind(3, {sa_family=AF_INET, sin_port=htons(8612), sin_addr=inet_addr(&quot;192.168.1.5&quot;)}, 16) = 0<br>
sendto(3, &quot;BJNP\2\1\0\0\0\0\0\0\0\0\0\0&quot;, 16, 0, {sa_family=AF_INET, sin_port=htons(8612), sin_addr=inet_addr(&quot;192.168.1.255&quot;)}, 16) = 16<br>select(4, [3], NULL, NULL, {1, 0})&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0 (Timeout)<br>close(3)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<br>
open(&quot;/dev/bus/usb/005/004&quot;, O_RDWR)&nbsp;&nbsp;&nbsp; = 3<br>ioctl(3, USBDEVFS_SETCONFIGURATION, 0xbfb8ae14) = -1 EBUSY (Device or resource busy)<br>ioctl(3, USBDEVFS_CLAIMINTERFACE, 0xbfb8ae14) = 0<br>gettimeofday({1232204360, 97778}, NULL) = 0<br>
ioctl(3, USBDEVFS_SUBMITURB, 0xbfb8ad84) = 0<br>ioctl(3, USBDEVFS_REAPURBNDELAY, 0xbfb8adc8) = -1 EAGAIN (Resource temporarily unavailable)<br>select(4, NULL, [3], NULL, {0, 1000})&nbsp;&nbsp; = 0 (Timeout)<br>gettimeofday({1232204360, 101352}, NULL) = 0<br>
ioctl(3, USBDEVFS_REAPURBNDELAY, 0xbfb8adc8) = -1 EAGAIN (Resource temporarily unavailable)<br>select(4, NULL, [3], NULL, {0, 1000})&nbsp;&nbsp; = 0 (Timeout)<br>gettimeofday({1232204360, 105346}, NULL) = 0<br>ioctl(3, USBDEVFS_REAPURBNDELAY, 0xbfb8adc8) = -1 EAGAIN (Resource temporarily unavailable)<br>
select(4, NULL, [3], NULL, {0, 1000})&nbsp;&nbsp; = 0 (Timeout)<br>gettimeofday({1232204360, 109345}, NULL) = 0<br>ioctl(3, USBDEVFS_REAPURBNDELAY, 0xbfb8adc8) = -1 EAGAIN (Resource temporarily unavailable)<br>&lt;/strace snip&gt;<br>
<br><br>I get the same problem whether I run it as root or a normal user.<br><br>I will start digging into the root cause here, but would appreciate any tips or suggestions regarding the best way to proceed debugging this.&nbsp; I&#39;m very familiar with Linux development, but not very familar with sane or scanners so any help will be gratefully recieved!<br>
<br>Regards, <br><br>Steve<br><br><br><a href="mailto:sane-devel@lists.alioth.debian.org"></a><br>