Oh, as it wasn't on the lists, and I downloaded the stable version, I didn't see it was already supported.
Thank you for your help 2013/9/11 Rolf Bensch <rolf at bensch-online.de> > Hi Marc, > > Please follow the installation description in README.Linux from here: > http://www.sane-project.org/README.linux. Then you'll get latest SANE > code 1.0.24 which supports MP230. > > Cheers, > Rolf > > > Am 11.09.2013 20:42, schrieb Marc Mar?: > > I forgot about the udev rules. I can't find the file in the original > > source, so I suppose is automatically generated somewhere. In any case, > > I only added this lines in libsane.rules: > > # Canon PIXMA MP230 > > ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="175f", MODE="0664", > > GROUP="scanner", ENV{libsane_matched}="yes" > > > > > > 2013/9/11 Marc Mar? <5.markmb.5 at gmail.com <mailto:5.markmb.5 at > > gmail.com>> > > > > I can scan properly with all resolutions (75, 150, 300 and 600). If, > > while scanning I press the "cancel" button, it cancels properly in > > xsane. The data related to buttons with scanimage -A is (there's > > info about Scan Mode, Geometry, Gamma and Extras too): > > Buttons: > > --button-update > > Update button state > > --button-1 <int> [0] > > Button 1 > > --button-2 <int> [0] > > Button 2 > > > > With debug mode 11, there's no extra information. > > > > I think that the diff format is the one that I attach. > > > > Anything else you need, about commands or testing or something, tell > me. > > > > > > 2013/9/11 Rolf Bensch <rolf at bensch-online.de > > <mailto:rolf at bensch-online.de>> > > > > Hi Marc, > > > > Please test all scan options with all resolutions first. I > > assume that > > SANE can only support up to 600 dpi. > > > > Also test button support. Press any button and send a status > > request to > > the scanner: 'scanimage -A'. The response should contain > > something like > > this: > > > > Buttons: > > --button-update > > Update button state > > --button-1 <int> [0] [read-only] > > Button 1 > > --button-2 <int> [1] [read-only] > > Button 2 > > --original <int> [0] [read-only] > > Type of original to scan > > --target <int> [5] [read-only] > > Target operation type > > --scan-resolution <int> [0] [read-only] > > Scan resolution > > > > If no data will be shown, please enable debut output with: > 'export > > SANE_DEBUG_PIXMA=11'. Then look for these lines: > > > > Buttons: > > --button-update > > Update button state > > [pixma] INTR T=1.663 len=32 > > [pixma] 00000000:00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > > [pixma] 00000010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 > > [pixma] > > > > (Shown data is from my scanner and may be different from your > > scanner's > > data.) > > > > The received data is processed in function handle_interrupt(). > For > > details please read the comments in the code and 'man > > sane-pixma'. If > > you'll have problems with this, you can also send the responses > > for all > > buttons to the mailing list. Then I can create the patch. > > > > Then you can send the diff file to the mailing list. I'll commit > > it to > > SANE git. > > > > Cheers, > > Rolf > > > > > > Am 10.09.2013 23:57, schrieb Marc Mar?: > > > 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 > > <mailto:5.markmb.5 at gmail.com> <mailto:5.markmb.5 at gmail.com > > <mailto: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 > > <mailto:rolf at bensch-online.de> > > > <mailto:rolf at bensch-online.de <mailto: > 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 > > <http://libsane-pixma.la> > > >> > > <http://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 > > <mailto:5.markmb.5 at gmail.com> > > >> <mailto:5.markmb.5 at gmail.com > > <mailto: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/20130911/0582406e/attachment-0001.html>
