<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I found out my problem. &nbsp;I'm embarrased to admit it, but I had too many versions of the source lying around.<div><br></div><div>It's all fixed now, and the pixma_mp730.c finds the 4150. &nbsp;I left the full debug info on and here's the end of the output:</div><div><br></div><div><div>[pixma] pixma_open(): Canon MultiPASS MP4150</div><div>[sanei_usb] sanei_usb_open: trying to open device `libusb:003:004-04a9-26a3-00-00'</div><div>usb_os_open: 04a9:26a3</div><div>usb_set_configuration: called for config 1</div><div>usb_claim_interface: called for interface 0</div><div>Interface 0 of device is 0x000010c3</div><div>claim_interface: Interface 0 of device from QueryInterface is 0x10da00</div><div>libusb/darwin.c get_endpoints: building table of endpoints.</div><div>get_endpoints: Pipe 1: DIR: 0 number: 1</div><div>get_endpoints: Pipe 2: DIR: 1 number: 2</div><div>get_endpoints: Pipe 3: DIR: 1 number: 3</div><div>libusb/darwin.c get_endpoints: complete.</div><div>[sanei_usb] sanei_usb_open: configuration nr: 0</div><div>[sanei_usb] sanei_usb_open: &nbsp; &nbsp; interface nr: 0</div><div>[sanei_usb] sanei_usb_open: &nbsp; alt_setting nr: 0</div><div>[sanei_usb] sanei_usb_open: endpoint nr: 0</div><div>[sanei_usb] sanei_usb_open: direction: 0</div><div>[sanei_usb] sanei_usb_open: address: 1 transfertype: 2</div><div>[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x01)</div><div>[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint (address: 0x01), ignoring the new one</div><div>[sanei_usb] sanei_usb_open: endpoint nr: 1</div><div>[sanei_usb] sanei_usb_open: direction: 128</div><div>[sanei_usb] sanei_usb_open: address: 2 transfertype: 2</div><div>[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x02)</div><div>[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 0x82), ignoring the new one</div><div>[sanei_usb] sanei_usb_open: endpoint nr: 2</div><div>[sanei_usb] sanei_usb_open: direction: 128</div><div>[sanei_usb] sanei_usb_open: address: 3 transfertype: 3</div><div>[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x03)</div><div>[sanei_usb] sanei_usb_open: we already have a int-in endpoint (address: 0x83), ignoring the new one</div><div>[sanei_usb] sanei_usb_open: configuration nr: 0</div><div>[sanei_usb] sanei_usb_open: &nbsp; &nbsp; interface nr: 1</div><div>[sanei_usb] sanei_usb_open: &nbsp; alt_setting nr: 0</div><div>[sanei_usb] sanei_usb_open: endpoint nr: 0</div><div>[sanei_usb] sanei_usb_open: direction: 0</div><div>[sanei_usb] sanei_usb_open: address: 4 transfertype: 2</div><div>[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x04)</div><div>[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint (address: 0x01), ignoring the new one</div><div>[sanei_usb] sanei_usb_open: endpoint nr: 1</div><div>[sanei_usb] sanei_usb_open: direction: 128</div><div>[sanei_usb] sanei_usb_open: address: 5 transfertype: 2</div><div>[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x05)</div><div>[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 0x82), ignoring the new one</div><div>[sanei_usb] sanei_usb_open: configuration nr: 0</div><div>[sanei_usb] sanei_usb_open: &nbsp; &nbsp; interface nr: 2</div><div>[sanei_usb] sanei_usb_open: &nbsp; alt_setting nr: 0</div><div>[sanei_usb] sanei_usb_open: endpoint nr: 0</div><div>[sanei_usb] sanei_usb_open: direction: 0</div><div>[sanei_usb] sanei_usb_open: address: 6 transfertype: 2</div><div>[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x06)</div><div>[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint (address: 0x01), ignoring the new one</div><div>[sanei_usb] sanei_usb_open: endpoint nr: 1</div><div>[sanei_usb] sanei_usb_open: direction: 128</div><div>[sanei_usb] sanei_usb_open: address: 7 transfertype: 2</div><div>[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x07)</div><div>[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 0x82), ignoring the new one</div><div>[sanei_usb] sanei_usb_open: opened usb device `libusb:003:004-04a9-26a3-00-00' (*dn=1)</div><div>[pixma] Trying to clear the interrupt buffer...</div><div>[sanei_usb] sanei_usb_read_int: trying to read 16 bytes</div><div>libusb/darwin.c ep_to_pipeRef: Converting ep address to pipeRef.</div><div>libusb/darwin.c usb_bulk_transfer: Transfering 16 bytes of data on endpoint 0x83</div><div>libusb/darwin.c usb_bulk_transfer: USB pipe is an interrupt pipe. Timeouts will not be used.</div><div><br></div><div><br></div><div>So no, it's not surreal when an idiot like me is working on things!</div><div><br></div><div>bob</div><div><br></div><div><br></div><div><br></div><div><div>On Sep 1, 2008, at 2:52 PM, Nicolas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div> This is a surrealistic<font color="#000000">!</font><br> <br> Could you load again the file pixma_mp730.c from CVS, and inside, just change one of the PIDs declared at the beginning<font color="#000000">,</font> by MF4150 one's :<br> <br> Original pixma_mp730.c:<br> <br> #define IMAGE_BLOCK_SIZE (0xc000)<br> #define CMDBUF_SIZE 512<br> <br> #define MP360_PID 0x263c<br> #define MP370_PID 0x263d<br> #define MP390_PID 0x263e<br> #define MP700_PID 0x2630<br> <br> #define MP740_PID 0x264c        /* Untested */<br> #define MP710_PID 0x264d<br> #define MP730_PID 0x262f<br> <br> <br> Just change the line for MP700:<br> <br> #define IMAGE_BLOCK_SIZE (0xc000)<br> #define CMDBUF_SIZE 512<br> <br> #define MP360_PID 0x263c<br> #define MP370_PID 0x263d<br> #define MP390_PID 0x263e<br> #define MP700_PID <font color="#ff0000">0x26a3</font><br> <br> #define MP740_PID 0x264c /* Untested */<br> #define MP710_PID 0x264d<br> #define MP730_PID 0x262f<br> <br> Then, before running your scanimage -L , activate a full usb trace log:<br> <br> <tt>$ export SANE_DEBUG_SANEI_USB=255</tt><br> <tt>$ export SANE_DEBUG=255</tt><br> <tt>$ export </tt><tt><font color="#000000">SANE_DEBUG_PIXMA=20</font></tt><br> <tt>$ scanimage -</tt><tt><font color="#000000">L</font></tt><tt> </tt><br> <br> <br> <font color="#000000">You should get a very "verbose" trace.</font><br> <br> <font color="#000000">Nicolas</font><br> <br> Le lundi 01 septembre 2008 à 11:28 -0500, Bob Dronski a écrit :<br> <blockquote type="CITE">    Nicolas, </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    I really don't understand what may be happening. &nbsp;Here are the appropriate sections in the 2 files with my changes: </blockquote> <blockquote type="CITE">    --------------------------------------- </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    pixma_imageclass.c: </blockquote> <blockquote type="CITE">    #define IMAGE_BLOCK_SIZE (<font color="#1c00cf">0xffff</font>) </blockquote> <blockquote type="CITE">    #define MAX_CHUNK_SIZE &nbsp; (<font color="#1c00cf">0x1000</font>) </blockquote> <blockquote type="CITE">    #define MIN_CHUNK_SIZE &nbsp; (<font color="#1c00cf">0x0200</font>) </blockquote> <blockquote type="CITE">    #define CMDBUF_SIZE <font color="#1c00cf">512</font> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    #define MF4200_PID <font color="#1c00cf">0x26b5</font> </blockquote> <blockquote type="CITE">    /* the following are all untested */ </blockquote> <blockquote type="CITE">    #define MF5630_PID <font color="#1c00cf">0x264e</font> </blockquote> <blockquote type="CITE">    #define MF5650_PID <font color="#1c00cf">0x264f</font> </blockquote> <blockquote type="CITE">    #define MF8100_PID <font color="#1c00cf">0x2659</font> </blockquote> <blockquote type="CITE">    #define MF5730_PID <font color="#1c00cf">0x265d</font> </blockquote> <blockquote type="CITE">    #define MF5750_PID <font color="#1c00cf">0x265e</font> </blockquote> <blockquote type="CITE">    #define MF5770_PID <font color="#1c00cf">0x265f</font> </blockquote> <blockquote type="CITE">    #define MF3110_PID <font color="#1c00cf">0x2660</font> </blockquote> <blockquote type="CITE">    #define MF3200_PID <font color="#1c00cf">0x2684</font> </blockquote> <blockquote type="CITE">    #define MF6500_PID <font color="#1c00cf">0x2686</font> </blockquote> <blockquote type="CITE">    //#define MF4100_PID 0x26a3 </blockquote> <blockquote type="CITE">    #define MF4600_PID <font color="#1c00cf">0x26b0</font> </blockquote> <blockquote type="CITE">    #define MF4010_PID <font color="#1c00cf">0x26b4</font> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <font color="#aa0d91">enum</font> iclass_state_t </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <font size="2">AND</font> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <font size="2"><font color="#aa0d91">const</font></font><font size="2"> pixma_config_t pixma_iclass_devices[] = {</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon imageCLASS MF4270"</font></font><font size="2">, MF4200_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">/* FIXME: the following capabilities all need updating/verifying */</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon imageCLASS MF5630"</font></font><font size="2">, MF5630_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon laserBase MF5650"</font></font><font size="2">, MF5650_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon imageCLASS MF8170c"</font></font><font size="2">, MF8100_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon imageCLASS MF5730"</font></font><font size="2">, MF5730_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon imageCLASS MF5750"</font></font><font size="2">, MF5750_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon imageCLASS MF5770"</font></font><font size="2">, MF5770_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon imageCLASS MF3110"</font></font><font size="2">, MF3110_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon imageCLASS MF3240"</font></font><font size="2">, MF3200_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon MF6500 Series"</font></font><font size="2">, MF6500_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">//&nbsp; DEV ("Canon imageCLASS MF4150", MF4100_PID, 600, 640, 877, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon imageCLASS MF4690"</font></font><font size="2">, MF4600_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#c41a16">"Canon imageCLASS MF4010"</font></font><font size="2">, MF4010_PID, </font><font size="2"><font color="#1c00cf">600</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">640</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">877</font></font><font size="2">, PIXMA_CAP_ADF),</font> </blockquote> <blockquote type="CITE">    <font size="2">&nbsp; DEV (</font><font size="2"><font color="#aa0d91">NULL</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">0</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">0</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">0</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">0</font></font><font size="2">, </font><font size="2"><font color="#1c00cf">0</font></font><font size="2">)</font> </blockquote> <blockquote type="CITE">    <font size="2">};</font> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <font size="2">-----------------</font> </blockquote> <blockquote type="CITE">    pixma_mp730.c: </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    #define IMAGE_BLOCK_SIZE (<font color="#1c00cf">0xc000</font>) </blockquote> <blockquote type="CITE">    #define CMDBUF_SIZE <font color="#1c00cf">512</font> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    #define MP360_PID <font color="#1c00cf">0x263c</font> </blockquote> <blockquote type="CITE">    #define MP370_PID <font color="#1c00cf">0x263d</font> </blockquote> <blockquote type="CITE">    #define MP390_PID <font color="#1c00cf">0x263e</font> </blockquote> <blockquote type="CITE">    #define MP700_PID <font color="#1c00cf">0x2630</font> </blockquote> <blockquote type="CITE">    #define MP730_PID <font color="#1c00cf">0x262f</font> </blockquote> <blockquote type="CITE">    #define MF4100_PID <font color="#1c00cf">0x26a3</font> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <font color="#aa0d91">enum</font> mp730_state_t </blockquote> <blockquote type="CITE">    { </blockquote> <blockquote type="CITE">    &nbsp;<br>    <br>    <br>    <br>    AND&nbsp;<br>    <br> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <font color="#aa0d91">const</font> pixma_config_t pixma_mp730_devices[] = { </blockquote> <blockquote type="CITE">    /* TODO: check area limits */ </blockquote> <blockquote type="CITE">    &nbsp; DEVICE (<font color="#c41a16">"Canon SmartBase MP360"</font>, MP360_PID, <font color="#1c00cf">1200</font>, <font color="#1c00cf">636</font>, <font color="#1c00cf">868</font>, <font color="#1c00cf">0</font>), </blockquote> <blockquote type="CITE">    &nbsp; DEVICE (<font color="#c41a16">"Canon SmartBase MP370"</font>, MP370_PID, <font color="#1c00cf">1200</font>, <font color="#1c00cf">636</font>, <font color="#1c00cf">868</font>, <font color="#1c00cf">0</font>), </blockquote> <blockquote type="CITE">    &nbsp; DEVICE (<font color="#c41a16">"Canon SmartBase MP390"</font>, MP390_PID, <font color="#1c00cf">1200</font>, <font color="#1c00cf">636</font>, <font color="#1c00cf">868</font>, <font color="#1c00cf">0</font>), </blockquote> <blockquote type="CITE">    &nbsp; DEVICE (<font color="#c41a16">"Canon MultiPASS MP700"</font>, MP700_PID, <font color="#1c00cf">1200</font>, <font color="#1c00cf">638</font>, <font color="#1c00cf">877</font> <font color="#007400">/*1035 */</font> , <font color="#1c00cf">0</font>), </blockquote> <blockquote type="CITE">    &nbsp; DEVICE (<font color="#c41a16">"Canon MultiPASS MP730"</font>, MP730_PID, <font color="#1c00cf">1200</font>, <font color="#1c00cf">637</font>, <font color="#1c00cf">868</font>, PIXMA_CAP_ADF), </blockquote> <blockquote type="CITE">    &nbsp; DEVICE (<font color="#c41a16">"Canon imageCLASS MF4150"</font>, MF4100_PID, <font color="#1c00cf">600</font>, <font color="#1c00cf">640</font>, <font color="#1c00cf">877</font>, PIXMA_CAP_ADF), </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    DEVICE (<font color="#aa0d91">NULL</font>, <font color="#1c00cf">0</font>, <font color="#1c00cf">0</font>, <font color="#1c00cf">0</font>, <font color="#1c00cf">0</font>, <font color="#1c00cf">0</font>) </blockquote> <blockquote type="CITE">    }; </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    ----------------- </blockquote> <blockquote type="CITE">    When I implement those changes, here are the results: </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    Monster:sane bob$ scanimage -T -vv </blockquote> <blockquote type="CITE">    [sanei_debug] Setting debug level of pixma to 20. </blockquote> <blockquote type="CITE">    [pixma] pixma version 0.14.5 </blockquote> <blockquote type="CITE">    [pixma] pixma_find_scanners() found 0 devices </blockquote> <blockquote type="CITE">    scanimage: no SANE devices found </blockquote> <blockquote type="CITE">    Calling sane_exit </blockquote> <blockquote type="CITE">    scanimage: finished </blockquote> <blockquote type="CITE">    Monster:sane bob$&nbsp; </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    Here is the debug output on the unmodified code: </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    Monster:sane bob$ scanimage -T -vv </blockquote> <blockquote type="CITE">    [sanei_debug] Setting debug level of pixma to 20. </blockquote> <blockquote type="CITE">    [pixma] pixma version 0.14.5 </blockquote> <blockquote type="CITE">    [pixma] pixma_collect_devices() found Canon imageCLASS MF4150 at libusb:003:004-04a9-26a3-00-00 </blockquote> <blockquote type="CITE">    [pixma] pixma_find_scanners() found 1 devices </blockquote> <blockquote type="CITE">    [pixma] pixma_collect_devices() found Canon imageCLASS MF4150 at libusb:003:004-04a9-26a3-00-00 </blockquote> <blockquote type="CITE">    [pixma] pixma_open(): Canon imageCLASS MF4150 </blockquote> <blockquote type="CITE">    [pixma] &nbsp;Trying to clear the interrupt buffer... </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    and it hangs.... </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    Wandering into dangerous territory, since I know nothing about the code, I commented out the code to clear the buffer: </blockquote> <blockquote type="CITE">    <font color="#000000">&nbsp;&nbsp;PDBG (pixma_dbg (</font><font color="#1c00cf">3</font><font color="#000000">, </font>" Trying to clear the interrupt buffer...\n"<font color="#000000">));</font> </blockquote> <blockquote type="CITE">    <font color="#000000">&nbsp;</font>/* if (handle_interrupt (s, 200) == 0) </blockquote> <blockquote type="CITE">    &nbsp; &nbsp; { </blockquote> <blockquote type="CITE">    &nbsp; &nbsp; &nbsp; PDBG (pixma_dbg (3, "&nbsp; no packets in buffer\n")); </blockquote> <blockquote type="CITE">    &nbsp; &nbsp; }*/ </blockquote> <blockquote type="CITE">    <font color="#000000">&nbsp; </font>return<font color="#000000"> </font><font color="#1c00cf">0</font><font color="#000000">;</font> </blockquote> <blockquote type="CITE">    } </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    And got this result: </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    Monster:sane bob$ scanimage -T -vv </blockquote> <blockquote type="CITE">    [sanei_debug] Setting debug level of pixma to 20. </blockquote> <blockquote type="CITE">    [pixma] pixma version 0.14.5 </blockquote> <blockquote type="CITE">    [pixma] pixma_collect_devices() found Canon imageCLASS MF4150 at libusb:003:004-04a9-26a3-00-00 </blockquote> <blockquote type="CITE">    [pixma] pixma_find_scanners() found 1 devices </blockquote> <blockquote type="CITE">    [pixma] pixma_collect_devices() found Canon imageCLASS MF4150 at libusb:003:004-04a9-26a3-00-00 </blockquote> <blockquote type="CITE">    [pixma] pixma_open(): Canon imageCLASS MF4150 </blockquote> <blockquote type="CITE">    [pixma] &nbsp;Trying to clear the interrupt buffer... </blockquote> <blockquote type="CITE">    [pixma] Reader task started </blockquote> <blockquote type="CITE">    [pixma]&nbsp; </blockquote> <blockquote type="CITE">    [pixma] pixma_scan(): start </blockquote> <blockquote type="CITE">    [pixma] &nbsp; line_size=1920 image_size=1683840 channels=3 depth=8 </blockquote> <blockquote type="CITE">    [pixma] &nbsp; dpi=75x75 offset=(0,0) dimension=640x877 </blockquote> <blockquote type="CITE">    [pixma] &nbsp; gamma_table=0x8125f0 source=0 </blockquote> <blockquote type="CITE">    [pixma] Reader task id=-267907072 (threaded) </blockquote> <blockquote type="CITE">    scanimage: scanning image of size 640x877 pixels at 24 bits/pixel </blockquote> <blockquote type="CITE">    scanimage: acquiring RGB frame, 8 bits/sample </blockquote> <blockquote type="CITE">    scanimage: reading one scanline, 1920 bytes... </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    before it hangs. </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    Next step? </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    Thanks, </blockquote> <blockquote type="CITE">    bob </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> <blockquote type="CITE">    <br> </blockquote> <blockquote type="CITE">    On Aug 31, 2008, at 2:12 PM, Nicolas wrote: </blockquote> <blockquote type="CITE">    <br> </blockquote> <blockquote type="CITE">    <blockquote type="CITE">        Moving the USB PID &nbsp;to pixma_mp730.c and adding a line declaration at<br>        the end of this file (in pixma_mp730_devices[]) should be enough to have<br>        the scanner detected by scanimage. Don't forget to remove both from<br>        pixma_imageclass.c<br>        <br>        Bob, if you don't succeed doing this, please activate the trace logs to<br>        see what's going on:<br>        <br>        $ export SANE_DEBUG_PIXMA=20<br>        $ scanimage -T -vv<br>        <br>        Nicolas<br>        <br>        Le samedi 30 août 2008 à 19:15 -0700, Dennis Lou a écrit :<br>        <blockquote type="CITE">            Nicolas,<br>            <br>            I told Bob to move the USB PID macro and device entry from<br>            pixma_imageclass.c to pixma_mp730.c and see if that works.<br>            He did that but then he wasn't able to see the scanner any more. &nbsp;Any<br>            ideas?<br>            <br>            -Dennis<br>            <br>            <br>            ----- Original Message ----<br>            From: Bob Dronski &lt;<a href="mailto:dronski@gmail.com">dronski@gmail.com</a>><br>            To: Dennis Lou &lt;<a href="mailto:dlou99@yahoo.com">dlou99@yahoo.com</a>><br>            Cc: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>            Sent: Saturday, August 30, 2008 8:49:24 AM<br>            Subject: Re: [sane-devel] Canon MF4140<br>            <br>            So much for the lark....<br>            <br>            <br>            scanimage -L no longer finds the scanner after the patch. &nbsp;Now I am<br>            working off of a newer build than you are (7-20-CVS), but I only<br>            changed the 2 files by hand, and when changing back, it was once again<br>            able to find the device.<br>            <br>            <br>            bob<br>            <br>            On Aug 25, 2008, at 12:18 AM, Dennis Lou wrote:<br>            <br>            <blockquote type="CITE">                Just on a lark, can you try commenting out the MF4100 PID and device<br>                entry from pixma_imageclass.c and add it to pixma_mp730.c? &nbsp;Here's<br>                the patch:<br>                <br>                Index: pixma_imageclass.c<br>                ===================================================================<br>                RCS file: /cvsroot/sane/sane-backends/backend/pixma_imageclass.c,v<br>                retrieving revision 1.4<br>                diff -u -r1.4 pixma_imageclass.c<br>                --- pixma_imageclass.c &nbsp;25 Jun 2008 20:54:16 -0000 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.4<br>                +++ pixma_imageclass.c &nbsp;25 Aug 2008 05:17:37 -0000<br>                @@ -78,7 +78,7 @@<br>                #define MF3110_PID 0x2660<br>                #define MF3200_PID 0x2684<br>                #define MF6500_PID 0x2686<br>                -#define MF4100_PID 0x26a3<br>                +//#define MF4100_PID 0x26a3<br>                #define MF4600_PID 0x26b0<br>                #define MF4010_PID 0x26b4<br>                <br>                @@ -612,7 +612,7 @@<br>                &nbsp;&nbsp;DEV ("Canon imageCLASS MF3110", MF3110_PID, 600, 640, 877,<br>                PIXMA_CAP_ADF),<br>                &nbsp;&nbsp;DEV ("Canon imageCLASS MF3240", MF3200_PID, 600, 640, 877,<br>                PIXMA_CAP_ADF),<br>                &nbsp;&nbsp;DEV ("Canon MF6500 Series", MF6500_PID, 600, 640, 877,<br>                PIXMA_CAP_ADF),<br>                - &nbsp;DEV ("Canon imageCLASS MF4150", MF4100_PID, 600, 640, 877,<br>                PIXMA_CAP_ADF),<br>                +// &nbsp;DEV ("Canon imageCLASS MF4150", MF4100_PID, 600, 640, 877,<br>                PIXMA_CAP_ADF),<br>                &nbsp;&nbsp;DEV ("Canon imageCLASS MF4690", MF4600_PID, 600, 640, 877,<br>                PIXMA_CAP_ADF),<br>                &nbsp;&nbsp;DEV ("Canon imageCLASS MF4010", MF4010_PID, 600, 640, 877,<br>                PIXMA_CAP_ADF),<br>                &nbsp;&nbsp;DEV (NULL, 0, 0, 0, 0, 0)<br>                Index: pixma_mp730.c<br>                ===================================================================<br>                RCS file: /cvsroot/sane/sane-backends/backend/pixma_mp730.c,v<br>                retrieving revision 1.7<br>                diff -u -r1.7 pixma_mp730.c<br>                --- pixma_mp730.c &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;22 Feb 2008 21:40:32 -0000 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.7<br>                +++ pixma_mp730.c &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;25 Aug 2008 05:17:37 -0000<br>                @@ -69,6 +69,7 @@<br>                #define MP740_PID 0x264c &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Untested */<br>                #define MP710_PID 0x264d<br>                #define MP730_PID 0x262f<br>                +#define MF4100_PID 0x26a3<br>                <br>                enum mp730_state_t<br>                {<br>                @@ -638,5 +639,6 @@<br>                &nbsp;&nbsp;DEVICE ("Canon MultiPASS MP710", MP710_PID, 1200, 637, 868, 0),<br>                &nbsp;&nbsp;DEVICE ("Canon MultiPASS MP730", MP730_PID, 1200, 637, 868,<br>                PIXMA_CAP_ADF),<br>                &nbsp;&nbsp;DEVICE ("Canon MultiPASS MP740", MP740_PID, 1200, 637, 868,<br>                PIXMA_CAP_ADF),<br>                + &nbsp;DEVICE ("Bob's MF4150", MF4100_PID, 600, 640, 877,<br>                PIXMA_CAP_ADF),<br>                &nbsp;&nbsp;DEVICE (NULL, 0, 0, 0, 0, 0)<br>                };<br>                <br>                <br>                <br>                ----- Original Message ----<br>                From: Bob Dronski &lt;<a href="mailto:dronski@gmail.com">dronski@gmail.com</a>><br>                To: Dennis Lou &lt;<a href="mailto:dlou99@yahoo.com">dlou99@yahoo.com</a>><br>                Sent: Saturday, August 23, 2008 1:20:22 PM<br>                Subject: Re: [sane-devel] Canon MF4140<br>                <br>                Got a couple more. &nbsp;150dpi color from the bottom of the scan and 300<br>                dpi b/w along the left edge.<br>                <br>                <br>                This enough to get you started?<br>                bob<br>                <br>                On Sat, Aug 23, 2008 at 3:07 PM, Bob<br>                Dronski &lt;<a href="mailto:dronski@gmail.com">dronski@gmail.com</a>> wrote:<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dennis,<br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parallels, the scanner, and USB sniffer are a<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bit temperamental together. &nbsp;I've been playing, and I have<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;one greyscale log so far. &nbsp;If the log got too big, I<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;apologize. &nbsp;LIke I said, it was really tricky. &nbsp;I'll<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;continue to play to get some more stuff out for you<br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bob<br>                <br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On Sat, Aug 23, 2008 at 2:34 PM, Dennis<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lou &lt;<a href="mailto:dlou99@yahoo.com">dlou99@yahoo.com</a>> wrote:<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For the first one, empty is fine. &nbsp;Later, might want<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to try different colors of paper. &nbsp;But I'm guessing<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that the protocol will be similar enough to another<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;existing supported scanner that it probably might<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;not be necessary.<br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Dennis<br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;----- Original Message ----<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;From: Bob Dronski &lt;<a href="mailto:dronski@gmail.com">dronski@gmail.com</a>><br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To: Dennis Lou &lt;<a href="mailto:dlou99@yahoo.com">dlou99@yahoo.com</a>><br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sent: Saturday, August 23, 2008 7:09:55 AM<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subject: Re: [sane-devel] Canon MF4140<br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dumb quick question--I'll try to look it up, but I<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;figured I'd check with you as well. &nbsp;Is it better to<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scan an empty flatbed or put a doc on it? &nbsp;I don't<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;know what data would be easier to work with (or if<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;it makes a difference)<br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Otherwise, I'm hooked up to parallels and am<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;functioning. &nbsp;I'll start w/ an empty bed and go from<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;there.<br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bob<br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On Fri, Aug 22, 2008 at 1:16 PM, Dennis<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lou &lt;<a href="mailto:dlou99@yahoo.com">dlou99@yahoo.com</a>> wrote:<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Well, I'm very confident somebody can do<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;something with the logs and get it working.<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether that person is me depends (that was<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my first time doing a scanner). &nbsp;But even if<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that person is not me, the SANE guys are<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pretty smart from what I've seen and<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;consumer-grade scanners seem pretty well<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;understood at this point.<br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Especially if the protocol isn't much more<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;complicated than the MF4270, then I'm pretty<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sure I can get something going.<br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BTW, where are you located? &nbsp;I'm in the<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Silicon Valley.<br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Dennis<br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;----- Original Message ----<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;From: Bob Dronski &lt;<a href="mailto:dronski@gmail.com">dronski@gmail.com</a>><br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To: Dennis Lou &lt;<a href="mailto:dlou99@yahoo.com">dlou99@yahoo.com</a>><br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sent: Friday, August 22, 2008 10:40:15 AM<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subject: Re: [sane-devel] Canon MF4140<br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dennis,<br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I've got a crazy day or two ahead of me.<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I'm going to really try to get you<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;something tonight or tomorrow.<br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do you think the odds will be good to get<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the driver working if I get you the data<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(and I presume a few more dumps)?<br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just trying to prioritize my time. &nbsp;If<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;you're not sure, I need to get it to you<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ASAP, as I only have through thursday to<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return easily. &nbsp;If you're pretty confident,<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I'll believe in you and not worry about the<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;date.<br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;take care,<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bob<br>                <br>                <br>                <br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On Aug 22, 2008, at 12:15 AM, Dennis Lou<br>                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wrote:<br>                <br>                <blockquote type="CITE">                    Great, thanks!<br>                    <br>                    1. Unplug the device<br>                    2. Install the Canon drivers<br>                    3. Install a USB sniffer. &nbsp;&nbsp;I used<br>                    SniffUSB v1.7 because my VM is Win2k. &nbsp;You<br>                    can certainly do better if you are running<br>                    a more recent version of Windows.<br>                    4. Plug in the device and direct it to the<br>                    virtual machine (select the device from<br>                    the "Device" menu in VMWare)<br>                    5. Start the USB sniffer (on mine, there<br>                    are four possible devices/subdevices; I<br>                    select "Canon MF4200 Series" and click the<br>                    "Install" button)<br>                    6. If you are using XP or Win2k, click<br>                    Start->Programs->Accessories->WindowsImaging then File->Acquire<br>                    7. Pick 75 DPI, grayscale and select a<br>                    small area to scan, preferably full width<br>                    and minimal height then hit "Scan".<br>                    8. Save the log file. &nbsp;In SniffUSB 1.7,<br>                    this means clicking the "Uninstall"<br>                    button, copying the log file somewhere<br>                    else, then clicking the "Delete" button.<br>                    9. Repeat steps 5-8 (possibly step 4 if<br>                    your setup is as finicky as mine) using<br>                    different color and dpi settings and<br>                    different areas.<br>                    10. Send me and/or the SANE list the log<br>                    file(s).<br>                    <br>                    Thanks again for your help.<br>                    <br>                    -Dennis<br>                    <br>                    <br>                    <br>                    ----- Original Message ----<br>                    From: Bob Dronski &lt;<a href="mailto:dronski@gmail.com">dronski@gmail.com</a>><br>                    To: Dennis Lou &lt;<a href="mailto:dlou99@yahoo.com">dlou99@yahoo.com</a>><br>                    Sent: Thursday, August 21, 2008 2:47:26 PM<br>                    Subject: Re: [sane-devel] Canon MF4140<br>                    <br>                    Dennis,<br>                    <br>                    May have missed the message. &nbsp;Sorry.<br>                    <br>                    Yes, I have a MacBookPro running parallels<br>                    I can use to sniff for you. &nbsp;As I haven't<br>                    done this before, please tell me what to<br>                    do.<br>                    <br>                    Thanks,<br>                    bob<br>                    <br>                    <br>                    On Thu, Aug 21, 2008 at 4:32 PM, Dennis<br>                    Lou &lt;<a href="mailto:dlou99@yahoo.com">dlou99@yahoo.com</a>> wrote:<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hi Bob,<br>                    <br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I sent you a private email<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;regarding this but apparently you<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;didn't get it.<br>                    <br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I wrote the Imageclass section and<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allan is correct. Your all-in-one<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shares the same Windows front-end<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;stuff from Canon as mine. &nbsp;But<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;beyond that, I have no idea<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;whether the base USB<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;communications protocol is the<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;same or not. &nbsp;What's really needed<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;are USB snoop logs, preferably<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from a Windows scan. &nbsp;Can you run<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parallels or Bootcamp into Win2k<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;or higher?<br>                    <br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Dennis<br>                    <br>                    <br>                    <br>                    <br>                    <br>                    <br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sane-devel mailing<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsubscribe: Send mail with<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subject "unsubscribe<br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;your_password"<br>                    <br>                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>                    <br>                    <br>                    <br>                    <br>                    <br>                    <br>                </blockquote>                <br>                <br>                <br>                <br>                <br>                <br>                <br>                <br>                <br>                <br>                <br>                <br>                <br>                <br>                <br>            </blockquote>            <br>            <br>            <br>        </blockquote>        <br>        <br>    </blockquote> </blockquote> <blockquote type="CITE">    <br>    <br> </blockquote> </div> </blockquote></div><br></div></body></html>