Canon LiDE 220 flatbed scanner: Invalid argument
I'm trying to run this command:
scanimage --resolution 600 --mode Color --progress --format tiff >1.tiff
And I get this error:
scanimage: sane_start: Invalid argument
But when I unplug & replug the scanner several times and run these commands:
scanimage -L
device genesys:libusb:001:007 is a Canon LiDE 220 flatbed scanner
SANE_DEBUG_DLL=5 scanimage -L
...
I get it to work somehow. And It used to work great on my older Linux Mint system.
System info:
uname -a
Linux Paavo-PC 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Scanner info:
Vendor: Canon
Model: LiDE 220
Type: flatbed scanner
Device: 007
Loaded backend: genesys:libusb:001
Sane version: 1.0.31
Sometimes it works on my USB 3 port, sometimes USB port 2. I have no idea what is going on. Can you help me?
Edited by Antti-Pekka Meronen