[sane-devel] Re: Fujitsu USB timeout issues

2003-11-17 Thread Peter Hartshorn
I've just tested the patch against the latest CVS and I still get the timeouts 
:(



[sane-devel] SANE, Darwin, Umax Vista-S6E problems

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

I'm sending the answer to sane-devel, also.

On Mon, Nov 17, 2003 at 06:24:06AM -0800, Randolph Fritz wrote:
> OK, so what next?  I can do some debugging, but I need some help in
> starting out.  How do I set up a debbugging environment for SANE?
> Where ought I look in the code to debug it?

I don't think there is need to debug anything. The umax backend must
be just converted to sanei_thread. Have a look at the sane-devel
archive, there was quite some discussion about that new interface.
Some backend have already been converted, e.g. coolscan, hp, mustek,
pie.

If you want to change the backend code, you should start with getting
the latest CVS version of sane-backends (from our homepage) and have a
look at the already converted backends. sanei_thread is documented
here: http://www.sane-project.org/sanei/sanei__thread_8h.html

Bye,
  Henning



[sane-devel] [ANNOUNCE] Third pre-release of sane-backends 1.0.13 available

2003-11-17 Thread Henning Meier-Geinitz
Hi everyone,

The third pre-release of sane-backends 1.0.13 is available at
ftp://ftp.mostang.com/pub/sane/sane-backends-1.0.13-pre3.tar.gz . This
is the last pre-release before the final release.

This pre-release contains some fixes for various backends. I'll attach
the ChangeLog since the last pre-release.

There is one known bug: If you use Linux 2.6 and its kernel headers
are installed in /usr/include/linux the v4l backend will fail to
compile. That's (hopefully) fixed in the current development version.

For questions and comments, please follow-up to the sane-devel mailing
list (sane-devel@lists.alioth.debian.org).

Happy scanning!

Henning

-- snapshot 1.0.13-pre3
 CODE FREEZE FOR SANE 1.0.13 ---
2003-11-16  Henning Meier-Geinitz 

* NEWS: Updated.
* configure configure.in: Disabled warnings for release.

2003-11-15  Henning Meier-Geinitz 

* doc/descriptions/unsupported.desc: Added Brother DCP 8020 and
  UMAX Astra 3600.

2003-11-14  Eddy De Greef 
* doc/sane-mustek_pp.man: added the new libieee1284 style parport
  names.

2003-11-14  Gerhard Jaeger 
* backend/plustek.c backend/plustek-usb.cal backend/plustek-usbshading.c
  backend/plustek-usbhw.c: Endianess fixes.

2003-11-13  Eddy De Greef 
* backend/mustek_pp_cis.c: accept old style parport names to
  ensure backward compatibility with existing mustek_pp.conf files.

2003-11-13  Peter Fales 
* backend/gphoto2.h:  Line beginning with "static static" was breaking
  compiles on some platforms.

2003-11-10  Gerhard Jaeger 
* backend/Makefile.in: Linking pie backend now against sanei_thread lib.
* backend/pie.c: Switched backend over to sanei_thread usage, to make it
  also work with OS/2.

2003-11-08  Oliver Schwartz 

* backend/snapscan-options.c backend/snapscan.c
  Disabled quality calibration for Epson Perfection 1670 since it does
  not work reliably yet

2003-11-09  Henning Meier-Geinitz 

* doc/descriptions-external/lhii.desc: Added (back) the links to
  the external lhii backend that supports old handscanners.




[sane-devel] SANE Training

2003-11-17 Thread Miranda Ronald
Hi!!!

Does anyone know who is the right person to contact
with regards to SANE driver development training?

Thanks in advance!!!

ronald 

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



[sane-devel] UMAX 1220S Fails to scan

2003-11-17 Thread Hubert Figuiere
On sam, 2003-11-15 at 18:21, Henning Meier-Geinitz wrote:
> Hi,
> 
> On Mon, Nov 10, 2003 at 09:51:28PM -0600, bbeal wrote:
> > We have just upgraded from Win98 to Mandrake 9.1 on our computer that 
> > has a scanner attached to it.  The pertinent hardware is as follows:
> > 
> > AMD K6-2 350 MHz
> > Epox 51 MVP3E motherboard
> > SIIG Fast SCSI Pro (AEC6712S without bios)(atp870u driver - module)
> > UMAX 1220S with original cable
> 
> Does it work in this configuration with a different operating system
> (e.g. Windows)?

I have the same problem in a totally different setup [1], and when I
reboot under the other GUI (MacOS 9 in that case), with original driver,
it works.
See my 1.5 yr old posts :-/

> Looks like either SCSI hardware trouble (termination, bad cable?) or a
> driver bug in the atp870u module for me. You could try to test with a
> different SCSI controller to find out if it's a SCSI problem.
> 
> Which kernel version do you use? Maybe it's fixed in a later version
> if it's really a kernel bug?
> 
> If you haven't got provate email until now, you can also try to
> contact the maintainer of the umax backend directly: Oliver Rauch
> .

For my problem he did not have a clue and I haven't had the time to
really dig into this (as I have never programmed SCSI before).

I hope you have better luck.

And my Nikon CoolScan III do works perfectly.

Hub
[1]
PowerComputing PowerCenter Pro 240
AHA-2930B
(but connected to on-board SCSI)
Linux 2.2.20
UMAX 1220S
-- 
" hm. I've lost a machine.. literally _lost_. it responds to ping,
it works completely, I just can't figure out where in my apartment it
is." --  http://www.bash.org/?5273




[sane-devel] hp scanjet 3670

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

On Mon, Nov 17, 2003 at 11:25:52AM +0100, Mickael Profeta wrote:
> the number on the EliteMT chipset is:
> 
> EliteMT (100MHz)
> M1B416256A
> DZC1HF2GJ

Thanks. I've added it to the list.

> After forcing the scanner module to recognize the scanner,
> I test the hp_scan.c programm in the scanner.txt doc of the kernel, but 
> with no reponse of the scanner.

Well, I would have been surprised if that had worked. That program is
only for the older hp scanners (those that are supported by the SANE
hp backend). If it had worked, you could have used the hp backend.

> then
> amble% scanimage -L 
> 
> device `hp4200:/dev/usb/scanner0' is a Hewlett-Packard HP-4200 flatbed 
> scanner

The hp4200 backend is not included in SANE. If I remeber correctly, it
detects any HP scanner so that doesn't mean taht it's supported by
that backend.

> scanner.c: ioctl_scanner: control_msg returned -110

I'm not really surprised :-)

> May this means that the driver would be near th hp4200 one? And that I 
> can use it as a starting point?

May be possible but I don't think so. hp4200 is an old backend and
that would mean they use the old chipset again. It's a LM9830 parport
chipset and a PV8630 parallel port-USB bridge.

> The windows .inf file seems to say that the driver is the same than the 
> one for 2400 series and I see that someone was interested to write a 
> driver for 2400c. Is there something already done? We may get in touch 
> to work together...

Everything I know is in our lists. Just contact the person mentioned
there. There is also a similarity reported to the 2300 series, but I
don't know if that's really the case.

Bye,
  Henning



[sane-devel] hp scanjet 3670

2003-11-17 Thread Mickael Profeta
Hi

>>there is also an Elite MT ram chips but I do not take the number, can 
>>provide it if it can help.

the number on the EliteMT chipset is:

EliteMT (100MHz)
M1B416256A
DZC1HF2GJ

> 
> I don't know of anyone. First you should check if the USB descriptors
> look similar to one of the other HP (or other) scanners. SOme
> information about backend writing is on our homepage.

After forcing the scanner module to recognize the scanner,
I test the hp_scan.c programm in the scanner.txt doc of the kernel, but 
with no reponse of the scanner.


then
amble% scanimage -L 

device `hp4200:/dev/usb/scanner0' is a Hewlett-Packard HP-4200 flatbed 
scanner

but when I try to run xsane:

host/uhci.c: uhci_result_control() failed with status 4c
[c13ee0c0] link (013ee062) element (013ef240)
   0: [c13ef240] link (013ef270) e0 Stalled NAK CRC/Timeo Length=7 
MaxLen=7 DT0 E
ndPt=0 Dev=2, PID=2d(SETUP) (buf=088db9a0)
 1: [c13ef270] link (0001) e3 IOC Active Length=0 MaxLen=7ff DT1 
EndPt=0
Dev=2, PID=69(IN) (buf=)

scanner.c: ioctl_scanner: control_msg returned -110


May this means that the driver would be near th hp4200 one? And that I 
can use it as a starting point?


The windows .inf file seems to say that the driver is the same than the 
one for 2400 series and I see that someone was interested to write a 
driver for 2400c. Is there something already done? We may get in touch 
to work together...

Bye,
Mike




[sane-devel] Re: Fujitsu USB timeout issues

2003-11-17 Thread m. allan noah
was there any sort of pattern to the timeouts? was the kernel scanner 
module loaded?

on my system, if the device is freshly plugged in, and the scanner.o 
module has not been loaded (cause i removed it from the modules dir), i 
can run

scanimage -d fujitsu --help

over and over again, with no timeouts. this is true when the backend is 
patched or not, and seems to be because the backend sends only two bulk 
writes to the device when you do --help (inquiry and evpd).

if you try that (just the fresh plugin, no scanner.o and the scanimage 
--help repeatedly) what does that do?

allan

On Mon, 17 Nov 2003, Peter Hartshorn wrote:

> I've just tested the patch against the latest CVS and I still get the 
> timeouts 
> :(
> 
> 

-- 
"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera