[sane-devel] umax 1220P - cabling issue?

stef stef-listes@wanadoo.fr
Mon, 17 Dec 2001 06:46:07 +0100


On Sat, Dec 15, 2001 at 08:08:37PM -0600, sane@bob-n.com wrote:
> 
> 
> On Sat, 15 Dec 2001 sane@bob-n.com wrote:
> 
> > > 	One thing that may be worth trying, is to build the backend with no ppdev
> > > support (by undefining HAVE_LINUX_PPDEV_H in include/sane/config.h). The backend will
> > > fall back to direct I/O and so will have to be run with root's priviledges.
> > > 
> > 
> > OK, I'll give this a shot.
> 
> 
> Results were less than optimal:
> 
> #  /usr/local/src/sane-backends-1.0.6/tools/umax_pp -p -t 255
> [sanei_debug] Setting debug level of umax_pp_low to 255.
> [umax_pp_low] *** Direct I/O or ppdev unavailable, giving up ***
> failed to gain direct acces to port 0x378!
> 
> 
	
	This message means that no direct I/O nor ppdev support was built in.

	If you are using CVS version, you'll to add '--enable-directio' to configure
option to allow direct I/O.


Regards,
	Stef

> 
> Here's the relevant parts of /etc/modules.conf:
> 
> alias parport_lowlevel parport_pc
> options parport_pc io=0x378 irq=7
> 
> 
> 
> Here's from /var/log/messages:
> 
> Dec 15 20:07:06 trc2 kernel: parport0: PC-style at 0x378, irq 7
> [PCSPP,TRISTATE,EPP]
> 
> 
> 
> HELLLP!   ;)
> 
> Seriously, thanks for any help you can render.
> 
> - Bob Niederman.
> 
> 
>