plustek: CanoScan N1220U with Testversion 0.45-TEST5 gives I/O error


Previous by date: 6 Jan 2003 22:14:51 -0000 Re: CanoScan N1220U with Testversion 0.45-TEST5 gives I/O error, Jaeger, Gerhard
Next by date: 6 Jan 2003 22:14:51 -0000 Re: Scrambled image with Plustek 4813P using more than 100 dpi, Gerhard Jaeger
Previous in thread: 6 Jan 2003 22:14:51 -0000 Re: CanoScan N1220U with Testversion 0.45-TEST5 gives I/O error, Jaeger, Gerhard
Next in thread: 6 Jan 2003 22:14:51 -0000 Re: CanoScan N1220U with Testversion 0.45-TEST5 gives I/O error, Gerhard Jaeger

Subject: Re: CanoScan N1220U with Testversion 0.45-TEST5 gives I/O error
From: Marc Lavergne ####@####.####
Date: 6 Jan 2003 22:14:51 -0000
Message-Id: <20030106220656.79259.qmail@web10706.mail.yahoo.com>

Just as a side note, I noticed that between 1.0.8 and
1.0.9 of Sane, the sanei_usb_write/read_bulk function 
appeared to change in a fairly significant way:

1.0.8:
------
sanei_usb_write_bulk (SANE_Int fd, ...
{
...
write_size = write (fd, buffer, *size);
...
}

1.0.9:
------
sanei_usb_write_bulk (SANE_Int dn, ...
{
...
write_size = write (devices[dn].fd, buffer, *size);
...
}

When I look at sanei_lm983x.c in PLustek 0.45-TEST5, I
see the following:
...
 sanei_usb_write_bulk( fd, command_buffer, &size );
...


I do get further into the debug stack when using 1.0.8
with 0.45-TEST5 than with 1.0.9. Am I correct in
assuming that 0.45-TEST5 works with 1.0.8 but not
1.0.9?

Thanks,

Marc

--- "Jaeger, Gerhard" ####@####.#### wrote:
> Hi,
> 
> there are some wrong register settings for the 1220.
> Sorry, I'll fix this, this  week. Stay tuned for an
> update.
> 
> Gerhard
> 
> On Friday, 3. January 2003 22:24, Marc Lavergne
> wrote:
> > Had some time to debug the Canon N1220U a little,
> here
> > are some additional details:
> >
> > The high-level failure occurs in backend/plustek.c
> in
> > the sane_start routine and reports an errno of
> 110.
> >
> > I dug a little and the problem is bubbles up from
> > backend/plustek-usb.c in the usbDev_open routine.
> > However, it appears to orignate from the
> > usbio_DetectLM983x routine in
> backend/plustek-usbio.c.
> > Here's a trace:
> >
> > [plustek] usbDev_open(/dev/usbscanner,)
> > [plustek] Vendor ID=0x04A9, Product ID=0x2207
> > [plustek] usbio_DetectLM983x
> > [plustek] UIO error
> > [plustek] This is not a LM9831 or LM9832 chip
> based
> > scanner.
> > [plustek] sane_start: open failed: 110
> >
> > I'll post back later after I add some additional
> debug
> > hooks.
> >
> > --- Marc Lavergne ####@####.#### wrote:
> > > This email is just FYI to let you know the
> status of
> > > the Canon N1220U scanner. It is still not
> functional
> > > using the 0.45-TEST5 release. The following
> error
> > > occurs in xsane during preview and/or acquire:
> > >
> > >   Error during read: Error during device I/O
> > >
> > > The following occurs in scanimage:
> > >
> > >   /usr/local/bin/scanimage -d
> > > plustek:/dev/usbscanner
> > >   scanimage: sane_start: Error during device I/O
> > >
> > > Here is the output from check Merlin:
> > >
> > >   ./checkm
> > >   Checking /dev/usbscanner for MERLIN chipset...
> > >   DetectLM983x: found LM9832/3
> > >
> > > You probably already have this but here is the
> lsusb
> > > output:
> > >
> > >   Bus 001 Device 024: ID 04a9:2207 Canon Inc.
> > > CanoScan
> > > 1220U
> > >
> > > The backend used was the stable Sane 1.0.9
> release
> > > with a 2.4.20 kernel. I'll keep an eye out for
> new
> > > releases and keep up the good work.
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> ####@####.####
> For additional commands, e-mail:
> ####@####.####
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Previous by date: 6 Jan 2003 22:14:51 -0000 Re: CanoScan N1220U with Testversion 0.45-TEST5 gives I/O error, Jaeger, Gerhard
Next by date: 6 Jan 2003 22:14:51 -0000 Re: Scrambled image with Plustek 4813P using more than 100 dpi, Gerhard Jaeger
Previous in thread: 6 Jan 2003 22:14:51 -0000 Re: CanoScan N1220U with Testversion 0.45-TEST5 gives I/O error, Jaeger, Gerhard
Next in thread: 6 Jan 2003 22:14:51 -0000 Re: CanoScan N1220U with Testversion 0.45-TEST5 gives I/O error, Gerhard Jaeger


Powered by ezmlm-browse 0.20.