[sane-devel] Problem Detecting Scanner (HP3200C / Umax Astra 1220P) in Mandriva 2007 Cooker

Stéphane VOLTZ stef.dev at free.fr
Wed Feb 7 21:50:13 CET 2007


Le mardi 6 février 2007, Adrian a écrit :
> Problem Detecting Scanner (HP3200C / Umax Astra 1220P) in Mandriva 2007
>
> Scanner worked under Mandriva 2006 (kernel 2.6.12) but not under
> Mandriva 2007 Cooker (kernel 2.6.17)
>
> Extracted from output from dmesg:
> (snip)
>
>     loop: loaded (max 8 devices, max 1 partitions per device)
>     parport: PnPBIOS parport detected.
>     parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
>     ppdev: user-space parallel port driver
>
>
> Scanner is HP3200C / Umax Astra 1220P.
>
> Using Mandriva Hardware Configuration: configure scanner manually -
> results in message:
>
>     "Astra 1220P is configured and ready to use with Xsane or Kooka. "
>
>
> Output from xsane:
>
>     [root at localhost adrian]# xsane
>     [umax_pp_low] sync610p failed (got 0x78 expected 0x38)!
>     (umax_pp_low.c:3733)
>     [umax_pp_low] sync610p failed! Scanner not present or powered off
>     ... (umax_pp_low.c:6363)
>     [umax_pp_low] initTransport610p() failed (umax_pp_low.c:6673
>
>
> Output from kooka:
>
>     [root at localhost /]# kooka
>     kbuildsycoca running...
>     KWrited - Listening on Device /dev/pts/6
>     [umax_pp_low] sync610p failed (got 0x78 expected 0x38)!
>     (umax_pp_low.c:3733)
>     [umax_pp_low] sync610p failed! Scanner not present or powered off
>     ... (umax_pp_low.c:6363)
>     [umax_pp_low] initTransport610p() failed (umax_pp_low.c:6673)
>
>
>
> /etc/sane.d/dll.conf:
>
>     device: /dev/parport0
>     port safe-auto
>     astra 1220
>
>
>
> In /etc/sane.d/umax_pp.conf all are commented (#) except:
>
>     net
>     umax_pp
>
>
> If I uncomment "test" then "test0" appears in xsane as available device,
> but not Umax 1220P!!
>
> Have tried resetting scanner but no effect.
>
> Can't think of anything else to try - am at my wits end. My ageing brain
> is going in cricles. Do I just give up and reload Mandriva 2006 as a
> last resort?
>
> Mandriva Club Forum moderator gave the following suggestions:
>
>     Parallel port scanners have been reduced to lovely but
>     non-functional desktop ornaments. I've tried many times to build a
>     custom 2007 kernel that will bring mine to life again but no joy.
>
>     Don't blame Mandriva. Apparently the kernel.org developers have
>     thrown their PP scanners into the recycle bin. Mandriva's kernel
>     dev's took pity on us and kept PP scanners on life-support long
>     after other distros had already held a funeral and buried them.
>
>     You can file a Bugzilla report and I'd even vote for it but don't
>     hold your breath on getting resources assigned to this one. However,
>     there may be a way we can hit this thing with the defibrillator one
>     more time:
>
>     Oh Danny...at one time, Svetljo did some magic to keep these
>     scanners working. Do you by any chance know about those patches that
>     used to be in mm? I think they were actually applied to the 2006
>     main kernel per this Bugzilla report:
>
>     http://qa.mandriva.com/show_bug.cgi?id=16743
>
>     Perhaps they can be resurrected in mm?
>
>
> Can the same kernel patch/module that was used in Mandriva 2006 be
> loaded in current kernel in Mandriva 2007?  If so where might I find the
> patch?
> The Bugzilla report mentioned above did not appear to point to any
> relevant patch.


	Hello,

	to see what's really going on do:

	export SANE_DEBUG_UMAX_PP=255
	export SANE_DEBUG_UMAX_PP_LOW=255

	and send the debug output of scanimage -L . Get sure that /dev/parport0 can 
be accessed read/write for the user that run the command.

	I wouldn't blame the kernel too fast. My HP3200C is currently working fine 
here on an ubuntu 6.10 . More this bug id 16743 is related to ppscsi devices, 
which are indeed orphaned, but the umax_pp is another thing. It only needs a 
working ppdev. Debug traces will tell what's going on.

Regards,
	Stef



More information about the sane-devel mailing list