<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ben J</b> <span dir="ltr"><<a href="mailto:btpprograms@gmail.com">btpprograms@gmail.com</a>></span><br>Date: Mon, Aug 15, 2016 at 1:40 AM<br>Subject: Re: [sane-devel] Testing a Canon imageFormula P-150M<br>To: "m. allan noah" <<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>><br><br><br><div dir="ltr">Yeah you're correct, I only saw the scanner show up after adding it to canon_dr.config and running as root (adding the udev rule hasn't worked for permissions yet, but that's a different issue). I'm not sure if the P-150 and P-150M actually have different IDs; my scanner registers as a P-150 in lsusb but P-150M is clearly printed on the scanner. I attached the log and pasted the lsusb output for the scanner below. Thank you for the response, let me know if you want any other information about the scanner. Also, should I be responding to you directly or sending this to the mailing list as well?<br><br>Bus 003 Device 004: ID 1083:162c Canon Electronics, Inc. P-150 Scanner<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 14, 2016 at 9:32 AM, m. allan noah <span dir="ltr"><<a href="mailto:kitno455@gmail.com" target="_blank">kitno455@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The canon machines with the autostart switch have two different usb<br>
ids. I know neither of those for the P-150 or P-150M, so neither of<br>
them would be in the config file. This makes me wonder if something is<br>
wrong with your chronology- I don't think scanimage -L could have<br>
found the scanner before you changed to config file. If you can get<br>
back to that state, where the scanner was trying to work, we can do<br>
some debugging:<br>
<br>
SANE_DEBUG_CANON_DR=35 scanimage > foo.pnm 2>p150.log<br>
<br>
then send me p150.log directly. You may need to compress it.<br>
<br>
allan<br>
<div><div><br>
On Sat, Aug 13, 2016 at 3:20 PM, Ben J <<a href="mailto:btpprograms@gmail.com" target="_blank">btpprograms@gmail.com</a>> wrote:<br>
> Hi, I've got a P-150M and am trying to get it running at the moment. The<br>
> scanner was detected by scanimage -L as a P-150. I'm running Arch Linux 64<br>
> bit with no frontend for SANE.<br>
><br>
> When I tried to trigger a scan, SANE was able to detect that the document<br>
> feeder was empty and that the cover was closed. Once I resolved both of<br>
> these issue, I just got an error stating "scanimage: sane_start: Invalid<br>
> argument." This occurs while running "scanimage -d canon_dr: > test.tiff" as<br>
> root.<br>
><br>
> So far I've tried to fix this by adding my scanner to<br>
> /etc/sane.d/canon_dr.conf (usb 0x1083 0x162c). I've also tried switching the<br>
> Auto Start switch to on. This caused the error "scanimage: open of device<br>
> canon_dr: failed: Invalid argument" instead.<br>
><br>
> If anyone has any ideas let me know. I'm comfortable with config files and<br>
> small code changes, but I doubt I could write a full backend for this<br>
> scanner on my own.<br>
><br>
><br>
</div></div><span><font color="#888888">> --<br>
> sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org" target="_blank">sane-devel@lists.alioth.debian<wbr>.org</a><br>
> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org<wbr>/cgi-bin/mailman/listinfo/sane<wbr>-devel</a><br>
> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
> to <a href="mailto:sane-devel-request@lists.alioth.debian.org" target="_blank">sane-devel-request@lists.aliot<wbr>h.debian.org</a><br>
<br>
<br>
<br>
--<br>
"well, I stand up next to a mountain- and I chop it down with the edge<br>
of my hand"<br>
</font></span></blockquote></div><br></div>
</div></div></div><br></div>