[sane-devel] Genesys HP ScanJet 2400

2006-06-12 Thread k...@online.no
On Sun, 11 Jun 2006 20:57:54 +0200, Henning Meier-Geinitz  
henn...@meier-geinitz.de wrote:

 Hi,

 On 2006-06-11 17:40, Nick Booker wrote:
 I've noticed that there is a section in the HEAD version (1.35) of the
 file genesys_devices.c in the experimental/genesys tree of CVS
 mentioning the HP ScanJet 2400c.   My questions are:

 See the archive of this list for a lot of discussion about that scanner.

 3) is 2400c just an alias for 2400?

 Yes.

 Bye,
   Henning


ugh.. i also hope for that scanner to be supported soon :D

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


[sane-devel] Genesys HP ScanJet 2400

2006-06-11 Thread Nick Booker
Hi
It's been a while since anyone's posted anything on this scanner, so here goes:

I've noticed that there is a section in the HEAD version (1.35) of the
file genesys_devices.c in the experimental/genesys tree of CVS
mentioning the HP ScanJet 2400c.   My questions are:

1) Will this definition/driver work for the ScanJet 2400?
2) Can the developers tell me if it's actually usable to any point at
the moment (and about any limitations in the current source).
3) is 2400c just an alias for 2400?

Thank you

Nick


[sane-devel] Genesys HP ScanJet 2400

2006-06-11 Thread Henning Meier-Geinitz
Hi,

On 2006-06-11 17:40, Nick Booker wrote:
 I've noticed that there is a section in the HEAD version (1.35) of the
 file genesys_devices.c in the experimental/genesys tree of CVS
 mentioning the HP ScanJet 2400c.   My questions are:

See the archive of this list for a lot of discussion about that scanner.

 3) is 2400c just an alias for 2400?

Yes.

Bye,
  Henning


[sane-devel] Genesys HP scanjet 2400

2006-04-21 Thread carlos
On 20/04/06 06:37, St?phane VOLTZ wrote:
   Hello,
 
   you're right. Here's the latest package of the scripts.

Are you sure? That tarball even has more scripts missing:

reformatting data ...
compacting URBs ...
awk: fatal: can't open source file `filtre.awk' for reading (No such file or dir
ectory)
sorting ...
reordering in/out ...
awk: fatal: can't open source file `swap.awk' for reading (No such file or direc
tory)
depacking ...
awk: fatal: can't open source file `refait.awk' for reading (No such file or dir
ectory)
parsing ...
awk: fatal: can't open source file `parse1.awk' for reading (No such file or dir
ectory)
executing motor2.awk...


take care,
carlos

-- 
Public PGP: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x56FAE049

Q:  What is the difference between Texas and yogurt?
A:  Yogurt has culture.

-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060421/3c617590/attachment.pgp
From stef...@modulonet.fr  Fri Apr 21 19:37:21 2006
From: stef...@modulonet.fr (=?iso-8859-15?q?St=E9phane_VOLTZ?=)
Date: Fri Apr 21 19:37:01 2006
Subject: [sane-devel] Genesys HP scanjet 2400
In-Reply-To: 20060421183814.ga23...@superkaos.jazztel.es
References: 1133488098.438fa7e2c4...@webmail.cloudnet.com
200604200637.10834.stef...@modulonet.fr
20060421183814.ga23...@superkaos.jazztel.es
Message-ID: 200604212137.21788.stef...@modulonet.fr

Hum,

here it is for real this time. Tested it befor sending ...

Regards,
Stef
-- next part --
A non-text attachment was scrubbed...
Name: dist.tar.bz2
Type: application/x-tbz
Size: 10655 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060421/af56058b/dist.tar.bin
From panem...@gmail.com  Sat Apr 22 03:49:47 2006
From: panem...@gmail.com 
(=?UTF-8?Q?Parag_N(=E0=A4=AA=E0=A4=B0=E0=A4=BE=E0=A5=9A)?=)
Date: Sat Apr 22 03:50:15 2006
Subject: [sane-devel] Genesys HP scanjet 2400
In-Reply-To: 200604212137.21788.stef...@modulonet.fr
References: 1133488098.438fa7e2c4...@webmail.cloudnet.com
200604200637.10834.stef...@modulonet.fr
20060421183814.ga23...@superkaos.jazztel.es
200604212137.21788.stef...@modulonet.fr
Message-ID: f4586a2e0604212049y675ea9fel90cee8322594a...@mail.gmail.com

Hi Stef,
   I am always ready to work on HP 2400 but i am not getting
right direction on how to develop backend for HP 2400. I will be happy
if anyone gives me step wise directions on modifying genesys backend
then i can do that work happily.
Regards,
parag.

On 4/22/06, St?phane VOLTZ stef...@modulonet.fr wrote:
 Hum,

 here it is for real this time. Tested it befor sending ...

 Regards,
 Stef


 --
 sane-devel mailing list: sane-devel@lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
  to sane-devel-requ...@lists.alioth.debian.org





[sane-devel] Genesys HP scanjet 2400

2006-04-20 Thread Stéphane VOLTZ
Hello,

you're right. Here's the latest package of the scripts.

Regards,
Stef
-- next part --
A non-text attachment was scrubbed...
Name: dist.tar.bz2
Type: application/x-tbz
Size: 9193 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060420/ce728e23/dist.tar-0001.bin
From panem...@gmail.com  Thu Apr 20 04:43:28 2006
From: panem...@gmail.com 
(=?UTF-8?Q?Parag_N(=E0=A4=AA=E0=A4=B0=E0=A4=BE=E0=A5=9A)?=)
Date: Thu Apr 20 04:43:36 2006
Subject: [sane-devel] Genesys HP scanjet 2400
In-Reply-To: 200604200637.10834.stef...@modulonet.fr
References: 1133488098.438fa7e2c4...@webmail.cloudnet.com
200512062230.21457.stef...@modulonet.fr
20060419213843.ga4...@superkaos.jazztel.es
200604200637.10834.stef...@modulonet.fr
Message-ID: f4586a2e0604192143l2a12afddwdae0e67d99a7e...@mail.gmail.com

Hi,
 Any progress for HP 2400 scanner? I gave up my all efforts as nothing
is working for me after a big analysis on HP 2400 debug data.
Regards,
Parag.
On 4/20/06, St?phane VOLTZ stef...@modulonet.fr wrote:
 Hello,

 you're right. Here's the latest package of the scripts.

 Regards,
 Stef


 --
 sane-devel mailing list: sane-devel@lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
  to sane-devel-requ...@lists.alioth.debian.org





[sane-devel] Genesys HP scanjet 2400

2005-12-15 Thread Sanjay Chigurupati
will do it over the weekend.
whats the best one of those software. had stability issues on xp on my 
desktop before. dint have sp2 tho

__
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051215/bd86f16d/attachment.htm
From multi...@altern.org  Thu Dec 15 15:08:20 2005
From: multi...@altern.org (Carl)
Date: Thu Dec 15 15:03:12 2005
Subject: [sane-devel] Scanner with ADF on Linux
Message-ID: 43a186e4.5070...@altern.org

Hi,

I'm looking for a scanner with ADF (Automtic Document Feader) working on
Linux plateforme. I've found the SANE project, however I haven't still
found a scanner with an ADF currently solded an with good or complete
support in SANE.

Have some people on this list recently bought such installation (scanner
+ ADF with SANE compatibity) ? If yes, what is the manufacturer 
product Number ?

Thanks for any response or suggestion,

Carl



[sane-devel] Genesys HP scanjet 2400

2005-12-14 Thread Sanjay Chigurupati
Hi,
I  have a scanjet 2400c and am between projects. I can help over the 
weekends.
I have Win XP with SP2. and 2.6 Kernel versions of Linux ( fedora core 4, 
suse 9.2).

I am familiar with c. not done driver programmin. can understand basic sed 
and awk.

could you please tell me how I could help and what software I would need?

Thanks ,
Sanjay

__
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051214/dafd8e1e/attachment.htm
From panem...@gmail.com  Wed Dec 14 13:18:46 2005
From: panem...@gmail.com 
(=?UTF-8?Q?Parag_N=28=E0=A4=AA=E0=A4=B0=E0=A4=BE=E0=A5=9A=29?=)
Date: Wed Dec 14 13:18:51 2005
Subject: [sane-devel] Genesys HP scanjet 2400
In-Reply-To: 
of6b54804c.27c4a785-on652570d7.0044d948-652570d7.00451...@lntinfotech.com
References: 200512062230.21457.stef...@modulonet.fr

of6b54804c.27c4a785-on652570d7.0044d948-652570d7.00451...@lntinfotech.com
Message-ID: f4586a2e0512140518j7f612848r24ecebc2c09fb...@mail.gmail.com

Hi Sanjay,
if you have HP 2400 scanner and windows XP. then i require your
help. what i want is debug output of USB scanner that you can take from any
usb sniffer application. go to www.*sourceforge*.net/projects/*usb*snoop/ and
download snoopypro
or download usb tracer from http://www.sysnucleus.com/
   plz send me that log.
Thanks regards,
Parag.

On 12/14/05, Sanjay Chigurupati sanjay.chigurup...@lntinfotech.com wrote:


 Hi,
 I  have a scanjet 2400c and am between projects. I can help over the
 weekends.
 I have Win XP with SP2. and 2.6 Kernel versions of Linux ( fedora core 4,
 suse 9.2).

 I am familiar with c. not done driver programmin. can understand basic sed
 and awk.

 could you please tell me how I could help and what software I would need?

 Thanks ,
 Sanjay
 __

 --
 sane-devel mailing list: sane-devel@lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org


-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051214/6461e7ca/attachment.htm
From joh...@yahoo.com  Wed Dec 14 17:43:13 2005
From: joh...@yahoo.com (johon Doe)
Date: Wed Dec 14 17:50:20 2005
Subject: [sane-devel] problems with scanimage
Message-ID: 20051214174313.13536.qm...@web50104.mail.yahoo.com

Hi,
I have lot's of problems with scanimage, here some
examples:

$ scanimage --mode Gray --custom-gamma=yes
--gamma-table `gamma4scanimage 1.8 0 11500 16383 255`
 image.pnm
scanimage: unrecognized option `--custom-gamma=yes'

$ scanimage --mode Gray --halftoning Halftone C (Net
Screen) --custom-gamma=yes --gamma-table
`gamma4scanimage 1.8 0 11500 16383 255`  image.pnm
scanimage: attempted to set inactive option halftoning

scanimage --brightness 1  prova4.tiff
scanimage: attempted to set inactive option brightness

$ scanimage --brightness 1 --mode Gray  prova4.bmp
scanimage: attempted to set inactive option brightness

bye
Luigi.




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[sane-devel] Genesys HP scanjet 2400

2005-12-06 Thread Parag N
Hello,
I have some questions again on HP2400 current development. How you
people are checking code? i mean i have also same code but neither scanimage
-L is recognising nor Xsane detects it.
then how can i check whatever features are implemented are correct or wrong?
   only sane-find-scanner command is working fine but not xsane. How can i
calso check head movement?
regards,
Parag.

On 12/2/05, Gerald Murray gmur...@cloudnet.com wrote:

 Hello all,

 Scanner: hp scanjet 2400
 using sane-backends-cvs20051124

 Expected completion date: unknown, it is ready when it is ready

 Update from previous post:
 key: - previously reported; + update :

 - Head moves two times the expected distance.
 - Excessive time in genesys_warmup_lamp()
 + excessive time appears to be a result of an incorrect formula.
   (the source was patched to force SANE_STATUS_GOOD, thereby ignoring
   the frontend setup, and attempting to be sure that head movements were
   OK.  I am to look into the frontend setup later)
 - There was no image in the STDOUT output (file size 1523712)
 - Status register for lamp reports OFF, but lamp remains ON.
 - Head remains where the scan stopped.
 + This is a FEATURE, not a bug.  The scan process depends on every detail
   being expected and correct.  When a status other than SANE_STATUS_GOOD
   is encountered, all processing stops whereever it was.  This is good,
   because it assures that there can be no damage to the scanner as a
   result of an unexpected reply from the device.  The cause of the
   problem was a result SANE_IO_ERROR, reported at the end
   of the scan (miscalculation of bytes expected/received)
 - In lineart mode, depth:1 was what I expected.  depth:8 was reported.

 NEW:
 + The device responds inconsistently to the same scan request.
   When the same request is executed sequentially many times, on the
   odd-numbered attempts, the scan completes, and goes to end of task.
   On even-numbered attempts, the scan head never moves off of the home
   position.  (reading bulk data: Error during device I/O)
   The error comes from not properly setting up the frontend during
   the lamp warmup.
   NOTE: to duplicate this problem, install from cvs referenced above.
   The source code is patched (see below) to force SANE_STATUS_GOOD
   in function genesys_warmup_lamp().
   Use scanimage from SOURCE_TOP_DIR/frontend/scanimage.
   Execute the bash command as shown below, substituting your
   {BUS}/{DEVNUM} as shown in /proc/bus/usb/devices file for your scanner.
   REMEMBER to keep the image size small until the size of the image
   is corrected.

 #!/bin/sh
 scanimage -d genesys:libusb:{BUS}:{DEVNUM} --resolution 150 --mode color
 -t 1 -l
 80 -x100 -y 30 2scan.log 1image.pnm
 #end
 PATCH (DO NOT APPLY) This patch was how SANE_STATUS_GOOD was forced
   from genesys_warmup_lamp().  The frontend is not setup right, so
   the image is not correct, but it demonstrates motor handling of
   the scan head and the inconsistent response from the device.

 --- sane-backend-20051124/backend/genesys.c 2005-12-02 00:25:
 55.0
 -0600
 +++ sane-backend-hack/backend/genesys.c 2005-12-02 00:24:45.0-0600
 @@ -3419,6 +3419,12 @@
DBG (DBG_error,
genesys_warmup_lamp: warmup timed out after %d seconds. Lamp
 defective?\n,
seconds);
 +  if (seconds  40) {  /* FIXME GPM: remove 6 lines here */
 +DBG(DBG_info,
 +   genesys_warmup_lamp: ** ENOUGH (FIXME) **\n);
 +status = SANE_STATUS_GOOD;
 +goto FIXME_hack_trick;
 +  }
status = SANE_STATUS_IO_ERROR;
  }
else
 @@ -3427,6 +3433,7 @@
genesys_warmup_lamp: warmup succeeded after %d seconds\n,
seconds);
  }
 +FIXME_hack_trick:  /* FIXME remove this GPM */
free (first_line);
free (second_line);
return status;
  end-of-patch

 best regards,
 Gerald


 --



-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051206/54a39ad7/attachment.html
From stef...@modulonet.fr  Tue Dec  6 07:05:53 2005
From: stef...@modulonet.fr (=?iso-8859-15?q?St=E9phane_VOLTZ?=)
Date: Tue Dec  6 07:02:00 2005
Subject: [sane-devel] GL646 part and 1.0.17 upcoming release
Message-ID: 200512060805.53626.stef...@modulonet.fr

Hello,

I finally fixed the last two known bugs in the genesy backend related 
to 
GL646 scanners. The experimental version is now ready for the next release 
for this part.

Regards,
Stef


[sane-devel] Genesys HP scanjet 2400

2005-12-06 Thread Stéphane VOLTZ
Hello,

sorry to have taken so long to answer, but I have little time and many 
things 
to do ... However, I believe it isn't helpful to modify the warmup that way. 
You have to set up the right register values instead. Also, you have to make 
sure that the scanner is using an area suitable for it, if the head is on a 
black area, no warmup will succeed.

If I had enough time, here's how I'd do:
- get a windows usb log of a colour preview, just after powering-up 
scanner
- extract from it the values to put in genesys_devices regarding 
constants in 
Genesys_Frontend, Genesys_Sensor, Genesys_Gpo, Genesys_Motor. 
Current values  aren't considered exact, testing is needed.
- by running scanimage with full debug and comparing it's output with 
decode
   usb log, modify the genesys_gl646.c file to take 2400 specifics  
   into account. Every places where is a xxx_HP2300 constant is a
   candidate.

The HP2300 and MD5345 use a method to build slope tables which is superseded 
by the method used for GL841 parts. This newer method should be preferred. 
That involves using the newer exposure time comptuing function.

I again attach the scripts I use to turn an usb log into something more 
suitable for developpement. I tested it on HP2400 logs I have. I think have 
all the elements to finish support for 2400 but I'm missing an essential 
thing: the scanner itself.


Regards,
Stef
-- next part --
A non-text attachment was scrubbed...
Name: kit.tar.gz
Type: application/x-tgz
Size: 7003 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051206/3fd8d673/kit.tar.bin
From gerh...@gjaeger.de  Wed Dec  7 07:37:11 2005
From: gerh...@gjaeger.de (Gerhard Jaeger)
Date: Wed Dec  7 07:38:35 2005
Subject: [sane-devel] GL646 part and 1.0.17 upcoming release
In-Reply-To: 200512062114.jb6le8hl010...@mailin.webmailer.de
References: 200512062114.jb6le8hl010...@mailin.webmailer.de
Message-ID: 200512070837.11559.gerh...@gjaeger.de

Hi Franz,

On Tuesday 06 December 2005 22:10, Franz Bakan wrote:
 On Tue, 6 Dec 2005 21:56:10 +0100, St?phane VOLTZ wrote:
 
  it's in CVS by now.
 
 when I try to compile CVS now on OS/2 I get:
 
 genesys_gl646.o: Undefined symbol _sanei_usb_get_timeout referenced from text 
 segment
 make[1]: *** [libsane-genesys.la] Fehler 1
 make: *** [all-recursive] Fehler 1
 
 Bye
 Franz
 
got the same problem here, but go ahead, and find the occurance in
genesys_gl646.c - remove this line and everything is fine...

HTH
Gerhard



[sane-devel] Genesys HP scanjet 2400

2005-12-04 Thread Gerald Murray
Hello all,

Scanner: hp scanjet 2400
using sane-backends-cvs20051124

Expected completion date: unknown, it is ready when it is ready

Update from previous post:
key: - previously reported; + update :

- Head moves two times the expected distance.
- Excessive time in genesys_warmup_lamp()
+ excessive time appears to be a result of an incorrect formula.
  (the source was patched to force SANE_STATUS_GOOD, thereby ignoring
  the frontend setup, and attempting to be sure that head movements were
  OK.  I am to look into the frontend setup later)
- There was no image in the STDOUT output (file size 1523712)
- Status register for lamp reports OFF, but lamp remains ON.
- Head remains where the scan stopped.
+ This is a FEATURE, not a bug.  The scan process depends on every detail
  being expected and correct.  When a status other than SANE_STATUS_GOOD
  is encountered, all processing stops whereever it was.  This is good,
  because it assures that there can be no damage to the scanner as a
  result of an unexpected reply from the device.  The cause of the
  problem was a result SANE_IO_ERROR, reported at the end
  of the scan (miscalculation of bytes expected/received)
- In lineart mode, depth:1 was what I expected.  depth:8 was reported.

NEW:
+ The device responds inconsistently to the same scan request.
  When the same request is executed sequentially many times, on the
  odd-numbered attempts, the scan completes, and goes to end of task.
  On even-numbered attempts, the scan head never moves off of the home
  position.  (reading bulk data: Error during device I/O)
  The error comes from not properly setting up the frontend during
  the lamp warmup.
  NOTE: to duplicate this problem, install from cvs referenced above.
  The source code is patched (see below) to force SANE_STATUS_GOOD
  in function genesys_warmup_lamp().
  Use scanimage from SOURCE_TOP_DIR/frontend/scanimage.
  Execute the bash command as shown below, substituting your
  {BUS}/{DEVNUM} as shown in /proc/bus/usb/devices file for your scanner.
  REMEMBER to keep the image size small until the size of the image
  is corrected.

#!/bin/sh
scanimage -d genesys:libusb:{BUS}:{DEVNUM} --resolution 150 --mode color -t 1 -l
80 -x100 -y 30 2scan.log 1image.pnm
#end
PATCH (DO NOT APPLY) This patch was how SANE_STATUS_GOOD was forced
  from genesys_warmup_lamp().  The frontend is not setup right, so
  the image is not correct, but it demonstrates motor handling of
  the scan head and the inconsistent response from the device.

--- sane-backend-20051124/backend/genesys.c 2005-12-02 00:25:55.0
-0600 
+++ sane-backend-hack/backend/genesys.c 2005-12-02 00:24:45.0 -0600
@@ -3419,6 +3419,12 @@
   DBG (DBG_error,
   genesys_warmup_lamp: warmup timed out after %d seconds. Lamp
defective?\n,
   seconds); 
+  if (seconds  40) {  /* FIXME GPM: remove 6 lines here */
+DBG(DBG_info, 
+   genesys_warmup_lamp: ** ENOUGH (FIXME) **\n);
+status = SANE_STATUS_GOOD;
+goto FIXME_hack_trick;
+  } 
   status = SANE_STATUS_IO_ERROR;
 }
   else
@@ -3427,6 +3433,7 @@
   genesys_warmup_lamp: warmup succeeded after %d seconds\n,
   seconds);
 }
+FIXME_hack_trick:  /* FIXME remove this GPM */
   free (first_line);
   free (second_line);
   return status;
 end-of-patch

best regards,
Gerald


--