Hi,

On 2006-05-11 12:18, Mark Small wrote:
> I've been trying to use my Canon N640P.  It works very well when I run
> as root, but when I run as my normal user, sane can't find the scanner.

[...]

> I think that it has something to do with the permissions on /dev/port
> that libieee1284-3 uses.  

IIRC, /dev/port can only accessed by root. That's kernel policy and in
my mind correct, as you can do lot's of bas things if you have access
to that file.

So the question rather is, why libieee1284 can't use the
/dev/partport* files, which is the normal way to access the parallel
port.

> Here's an extract of an strace -L as normal uses:
> open("/dev/parport0", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or 
> directory)
> open("/dev/parports/0", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or 
> directory)

Are such files created by the kernel automatically nowadays? If they
aren't, running MAKEDEV may help.

Bye,
  Henning


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to