Hi,

my scanner works perfectly when I log in in as root. As an
unprivileged user, I just get this error message:

  $ scanimage -L

  No scanners were identified. If you were expecting something different,
  check that the scanner is plugged in, turned on and detected by the
  sane-find-scanner tool (if appropriate). Please read the documentation
  which came with this software (README, FAQ, manpages).

I ended up in a brute force attempt saying in /etc/devfs.conf:

  perm * 0666

Still, this didn't work. Starting "truss" and "diff" relvealed the
following difference:

root:
  open("/dev/ugen0.2",O_RDWR,00)           ERR#6 'Device not configured'
  open("/dev/ugen0.2",O_WRONLY,00)       = 6 (0x6)
unprivileged user:
  open("/dev/ugen0.2",O_RDWR,00)           ERR#13 'Permission denied'

Even when saying something like

  chmod 0666 /dev/ugen0.2

the permissions will be 0644 after the run of "scanimage -L".

Could somebody please enlighten me what's going on here? What did I miss
when installing Sane?

"pkg_info -Dx sane-backends" stays empty.

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to