Hi Nathan, I just committed the patch to git.
If you like you can add my PPA to apt: http://lists.alioth.debian.org/pipermail/sane-devel/2013-April/031177.html Many thanks for your help. Cheers, Rolf Am 19.04.2013 22:04, schrieb Nathan Stewart: > Thank you. Works beautifully - once I realized libsane is a separate > package from the sane core deb that ubuntu installs and I was able to > overwrite the stock 1.0.23. The other gotcha was that, being an > all-in-one, it's matched by the printer rules first. I see /dev/usb/lp1, > owned by group lp. But no scanner related devices. > > > > On Thu, Apr 18, 2013 at 4:28 PM, Rolf Bensch <rolf at bensch-online.de > <mailto:rolf at bensch-online.de>> wrote: > > Hi Nathan, > > Please use the attached patch files. > > You already started with pixma_imageclass.c. Newer devices needed more > changes than simply adding the device as you did. > > You also should patch tools/udev/libsane.rules and then copy this file > to /etc/udev/rules.d. Your user must be a member of group scanner. Then > you should have access to your scanner (after logoff/logon and reconnect > your scanner). You can read README.linux for more infos about this > issue. > > Cheers, > Rolf > > Am 18.04.2013 15:31, schrieb Nathan Stewart: > > OK - I added the device ID and capabilities: > > index 419d09d..bb38d76 100644 > > --- a/backend/pixma_imageclass.c > > +++ b/backend/pixma_imageclass.c > > @@ -88,7 +88,7 @@ > > #define MF6680_PID 0x26fa > > #define MF8030_PID 0x2707 > > #define MF4550_PID 0x2736 > > - > > +#define MF3010_PID 0x2759 > > > > enum iclass_state_t > > { > > @@ -769,5 +769,6 @@ const pixma_config_t pixma_iclass_devices[] = { > > DEV ("Canon imageClass MF8030", "MF8030", MF8030_PID, 600, 640, > 877, > > PIXMA_CAP_ADF), > > DEV ("Canon i-SENSYS MF5880dn", "MF5880", MF5880_PID, 600, 640, > 877, > > PIXMA_CAP_ADFDUP), > > DEV ("Canon i-SENSYS MF6680dn", "MF6680", MF6680_PID, 600, 640, > 877, > > PIXMA_CAP_ADFDUP), > > + DEV ("Canon imageCLASS MF3010", "MF3010", MF3010_PID, 600, 640, > 877, 0), > > DEV (NULL, NULL, 0, 0, 0, 0, 0) > > }; > > > > (I understood the last field in DEV to be capabilities, those listed > > specifically about feeders) > > > > However, sane-find-scanners finds it, but scanimage -L does not. I dug > > down the path of scanimage -L until I got to pixma_collect_devices(), > > but apparently I've not done enough to see that pixma_collect_devices > > considers it a pixma scannner. > > > > > > On Thu, Apr 18, 2013 at 8:53 AM, Nathan Stewart > > <therealnathanstewart at gmail.com > <mailto:therealnathanstewart at gmail.com> > <mailto:therealnathanstewart at gmail.com > <mailto:therealnathanstewart at gmail.com>>> > > wrote: > > > > I'm willing to help. I may still have an XP image somewhere, but > > trial and error may be faster. > > > > (We have a 3 month old baby. I can steal a few minutes at the > > keyboard, one hand it, or remote from work, but time to go > > physically scrounging through old computer stuff is extremely > limited) > > > > I also have sane-backends already checked out and built. I just > > haven't dug in very far yet because I thought it was covered > already > > by the pixma driver. > > > > > >