[sane-devel] HP ScanJet 2400c

Kristoffer kfs1 at online.no
Mon Nov 7 17:49:20 UTC 2005

On Mon, 07 Nov 2005 17:49:06 +0100, Kristoffer <kfs1 at online.no> wrote:

> I want to get it working! And I see that the genesys author in  
> genesys.conf have it commented out and to be uncommented "only for  
> development purposes".
> Can the author comment on the state of 2400? I would be delighted to  
> help, Maybe i could also make the support in genesys backend complete  
> for this driver, if he/you can't, but since i've never made a c program  
> before(or anything other than very basic bash/dos batch scripts and MMF)  
> i could use some help.
> what i'm thinking is 1. grab the source 2. change the code to what it  
> looks like windows driver is doing(by snooping) 3. then i'd need help on  
> howto compile it and test it fast to see if it is functioning correctly.  
> 4.maybe you could implement it in your driver or tell me howto ;) hey  
> it's fun!
> If the author needs information other than the already supplied(windows  
> scanner output/input) supply instructions on how to retrieve this.
> Thanks,
> Kristoffer Sanhez

OK. I've now looked at the genesys code and i'll probably need some time  
to figure it out... like a month or so. And i figured out the above so  
don't think about it. I tried the 2400 driver
"kris|~$ su -c 'scanimage -L'
device `genesys:libusb:001:004' is a Hewlett Packard ScanJet 2400c flatbed  
but when I try to do a '-T' test i only hear a short sound like the  
scanner head(that's what it's called?) don't really manage to get going.  

su -c 'scanimage -d genesys:libusb:001:004 -v -v --format tiff>test.tiff'
[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  
[genesys]          details as possible, e.g. the exact name of your
[genesys]          scanner and what does (not) work.
scanimage: sane_start: Error during device I/O
scanimage: read 0 bytes in total
Closing device
Calling sane_exit
scanimage: finished

I think the best way to get it working is to listen to the dev of genesys  
and we can cooperate to try and get it working. (Like change blabla in  
genesys.c and try now. and then i'll compile and try if it works better)  
If more info is needed, like windows driver utput or whatever just tell me  
howto do it.

Thanks, Kristoffer Sanchez

More information about the sane-devel mailing list