On Tuesday 05 Nov 2002 7:45 am, Pilag� wrote:
> El Lun 04 Nov 2002 19:08, escribi�:
> > I have astra 2000P got working after installing sane-backends-1.0.9 tar
> > file. Now it works only as root. When I set +s to scanimage and use as
> > user, I get following error.
> > [lvgandhi@localhost lvgandhi]$ scanimage --format out.tiff
...
> > [umax_pp_low] SendWord failed  got 0xE8 instead of 0xC0 or 0xD0
> > (umax_pp_low.c:2588)
> > [umax_pp_low] Blindly going on .....
> > [umax_pp_low] Unexpected reg19: 0xE8 instead of 0xC0 or 0xD0
> > (umax_pp_low.c:3283)
> > [umax_pp_low] CmdSetDataBuffer(initbuf) failed ! (umax_pp_low.c:5251)
> > scanimage: no SANE devices found
> >
> > For xscanimage I get the following error
> > xscanimage umax_pp:0x378
> >
> > Gtk-WARNING **: This process is currently running setuid or setgid.
> > This is not a supported use of GTK+. You must create a helper
> > program instead. For further details, see:
> >
> >     http://www.gtk.org/setuid.html
> >
> > Refusing to initialize GTK+.
> > How to make it work both as user?
>
>       This is what developers said: "Note that the backend needs to run as root.
> To allow  user access  to the scanner run the backend through the network
> interface (See saned(1) and sane-net(5)).  A more  relaxed solution
> (security wise) is to add suid bit to the fron� tend (See chmod(1)).  The
> backend drop root priviledges as soon  as  it  can, right after gaining
> direct access to IO ports."
>
>       Also, Stef Voltz tell me:
>
> "Try usin gthe ppdev mode. With latest version, you may launch xsane as:
>         xsane umax_pp:/dev/parport0 , and then run as normal user. Provided
> that
> ppdev device is usable by user, and exists in MDK 8.2 (which should be the
> case).
>
>         Also, you may edit umax_pp.conf in /usr/local/etc/sane.d to have a
> 'port'
> option which points to /dev/parport0. Here's an excerpt from my
> umax_pp.conf:
>
> ....
> # DEVICES #
>
> # specify the port your scanner is connected to. Possible are 0x378 (lp0)
> # 0x278 (lp1)
> #port 0x378
> port /dev/parport0
>
> # the following options are local to this scanner"
>
>       You can contact Stef (developer) at [EMAIL PROTECTED]
thanks for the info.
Which distro you are using now. I don't have /dev/parport0. I have mdk9. I 
installed scanner using control center. I edited dll.conf and also 
umax_pp.conf for port 0x378 as I didn't have /dev/parport0. Then I did 
rpm -e sane-backends-1.0.8 and compiled src 1.0.9. Now it works as root. How 
to get /dev/parport.

-- 
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA








Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to