HP Scanjet 2200c ("plustek"): Lamp does not turn off after scan process
SUMMARY
When I scan a document via xsane
, the lamp will not turn off automatically.
If I go to Window - Show standard options - Device-Settings
and click on the checkbox Lampswitch
, the lamp will stay on. If I click it again, it will turn off.
The lamp will also only turn off, if I restart xsane
.
Exiting xsane
, even with the option Lamp off at exit
, will not turn it off.
ISSUE TYPE
Bug Report
COMPONENT NAME
plustek driver
SANE VERSION
Client
$ xsane --version
xsane-0.999 (c) 1998-2013 Oliver Rauch
This package is modified from the original version.
Please contact your vendor or report problems at
http://bugs.gentoo.org
E-mail: Oliver.Rauch@xsane.org
package xsane-0.999
compiled with GTK-2.24.33
with color management function
with GIMP support, compiled with GIMP-2.10.22
XSane output formats: jpeg, pdf(compr.), png, pnm, ps(compr.), tiff, txt
$ eix --installed sane
[I] acct-user/saned
Available versions: 0
Installed versions: 0(11:36:44 03/09/21)
Description: User for media-gfx/sane-backends
[I] media-gfx/sane-backends
Available versions: 1.0.31-r2 {gphoto2 ipv6 snmp systemd threads usb v4l xinetd +zeroconf ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" SANE_BACKENDS="+abaton +agfafocus +apple +artec +artec_eplus48u +as6e +avision +bh +canon +canon630u +canon_dr +canon_lide70 canon_pp +cardscan +coolscan +coolscan2 +coolscan3 +dc25 +dc210 +dc240 +dell1600n_net +dmc +epjitsu +epson +epson2 +escl +fujitsu +genesys +gt68xx +hp +hp3500 +hp3900 +hp4200 +hp5400 +hp5590 +hpljm1005 hpsj5s +hs2p +ibm +kodak +kodakaio +kvs20xx kvs40xx +kvs1025 +leo +lexmark +ma1509 +magicolor +matsushita +microtek +microtek2 +mustek mustek_pp +mustek_usb mustek_usb2 +nec +net +niash +p5 +pie +pieusb +pixma +plustek +plustek_pp pnm +qcam +ricoh +ricoh2 +rts8891 +s9036 +sceptre +sharp +sm3600 +sm3840 +snapscan +sp15c +st400 +stv680 +tamarack +teco1 +teco2 +teco3 +test +u12 +umax +umax1220u +umax_pp +xerox_mfp"}
Installed versions: 1.0.31-r2(13:54:39 14/09/21)(ipv6 usb zeroconf -gphoto2 -snmp -systemd -threads -v4l -xinetd ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" SANE_BACKENDS="net -abaton -agfafocus -apple -artec -artec_eplus48u -as6e -avision -bh -canon -canon630u -canon_dr -canon_lide70 -canon_pp -cardscan -coolscan -coolscan2 -coolscan3 -dc25 -dc210 -dc240 -dell1600n_net -dmc -epjitsu -epson -epson2 -escl -fujitsu -genesys -gt68xx -hp -hp3500 -hp3900 -hp4200 -hp5400 -hp5590 -hpljm1005 -hpsj5s -hs2p -ibm -kodak -kodakaio -kvs20xx -kvs40xx -kvs1025 -leo -lexmark -ma1509 -magicolor -matsushita -microtek -microtek2 -mustek -mustek_pp -mustek_usb -mustek_usb2 -nec -niash -p5 -pie -pieusb -pixma -plustek -plustek_pp -pnm -qcam -ricoh -ricoh2 -rts8891 -s9036 -sceptre -sharp -sm3600 -sm3840 -snapscan -sp15c -st400 -stv680 -tamarack -teco1 -teco2 -teco3 -test -u12 -umax -umax1220u -umax_pp -xerox_mfp")
Homepage: http://www.sane-project.org/
Description: Scanner Access Now Easy - Backends
[I] media-gfx/xsane
Available versions: 0.999-r3 {gimp jpeg lcms nls ocr png tiff}
Installed versions: 0.999-r3(20:53:33 03/09/21)(gimp jpeg lcms png tiff -nls -ocr)
Homepage: http://www.xsane.org/
Description: Graphical scanning frontend
Server
$ dpkg --list | grep "sane"
ii libsane:armhf 1.0.27-3.2 armhf API library for scanners
ii libsane-common 1.0.27-3.2 all API library for scanners -- documentation and support files
ii sane-utils 1.0.27-3.2 armhf API library for scanners -- utilities
CONFIGURATION
Client
Hewlett-Packard_Scanjet2200c.drc
Server
OS / ENVIRONMENT
Client
$ uname --all
Linux <some_hostname> 5.10.61-gentoo #1 SMP Fri Sep 3 08:57:37 CEST 2021 x86_64 Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz GenuineIntel GNU/Linux
$ < "/etc/os-release"
NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo/Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
Server
$ uname --all
Linux <some_hostname> 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux
$ < "/etc/os-release"
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
STEPS TO REPRODUCE
-
Open
xsane
-
Navigate to
Preferences - Load device settings
-
Load the configuration file
Hewlett-Packard:Scanjet2200c.drc
3.1. Configure
xsane
like in the screenshot above. -
Click on the button
Scan
and wait for the end of the scan process.4.1. Notice, that the lamp is still on.
-
Navigate to
Window - Show standard options - Device-Settings
-
Try to turn the lamp off by clicking on the checkbox
Lampswitch
.6.1. Notice, that the checkbox is checked, but the lamp did not turn off
-
Click on the checkbox
Lampswitch
again.7.1. Notice, that the lamp is off this time.
-
Repeat step 4. and 4.1.
-
Close
xsane
9.1. Notice, that the lamp is still on.
-
Start
xsane
again.10.1. Notice, that the lamp is turned off now.
These may be also related to this issue:
- media-gfx/xsane receives "SIGSEGV" signal after "Lampoff-time" has been reached and choosing another scan mode:
- USB: Connection to devices is randomly interrupted with error code -1 EPIPE (Broken pipe):
- SANE: The home directory /var/lib/saned/ is missing (most likely unrelated):
Issue template stolen from Ansible project. :)