[sane-devel] Re: umax1220p

stef stef-listes@wanadoo.fr
Sat, 29 Dec 2001 11:29:00 +0100


On Fri, Dec 28, 2001 at 07:01:38PM -0600, Craig Franklin wrote:
> I have successfully compiled and installed your sane backend for the
> UMAX 1220p.  I have scanned my first couple of images and everything
> seems to be working.
> 
> I am having one problem however.  I have to be logged in as root to
> scan.  I am using RedHat 7.2 with kernel 2.4.7-10.  From what I
> understand, ppdev is available in this kernel. I have checked and
> ppdev.o is located in:
> 
> /lib/modules/2.4.7-10/kernel/drivers/char
> 
> When I run lsmod it is reported as being loaded.
> 
> Module                  Size  Used by
> parport_pc             14064   0 (autoclean)
> ppdev                   8128   0 (autoclean)
> parport                24608   0 (autoclean) [parport_pc ppdev]
> binfmt_misc             6064   1
> autofs                 11232   0 (autoclean) (unused)
> ne                      7040   1
> 8390                    6208   0 [ne]
> 8139too                12640   1
> ipchains               36000   0
> ide-scsi                7872   0
> scsi_mod               92208   1 [ide-scsi]
> ide-cd                 26592   0
> cdrom                  29504   0 [ide-cd]
> sb                      7760   0
> sb_lib                 33680   0 [sb]
> uart401                 6384   0 [sb_lib]
> sound                  58624   0 [sb_lib uart401]
> soundcore               4208   5 [sb_lib sound]
> ext3                   61936   5
> jbd                    38976   5 [ext3]
> 
> I fetched the sources from cvs. I followed the directions on:
> 
> http://umax1220p.sourceforge.net/download.html
> 
> Any idea what the problem is?

	Hello,

	you may check SANE's config.h to check if ppdev is really built in. Then
you may also look at the /dev/parport* devices to see if they can be used by
any user:

on my PC they look like:

crw-rw-rw-   1 root     root      99,   0 Feb 10  2000 /dev/parport0
crw-rw-rw-   1 root     root      99,   1 Feb 10  2000 /dev/parport1
crw-rw-rw-   1 root     root      99,   2 Feb 10  2000 /dev/parport2


	If everything looks OK, don't hesitate do send me the output of

	./umax_pp -p -t 255 2>probe.log

	where 'umax_pp' is located in the tools subdir.

Regards,
	Stef