[sane-devel] Canon Pixma MX435 Detection

Louis Lagendijk louis at fazant.net
Thu Sep 6 19:37:04 UTC 2012


On Thu, 2012-09-06 at 20:56 +0200, Louis Lagendijk wrote:

> 
> I can see 2 ways around this problem:
> 1) change the backend so the strings match
> 2) remove any occurrence of "Canon" and "Pixma" from the reported model
> string and look only for the "MX430 Series" part. We anyhow look only
> for a match on a sub-string (see lookup_scanner() in pixma_io_sanei.c )
> 
> What do others think might be the preferred way of dealing with this
> lookup? I tend to go for alternative 2, but would appreciate feedback
> before I go and implement this.
> 
Ok, I found an even simpler way: use MDL instead of DES, as that already
returns the MX430 series which we CAN match
Will commit that to git in a few minutes
Louis





More information about the sane-devel mailing list