Re: parport and xsane

From: Henning Meier-Geinitz (hmg-ml@gmx.de)
Date: Tue Apr 10 2001 - 09:58:50 PDT

  • Next message: Henning Meier-Geinitz: "Re: [dev] Status of NS LM983x USB support (e.g. Bearpaw, Canon 650U, Plustek OpticPro U12)"

    Hi,

    On Mon, Apr 09, 2001 at 09:50:51PM +0200, Massimo Maiurana wrote:
    > after some troubles with mandrake's rpm I will try to compile sane from
    > source, hoping it's the right way to make it work. But there's a thing I
    > would like to know. I'm using a mustek parallel and I read somewhere in
    > man pages that I can't access device from any non-root account, unless I
    > do it over the net interface.

    All backends that use /dev/port or inb/outb access must be run from a
    program as user root (at least with newer kernels). One way is to use
    the frontend as root or suid root the frontend but that's not
    recommended and xsane warns explicitly if it's run as root. Another
    way is to run saned as root and access the scanner with a frontend as
    normal user via the net backend.

    > Does it means I have to install sane-frontends to get saned, even if
    > I wanna use xsane and not xscanimage?

    No, saned is in sane-backends.

    > Or doesn't xsane need saned?

    If you don't want to use xsane as root you need saned.

    > BTW, is there someone who could explain me why in mandrake packages
    > there's no /usr/bin/saned but there's a /usr/bin/in.saned instead of?

    I may be wrong but I think that this is connected to using tcpd (tcp
    wrapper) together with the services (e.g. in.telnetd).

    Bye,
      Henning

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Tue Apr 10 2001 - 10:13:07 PDT