[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

Gernot Hassenpflug aikishugyo at gmail.com
Tue Dec 13 16:32:53 UTC 2011

On Tue, Dec 13, 2011 at 12:09 AM, Gernot Hassenpflug
<aikishugyo at gmail.com> wrote:
> Dear all,
> I've gotten down to the work of splitting pixma_mp150.c into two sub-drivers.

Status update:

I've split the driver very basically for now.

The new driver is called pixma_mp810.c, since that is the lowest
numbered MP device I added full (4800 dpi) support for there.

I've removed all other devices from it, save for those listed below
(MP810, MP960,970,980,990, and the Canoson 8800F and 9000F).

Added pixma_mp810.c to the following files:
1) backend/Makefile.am
2) backend/pixma_common.h
3) backend/pixma_rename.h

I haven't yet looked at adding/updating any documentation files.

Compilation works, so I will clean up the code a little, and prepare a
diff of the pixma_mp150.c over the next couple of days, since there
may be a few other changes I had made to existing supported devices
that could be not committed in git repository yet. If so I will submit
those diffs separately later.

Comments welcome.

Gernot Hassenpflug

> The major new work in my customized pixma_mp150.c file is:
> 1) support for 4800dpi scanning for existing supported printers
> (MP810, MP960, MP970, MP990 --- MP980 not explicitly supported yet)
> 2) support for the Canoscan 9000F
> 3) new interleaving of sub-images for the above.
> I propose that the following devices, which all have 4800dpi CCD
> capability, be removed from the original sub-driver and supported
> (fully) but the new sub-driver:
> 1) MP810
> 2) MP960
> 3) MP970
> 4) MP980 (no specific work done, assumed similar to MP970 or MP990 and
> to be added whenever testing can be carried out)
> 5) MP990
> 6) Canoscan 8800F
> 7) Canoscan 9000F
> There are several CIS devices with 4800dpi capability, but these work
> fine with the existing sub-driver functionality.
> Furthermore, there are new devices from 2010 which I have added
> experimentally to my sub-driver which I have been distributing on an
> individual basis. The results are not known at this stage, but I
> assume that the CIS devices will work perfectly well with the existing
> sub-driver. I now added the 2011 devices as well. Of these 2010 and
> 2011 modes, only the top-range models use CCDs with 4800dpi, and these
> should be added to the new sub-driver:
> 8) MG8100 series
> 9) MG8200 series
> To avoid breaking existing devices I would like to comment them out in
> the existing pixma_mp150 sub-driver file, and similarly comment out in
> the new sub-driver any devices which should be supported by the
> existing sub-driver.
> Please let me know any comments, in case they will be helpful for me
> to get this task done as soon as possible.
> Regards,
> Gernot Hassenpflug

More information about the sane-devel mailing list