Description of problem: HP scanjet 8200 not working in Fedora 24 (Linux) I believed every other linux using the latest sane-backend are affected, but it can easily be fixed Version-Release number of selected component (if applicable): sane backend 1.0.25 How reproducible: Easy to reproduce Steps to Reproduce: 1. Install OS 2. Plug scanner 3. Scan Actual results: No scanned image, error while scanning Expected results: Scan will be ok and scanned image will appear in Simple Scan App Additional info: Here is the link for the fix: http://sane.10972.n7.nabble.com/HP-scanjet-8200-open-of-device-avision-libusb-001-004-failed-Operation-not-supported-td18946.html All you got to do is: 0. Install needed dependencies and libusb-devel 1. Get the source sane-backend 1.0.25 from https://alioth.debian.org/frs/?group_id=30186 2. Apply the patch from the link above or if you are getting lazy, edit the: source folder/backend/avision.c a.) find lines * get_accessories_info (Avision_Scanner* s) { Avision_Device* dev = s->hw; * below this replace: "int try = 3" with "int try = 1" b.) find the line * DBG (1, "get_accessories_info: Maximum retries attempted, ADF unresponsive.\n"); * below this replace: "return SANE_STATUS_UNSUPPORTED" with "return SANE_STATUS_GOOD" 3. ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var 4. make install and replace the existing sane files Result: The fix 2.a.) speeds up scanning, while 2.b.) makes scanner work Scanner hp scanjet 8200 is now working, not yet tested on other scanners
Hi, it seems similar like bug #1288712 to me. Closing this bug as duplicate. *** This bug has been marked as a duplicate of bug 1288712 ***
There is a proposed patch in bug #1288712, which needs to be reviewed by upstream. About patch, which you are suggesting, I think it is not good way to solve it by assigning SANE_STATUS_GOOD to return value at block of code, where program will be if maximum tries are reached.
Hi, I agree it is not really good to force it to SANE_STATUS_GOOD, glad to hear there is already a proposed patch.