[sane-devel] [PATCH 1/3] magicolor: fix USB device detection
Eduard - Gabriel Munteanu
edgmnt at gmail.com
Fri Sep 4 10:50:48 UTC 2015
Only the generic device was being picked.
Signed-off-by: Eduard - Gabriel Munteanu <edgmnt at gmail.com>
---
backend/magicolor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/backend/magicolor.c b/backend/magicolor.c
index e3cd80d..d934321 100644
--- a/backend/magicolor.c
+++ b/backend/magicolor.c
@@ -1670,6 +1670,7 @@ detect_usb(struct Magicolor_Scanner *s)
DBG(2, "found valid Magicolor scanner: 0x%x/0x%x (vendorID/productID)\n",
vendor, product);
+ mc_set_device(s, product);
return SANE_STATUS_GOOD;
}
--
2.5.0
More information about the sane-devel
mailing list