[sane-devel] HP scanjet 2400

2012-04-23 Thread Stef
Le dimanche 22 avril 2012 21:51:40 jochen eggert a ?crit :
 This is about HP scanjet 2400 (the C is omitted on the scanner and the
 installation CD ?). In the SANE Backends list it is mentioned as
 unsupported as well as untested, so it is a bit unclear what the status
 is. However, some experiences with the device:
 
 System:
 UBUNTU
 Version 10.04
 Kernel Linux 2.6.32-39-generic
 Gnome 2.30.2
 
 Toshiba Sattelite Pro
 
 
 There are actually two problems, one is, that SANE can only be started
 as root, that makes it a bit difficult to test the scanner. As far as I
 have understood there must be a file which permission I have to change,
 but I do not know which file and to what permission. So the first steps
 to make scanjet 2400 working were under SANE started as root. What came
 out of the bash you can see in attachment bash.txt
 
 Although the scanner has been recognized it will not work, a message
 like Cannot start scanner, invalid argument appears. I have also
 attached a screen shot of the file manager about SANE directory and the
 files contained in it. Now help!
 
 Actually I had also problems with this scanner under Windows, they got
 solved with XP service pack 2.
 
 Jochen

Hello,

this scanner is fully supported in the git version. There are ubuntu 
PPA 
that will allow you to install this development version. I think that will 
also fix the permission problem.

Regards,
Stef



[sane-devel] HP scanjet 2400

2012-04-22 Thread jochen eggert
This is about HP scanjet 2400 (the C is omitted on the scanner and the
installation CD ?). In the SANE Backends list it is mentioned as
unsupported as well as untested, so it is a bit unclear what the status
is. However, some experiences with the device:

System:
UBUNTU
Version 10.04
Kernel Linux 2.6.32-39-generic
Gnome 2.30.2

Toshiba Sattelite Pro


There are actually two problems, one is, that SANE can only be started
as root, that makes it a bit difficult to test the scanner. As far as I
have understood there must be a file which permission I have to change,
but I do not know which file and to what permission. So the first steps
to make scanjet 2400 working were under SANE started as root. What came
out of the bash you can see in attachment bash.txt

Although the scanner has been recognized it will not work, a message
like Cannot start scanner, invalid argument appears. I have also
attached a screen shot of the file manager about SANE directory and the
files contained in it. Now help!

Actually I had also problems with this scanner under Windows, they got
solved with XP service pack 2.

Jochen
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120422/9a8e4532/attachment-0001.html
-- next part --
A non-text attachment was scrubbed...
Name: sane1.tar
Type: application/x-tar
Size: 112640 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120422/9a8e4532/attachment-0001.tar


[sane-devel] HP scanjet 2400

2011-01-10 Thread stef
Le Thursday 06 January 2011 23:47:30 Josu Lazkano, vous avez ?crit :
 Hello list, I have a HP scanjet 2400 scaner and it works well on
 Debian Squeeze, I get it working with this guide:
 http://www.elcot.in/linuxdrivers_download.php#Scan2400
 
 This is the info:
 
 $ scanimage -L
 device `genesys:libusb:002:004' is a Hewlett Packard ScanJet 2400c
 flatbed scanner
 
 Is possible to add the drivers on the Debian packages? How can I help with
 this?
 
 Thanks and best regards.
Hello,

this driver is binary only and cannot be included in SANE unless source 
code is provided. 

Regards,
Stef




[sane-devel] HP scanjet 2400

2011-01-10 Thread Josu Lazkano
2011/1/10 stef stef.dev at free.fr:
 ? ? ? ?Hello,

 ? ? ? ?this driver is binary only and cannot be included in SANE unless source
 code is provided.


Thanks for the reply, where can I ask for the source? It will be great
to get this driver in SANE.

Best regards.

-- 
Josu Lazkano



[sane-devel] HP scanjet 2400

2011-01-10 Thread m. allan noah
the same place you downloaded the driver.

allan

On Mon, Jan 10, 2011 at 2:37 AM, Josu Lazkano josu.lazkano at gmail.com wrote:
 2011/1/10 stef stef.dev at free.fr:
 ? ? ? ?Hello,

 ? ? ? ?this driver is binary only and cannot be included in SANE unless 
 source
 code is provided.


 Thanks for the reply, where can I ask for the source? It will be great
 to get this driver in SANE.

 Best regards.

 --
 Josu Lazkano

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




-- 
The truth is an offense, but not a sin



[sane-devel] HP scanjet 2400

2011-01-10 Thread Josu Lazkano
2011/1/10 m. allan noah kitno455 at gmail.com:
 the same place you downloaded the driver.

 allan

OK, I will try it.

Thanks and best regards.

-- 
Josu Lazkano



[sane-devel] HP scanjet 2400

2011-01-06 Thread Josu Lazkano
Hello list, I have a HP scanjet 2400 scaner and it works well on
Debian Squeeze, I get it working with this guide:
http://www.elcot.in/linuxdrivers_download.php#Scan2400

This is the info:

$ scanimage -L
device `genesys:libusb:002:004' is a Hewlett Packard ScanJet 2400c
flatbed scanner

Is possible to add the drivers on the Debian packages? How can I help with this?

Thanks and best regards.


-- 
Josu Lazkano



[sane-devel] HP Scanjet 2400

2010-06-19 Thread Julien Salort
Le 17 juin 2010 ? 08:53, Piotr Mis a ?crit :

 This is easy to fix (at least for 300dpi), just change the definition of
 the scanner from BGR to RGB in the backend genesys_devices.c and
 recompile.

Done.
It works much better indeed !

 3/ I still have to figure out how to use this to make the scanner appear in 
 Mac OS X built-in Image Capture application
 Can't really help you there, no experience with Mac.

Ok. Then I'll have to keep searching the internet about that.

Bests,

Julien


[sane-devel] HP Scanjet 2400

2010-06-17 Thread Piotr Mis
Dnia 2010-06-16, ?ro o godzinie 22:08 +0200, Julien Salort pisze:

 Now, indeed, grayscale scanning works fine from command line.
 
 % scanimage -V
 scanimage (sane-backends) 1.0.22git; backend version 1.0.22
 
 % scanimage -L
 device `genesys:libusb:002:002-03f0-0a01-ff-ff' is a Hewlett Packard ScanJet 
 2400c flatbed scanner
 

 However :
 
 1/ Color scanning gives strange results
This is easy to fix (at least for 300dpi), just change the definition of
the scanner from BGR to RGB in the backend genesys_devices.c and
recompile:
Genesys_Model hp2400c_model = {
 
   0, 24, 48,   /* RGB CCD Line-distance correction in
pixel */
 
   COLOR_ORDER_RGB, /* Order of the CCD/CIS colors */
 
   SANE_FALSE,  /* Is this a CIS scanner? */
   SANE_FALSE,  /* Is this a sheetfed scanner? */

 2/ The scanner makes an unusual noise at the beginning of the scan
Yes it does, when moving head back after lamp warm-up, but does not hit
hard, needs to be fixed.
 3/ I still have to figure out how to use this to make the scanner appear in 
 Mac OS X built-in Image Capture application
Can't really help you there, no experience with Mac.


Regards,

Piotr




[sane-devel] HP Scanjet 2400

2010-06-16 Thread Julien Salort
Hello,

I have a HP Scanjet 2400 and I'm trying to use SANE to acquire an image, with 
no success so far.
As suggested by the warning, I'm reporting here the failure.

% uname -a
Darwin ussdefiant.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 
18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386

% scanimage -V
scanimage (sane-backends) 1.0.21cvs; backend version 1.0.21

% scanimage -L
device `genesys:libusb:001:003-03f0-0a01-ff-ff' is a Hewlett Packard ScanJet 
2400c flatbed scanner

% scanimage image.pnm
[genesys] WARNING: Your scanner is not fully supported or at least 
[genesys]  had only limited testing. Please be careful and 
[genesys]  report any failure/success to 
[genesys]  sane-devel at lists.alioth.debian.org. Please provide as many
[genesys]  details as possible, e.g. the exact name of your
[genesys]  scanner and what does (not) work.
scanimage: sane_start: Invalid argument

Any help ?

Thank you,

Julien Salort


[sane-devel] HP Scanjet 2400

2010-06-16 Thread Piotr Mis
Dnia 2010-06-16, ?ro o godzinie 19:13 +0200, Julien Salort pisze:
 Hello,
 
 I have a HP Scanjet 2400 and I'm trying to use SANE to acquire an image, with 
 no success so far.
 As suggested by the warning, I'm reporting here the failure.
 
 % uname -a
 Darwin ussdefiant.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 
 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386
 
 % scanimage -V
 scanimage (sane-backends) 1.0.21cvs; backend version 1.0.21
 
 % scanimage -L
 device `genesys:libusb:001:003-03f0-0a01-ff-ff' is a Hewlett Packard ScanJet 
 2400c flatbed scanner
 
 % scanimage image.pnm
 [genesys] WARNING: Your scanner is not fully supported or at least 
 [genesys]  had only limited testing. Please be careful and 
 [genesys]  report any failure/success to 
 [genesys]  sane-devel at lists.alioth.debian.org. Please provide as 
 many
 [genesys]  details as possible, e.g. the exact name of your
 [genesys]  scanner and what does (not) work.
 scanimage: sane_start: Invalid argument
 
 Any help ?
git version is capable only of scanning 300 dpi grayscale correctly.  
So try using: 
scanimage --verbose --progress --resolution 300 --mode Gray

I made some very simple changes that allow to scan in 100 and 300 dpi
both in grayscale and colour, and posted to this list on May 28th. You
can give it a try.
In the meantime got 50dpi working (thanks to stef's usb analysis
scripts) to some extent as well, but it still needs some work. 

Regards,

Piotr


 
 Thank you,
 
 Julien Salort
 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
  to sane-devel-request at lists.alioth.debian.org




[sane-devel] HP Scanjet 2400

2010-06-16 Thread Julien Salort
Le 16 juin 2010 ? 20:23, Piotr Mis a ?crit :

 git version is capable only of scanning 300 dpi grayscale correctly.  
 So try using: 
 scanimage --verbose --progress --resolution 300 --mode Gray
 
 I made some very simple changes that allow to scan in 100 and 300 dpi
 both in grayscale and colour, and posted to this list on May 28th. You
 can give it a try.
 In the meantime got 50dpi working (thanks to stef's usb analysis
 scripts) to some extent as well, but it still needs some work. 

Hello,

Thanks for your answer.

I've downloaded the git version. It compiled fine out of the box although I got 
a warning in the configure phase:
checking IOKit/scsi/SCSITaskLib.h usability... no
checking IOKit/scsi/SCSITaskLib.h presence... yes
configure: WARNING: IOKit/scsi/SCSITaskLib.h: present but cannot be compiled
configure: WARNING: IOKit/scsi/SCSITaskLib.h: check for missing 
prerequisite headers?
configure: WARNING: IOKit/scsi/SCSITaskLib.h: see the Autoconf documentation
configure: WARNING: IOKit/scsi/SCSITaskLib.h: section Present But Cannot 
Be Compiled
configure: WARNING: IOKit/scsi/SCSITaskLib.h: proceeding with the 
preprocessor's result
configure: WARNING: IOKit/scsi/SCSITaskLib.h: in the future, the compiler will 
take precedence
configure: WARNING: ## - ##
configure: WARNING: ## Report this to sane-devel at lists.alioth.debian.org 
##
configure: WARNING: ## - ##

Now, indeed, grayscale scanning works fine from command line.

% scanimage -V
scanimage (sane-backends) 1.0.22git; backend version 1.0.22

% scanimage -L
device `genesys:libusb:002:002-03f0-0a01-ff-ff' is a Hewlett Packard ScanJet 
2400c flatbed scanner

% scanimage --verbose --progress --resolution 300 --mode Gray image2.pnm
[genesys] WARNING: Your scanner is not fully supported or at least 
[genesys]  had only limited testing. Please be careful and 
[genesys]  report any failure/success to 
[genesys]  sane-devel at lists.alioth.debian.org. Please provide as many
[genesys]  details as possible, e.g. the exact name of your
[genesys]  scanner and what does (not) work.
scanimage: scanning image of size 2549x3510 pixels at 8 bits/pixel
scanimage: acquiring gray frame
scanimage: min/max graylevel value = 0/255
scanimage: read 8946990 bytes in total

However :

1/ Color scanning gives strange results
2/ The scanner makes an unusual noise at the beginning of the scan
3/ I still have to figure out how to use this to make the scanner appear in Mac 
OS X built-in Image Capture application

Bests,

Julien




[sane-devel] HP scanjet 2400 question.

2009-11-15 Thread stef
Le Wednesday 11 November 2009 11:46:19 Andrew Randrianasulu, vous avez ?crit :
 long story short
 
  Hello,
 
  unfortunately, I couldn't find any good
  quality 50 dpi log in my collection
  of usb snooping. But I have reliable 100 dpi logs. So I
  added this scan mode
  to the genesys backend for the HP2400/G2410. I'd be
  interested if you could
  compile and try the latest version available in the git
  repository. And send
  me debug logs and data.
 
 this log was produced with sane, compiled from git commit
  5bb5ad710c4aec0be3304eb5a2e7693beb51a687 and slightly modified run-hp2400
 
 
 I'll send pnm in next mail
 
  Regards,
  Stef
 
  --
  sane-devel mailing list: sane-devel at lists.alioth.debian.org
  http://lists.alioth.debian.org/mailman/listinfo/sane-devel
  Unsubscribe: Send mail with subject unsubscribe
  your_password
   to sane-devel-request at lists.alioth.debian.org
 

Hello,

I've checked that registers are correctly set. The only thing I noticed 
is 
that the announced width of the data isn't the real one used by the scanner. 
There is also a miscalculation of the x coordinates. I am currently looking 
into these bugs.

Regards,
Stef



[sane-devel] HP scanjet 2400 question.

2009-11-11 Thread stef
Hello,

it is going to take me some time to analyze these data. But since some 
picture is showing up, I'm feeling we are getting close to have it working.

Regards,
Stef



[sane-devel] HP scanjet 2400 question.

2009-11-06 Thread stef
Le samedi 3 octobre 2009 14:18:27 Andrew Randrianasulu, vous avez ?crit :
 --- On Sat, 10/3/09, stef stef.dev at free.fr wrote:
  From: stef stef.dev at free.fr
  Subject: Re: [sane-devel] HP scanjet 2400 question.
  To: sane-devel at lists.alioth.debian.org
  Date: Saturday, October 3, 2009, 5:02 AM
  Le vendredi 2 octobre 2009 23:52:46
 
  Andrew Randrianasulu, vous avez ?crit :
   Hello all!
  
   I just powered up this scanner ( (vendor=0x03f0
 
  [Hewlett-Packard],
 
   product=0x0a01 [hp scanjet scanner], chip=GL646_HP) as
 
  detected by
 
   sane-find-scanner). It doesn't work with stock sane
 
  (1.0.19), and doesn't
 
   work with genesys backend from http://stef.dev.free.fr/sane/genesys/
   (but it produces log after I run ./run-genesys script).
  
   Scanner work with proprietary (?) SANE backend from
   http://www.elcot.in/linuxdrivers_download.php#Scan2400
 
  , but i found even
 
   smaller package, it works too (found it on russian
 
  Linux forum):
   http://blog.racoon97.net/wp-content/uploads/hp_scanjet_g2410.tar.gz
  
   I can scan color pages with at least 150, 200, 300 and
 
  600 dpi settings.
 
   Because this driver uses libusb - i think it is good
 
  idea to capture  its
 
   command stream? I'm not sure for how long I will have
 
  this piece hardware.
 
   I think I saw some instructions about capturing usb
 
  packets from Linux, but
 
   not sure how exactly it was done (in userspace or via
 
  kernel patch). May be
 
   someone here can point me into right direction?
  
   I'll attach genesys debug log, i have plans to
 
  download more recent SANE
 
   sources and start from them, but I really need some
 
  guidance.
 
   As you can see from log SANE thinks what my scanner
 
  was locked at the end
 
   (and it started to make loud motor noises, so I
 
  unplugged it fast). No
 
   image was received ever ...
 
  Hello,
 
  the HP2400/G2410 (G2410 is a re-badged
  HP2400 to my knowledge) support in the
  genesys backend is still experimental since I lacke this
  hardware. However, I
  have set up color modes for 50, 300 and 600 dpi based on
  USB logs sniffed
  under windows. So it would be nice if you could test the
  latest sources
  version of SANE with your scanner at 50 dpi color.
  To test you'll have to get the sources
  like explained at http://www.sane-
  project.org/source.html . Once you have compiled them, put
  the attached run-
  hp2400 script to sane-backends/backend source directory,
  open a command shell
  and go to this directory. Then run it, it'll test a 50 dpi
  color scan and
  creates a hp2500-scan.pnm and hp2400-scan.log files. Let us
  know the result.
  In case it doesn't work, please send these files.
 
  Regards,
  Stef
 
 with sane sources  up to git commit
  798c96412a6e7e0db0713831675f4f0cda7e3c94 I got log and (black) pnm file,
  and no noise!
 

Hello,

unfortunately, I couldn't find any good quality 50 dpi log in my 
collection 
of usb snooping. But I have reliable 100 dpi logs. So I added this scan mode 
to the genesys backend for the HP2400/G2410. I'd be interested if you could 
compile and try the latest version available in the git repository. And send 
me debug logs and data. 

Regards,
Stef



[sane-devel] HP scanjet 2400 question.

2009-10-04 Thread stef
Le samedi 3 octobre 2009 14:18:27, vous avez ?crit :
 --- On Sat, 10/3/09, stef stef.dev at free.fr wrote:
  From: stef stef.dev at free.fr
  Subject: Re: [sane-devel] HP scanjet 2400 question.
  To: sane-devel at lists.alioth.debian.org
  Date: Saturday, October 3, 2009, 5:02 AM
  Le vendredi 2 octobre 2009 23:52:46
 
  Andrew Randrianasulu, vous avez ?crit :
   Hello all!
  
   I just powered up this scanner ( (vendor=0x03f0
 
  [Hewlett-Packard],
 
   product=0x0a01 [hp scanjet scanner], chip=GL646_HP) as
 
  detected by
 
   sane-find-scanner). It doesn't work with stock sane
 
  (1.0.19), and doesn't
 
   work with genesys backend from http://stef.dev.free.fr/sane/genesys/
   (but it produces log after I run ./run-genesys script).
  
   Scanner work with proprietary (?) SANE backend from
   http://www.elcot.in/linuxdrivers_download.php#Scan2400
 
  , but i found even
 
   smaller package, it works too (found it on russian
 
  Linux forum):
   http://blog.racoon97.net/wp-content/uploads/hp_scanjet_g2410.tar.gz
  
   I can scan color pages with at least 150, 200, 300 and
 
  600 dpi settings.
 
   Because this driver uses libusb - i think it is good
 
  idea to capture  its
 
   command stream? I'm not sure for how long I will have
 
  this piece hardware.
 
   I think I saw some instructions about capturing usb
 
  packets from Linux, but
 
   not sure how exactly it was done (in userspace or via
 
  kernel patch). May be
 
   someone here can point me into right direction?
  
   I'll attach genesys debug log, i have plans to
 
  download more recent SANE
 
   sources and start from them, but I really need some
 
  guidance.
 
   As you can see from log SANE thinks what my scanner
 
  was locked at the end
 
   (and it started to make loud motor noises, so I
 
  unplugged it fast). No
 
   image was received ever ...
 
  Hello,
 
  the HP2400/G2410 (G2410 is a re-badged
  HP2400 to my knowledge) support in the
  genesys backend is still experimental since I lacke this
  hardware. However, I
  have set up color modes for 50, 300 and 600 dpi based on
  USB logs sniffed
  under windows. So it would be nice if you could test the
  latest sources
  version of SANE with your scanner at 50 dpi color.
  To test you'll have to get the sources
  like explained at http://www.sane-
  project.org/source.html . Once you have compiled them, put
  the attached run-
  hp2400 script to sane-backends/backend source directory,
  open a command shell
  and go to this directory. Then run it, it'll test a 50 dpi
  color scan and
  creates a hp2500-scan.pnm and hp2400-scan.log files. Let us
  know the result.
  In case it doesn't work, please send these files.
 
  Regards,
  Stef

 with sane sources  up to git commit
 798c96412a6e7e0db0713831675f4f0cda7e3c94 I got log and (black) pnm file,
 and no noise!

Hello,

thanks for the data. It'll take me a few days comparing this test run 
against 
reference usb snooping.

Regards,
Stef



[sane-devel] HP scanjet 2400 question.

2009-10-03 Thread stef
Le vendredi 2 octobre 2009 23:52:46 Andrew Randrianasulu, vous avez ?crit :
 Hello all!

 I just powered up this scanner ( (vendor=0x03f0 [Hewlett-Packard],
 product=0x0a01 [hp scanjet scanner], chip=GL646_HP) as detected by
 sane-find-scanner). It doesn't work with stock sane (1.0.19), and doesn't
 work with genesys backend from http://stef.dev.free.fr/sane/genesys/ (but
 it produces log after I run ./run-genesys script).

 Scanner work with proprietary (?) SANE backend from
 http://www.elcot.in/linuxdrivers_download.php#Scan2400 , but i found even
 smaller package, it works too (found it on russian Linux forum):

 http://blog.racoon97.net/wp-content/uploads/hp_scanjet_g2410.tar.gz

 I can scan color pages with at least 150, 200, 300 and 600 dpi settings.
 Because this driver uses libusb - i think it is good idea to capture  its
 command stream? I'm not sure for how long I will have this piece hardware.

 I think I saw some instructions about capturing usb packets from Linux, but
 not sure how exactly it was done (in userspace or via kernel patch). May be
 someone here can point me into right direction?

 I'll attach genesys debug log, i have plans to download more recent SANE
 sources and start from them, but I really need some guidance.

 As you can see from log SANE thinks what my scanner was locked at the end
 (and it started to make loud motor noises, so I unplugged it fast). No
 image was received ever ...

Hello,

the HP2400/G2410 (G2410 is a re-badged HP2400 to my knowledge) support 
in the 
genesys backend is still experimental since I lacke this hardware. However, I 
have set up color modes for 50, 300 and 600 dpi based on USB logs sniffed 
under windows. So it would be nice if you could test the latest sources 
version of SANE with your scanner at 50 dpi color.
To test you'll have to get the sources like explained at 
http://www.sane-
project.org/source.html . Once you have compiled them, put the attached run-
hp2400 script to sane-backends/backend source directory, open a command shell 
and go to this directory. Then run it, it'll test a 50 dpi color scan and 
creates a hp2500-scan.pnm and hp2400-scan.log files. Let us know the result. 
In case it doesn't work, please send these files.

Regards,
Stef
-- next part --
A non-text attachment was scrubbed...
Name: run-hp2400
Type: application/x-shellscript
Size: 230 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20091003/d21cdf06/attachment.bin


[sane-devel] HP scanjet 2400 question.

2009-10-03 Thread Andrew Randrianasulu
--- On Sat, 10/3/09, stef stef.dev at free.fr wrote:

 From: stef stef.dev at free.fr
 Subject: Re: [sane-devel] HP scanjet 2400 question.
 To: sane-devel at lists.alioth.debian.org
 Date: Saturday, October 3, 2009, 5:02 AM
 Le vendredi 2 octobre 2009 23:52:46
 Andrew Randrianasulu, vous avez ?crit :
  Hello all!
 
  I just powered up this scanner ( (vendor=0x03f0
 [Hewlett-Packard],
  product=0x0a01 [hp scanjet scanner], chip=GL646_HP) as
 detected by
  sane-find-scanner). It doesn't work with stock sane
 (1.0.19), and doesn't
  work with genesys backend from http://stef.dev.free.fr/sane/genesys/ (but
  it produces log after I run ./run-genesys script).
 
  Scanner work with proprietary (?) SANE backend from
  http://www.elcot.in/linuxdrivers_download.php#Scan2400
 , but i found even
  smaller package, it works too (found it on russian
 Linux forum):
 
  http://blog.racoon97.net/wp-content/uploads/hp_scanjet_g2410.tar.gz
 
  I can scan color pages with at least 150, 200, 300 and
 600 dpi settings.
  Because this driver uses libusb - i think it is good
 idea to capture  its
  command stream? I'm not sure for how long I will have
 this piece hardware.
 
  I think I saw some instructions about capturing usb
 packets from Linux, but
  not sure how exactly it was done (in userspace or via
 kernel patch). May be
  someone here can point me into right direction?
 
  I'll attach genesys debug log, i have plans to
 download more recent SANE
  sources and start from them, but I really need some
 guidance.
 
  As you can see from log SANE thinks what my scanner
 was locked at the end
  (and it started to make loud motor noises, so I
 unplugged it fast). No
  image was received ever ...
 
 Hello,
 
 the HP2400/G2410 (G2410 is a re-badged
 HP2400 to my knowledge) support in the 
 genesys backend is still experimental since I lacke this
 hardware. However, I 
 have set up color modes for 50, 300 and 600 dpi based on
 USB logs sniffed 
 under windows. So it would be nice if you could test the
 latest sources 
 version of SANE with your scanner at 50 dpi color.
 To test you'll have to get the sources
 like explained at http://www.sane-
 project.org/source.html . Once you have compiled them, put
 the attached run-
 hp2400 script to sane-backends/backend source directory,
 open a command shell 
 and go to this directory. Then run it, it'll test a 50 dpi
 color scan and 
 creates a hp2500-scan.pnm and hp2400-scan.log files. Let us
 know the result. 
 In case it doesn't work, please send these files.
 
 Regards,
 Stef
 

Ok, only compressed log here due to list's restrictions on max mail size.


  
-- next part --
A non-text attachment was scrubbed...
Name: hp2400-50dpi-scan.log.bz2
Type: application/octet-stream
Size: 5046 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20091003/5ba5e271/attachment.obj


[sane-devel] HP scanjet 2400 question.

2009-10-02 Thread Andrew Randrianasulu
Hello all!

I just powered up this scanner ( (vendor=0x03f0 [Hewlett-Packard], 
product=0x0a01 [hp scanjet scanner], chip=GL646_HP) as detected by 
sane-find-scanner). It doesn't work with stock sane (1.0.19), and doesn't work 
with genesys backend from http://stef.dev.free.fr/sane/genesys/ (but it 
produces log after I run ./run-genesys script).

Scanner work with proprietary (?) SANE backend from 
http://www.elcot.in/linuxdrivers_download.php#Scan2400 , but i found even 
smaller package, it works too (found it on russian Linux forum):

http://blog.racoon97.net/wp-content/uploads/hp_scanjet_g2410.tar.gz

I can scan color pages with at least 150, 200, 300 and 600 dpi settings. 
Because this driver uses libusb - i think it is good idea to capture  its 
command stream? I'm not sure for how long I will have this piece hardware.

I think I saw some instructions about capturing usb packets from Linux, but not 
sure how exactly it was done (in userspace or via kernel patch). May be someone 
here can point me into right direction?

I'll attach genesys debug log, i have plans to download more recent SANE 
sources and start from them, but I really need some guidance.

As you can see from log SANE thinks what my scanner was locked at the end (and 
it started to make loud motor noises, so I unplugged it fast). No image was 
received ever ...




  
-- next part --
A non-text attachment was scrubbed...
Name: genesys-scan600.log
Type: application/octet-stream
Size: 54946 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20091002/3407dd8a/attachment-0001.obj


[sane-devel] HP Scanjet 2400 support

2007-12-15 Thread stef
Le Friday 14 December 2007 02:05:33 Jyri-Petteri Paloposki, vous avez ?crit?:
 Hello,

 As the last message about support for HP Scanjet 2400 seems to be from
 summer 2006, has there been any progress on this? Is there something I
 could do to further the development?

 Greetings,

Hello,

a few people expressed interest in adding support for that scanner in 
the 
genesys backend. However, there isn't any progress. I applied the only patch 
that was sent. Current status is that warming is done, and 
gl646_search_start_position is to be fixed.
 If I could get access to this scanner I think I could do it in a few 
weeks 
of my spare time. If you want to start working on it, there is documentation 
at http://stef.dev.free.fr/sane/genesys/index.html on how to do it.
I'm also willing to give you any further information if you want.

Regards,
Stef




[sane-devel] HP scanjet 2400

2007-09-12 Thread Stéphane VOLTZ
Hello,

there was a patch (by Luke) recently that allowed warming up to work 
for the 
HP2400. The following function in execution path to fix is 
gl646_search_start_position() .  A way to do it is to run the backend with 
all the debug, and compare this output with what it does under windows. Then 
correct the function until the picture scanned to locate the start of 
scanning area matches the one from windows USB log.
From time to time I upgrade the document at 
http://stef.dev.free.fr/sane/genesys with informations on the genesys backend 
and how to modify it. It explains also how to work with windows USB logs. 
The next major hurdle one has to overcome for the 2400 if the creation 
of the 
slope tables that drive the stepper motor. The HP2300 and MD6471 code uses 
an 'old' method with some magic constants to generate slope tables matching 
those in logs, but gl841 based scanners code uses a newer and better function 
that is based on the start and cruise speed needed.
There must also be some register tweaking to do, but this is easy 
(places 
testing for a HP2300 will give you hints) to do with a simple compare to 
windows log.

Regards,
Stef




[sane-devel] HP scanjet 2400

2007-09-11 Thread Emmanuel Counasse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Could you explain me what things in sane driver are really missing
for supporting hp scanjet 2400 and what to do to add them ?

Thanks

St?phane VOLTZ a ?crit :
 Le lundi 12 f?vrier 2007, Emmanuel Counasse a ?crit :
 Hi,

 I have activated debug information and attached to this mail the output of
 :

 scanimage -d genesys:libusb:001:005 2 debug.txt
 (see : http://www.sharebigfile.com/file/80076/debug-tar-bz2.html)

 The scanner has start its motor (make noise) but did not do anything, so
 I decided to stop scanimage by pressing CTRL+C because I don't want to
 damage my scanner's motor.

 What do you think about it ?

 You proposed me to send me scripts, documentation and log, in think it
 xould be ionteresting to look inside so you can send me them in private,
 thanks.

 Best regards.

 Hello,

 thanks for the data. I'll have it a look this week. I'll also post
updated
 information. Meanwhile, you may have a look at the code via tools such as
 kscope to find all the occurences of the *_HP2300 defines where you'll
have
 to modify code to handle the HP2400.

 Regards,
 Stef




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG5i7ukTdjIxOkTk8RAm3+AJ9PSPcnDEQBer7gWz1rpVr4hv5R4ACdEFIg
iuNOg4B8HE2e+tg9uiOCLfM=
=TTK4
-END PGP SIGNATURE-

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070911/c2883850/attachment.htm
 


[sane-devel] HP scanjet 2400

2007-09-11 Thread Gerald Murray
Quoting Emmanuel Counasse manuc66 at gmail.com:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 Could you explain me what things in sane driver are really missing
 for supporting hp scanjet 2400 and what to do to add them ?

 Thanks

 St?phane VOLTZ a ?crit :
 Le lundi 12 f?vrier 2007, Emmanuel Counasse a ?crit :
 Hi,

 I have activated debug information and attached to this mail the output of
 :

 scanimage -d genesys:libusb:001:005 2 debug.txt
 (see : http://www.sharebigfile.com/file/80076/debug-tar-bz2.html)

 The scanner has start its motor (make noise) but did not do anything, so
 I decided to stop scanimage by pressing CTRL+C because I don't want to
 damage my scanner's motor.

 What do you think about it ?

 You proposed me to send me scripts, documentation and log, in think it
 xould be ionteresting to look inside so you can send me them in private,
 thanks.

 Best regards.

 Hello,

 thanks for the data. I'll have it a look this week. I'll also post
 updated
 information. Meanwhile, you may have a look at the code via tools such as
 kscope to find all the occurences of the *_HP2300 defines where you'll
 have
 to modify code to handle the HP2400.

 Regards,
 Stef




 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFG5i7ukTdjIxOkTk8RAm3+AJ9PSPcnDEQBer7gWz1rpVr4hv5R4ACdEFIg
 iuNOg4B8HE2e+tg9uiOCLfM=
 =TTK4
 -END PGP SIGNATURE-








[sane-devel] HP scanjet 2400

2007-09-11 Thread Gerald Murray
Quoting Emmanuel Counasse manuc66 at gmail.com:

 Hi,

 Could you explain me what things in sane driver are really missing
 for supporting hp scanjet 2400 and what to do to add them ?


Hello Emmanuel,
I have not worked on this for quite some time.  It has never been  
functional for
the scanjet.  Currently the scan will start, and try to travel beyond  
end of the
scanner.  I keep control of the power and stop it before it does any damage or
noises.  I have not looked at the *.pnm file to see if the scanned  
data is correct.
I will pick up the effort again soon, but my time is limited.  So far  
as I know,
there is nothing _missing_, just need to tweak the code already there to work
correctly.

Gerald




[sane-devel] HP ScanJet 2400

2007-07-17 Thread Pavel Železný
I'm sorry for my bad english.

I test to install the USB scaner HP ScanJet 2400 on my Gentoo notebook with 
latest sane, xsane, etc. applications a lib

When i try scaneimage --device-name genesys:libusb:001:002 --resolution 300 
--format tiif  ./test.tiff, scaner succesfully start (lamp in scanner 
start shinning) a move a little bit (2mm) and it's  all.

About half a minute i get an error:
scanimage: sane_start: Error during device I/O

It's all.

Have a nice day and many thanks for your work.
Pavel ?elezn? - Czech Republic
-- next part --
A non-text attachment was scrubbed...
Name: zelezny.vcf
Type: text/x-vcard
Size: 404 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070717/d217ee2e/attachment.vcf
 


[sane-devel] HP ScanJet 2400

2007-07-17 Thread David Goodenough
On Tuesday 17 July 2007, Pavel ?elezn? wrote:
 I'm sorry for my bad english.

 I test to install the USB scaner HP ScanJet 2400 on my Gentoo notebook with
 latest sane, xsane, etc. applications a lib

 When i try scaneimage --device-name genesys:libusb:001:002 --resolution
 300 --format tiif  ./test.tiff, scaner succesfully start (lamp in scanner
 start shinning) a move a little bit (2mm) and it's  all.

 About half a minute i get an error:
 scanimage: sane_start: Error during device I/O

 It's all.

 Have a nice day and many thanks for your work.
 Pavel ?elezn? - Czech Republic

This looks like the problem that many are having with Plustek scanners.
Are you using a new kernel?  Is your kernel built with CONFIG_USB_SUSPEND?
If you are using Debian sid then recent kernels certainly are, and the 
same goes for recent Ubuntu kernels.  This requires a fix in libusb (which
is not yet available).  

The only guaranteed cure is to turn off CONFIG_USB_SUSPEND (or use a kernel
before it was introduced), but if you can get a parameter to the usbcore
module (it can be specifed on the linux command line from Lilo or Grub) set
usbcore.autosuspend=0 and this might help. 

David



[sane-devel] HP ScanJet 2400

2007-07-17 Thread Gerald Murray
Known problem, same result.  The genesys646 backend has never been working
as far as I know.  This backend should be considered experimental for  
the gl646
scanner.

Gerald





[sane-devel] HP scanjet 2400

2007-02-21 Thread Stéphane VOLTZ
Hello,

I've set up a page with tools and doc at 
http://stef.dev.free.fr/sane/genesys 
which let you start up some work. I haven't got the log yet, since the time I 
created an email account to log in, the site is currently down. I'll try 
later to get it, so we know at which point  the adaptation for the HP2400 
will have to start.

Regards,
Stef




[sane-devel] HP scanjet 2400

2007-02-14 Thread Stéphane VOLTZ
Le lundi 12 f?vrier 2007, Emmanuel Counasse a ?crit?:
 Hi,

 I have activated debug information and attached to this mail the output of
 :

 scanimage -d genesys:libusb:001:005 2 debug.txt
 (see : http://www.sharebigfile.com/file/80076/debug-tar-bz2.html)

 The scanner has start its motor (make noise) but did not do anything, so
 I decided to stop scanimage by pressing CTRL+C because I don't want to
 damage my scanner's motor.

 What do you think about it ?

 You proposed me to send me scripts, documentation and log, in think it
 xould be ionteresting to look inside so you can send me them in private,
 thanks.

 Best regards.

Hello,

thanks for the data. I'll have it a look this week. I'll also post 
updated 
information. Meanwhile, you may have a look at the code via tools such as 
kscope to find all the occurences of the *_HP2300 defines where you'll have 
to modify code to handle the HP2400.

Regards,
Stef




[sane-devel] HP scanjet 2400

2007-02-10 Thread Emmanuel Counasse
Skipped content of type multipart/alternative-- next part 
--
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070210/9a39dec4/signature.pgp
From tppy...@sophrosune.org  Sat Feb 10 18:17:24 2007
From: tppy...@sophrosune.org (Todd Pytel)
Date: Sat Feb 10 18:40:06 2007
Subject: [sane-devel] False colors with Canon LIDE 25
Message-ID: 1171127844.7461.11.ca...@timaeus.sophrosune.org

Hello,

I just received a Canon LIDE 25 and am hitting some problems with false
colors. I've basically never used a scanner before, much less on Linux
(though I'm pretty handy with Linux in general), so I'm not sure what
component of the scanning system I should be looking at. 

I set up the scanner without any issues - it's using libusb and
scanimage detects the make and model correctly, as well as identifying
the plustek backend. I've got xsane running fine as a regular user and
can preview and scan to an image. Full-color documents (like a map, for
example) seem to scan OK. The problem document is primarily
black-and-white text and line graphics (boxes and such), with a few red
numbers and graphics that I'd like to keep in color. When I scan this, I
get a lot of false color in parts that should be black - for example, a
solid black line that's part of a box will show up with a kind of
spectrum effect. I tried fiddling with a couple of the xsane settings,
but didn't come across anything helpful.

Again, since I don't have much scanning experience, I'm not sure if this
a problem with the hardware configuration or if it's just that I don't
know how to use xsane correctly. Probably the latter. Any advice is
greatly appreciated.

--Todd



[sane-devel] HP Scanjet 2400 (genesys)

2006-08-19 Thread SHAILESHKUMAR GADHAVI
Dear Sir/Madam,
 
 I am trying to scan images through the scanner mentioned above.  The 
sane-find-scanner lists my scanner. Also scanimage -L lists the device 
properly.  But when I issue command scanimage  image.pnm, I am getting 
following errors and the hardware makes little motor noise and stops.
 
 [genesys] WARNING: Your scanner is not fully supported or at least
 [genesys]  had only limited testing. Please be careful and
 [genesys]  report any failure/success to
 [genesys]  sane-devel@lists.alioth.debian.org. Please provide as many
 [genesys]  details as possible, e.g. the exact name of your
 [genesys]  scanner and what does (not) work.
 
 Please let me know how to overcome this problems.
 
 It would be  a great help.
 
 Thanks  Regards,
 
 Shailesh
 
 

-
How low will we go? Check out Yahoo! Messenger?s low  PC-to-Phone call rates.
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060819/a8651360/attachment.html
From adeur...@gmx.net  Sat Aug 19 10:49:38 2006
From: adeur...@gmx.net (abel deuring)
Date: Sat Aug 19 10:44:22 2006
Subject: [sane-devel] Acard AEC6712S (atp870u.ko) and HP 6100C C2520A
(sg.ko) problems
In-Reply-To: 20060819054626.ga10...@jfindlay.us
References: 20060818011541.gd11...@jfindlay.us 44e58e73.6060...@gmx.net
20060819054626.ga10...@jfindlay.us
Message-ID: 44e6ecc2.6040...@gmx.net

Justin,

 On Fri, Aug 18, 2006 at 11:54:59AM +0200, abel deuring wrote:
If possible, try different cables and another SCSI adapter, or
connect another SCSI device to the Acard adapter to get a better
idea, where the error might come from.
 
 I took the scanner, SCSI-2 cable, and acard SCSI host adapter and
 plugged them into my roomate's windows computer, installed the
 appropriate drivers, rebooted a few times, suffered through windows'
 occult complaints but eventually got the device functioning.
 
 Next I tried it on his FC4 system (same hardware, different OS) which,
 upon loading the appropriate kernel modules segfaulted the kernel and
 froze the machine.
 
 Sometimes I am able to get the kernel modules loaded on my machine
 before the atp870u driver complains.  At this point sane-find-scanner
 detects the scanner
 
 found SCSI processor HP C2520A 3644 at /dev/sg1
 
 but `scanimage -L` does nothing.  Perhaps it precipitates an error of
 some kind because after cancelling the command sane-find-scanner again
 detects nothing and subsequent driver reloadings print out the same set
 of SCSI errors.
 
 I know at lease someone somewhere has gotten this scanner working before
 because http://www.sane-project.org/sane-mfgs.html says that support for
 'ScanJet 6100C' is 'Complete'.
 
 What can I try next?  I'm willing to start hacking hardware/drivers if
 necessary but I have absolutely no idea where to begin, nor even where
 to ask.

Sounds like a bug in the lower level part of the SCSI drivers, or
like a hardware error. I am not sure what I can honestly recommend.
I have never used an Acard SCSI adapter, and don't want to spread
FUD, but anyway: Some time ago, other users reported problems with
Acard SCSI adapters. The atp870u driver contained at least one
strange bug: the data returned for the INQUIRY command was limited
to the standard length, while several scanners describe hardware
details in an -- absolutely legal -- vendor-specific extension
of the inquiry data, thus confusing one or the other Sane backend. I
noticed the author of the backend about this bug, never got reply,
but somehow and at some time this bug was fixed in the kernel sources.

Generally, I have the impression that there are SCSI adapters which
are better supported by the Linux kernel, so, before you continue to
hunt a bug, it would be worth to try for example an adapter
supported for example by the sym53c8xx or the aic7xxx drivers. In my
experience, these drivers are very stable, well supported, and you
can buy for example a used Adaptec 2940 for a few dollar at Ebay.

Abel


[sane-devel] HP SCANJET 2400

2006-05-12 Thread Carlos Pereira
Hello All,

I have a Hp ScanJet 2400, Windows XP sp2 and Ubuntu 5.10. I am
available to do whatever testing is needed in relation to this
scanner.

I can program something too (C language), but I am a novice on device
driver writing, and in linux in general. But if some generic
programming is needed, I think I can help.

Thanks in advance for your attention.

Best regards,
Carlos
Ilheus/Bahia/Brazil
www.uesc.br

-- 
===
Carlos Jos? de Almeida Pereira - CARL?O
MSN: cjap2...@hotmail.com

Quem agora conhece a antiga linguagem da Lua?
Quem agora fala com a Deusa ? ...
S? as pedras agora se recordam do que a Lua nos disse h? muito tempo,
e o que n?s aprendemos com as ?rvores, e as vozes das ervas e dos
cheiros das flores... 
(Tony Kelly, Pagan Musings 1970)

http://www.sam.paganfederation.org/index.php?id=13lang=pt


[sane-devel] HP Scanjet 2400

2006-05-02 Thread Henning Meier-Geinitz
Hi,

On 2006-04-28 18:46, Pusk?s R?bert wrote:
 I have a HP Scanjet 2400 scanner, and I found out, that it's
 unsupported by sane. Even in the Genesys backend. Will my scanner be
 supported, in the near future?

This depends on you. The general backend code is there, only the
adaption of it to more scanners is missing. For discussion on what
needs to be done please search the mailing list archive.

So this means if you or another user of this scanner doesn't do this
work the scanner will never be supported. This is how SANE (usually)
works.

Bye,
  Henning


[sane-devel] hp scanjet 2400

2005-10-03 Thread Henning Meier-Geinitz
Hi,

On Mon, Oct 03, 2005 at 02:03:59PM +, linux wrote:
 is there already an hp scanjet 2400 driver for sane?

For questions like this, please always use the scanner search enigine
first:

http://www.sane-project.org/cgi-bin/driver.pl?manu=hewmodel=2400bus=any

So it's not supported yet but could be supported by the genesys
backend. It hasn't been added to this backend sofar, however.

Bye,
  Henning


[sane-devel] HP ScanJet 2400 (GENESYS)

2005-08-01 Thread carlos
Ok St?phane, here you got it: http://superkaos.homelinux.org/usbsnoop.log.gz, 
I hope it is useful, let me know.

cheers,
Carlos


On 29/07/05 07:00, St?phane VOLTZ wrote:
 Le Mercredi 27 Juillet 2005 19:11, carlos a ?crit?:
  Ok,  what exactly are the scans that you need?  I will try to get you the
  logs as soon as I can, probably next week.
 
  cheers,
  Carlos
 
   Hello,
 
   as a start I need the initialization sequence. To log it, plug your 
 scanner, 
 start usbsniff to start logging. Then power down then up the scanner, and 
 launch the scanning program. If it doesn't do a preview on start, do it 
 manually.
 
   With this, I should be able to tune head parking, origin finding and 
 preview.
 
 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
-- 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/20050802/18585503/attachment-0001.pgp
From dieter.jurzi...@t-online.de  Mon Aug  1 18:48:31 2005
From: dieter.jurzi...@t-online.de (Dieter Jurzitza)
Date: Mon Aug  1 22:30:45 2005
Subject: [sane-devel] a second try
In-Reply-To: 20050801160810.ga14...@meier-geinitz.de
References: 200507242150.08124.dieter.jurzi...@t-online.de
200507312339.32983.dieter.jurzi...@t-online.de
20050801160810.ga14...@meier-geinitz.de
Message-ID: 200508012048.31461.dieter.jurzi...@t-online.de

Dear Henning,
with pleasure :-)
I wrote a short batch and echoed start / stop sequences into /var/log/messages 
so the excerpt of /var/log/messages I have attached relates exactly to the 
script I used to start scanimage.
Many thanks in advance,
take care



Dieter

Am Montag, 1. August 2005 18:08 schrieb Henning Meier-Geinitz:
 lamp has been shut off?

 SANE_DEBUG_MUSTEK=255 SANE_DEBUG_SANEI_SCSI=255 scanimage /dev/null 2log


-- 
---

   |
\
 /\_/\   |
| ~x~ |/-\   /
 \   /-   \_/
  ^^__   _/  _     /
 ??__ \- \_/ |  |/|  |
  ||  || _| _|_| _|

if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
---
-- next part --
A non-text attachment was scrubbed...
Name: mustek.tar.bz2
Type: application/x-tbz
Size: 7336 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20050801/535d3b79/mustek.tar.bin
From stef...@modulonet.fr  Tue Aug  2 04:51:56 2005
From: stef...@modulonet.fr (=?iso-8859-15?q?St=E9phane_VOLTZ?=)
Date: Tue Aug  2 04:59:43 2005
Subject: [sane-devel] HP ScanJet 2400 (GENESYS)
In-Reply-To: 20050801221602.ga27...@superkaos.jazztel.es
References: 42de43c5.2010...@terra.com.br
200507290700.34052.stef...@modulonet.fr
20050801221602.ga27...@superkaos.jazztel.es
Message-ID: 200508020651.56772.stef...@modulonet.fr

Thanks,

I've downloaded it, and I am starting decoding it.

Regards,
Stef



[sane-devel] HP ScanJet 2400 (GENESYS)

2005-07-27 Thread carlos
Ok,  what exactly are the scans that you need?  I will try to get you the 
logs as soon as I can, probably next week.

cheers,
Carlos

On 26/07/05 07:09, St?phane VOLTZ wrote:
 Le Mercredi 20 Juillet 2005 14:29, Julio Otero Boehl a ?crit?:
  Hello,
 
  I've just finishing compiling and installing the latest CVS on my
  system, tweaked the config a little bit, and the ScanJet 2400 is
  recognized. I did not test it too much, but would like to know if I can
  help the developers in some way (testing, etc).
 
  My Linux system is a little bit odd (It's a Linkstation system running
  kernel 2.4.17-ppc. I'am using libusb 0.1.10a.
 
  Best regards and thanks for the work on the genesys backend.
 
  Julio
 
   Hello,
 
   what I need to complete HP2400 support is usbsniff-1.8 logs- taken 
 under 
 windows- of clearly identified scans. Based on these data, I'd should be able 
 to tune the gl646 functions to run your scanner. However, since I don't have 
 acces to such a scanner, you (and others) will have to test the changes, 
 which will be a slow process. Hopefully the 2400 is close enough to the 2300 
 so it may not be that long.
 
 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
-- 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/20050727/411528f6/attachment.pgp
From dieter.jurzi...@t-online.de  Wed Jul 27 06:08:32 2005
From: dieter.jurzi...@t-online.de (Dieter Jurzitza)
Date: Wed Jul 27 18:25:31 2005
Subject: [sane-devel] a second try
In-Reply-To: 200507261735.06630.dieter.jurzi...@t-online.de
References: 200507242150.08124.dieter.jurzi...@t-online.de
20050725172118.gb10...@meier-geinitz.de
200507261735.06630.dieter.jurzi...@t-online.de
Message-ID: 200507270808.32347.dieter.jurzi...@t-online.de

Hi folks,
yesterday I was yelling too early. It does not work until now. I had some 
accidental success - nothing reliable.
Today I will test with the scanner as a single device on the bus. Moreover, I 
think that the abort stems from the controller card - so I would have to 
increase controller timeouts, not sane timeouts.
Keep you informed,
take care


Dieter Jurzitza

Am Dienstag, 26. Juli 2005 17:35 schrieb Dieter Jurzitza:
 Dear Listmembers,
 dear Mr. Meier - Geinitz,
*

-- 
---

   |
\
 /\_/\   |
| ~x~ |/-\   /
 \   /-   \_/
  ^^__   _/  _     /
 ??__ \- \_/ |  |/|  |
  ||  || _| _|_| _|

if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
---


[sane-devel] HP ScanJet 2400 (GENESYS)

2005-07-20 Thread Julio Otero Boehl
Hello,

I've just finishing compiling and installing the latest CVS on my 
system, tweaked the config a little bit, and the ScanJet 2400 is 
recognized. I did not test it too much, but would like to know if I can 
help the developers in some way (testing, etc).

My Linux system is a little bit odd (It's a Linkstation system running 
kernel 2.4.17-ppc. I'am using libusb 0.1.10a.

Best regards and thanks for the work on the genesys backend.

Julio



[sane-devel] hp scanjet 2400 status

2005-02-06 Thread Henning Meier-Geinitz
Hi,

On Wed, Jan 26, 2005 at 11:56:42PM +0100, Wojciech Kromer wrote:
 what is the status ow writing backend for this scanner,
 maybe i can help if there is any documentation or source

See http://www.meier-geinitz.de/sane/genesys-backend/ and this mailing
list.

Bye,
 Henning



[sane-devel] hp scanjet 2400 status

2005-01-26 Thread Wojciech Kromer
what is the status ow writing backend for this scanner,
maybe i can help if there is any documentation or source







[sane-devel] HP Scanjet 2400 support for genesys backend

2004-05-04 Thread Julien TIERNY
--Boundary-00=_y38lAZ27zKoGUi9
Content-Type: text/plain;
  charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi all, hi Henning,

 The genesys backend wasn't even loaded. Double-check dll.conf.
I even respected alphabetical order (I had put genesys between gphoto and=20
gt68xx).
In fact, as I already told I am a gentoo linux user. I wrote a port-like fi=
le=20
(ebuild) to compile and install the patched sources.
Actually, it seems that /etc/sane.d/dll.conf wasn't updated properly (?).

as I told you, you will find attached a shell script to patch the SANE sour=
ces=20
with the genesys backend (could be useful for a SANE beginner like me ;-))

you will also find some outputs (# SANE_DEBUG_GENESYS=3D255 scanimage -T).
it seems that I encountered issues with the low level part of the backend :=
 cf=20
traces of the genesys_read_data_from_scanner function (at the very end of=
=20
the file).
Do you also produce this behaviour with your scanner ?

{somewhere in genesys_low.c (hum line 512) you mention that the read si=
ze=20
must be a multiple of 128 otherwise read issues might be encountered : coul=
d=20
this be linked ?  naive though ...}

could you give me a few explainations about the related low level code=20
(genesys_read_data_from_scanner, genesys_white_shading_calibration,=20
genesys_flatbed_calibration and genesys_start_scan) ?
in which direction would you like me to focus on, in order to help u in you=
r=20
development ?

bye, Julien

ps: you would have corrected by yourself that I forgot last time the diff f=
or=20
the genesys.conf file (in the tarball if needed)

Le lundi 19 Avril 2004 15:25, Henning Meier-Geinitz a =E9crit :
 Hi,

 On Sun, Apr 18, 2004 at 10:14:01PM +0200, Julien TIERNY wrote:
  great news Henning, at last I managed to make my scanner move under
  GNU/Linux !

 That's nice :-)

  # SANE_DEBUG_GENESYS=3D255 scanimage -L
 
  No scanners were identified. If you were expecting something different,

 The genesys backend wasn't even loaded. Double-check dll.conf.

  How could you explain that scanimage can't load the genesys backend ?

 You have installed sane-backends in /usr/local/ and /usr. Or at least
 twice at different locations.

 Try SANE_DEBUG_DLL=3D255 scanimage -L

 That should print which dll.conf is used and where it looks for
 libraries. Try the same with xscanimage.

  # SANE_DEBUG_GENESYS=3D255 xscanimage genesys:libusb:005:002

 Doe it work without the explicit mentioning of
 genesys:libusb:005:002? If not, genesys is not in dll.conf.

 Bye,
   Henning

--Boundary-00=_y38lAZ27zKoGUi9
Content-Type: application/x-tgz;
  name=logspatch.tar.gz
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=logspatch.tar.gz

H4sICMvNl0AAA2FwTUExYS50YXIA7X1rdxs3lm2+Rr8CnWS67VmyXEC9Na2sSTvuTPomTpad9F29
Ei+mSBalapMsNqtoW5mZ+9svXiWTKpwi9aAoypv9kMkDYAMbOOcAKBzUq69ePO99/fwvP3/T++b5
i+ev/vGqJ8KwVw2yaTHJTvMnP31y448nP1EQqL88Drn+zs13j3t+yDn/hHteEMRBEIroE5mKc/8T
5t0cev1nUdXZnLFP/rkYF/m0K10+rzrK8czn4u+efH6psmle9IZ5f3H6mr3K67qYnjL9lY3zt/mY
lSN2mk/z6rxidcnk4Dg6+MX+IDPI4cO+seJ+NniTT4fsrWSqKKeMH3msvyjGQ8bZaF5OmMJ6YlNV
SnzEgyezeS6WSlRpesW0qI9ZtqjPynnxe87+cMKmi/HYnWxc1PU4Z7LMIpuySTY4K6a5O+k8z4aq
fYNyOipO2aiQ+X6zCY/Uj39y51tOP5alM37MitOprJwubDLJp7UWbJhd3Cy7v5Q9n8zq86tkDm6S
ObxZxaNjVs/PVWY5lLK6ln3FfltUfea99yI/UX8y7m3aCfFNWpLcrCVpR0uCLJV/hOD+xsPJu0lT
+A1HIxcdjfFHnu4Wjy83xiQ6Zsp4yiKH+duZUtIXP3/33aFUwfPeu6yo2QnzHHk+QJWzfKryFgOp
huOiLyGPpUuQ//NdYERKVi0Gg7yqRtJCnOsy86Ej96hcSNv0X/m7sTRyT36UViibD9lonNX9fMiU
w5vmc/ZK/v1bXjMReJ7MylaxHMXm74vazbNLcprXPdOM6oK8cTnIxr1yKit/wkbZuGr120ouV7Gq
0bY89siknGaTXJZ3mazH7qyGnN/OZk8UEf/M6yeKgD+xQvfPuKiWIf/vVy9ff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DH6fGV2D4I/UvMPxxsv6GP07W3/DH
qfqHhj/SvoWGP4/iPzT8kfYhNPx55IzY8Eea79Dw51HjJzT8eaTrMfx5ZPsNf6T9Cg1/Hum7NH/k
eiDS9KUUO5FmL6XIiXzjVymxcbsUdZGmjrS8kWaOXE1EmriU4i3SvKUUbZGmjfSKsdct1qwlFKmx

[sane-devel] HP Scanjet 2400 support for genesys backend

2004-04-19 Thread Henning Meier-Geinitz
Hi,

On Sun, Apr 18, 2004 at 10:14:01PM +0200, Julien TIERNY wrote:
   great news Henning, at last I managed to make my scanner move under 
 GNU/Linux !

That's nice :-)

 # SANE_DEBUG_GENESYS=255 scanimage -L
 
 No scanners were identified. If you were expecting something different,

The genesys backend wasn't even loaded. Double-check dll.conf.

 How could you explain that scanimage can't load the genesys backend ?

You have installed sane-backends in /usr/local/ and /usr. Or at least
twice at different locations.

Try SANE_DEBUG_DLL=255 scanimage -L

That should print which dll.conf is used and where it looks for
libraries. Try the same with xscanimage.

 # SANE_DEBUG_GENESYS=255 xscanimage genesys:libusb:005:002

Doe it work without the explicit mentioning of
genesys:libusb:005:002? If not, genesys is not in dll.conf.

Bye,
  Henning



[sane-devel] HP Scanjet 2400 support for genesys backend

2004-04-18 Thread Henning Meier-Geinitz
Hi,

On Sat, Apr 17, 2004 at 12:52:57PM +0200, Julien TIERNY wrote:
   Henning : sorry for my two weeks of silence but I had to work for my 
 studies. 
 You will find attached a basic patch for hp2400 scanjet's support in genesys 
 backend.
   Except adding IDs of the scanner in the 'genesys_usb_device_list' array 
 and 
 adding a specific 'Genesys_Model' data structure, I don't know what to do.

Thanks. I have added the code to CVS.

   I compiled the sane distribution (1.0.13) patched with the genesys 
 backend 
 and here are various outputs:

[...]

 # scanimage genesys:libusb:005:002
 scanimage: no SANE devices found

Just scanimage -L should show the scanner. If it doesn't, either
genesys is not in dll.conf, the genesys backend wasn't compiled at
all or something is wrong with you code :-)

Does SANE_DEBUG_GENESYS=255 scanimage -L show some genesys debug
messages?

I'll add a README that explains how to build the genesys backend to
the CVS repository.

 # xscanimage genesys:libusb:005:002
 xscanimage: relocation error: /usr/lib/sane/libsane-genesys.so.1: undefined 
 symbol: sanei_usb_init
 

The genesys backend wasn't linked to sanei_usb. See README.

   - Could someone explain me why the 'chip' field doesn't appear in 
 sane-find-scanner's output ?

The GL646 chips used by HP are slightly different. They are only
detected by current development versions of sane-backends.

   - Why the scanimage frontend can't find the device while 
 sane-find-scanner 
 could ?

See above. I'm a bit surprised why scanimage doesn't show the
relocation error like xscanimage.

   - What's the deal with /usr/lib/sane/libsane-genesys.so.1's symbols ? 
 Would I 
 have too agressive CFLAGS ?

No. Fix backend/Makefile.in.

I'll attach the README.

Bye,
  Henning

Introduction


This is the SANE genesys backend. It's intended to support scanners which use
the Genesys Logic GL646 or GL841 chips. A list of such scanners can be found
on the genesys backend homepage: 
http://www.meier-geinitz.de/sane/genesys-backend/

This backend does not work yet. While there is some code for the GL646, actual
scanning is not supported yet. The backend moves home the scan head, does some 
tests, turns on the lamp and tries to calibrate the device. That calibration
fails, however.

There is no support for the GL841 yet.

Also most hardware settings (resolution etc.) aren't taken from the model 
struct yet.


How to use the backend
==

This directory contains only the backend code itsself. You'll also need the
complete sane-backends source code. Get that code, e.g. from one of the
development snapshots. Unpack it.

Copy the files from genesys/ directory into the backend/ directory of
sane-backends. Add genesys to backend/dll.conf. Add genesys to configure.in
(BACKENDS variable). Run autoconf.

Add the following two lines to backend/Makefile.in after the comment 
# We must not buold SANE backend libraries ...:

libsane-genesys.la: ../sanei/sanei_constrain_value.lo
libsane-genesys.la: ../sanei/sanei_usb.lo

Run ./configure, make, and make install as usual.

Use export SANE_DEBUG_GENESYS=255 to enable debugging.

Add code until the backend works :-)


2004-04-18 
Henning Meier-Geinitz henn...@meier-geinitz.de
  



[sane-devel] HP Scanjet 2400 support for genesys backend

2004-04-18 Thread Julien TIERNY
--Boundary-00=_JGugAFETKYm74gy
Content-Type: text/plain;
  charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

hi all,

great news Henning, at last I managed to make my scanner move under=20
GNU/Linux !
more seriously, you were right with my issue in the linking process. 
thanx=
=20
for your README file. I'll write a bash script to patch the official SANE=20
distribution next time I have a few minutes.
=09
I compiled (and linked ;-)) the genesys backend with the 1.0.14-pre2. 
Here=
=20
are the previous outputs:=20


# SANE_DEBUG_GENESYS=3D255 scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).



# SANE_DEBUG_GENESYS=3D255 scanimage genesys:libusb:005:002
scanimage: no SANE devices found


You'll find the debug logs of xscanimage attached (# SANE_DEBUG_GENESYS=3D2=
55=20
xscanimage genesys:libusb:005:002). The scanner seems to initialize at=20
xscanimage's startup.

How could you explain that scanimage can't load the genesys backend ?

I analyze a bit more the logs and then begin more advanced tests.

thanx for your help, julien

Le dimanche 18 Avril 2004 16:50, Henning Meier-Geinitz a =E9crit :

 Hi,

 On Sat, Apr 17, 2004 at 12:52:57PM +0200, Julien TIERNY wrote:
  Henning : sorry for my two weeks of silence but I had to work for my
  studies. You will find attached a basic patch for hp2400 scanjet's
  support in genesys backend.
  Except adding IDs of the scanner in the 'genesys_usb_device_list' array
  and adding a specific 'Genesys_Model' data structure, I don't know what
  to do.

 Thanks. I have added the code to CVS.

  I compiled the sane distribution (1.0.13) patched with the genesys
  backend and here are various outputs:

 [...]

  # scanimage genesys:libusb:005:002
  scanimage: no SANE devices found

 Just scanimage -L should show the scanner. If it doesn't, either
 genesys is not in dll.conf, the genesys backend wasn't compiled at
 all or something is wrong with you code :-)

 Does SANE_DEBUG_GENESYS=3D255 scanimage -L show some genesys debug
 messages?

 I'll add a README that explains how to build the genesys backend to
 the CVS repository.

  # xscanimage genesys:libusb:005:002
  xscanimage: relocation error: /usr/lib/sane/libsane-genesys.so.1:
  undefined symbol: sanei_usb_init
  

 The genesys backend wasn't linked to sanei_usb. See README.

  - Could someone explain me why the 'chip' field doesn't appear in
  sane-find-scanner's output ?

 The GL646 chips used by HP are slightly different. They are only
 detected by current development versions of sane-backends.

  - Why the scanimage frontend can't find the device while
  sane-find-scanner could ?

 See above. I'm a bit surprised why scanimage doesn't show the
 relocation error like xscanimage.

  - What's the deal with /usr/lib/sane/libsane-genesys.so.1's symbols ?
  Would I have too agressive CFLAGS ?

 No. Fix backend/Makefile.in.

 I'll attach the README.

 Bye,
   Henning

 Introduction
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 This is the SANE genesys backend. It's intended to support scanners which
 use the Genesys Logic GL646 or GL841 chips. A list of such scanners can be
 found on the genesys backend homepage:
 http://www.meier-geinitz.de/sane/genesys-backend/

 This backend does not work yet. While there is some code for the GL646,
 actual scanning is not supported yet. The backend moves home the scan hea=
d,
 does some tests, turns on the lamp and tries to calibrate the device. That
 calibration fails, however.

 There is no support for the GL841 yet.

 Also most hardware settings (resolution etc.) aren't taken from the model
 struct yet.


 How to use the backend
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 This directory contains only the backend code itsself. You'll also need t=
he
 complete sane-backends source code. Get that code, e.g. from one of the
 development snapshots. Unpack it.

 Copy the files from genesys/ directory into the backend/ directory of
 sane-backends. Add genesys to backend/dll.conf. Add genesys to
 configure.in (BACKENDS variable). Run autoconf.

 Add the following two lines to backend/Makefile.in after the comment
 # We must not buold SANE backend libraries ...:

 libsane-genesys.la: ../sanei/sanei_constrain_value.lo
 libsane-genesys.la: ../sanei/sanei_usb.lo

 Run ./configure, make, and make install as usual.

 Use export SANE_DEBUG_GENESYS=3D255 to enable debugging.

 Add code until the backend works :-)


 2004-04-18
 Henning Meier-Geinitz henn...@meier-geinitz.de

--Boundary-00=_JGugAFETKYm74gy
Content-Type: text/plain;
  charset=iso-8859-1;
  name=genesys_logs_HPScanjet2400
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;

[sane-devel] HP Scanjet 2400 support for genesys backend

2004-04-17 Thread Julien TIERNY
--Boundary-00=_JyQgA8cQWWjmWkE
Content-Type: text/plain;
  charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hi all,

Henning : sorry for my two weeks of silence but I had to work for my 
studies. 
You will find attached a basic patch for hp2400 scanjet's support in genesys 
backend.
Except adding IDs of the scanner in the 'genesys_usb_device_list' array 
and 
adding a specific 'Genesys_Model' data structure, I don't know what to do.



I compiled the sane distribution (1.0.13) patched with the genesys 
backend 
and here are various outputs:




# sane-find-scanner

  # No SCSI scanners found. If you expected something different, make sure 
that
  # you have loaded a SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try modprobe sg.

found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0a01 [hp scanjet 
scanner]) at libusb:005:002
found USB scanner (vendor=0x06b9 [ALCATEL], product=0x4061 [Speed Touch USB ]) 
at libusb:003:002
  # Your USB scanner was (probably) detected. It may or may not be supported 
by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Scanners connected to the parallel port or other proprietary ports can't 
be
  # detected by this program.





# scanimage genesys:libusb:005:002
scanimage: no SANE devices found




# xscanimage genesys:libusb:005:002
xscanimage: relocation error: /usr/lib/sane/libsane-genesys.so.1: undefined 
symbol: sanei_usb_init




- Could someone explain me why the 'chip' field doesn't appear in 
sane-find-scanner's output ?
- Why the scanimage frontend can't find the device while 
sane-find-scanner 
could ?
- What's the deal with /usr/lib/sane/libsane-genesys.so.1's symbols ? 
Would I 
have too agressive CFLAGS ?


thanx for your help, julien

--Boundary-00=_JyQgA8cQWWjmWkE
Content-Type: text/x-diff;
  charset=iso-8859-1;
  name=patch_HPscanjet2400
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=patch_HPscanjet2400

*** backend_original/genesys_low.c  Sat Feb 28 12:00:08 2004
--- backend_modified/genesys_low.c  Sun Apr  4 19:53:41 2004
*** static Genesys_Model canon_lide_50_model
*** 3902,3910 
--- 3902,3948 
  /* untested, values set by hmg */
  };
  
+ static Genesys_Model hp_scanjet_2400_model = {
+   hp-scanjet-2400,/* Name */
+   Hewlett-Packard,/* Device vendor string */
+   ScanJet 2400,   /* Device model name */
+ 
+   1200, /* maximum optical sensor resolution */
+   1200, /* motor base steps */
+   2400, /* maximum motor resolution */
+ 
+   {1200, 600, 300, 150, 75, 0}, /* possible x-resolutions */
+   {2400, 1200, 600, 300, 150, 75, 0},   /* possible y-resolutions */
+   {48, 40, 32, 24, 16, 8, 0},   /* possible depths in gray mode */
+   {48, 40, 32, 24, 16, 8, 0},   /* possible depths in color mode */
+ 
+   SANE_FIX (3.5),   /* Start of scan area in mm  (x) */
+   SANE_FIX (7.5),   /* Start of scan area in mm (y) */
+   SANE_FIX (215.9), /* Size of scan area in mm (x) */
+   SANE_FIX (297.2), /* Size of scan area in mm (y) */
+ 
+   SANE_FIX (0.0),   /* Start of white strip in mm (y) */
+   SANE_FIX (1.0),   /* Start of black mark in mm (x) */
+ 
+   SANE_FIX (0.0),   /* Start of scan area in TA mode in mm (x) */
+   SANE_FIX (0.0),   /* Start of scan area in TA mode in mm (y) */
+   SANE_FIX (100.0), /* Size of scan area in TA mode in mm (x) */
+   SANE_FIX (100.0), /* Size of scan area in TA mode in mm (y) */
+ 
+   SANE_FIX (0.0),   /* Start of white strip in TA mode in mm (y) 
*/
+ 
+   0, 8, 16,  /* RGB CCD Line-distance correction in pixel 
*/
+ 
+   COLOR_ORDER_BGR,  /* Order of the CCD/CIS colors */
+ 
+   SANE_FALSE,/* Is this a CIS scanner? */
+   GENESYS_FLAG_UNTESTED /* Which flags are needed for this scanner? */
+ /* untested, values set by julien t. according to vendor's datasheet. */
+ };
  
  static Genesys_USB_Device_Entry genesys_usb_device_list[] = {
{0x0638, 0x0a10, umax_astra_4500_model},
{0x04a9, 0x2213, canon_lide_50_model},
+   {0x03f0, 0x0a01, hp_scanjet_2400_model},
{0, 0, NULL}
  };

--Boundary-00=_JyQgA8cQWWjmWkE--



[sane-devel] HP scanjet 2400

2004-02-27 Thread Yves Maniette
 Hello,

 I have a HP scanjet 2400, jsut to find out that... there is no driver for it.

 As I have formerly seen two posts on that subject recently, I guess I
I may help. Though I am poor at C I can open the scanner or even
connect it to some windows box, why not, and do watever could be done
to find out. 

 that is it, tell me how to start and i will try it out.

 Yves Maniette





[sane-devel] HP Scanjet 2400 Information

2003-11-10 Thread Henning Meier-Geinitz
Hi,

On Sun, Nov 09, 2003 at 07:23:48PM +0530, Sanjay Chigurupati wrote:
 I found this inf file on my windows setup disk for HP Scanjet 2400c.
 Could you please give comments on the info in it?

The only thing I found while quickly looking through the file is that
this software seems to support the 3600 series, too. So maybe those
scanners are similar? While the 3600 is not yyet in our lists, the
3670 is (unsupported).

 Btw does anyone know what tulip is for?

No idea.

Bye,
  Henning



[sane-devel] HP Scanjet 2400 Information

2003-11-09 Thread Sanjay Chigurupati
--0__=EABBE74ADFDFD0FC8f9e8a93df938690918cEABBE74ADFDFD0FC
Content-type: text/plain; charset=us-ascii


Hi,
I found this inf file on my windows setup disk for HP Scanjet 2400c.
Could you please give comments on the info in it?

Btw does anyone know what tulip is for?

Thanks,
Sanjay


--0__=EABBE74ADFDFD0FC8f9e8a93df938690918cEABBE74ADFDFD0FC
Content-type: application/octet-stream; 
name=hpg2436.inf
Content-Disposition: attachment; filename=hpg2436.inf
Content-Transfer-Encoding: base64

OyBUdWxpcCBFbmFibGVkLg0KOyBIUEcyNDM2U1RJLklORiAgLS0gV2luZG93cyBTdGlsbCBJbWFn
ZSBTZXR1cCBGaWxlIGZvciBocF8yNDAwIHNlcmllcyBTY2FubmVycw0KOyBOb3RlIC0gdGhpcyBm
aWxlIGlzIGZvciBXaW45OC9XaW45OFNFL1dpbmRvd3MgMjAwMC9XaW5kb3dzIFhQDQo7IENvcHly
aWdodCAoYykgMjAwMiBIZXdsZXR0LVBhY2thcmQgQ29tcGFueQ0KOyBMZWF2ZSB0aGVzZSBsaW5l
cyBhcyB0aGV5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