Re: [sane-devel] Cannot get hp scanjet 8200 working

2017-01-30 Thread David Niklas
On Tue, 22 Nov 2016 20:54:55 -0800
Dave Platt  wrote:
> Attached, for your consideration, are three patches I've worked up.
> 
> The first one adds support for a new "option skip-adf" in the
> /etc/sane.d/avision.conf file.  If you add this option, it should
> prevent the "unsupported operation" error which is preventing
> your scanner from working.
> 
> The second patch adds proper support for the "-source Transparency"
> back-light recognition, so the backend doesn't spend 90 seconds
> waiting unnecessarily for the lamp to warm up.
> 
> The third adds the ability to cancel a scan during the lamp
> warmup period.
> 
> To apply, cd into a directory holding a copy of the current
> sane-backends git tree, and then "patch -p1 < avision-1.patch"
> (and similarly for the other two).  Then, configure, make, and
> install.
> 
> Please let me know if these work for you, or if you notice any
> undesirable side effects.
> 

Sorry for not getting back, I could not get the package manager
(portage), to accept that I would build the package.
I ended up creating en ebuild file and manually inserted it into
the package repository, which is hackish, but it works.

I looked at your patches and they seem quite clean.
Sadly, my scanner still does not work, but I think that the reasons are
unrelated. I'm inserting some of the debug info below.
If it makes any difference, my scanner's light was on.

Thanks,
David

[avision] try to write cmd, count: 10.
[sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes
[sanei_usb] 000 28 00 69 00 0A 0D 00 00 04 00   (.i...  
[sanei_usb] sanei_usb_write_bulk: wanted 10 bytes, wrote 10 bytes
[avision] wrote 10 bytes
[avision] try to read 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 4 bytes
[sanei_usb] 000 00 00 02 40 ...@
[sanei_usb] sanei_usb_read_bulk: wanted 4 bytes, got 4 bytes
[avision] read 4 bytes
[avision] avision_usb_status: timeout 1, 1 retries
[avision] ==> (bulk read) going down ...
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 00  .   
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[avision] <== (bulk read) got: 1, status: 0
[avision] adf_reset: raw data:
[avision]   [0] b   0o   0d  0x
[avision]   [1] b   0o   0d  0x
[avision]   [2] 0010b   2o   2d  2x
[avision]   [3] 0100b 100o  64d 40x
[avision] get_accessories_info: Waiting while ADF firmware resets...
[avision] wait_ready: sending TEST_UNIT_READY
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 3, read: 15000, status: 15000
[avision] try to write cmd, count: 10.
[sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes
[sanei_usb] 000 00 00 00 00 00 00 00 00 00 00   ..  
[sanei_usb] sanei_usb_write_bulk: wanted 10 bytes, wrote 10 bytes
[avision] wrote 10 bytes
[avision] avision_usb_status: timeout 15000, 1 retries
[avision] ==> (bulk read) going down ...
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 00  .   
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[avision] <== (bulk read) got: 1, status: 0
[avision] get_accessories_info: Maximum retries attempted, ADF unresponsive.
[avision] sane_open: additional probe failed: Operation not supported
scanimage: open of device avision:libusb:004:005 failed: Operation not supported
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `avision's exit function
[avision] sane_exit:
[dll] sane_exit: finished

-- 
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] Newbie

2017-01-30 Thread Horst Kern

Hello there,

please do not be too unkind with me, if I ask a dumb question.

My new Canon Pixma Scanner 5751 does not work with the scanner programs 
like simple-scan on my Ubuntu Linux.


I turned on debugging and found many lines like this:

[sanei_debug] Setting debug level of pixma to 21.
[pixma] pixma is compiled with pthread support.
[pixma] pixma version 0.17.18
[pixma] Scanner model MP150(Canon PIXMA MP150) not found, giving up! 
MG5700 series
[pixma] Scanner model MP170(Canon PIXMA MP170) not found, giving up! 
MG5700 series


I downloaded the latest sane backend: sane-backends-e3ed043

In the code I found, that MG5700 is listed.

Is there any way to install the update, or do I need to compile from 
source? (Did not do that for a long time!)


Best Regards,
Horst.

--
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] XSane - Saving scan to text

2017-01-30 Thread Chris Moller
You either have to install the gocr package (using dnf, apt-get, or 
whatever) that does the optical character recognition, or you have to go 
into Preferences->Setup->OCR and specify whatever OCR package you're using.



On 01/30/17 13:41, Raymond Hanslits wrote:
I have been using XSane to scan text pages from Libre Office Writer 
and from magazines. However, it will not let me save them as text 
files orly image files.  I get a message that says the "gocr" command 
is not available.


Can you help me?

Ray Hanslits
rhansl...@yahoo.com




-- 
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] XSane - Saving scan to text

2017-01-30 Thread Raymond Hanslits
I have been using XSane to scan text pages from Libre Office Writer and from 
magazines. However, it will not let me save them as text files orly image 
files.  I get a message that says the "gocr" command is not available.   

Can you help me?
Ray hanslitsrhansl...@yahoo.com
-- 
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