Re: HP scanjet 2400 question.

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: HP scanjet 2400 question.

by stef-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le samedi 3 octobre 2009 14:18:27 Andrew Randrianasulu, vous avez écrit :

> --- On Sat, 10/3/09, stef <stef.dev@...> wrote:
> > From: stef <stef.dev@...>
> > Subject: Re: [sane-devel] HP scanjet 2400 question.
> > To: sane-devel@...
> > 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 mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Parent Message unknown Re: HP scanjet 2400 question.

by stef-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

        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 mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...

Parent Message unknown Re: HP scanjet 2400 question.

by stef-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> > Unsubscribe: Send mail with subject "unsubscribe
> > your_password"
> >              to sane-devel-request@...
>

        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 mailing list: sane-devel@...
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request@...