scanner stopped working

Getting your soundcard to work, using Debian on non-i386 hardware, etc

scanner stopped working

Postby peer » 2020-09-15 07:34

os: debian kde testing
scanner: canon lide 25
my scanner does work properly with simple-scan in kernel 5.7.0.3
But is does not work anymore in kernel 5.8.0.1
When I go back to kernel 5.7.0.3 it works again
The scanner is found by simple scan (and scanimage -L) but when I want to make a scan the program hangs and after that the scanner is no longer found.

strange: the last update showed dependency problems with virtualbox 6.1.14. Synaptic removed virtualbox before performing the update. After that I could not reinstall virtualbox 6.1 but installing virtualbox 6.0.8 worked.
And now simple-scan also seems to work in kernel 5.8.0.1!!!!!!!!!!!!
peer
 
Posts: 134
Joined: 2017-03-26 10:14

Re: scanner stopped working

Postby peer » 2020-09-15 09:13

follow up:
remove virtualbox completely. Virtualbox has it own problems
tested scanner in windows on same pc: works ok
now problem exist in both kernels (5.7.0.3 and 5.8.0.1)
in terminal:
Code: Select all
peer@debian:~$ scanimage -L
device `plustek:libusb:001:005' is a Canon CanoScan LiDE25 flatbed scanner
peer@debian:~$ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

The first time 'scaninage -L' recognizes the scanner correctly. The scond time 'scanimage -L' could not identify any scanners
peer
 
Posts: 134
Joined: 2017-03-26 10:14

Re: scanner stopped working

Postby peer » 2020-09-24 12:32

update: the scanner does work sometimes. But most of the time it does not work.
When I enter the command "scanimage -L" the scanner is found but when I repeat the command directly no scanners were found.
Code: Select all
peer@debian:~$ scanimage -L
device `plustek:libusb:001:005' is a Canon CanoScan LiDE25 flatbed scanner
peer@debian:~$ scanimage -V
scanimage (sane-backends) 1.0.27; backend version 1.0.27

The problem also occurs when I enter the command as root.

I think it is very strange that the scanner is found correctly at first but after that the scanner information is disappeared.
Does someone has an idea where to look???
peer
 
Posts: 134
Joined: 2017-03-26 10:14

Re: scanner stopped working

Postby peer » 2020-10-14 12:08

at last I found a temperarely solution.
The plustek scanners need a lock directory: /var/lock/sane.
After creating this map (mkdir -m777 /var/lock/sane) my scanner does work again. After reboot I have to create the map again because the /var/lock/ map is cleaned at shutdown (or boot)

I found the answer on the debian bug reporting page: https://bugs.debian.org/cgi-bin/bugrepo ... bug=971584
peer
 
Posts: 134
Joined: 2017-03-26 10:14


Return to Hardware

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable