I am trying to get Canon Lide 400 scanner to work with Fedora 31. I have xsane installed, xsane recognizes the device when started. See the attached screenshot.
But when I try to get a preview or a scan, xsane hangs or throws an error I/O error communicating with the scanner.
I also tried to get the drivers from the Canon site
But they have only .deb files. An attempt to convert these .deb files to .rpm using alien package results in errors
$ alien --scripts -rk scangearmp2_3.70-1_amd64.deb
Package build failed. Here’s the log of the command (cd scangearmp2-3.70; rpmbuild --buildroot=’/home/damitr/Downloads/scangearmp2-3 (1).70-1-deb/packages/scangearmp2-3.70’ -bb --target x86_64 ‘scangearmp2-3.70-1.spec’):
Building target platforms: x86_64
Building for target x86_64
Processing files: scangearmp2-3.70-1.x86_64
error: File must begin with “/”: (1).70-1-deb/packages/scangearmp2-3.70/usr/lib/.build-id
error: File must begin with “/”: (1).70-1-deb/packages/scangearmp2-3.70/usr/lib/.build-id/02
error: File must begin with “/”: (1).70-1-deb/packages/scangearmp2-3.70/usr/lib/.build-id/02/8fbac2701f687da994b21fb506a92aedb587c3
RPM build errors:
File must begin with “/”: (1).70-1-deb/packages/scangearmp2-3.70/usr/lib/.build-id
File must begin with “/”: (1).70-1-deb/packages/scangearmp2-3.70/usr/lib/.build-id/02
File must begin with “/”: (1).70-1-deb/packages/scangearmp2-3.70/usr/lib/.build-id/02/8fbac2701f687da994b21fb506a92aedb587c3
Any ideas on how to resolve these errors or any other method to get the scanner working?