plustek: Mandriva 2005LE and plustek_pp - How to fix


Previous by date: 27 Jun 2005 07:49:56 +0100 Re: Mandriva 2005LE and plustek_pp - How to fix, Andreas Funke
Next by date: 27 Jun 2005 07:49:56 +0100 Re: Plustek-Parallelportscanner 12000T, Gerhard Jaeger
Previous in thread: 27 Jun 2005 07:49:56 +0100 Re: Mandriva 2005LE and plustek_pp - How to fix, Andreas Funke
Next in thread:

Subject: Re: Mandriva 2005LE and plustek_pp - How to fix
From: Gerhard Jaeger ####@####.####
Date: 27 Jun 2005 07:49:56 +0100
Message-Id: <200506270849.19881.gerhard@gjaeger.de>

Thanx for providing this!

Gerhard

On Sunday 26 June 2005 15:38, Andreas Funke wrote:
> Errata and a few additional considerations:
> 
> 1. Where I wrote
> /etc/sane/
> 
> please read:
> /etc/sane.d/
> 
> 2. The most relevant steps in my previous message are #6 and $7. The remaining steps where designed to not break the RPM database of Mandriva, but there are alternative ways that can be followed by experienced users;
> 
> 3. Exactly as suggested by the documentation, it is advisable to set the parallel port mode in BIOS to EPP, and NOT choosing ECP or ECP+EPP. In this particular machine, the EPP 1.7 mode works better than the EPP 1.9 mode;
> 
> 4. When I switch the power on, the scanner's light turns on and remains in that state until the sane backend accesses it, provided that /etc/sane.d/plustek_pp.conf contains "option lOffOnEnd 1". Since I'm not using the scanner all the time, and I don't like the fact that the lamp stays on for hours or days without being used, I created a simple initscript that works well in any recent version of Mandrake or Mandriva. The script is saved to /etc/init.d/ with the name "lampoff" and then activating it in the default runlevels by running "chkconfig --add lampoff", as root:
> 
> #!/bin/bash
> #
> # chkconfig: 12345 24 60
> # description: activate and turn off scanner lamp at boot
> 
> #Sources Functions
> . /etc/rc.d/init.d/functions
> 
> # see how we were called.
> case "$1" in
>   start)
>     scanimage -n
>     touch /var/lock/subsys/lampoff
>     ;;
>   stop)
>     rm -f /var/lock/subsys/lampoff
>     ;;
>   status)
>     echo "no available status info"
>     ;;
>   restart)
>     scanimage -n
>     touch /var/lock/subsys/lampoff
>     ;;
>   *)
>     gprintf "*** Usage: $0 {start|stop|status|restart}\n"
>     exit 1
> esac
> 
> exit 0


Previous by date: 27 Jun 2005 07:49:56 +0100 Re: Mandriva 2005LE and plustek_pp - How to fix, Andreas Funke
Next by date: 27 Jun 2005 07:49:56 +0100 Re: Plustek-Parallelportscanner 12000T, Gerhard Jaeger
Previous in thread: 27 Jun 2005 07:49:56 +0100 Re: Mandriva 2005LE and plustek_pp - How to fix, Andreas Funke
Next in thread:


Powered by ezmlm-browse 0.20.