[sane-devel] Still problems with Epson Perfection 3490 Photo

2006-11-16 Thread Olaf Meeuwissen
jurgen.defu...@pandora.be (Jurgen Defurne) writes:

 I followed the instructions I found here 
 (http://ubuntuforums.org/showthread.php?t=108256), which gave a little bit 
 more information about setting up udev.

 I got some better activity and feedback, from this command :

 SANE_DEBUG_SNAPSCAN=255 scanimage -L

 However, it hangs at sane_snapscan_get_devices, with the following
 output from the process :

 [snapscan] atomic_usb_cmd(0,0xbfea70ce,6,0x0,0x0 (0))
 [snapscan] usb_cmd(0,0xbfea70ce,6,0x0,0x0 (0))
 [snapscan] usb_cmd: cmdlen=6, datalen=0
 [snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
 [snapscan] Written 6 bytes
 [snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [snapscan] Read 8 bytes
 [snapscan] 2nd read 4 write 2
 [snapscan] snapscani_init_device_structure()
 [snapscan] sane_snapscan_get_devices (0xbfea8298, 0)

 and after some time the process starts to take up 100% CPU.

 What I want to know is if the snapscan backend on its own is enough to
 drive the scanner, or do I always need the iscan shared libraries from
 the Avasys website, and if yes, what is the best place to install them ?

You need a firmware file (esfw52.bin).

As for the iscan shared libraries (I assume you're talking about
iscan-plugin-gt-f520-1.0.0-1.c2.i386.rpm) are only used by the epkowa
backend.  The snapscan backend does not use them.  The epkowa backend
is available in the iscan package/source.

Hope this helps,
-- 
Olaf Meeuwissen  EPSON AVASYS Corporation, SE1
FSF Associate Member #1962   sign up at http://member.fsf.org/
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97  976A 16C7 F27D 6BE3 7D90
Penguin's lib!   -- I hack, therefore I am --   LPIC-2


[sane-devel] Out of Memory error when scanning at high DPI

2006-11-16 Thread Mark Richards
Hi,
I have an Epson Perfection Photo 4990 (GT-X800) scanner connected by USB to
my PC (Athlon 64 3200 1GB ram 5GB swap, FC5).

scanimage --version : scanimage (sane-backends) 1.0.18; backend version
1.0.18

Scanimage -L : device `epson:libusb:002:009' is a Epson GT-X800 flatbed
scanner

I can scan fine at 1200dpi (16-bit colour) or 2400 (8-bit colour) but when I
try to scan at anything higher I get an Out of Memory error.  It is my
understanding that scanning at 4800dpi should be possible with this
scanner.  Any suggestions?

Thanks,

Mark
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20061116/cac8bda9/attachment.htm
From matt...@matthewmarshall.org  Thu Nov  9 14:32:45 2006
From: matt...@matthewmarshall.org (Matthew Marshall)
Date: Thu Nov 16 22:26:26 2006
Subject: [sane-devel] Scanner entry for udev rules.
Message-ID: 200611091032.45470.matt...@matthewmarshall.org

Hello,

My scanner is not included in the udeb rules set.  The comment in the rules 
file said to mail the entry to this list, so here it is:

# Brother MFC-7420
SYSFS{idVendor}==04f9, SYSFS{idProduct}==0180, MODE=664, GROUP=scanner

(I assume that you are ok with scanners that only work with binary drivers.)

Thanks!

MWM


[sane-devel] Anyone working on Xerox Workcenter scanning driver?

2006-11-16 Thread Farley S. Kalp
Can anyone get the workcentre m950 to work with linux?


[sane-devel] Out of Memory error when scanning at high DPI

2006-11-16 Thread Russbucket
On Thu November 16 2006 06:13, Mark Richards wrote:
 Hi,
 I have an Epson Perfection Photo 4990 (GT-X800) scanner connected by USB to
 my PC (Athlon 64 3200 1GB ram 5GB swap, FC5).

 scanimage --version : scanimage (sane-backends) 1.0.18; backend version
 1.0.18

 Scanimage -L : device `epson:libusb:002:009' is a Epson GT-X800 flatbed
 scanner

 I can scan fine at 1200dpi (16-bit colour) or 2400 (8-bit colour) but when
 I try to scan at anything higher I get an Out of Memory error.  It is my
 understanding that scanning at 4800dpi should be possible with this
 scanner.  Any suggestions?

 Thanks,

 Mark
Sorry about that my screen cut off the first two lines of your message.  
-- 
Russ


[sane-devel] Out of Memory error when scanning at high DPI

2006-11-16 Thread Russbucket
On Thu November 16 2006 06:13, Mark Richards wrote:
 Hi,
 I have an Epson Perfection Photo 4990 (GT-X800) scanner connected by USB to
 my PC (Athlon 64 3200 1GB ram 5GB swap, FC5).

 scanimage --version : scanimage (sane-backends) 1.0.18; backend version
 1.0.18

 Scanimage -L : device `epson:libusb:002:009' is a Epson GT-X800 flatbed
 scanner

 I can scan fine at 1200dpi (16-bit colour) or 2400 (8-bit colour) but when
 I try to scan at anything higher I get an Out of Memory error.  It is my
 understanding that scanning at 4800dpi should be possible with this
 scanner.  Any suggestions?

 Thanks,

 Mark
Out of Memory usually means your computer does not have enough memory. You 
don't state how much you have?
-- 
Russ


[sane-devel] Out of Memory error when scanning at high DPI

2006-11-16 Thread Gerard Klaver
On Thu, 2006-11-16 at 09:13 -0500, Mark Richards wrote:
 Hi,
 I have an Epson Perfection Photo 4990 (GT-X800) scanner connected by
 USB to my PC (Athlon 64 3200 1GB ram 5GB swap, FC5).
 
 scanimage --version : scanimage (sane-backends) 1.0.18 ; backend
 version 1.0.18
 
 Scanimage -L : device `epson:libusb:002:009' is a Epson GT-X800
 flatbed scanner
 
 I can scan fine at 1200dpi (16-bit colour) or 2400 (8-bit colour) but
 when I try to scan at anything higher I get an Out of Memory error.
 It is my understanding that scanning at 4800dpi should be possible
 with this scanner.  Any suggestions? 
 
 Thanks,
 
 Mark
 
With export SANE_DEBUG_EPSON=255
and then start scanimage, check the logs for some info,

For a A4 300dpi (24 bits, 8 bits per color) scan you get about 25Mbyte
of data, for 600dpi about 100Mbyte, for 1200dpi about 400 Mbyte, for
2400dpi about 1600Mbyte.

-- 

m.vr.gr.
Gerard Klaver



[sane-devel] Pure java sane interface

2006-11-16 Thread andy
Hello

I have been looking for a lgpl interface to sane from java.

I have seen jsane and scanlite but I cant use them as they are not lgpl.

So yesterday I started writing a pure java sane interface, I have
already got it to scan a document and save it as a png file, cool, sane
is quite simple!

My plan is to call it sane4j and release it on sourceforge as lgpl,
unless anyone knows of an existing lgpl java-sane interface.

I connect to saned, Init, open, start, close and exit are working.

However I have some problems with the protocol for commands like
getDevices and getOptionDescriptor. I think it maybe something to do
with my string decode routine (below).

The other thing I dont understand is the way pointers are transmitted.

Can someone explain how **ptr would be sent please.

Thanks in advance

Andy Bailey


public String readString() throws IOException
{
String s=null;
int len=in.readInt();
System.out.println(String of length +len);
if (len==0)
{
return null;
}
else if (len==1)
{
s=;   
}
else
{
byte buf[]=new byte[len-1];
in.readFully(buf);
s=new String(buf);

}
byte nul = in.readByte();
//assert nul==0;
return s;
}