Debian 11 KDE: HP Scanjet 2400 lamp always on and impossible to scan.
by SilvioTO from LinuxQuestions.org on (#5NYFQ)
I'm new to this forum and thanks to anyone will help me :)
Debian 11 KDE: HP Scanjet 2400 lamp always on and impossible to scan.
Xsane and Skanlite find the scanner but when I clic "Preview" they freeze, as a normal user and root.
On previous version (Debian 10) I had the same issue solved with command scanimage -n1 at system startup, that dont' work with Debian 11.
The scanner work perfectly with Antix 19 based on Debian 10 on my laptop.
Code:$ scanimage -n1
Output format is not set, using pnm as a default.
scanimage: invalid option -- '1'The command scanimage -n switch the lamp off but immediately on again.
Code:$ uname -r
5.10.0-8-amd64Code:$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 04f2:0402 Chicony Electronics Co., Ltd Genius LuxeMate i200 Keyboard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 003: ID 03f0:0a01 HP, Inc ScanJet 2400c
Bus 006 Device 002: ID 041e:405f Creative Technology, Ltd WebCam Vista (VF0330)
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubCode:$ scanimage -L
device `genesys:libusb:006:003' is a Hewlett Packard ScanJet 2400c flatbed scannerCode:$ scanimage --list-devices
device `genesys:libusb:006:003' is a Hewlett Packard ScanJet 2400c flatbed scannerCode:$ sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 005:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc069 at 003:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x04f2/0x0402 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 007:001: Access denied (insufficient permissions)
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0a01 [hp scanjet scanner]) at libusb:006:003
could not open USB device 0x041e/0x405f at 006:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 006:001: Access denied (insufficient permissions)
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.Code:$ ls -l /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 25 ago 10.18 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 128 25 ago 10.18 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 25 ago 10.18 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 256 25 ago 10.18 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 257 25 ago 10.18 /dev/bus/usb/003/002
crw-rw-r-- 1 root root 189, 384 25 ago 10.18 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 512 25 ago 10.18 /dev/bus/usb/005/001
crw-rw-r-- 1 root root 189, 640 25 ago 10.18 /dev/bus/usb/006/001
crw-rw-r-- 1 root root 189, 641 25 ago 10.18 /dev/bus/usb/006/002
crw-rw-r--+ 1 root root 189, 642 25 ago 10.25 /dev/bus/usb/006/003
crw-rw-r-- 1 root root 189, 768 25 ago 10.18 /dev/bus/usb/007/001Code:$ getfacl /dev/bus/usb/004/003
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/004/003
# owner: root
# group: root
user::rw-
user:silvio:rw-
group::rw-
group:scanner:rw-
mask::rw-
other::r--
Debian 11 KDE: HP Scanjet 2400 lamp always on and impossible to scan.
Xsane and Skanlite find the scanner but when I clic "Preview" they freeze, as a normal user and root.
On previous version (Debian 10) I had the same issue solved with command scanimage -n1 at system startup, that dont' work with Debian 11.
The scanner work perfectly with Antix 19 based on Debian 10 on my laptop.
Code:$ scanimage -n1
Output format is not set, using pnm as a default.
scanimage: invalid option -- '1'The command scanimage -n switch the lamp off but immediately on again.
Code:$ uname -r
5.10.0-8-amd64Code:$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 04f2:0402 Chicony Electronics Co., Ltd Genius LuxeMate i200 Keyboard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 003: ID 03f0:0a01 HP, Inc ScanJet 2400c
Bus 006 Device 002: ID 041e:405f Creative Technology, Ltd WebCam Vista (VF0330)
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubCode:$ scanimage -L
device `genesys:libusb:006:003' is a Hewlett Packard ScanJet 2400c flatbed scannerCode:$ scanimage --list-devices
device `genesys:libusb:006:003' is a Hewlett Packard ScanJet 2400c flatbed scannerCode:$ sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 005:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc069 at 003:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x04f2/0x0402 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 007:001: Access denied (insufficient permissions)
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0a01 [hp scanjet scanner]) at libusb:006:003
could not open USB device 0x041e/0x405f at 006:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 006:001: Access denied (insufficient permissions)
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.Code:$ ls -l /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 25 ago 10.18 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 128 25 ago 10.18 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 25 ago 10.18 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 256 25 ago 10.18 /dev/bus/usb/003/001
crw-rw-r-- 1 root root 189, 257 25 ago 10.18 /dev/bus/usb/003/002
crw-rw-r-- 1 root root 189, 384 25 ago 10.18 /dev/bus/usb/004/001
crw-rw-r-- 1 root root 189, 512 25 ago 10.18 /dev/bus/usb/005/001
crw-rw-r-- 1 root root 189, 640 25 ago 10.18 /dev/bus/usb/006/001
crw-rw-r-- 1 root root 189, 641 25 ago 10.18 /dev/bus/usb/006/002
crw-rw-r--+ 1 root root 189, 642 25 ago 10.25 /dev/bus/usb/006/003
crw-rw-r-- 1 root root 189, 768 25 ago 10.18 /dev/bus/usb/007/001Code:$ getfacl /dev/bus/usb/004/003
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/004/003
# owner: root
# group: root
user::rw-
user:silvio:rw-
group::rw-
group:scanner:rw-
mask::rw-
other::r--