The root problem is solved. I didn't put the scanner on udev rules. 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.
2013/9/10 Marc Mar? <5.markmb.5 at gmail.com> > It works!! > > I just compiled and installed, and it seems to work, but only on root mode: > sudo xsane -> works, detects and seems to scan properly > xsane -> [pixma] pixma_open(): Canon PIXMA MP230 > [pixma] pixma_connect() failed EACCES > [pixma] pixma_open() failed EACCES > [pixma] pixma_close(): Canon PIXMA MP230 > > Do you have any idea of misconfiguration of my part, or I only found a > half solution? > > > > 2013/9/10 Rolf Bensch <rolf at bensch-online.de> > >> Hi Marc, >> >> 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: http://www.sane-project.org/README.linux. >> >> Additional to the install description you need to add your scanner to the >> udev.rules file. >> >> You don't need to set PIXMA_EXPERIMENT=1. >> >> 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. >> >> Don't hestitate to contact me if you have any problems. >> >> Cheers, >> Rolf >> >> >> Am 09.09.2013 23:15, schrieb Marc Mar?: >> >> 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/{libsane-pixma.la,libsane-pixma.so.1,libsane-pixma.so.1.0.22} >> should be enough to test the compatibility between 250 and 230? >> >> Help me a bit! I'm not new to code and Linux, but I'm new to big Linux >> open-source codes. >> >> Thank you in advance >> >> >> 2013/9/9 Marc Mar? <5.markmb.5 at gmail.com> >> >>> Hello everyone >>> >>> 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. >>> >>> 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. >>> >>> So, my question is: how can I force loading the MP250 driver for using >>> with MP250 in sane? >>> >>> 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 >>> >>> Thank you in advance >>> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130910/a781946a/attachment.html>
