<div dir="ltr">The root problem is solved. I didn't put the scanner on udev rules.<div><br></div><div>So now, how should I proceed to insert this scanner in sane scanner database? What tests should I perform, how should I add it to the global scanner list, etc. I'd like to contribute with this very small patch.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/10 Marc Marí <span dir="ltr"><<a href="mailto:5.markmb.5@gmail.com" target="_blank">5.markmb.5@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">It works!!<div><br></div><div>I just compiled and installed, and it seems to work, but only on root mode:</div><div>sudo xsane -> works, detects and seems to scan properly</div><div>xsane -> [pixma] pixma_open(): Canon PIXMA MP230</div>
<div> [pixma] pixma_connect() failed EACCES</div><div> [pixma] pixma_open() failed EACCES</div><div> [pixma] pixma_close(): Canon PIXMA MP230</div><div><br></div><div>Do you have any idea of misconfiguration of my part, or I only found a half solution?</div>
<div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/10 Rolf Bensch <span dir="ltr"><<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi Marc,<br>
<br>
You need to compile and install SANE if you change something in the
code. The installation is described in README.linux, which comes
with the code or read here:
<a href="http://www.sane-project.org/README.linux" target="_blank">http://www.sane-project.org/README.linux</a>. <br>
<br>
Additional to the install description you need to add your scanner
to the udev.rules file. <br>
<br>
You don't need to set PIXMA_EXPERIMENT=1.<br>
<br>
If you want to see the debug output you need to set 'export
SANE_DEBUG_PIXMA=4' and start xsane from the command line. 'export
SANE_DEBUG_PIXMA=11' is useful if you want to see the usb protocols.<br>
<br>
Don't hestitate to contact me if you have any problems.<br>
<br>
Cheers,<br>
Rolf<br>
<br>
<br>
<div>Am 09.09.2013 23:15, schrieb Marc Marí:<br>
</div><div><div>
<blockquote type="cite">
<div dir="ltr">I looked at the code, and I found the MP250
definitions. I copied those lines, and changed the product_id to
MP230, with everything the same. Now, is there a way to generate
the libraries without downloading and compiling everything? I
suppose that, generating and replacing this files
/usr/lib/x86_64-linux-gnu/sane/{<a href="http://libsane-pixma.la" target="_blank">libsane-pixma.la</a>,libsane-pixma.so.1,libsane-pixma.so.1.0.22}
should be enough to test the compatibility between 250 and 230?
<div>
<br>
</div>
<div>Help me a bit! I'm not new to code and Linux, but I'm new
to big Linux open-source codes.</div>
<div><br>
</div>
<div>Thank you in advance</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
2013/9/9 Marc Marí <span dir="ltr"><<a href="mailto:5.markmb.5@gmail.com" target="_blank">5.markmb.5@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello everyone
<div><br>
</div>
<div>I just bought a Canon Pixma MP230. Unfortunately,
there is no good support. I tried the native drivers,
and it printed properly but not scanned. So I looked for
other solutions.</div>
<div><br>
</div>
<div>I found that the MP250 driver is compatible for the
MP230. I removed the propietary drivers, and I tried
configuring CUPS with that driver. And it worked. Now,
I'm wondering how can I force to load the MP250 driver.</div>
<div><br>
</div>
<div>So, my question is: how can I force loading the MP250
driver for using with MP250 in sane?</div>
<div><br>
</div>
<div>I have Crunchbang Waldorf (based on Debian 7), kernel
3.2.0-4 and 64 bits. I enabled the debug mode with
SANE_DEBUG_PIXMA=11 and PIXMA_EXPERIMENT=1, and I use
xsane 0.996</div>
<div><br>
</div>
<div>Thank you in advance</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>