[sane-devel] hpsj5s misdetection problem (was: My Umax works well, now it hangs up?)

Max Vorobiev pcwizard@zelmail.ru
Sat, 16 Nov 2002 00:03:07 +0300


On 15 November 2002 16:48, you wrote:

Well, It's my mistake. I'll fix it. I setted default value for parport=20
backend search and didn't removed it. As a quick solution I recommend set=
 in=20
hpsj5s.conf last line as 'parport10' (unused or even unreal port  in syst=
em)=20
- no scanner will be detected and no hangs occurs.

> Hi,
>
> On Fri, Nov 15, 2002 at 02:39:20PM +0100, Miroslav Such=FD wrote:
> > [dll] init: initializing backend `hpsj5s'
> > [sanei_debug] Setting debug level of hpsj5s to 255.
> > [hpsj5s] >>sane_init[hpsj5s] sane_init: version_code !=3D 0, authoriz=
e !=3D 0
> > [hpsj5s] sane_init: SANE hpsj5s backend version 1.0.3
> > [hpsj5s] <<sane_init[dll] init: backend `hpsj5s' is version 1.0.3
> > [hpsj5s] sane_get_devices: local_only =3D 0
> > [hpsj5s] parport0: cpp_daisy: aa5500ff(38)
> > [hpsj5s] parport0: cpp_daisy: aa5500ff(38)
> > [hpsj5s] parport0: cpp_daisy: aa5500ff(38)
> > [hpsj5s] port opened.
> > [hpsj5s] sane_get_devices: check scanner started.
> > and freeze...
>
> Ok, that's probably in DetectScanner().  Maybe I'm missing something
> but it looks like hpsj5s.c just unconditionally tries to connect to
> every parport device. I'm surprised that this doesn't harm everybody
> else.
>
> > I also try switch off the printer, but it is the same.
>
> Even more astonishing.
>
> Thanks again.
>
> Bye,
>   Henning
> _______________________________________________
> Sane-devel mailing list
> Sane-devel@www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel