Re: [sane-devel] requesting help with setup of Kodak 5100 AiO scanner
On 07/09/14 01:04, Rob Locher wrote: I posted to the list because I was having trouble scanning a black-and-white document with my Kodak 5100 AiO, and on Wed, 03 Sep 2014 10:34:58 -0700, NEWALL Paul p.newa...@ntlworld.com wrote back (I trimmed a bit to save space): The kodak ESP AiO printers basically only scan in colour, and the gray option is generated in software from the colour scan. It is possible that there is something wrong with the conversion to gray that needs to be fixed. We could generate a lineart option in a similar way. First, can you do a scan of your document using the colour option with default settings? just to check that the white paper comes out approximately white and the black ink approximately black. If not there may be something else that needs fixing to make the ESP5100 work before we can do the conversion to lineart. Hi Paul, and thank you for your reply. If you're one of those wonderful people who make useful software available to everyone for free, then thank you especially for that! I did as you asked, and scanned the same document in color using the default settings. The results are somewhat psychedelic: http://www.idiompress.com/misc/kodak-5100-aio-color-scan.png The black comes out fairly black, but white isn't white unless it's near something black. No wonder I wasn't able to get a reasonable scan despite all my tweaking, if color settings were the problem but were unavailable to me in gray mode. Regards, - Rob Thanks for the colour scan. It seems that I have the same problem, though much less strongly. I get a slight yellow speckle in the white areas. It's caused by a mistake in the colour correction curves, I was sending 255 points for each colour instead of 256. I expect to have fixed that in a few days. Paul -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] requesting help with setup of Kodak 5100 AiO scanner
On 07/09/14 09:02, Paul Newall wrote: On 07/09/14 01:04, Rob Locher wrote: I posted to the list because I was having trouble scanning a black-and-white document with my Kodak 5100 AiO, and on Wed, 03 Sep 2014 10:34:58 -0700, NEWALL Paul p.newa...@ntlworld.com wrote back (I trimmed a bit to save space): The kodak ESP AiO printers basically only scan in colour, and the gray option is generated in software from the colour scan. It is possible that there is something wrong with the conversion to gray that needs to be fixed. We could generate a lineart option in a similar way. First, can you do a scan of your document using the colour option with default settings? just to check that the white paper comes out approximately white and the black ink approximately black. If not there may be something else that needs fixing to make the ESP5100 work before we can do the conversion to lineart. Hi Paul, and thank you for your reply. If you're one of those wonderful people who make useful software available to everyone for free, then thank you especially for that! I did as you asked, and scanned the same document in color using the default settings. The results are somewhat psychedelic: http://www.idiompress.com/misc/kodak-5100-aio-color-scan.png The black comes out fairly black, but white isn't white unless it's near something black. No wonder I wasn't able to get a reasonable scan despite all my tweaking, if color settings were the problem but were unavailable to me in gray mode. Regards, - Rob Thanks for the colour scan. It seems that I have the same problem, though much less strongly. I get a slight yellow speckle in the white areas. It's caused by a mistake in the colour correction curves, I was sending 255 points for each colour instead of 256. I expect to have fixed that in a few days. Paul The git version of sane now has this problem fixed. (kodakaio version 2.5.1) Paul -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] HP scanjet 8200: open of device avision:libusb:001:004 failed: Operation not supported
Hello, a friend bought recently an HP Scanjet 8200 and tried to use it under Ubuntu 14.04 (sane version 1.0.23). The scanner does not have any accessories like an ADF or a transparency unit. scanimage -L says: device `avision:libusb:001:003' is a Hewlett-Packard ScanJet 8200 flatbed scanner Attempts to run a simple scanimage /dev/null results in the error: scanimage: open of device avision:libusb:001:004 failed: Operation not supported The stderr output from SANE_DEBUG_AVISION=255 scanimage is in the attached file. I see the same error when using self compilied binaries from GIT revision 29abd19a8f7a0df7614484e887d8d79210687a0e. But the following patch of the function get_accessories_info() avoids the problem: diff --git a/backend/avision.c b/backend/avision.c index 31b0a58..b1094d4 100644 --- a/backend/avision.c +++ b/backend/avision.c @@ -3164,7 +3164,7 @@ static SANE_Status get_accessories_info (Avision_Scanner* s) { Avision_Device* dev = s-hw; - int try = 3; + int try = 1; /* read stuff */ struct command_read rcmd; @@ -3238,7 +3238,7 @@ get_accessories_info (Avision_Scanner* s) goto RETRY; } DBG (1, get_accessories_info: Maximum retries attempted, ADF unresponsive.\n); - return SANE_STATUS_UNSUPPORTED; + return SANE_STATUS_GOOD; } } (The first change isn't important to avoid the problem but makes the start phase of the scan a bit faster.) I would not claim that this change is reasonable for inclusion into the Sane repositories: I did not read the file avision.c very carefully, I don't have any technical docs for the HP8200 available (neither for any other of the many scanners supported by the avision backend...) and can't hence say how this change could affect other scanners supported by the backend, or even an HP8200 having an ADF installed. This problem seems to be a bit older. I found these bug reprots for Ubuntu and Suse: https://bugs.launchpad.net/ubuntu/+source/sane-frontends/+bug/789745 https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1050011 https://bugzilla.novell.com/show_bug.cgi?id=680767 Myself and the owner of the scanner are able to test other workarounds or real fixes -- but the response time will be a bit slow: I'll need to visit the owner in order to try anything... cheers Abel hp8200.log.gz Description: GNU Zip compressed data -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org