diff options
Diffstat (limited to 'backend/xerox_mfp.c')
-rw-r--r-- | backend/xerox_mfp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/backend/xerox_mfp.c b/backend/xerox_mfp.c index 8b8c895..b7fcbee 100644 --- a/backend/xerox_mfp.c +++ b/backend/xerox_mfp.c @@ -206,9 +206,13 @@ static int isSupportedDevice(struct device __sane_unused__ *dev) { #ifdef HAVE_LIBJPEG /* Checking device which supports JPEG Lossy compression for color scanning*/ - if (dev->compressionTypes & (1 << 6)) + if (dev->compressionTypes & (1 << 6)) { + /* blacklist malfunctioning device(s) */ + if (!strncmp(dev->sane.model, "SCX-4500W", 9) || + !strncmp(dev->sane.model, "M288x", 5)) + return 0; return 1; - else + } else return 0; #else return 0; |