You are not logged in.

#1 2022-07-25 17:45:22

xerhaxs
Member
Registered: 2022-05-23
Posts: 6

[SOLVED] Scanner do not work on Arch but on Mint

Hello,

I have following problem:
I have an old scanner (Canon CanoScan 4400f) which works on Linux Mint without problems with sane, sane-utils and simple-scan.  It doesn't work on Arch, and I don't know why.
I followd the instructions in =https://wiki.archlinux.org/title/SANE]SANE and installed sane & ipp-usb and started ipp-usb (I use the scanner via usb). After I rebooted  and opened simple-scan, the scanner was not detected. After switching off and on again, reinstalling etc. I compiled sane directly from the AUR. The result was the same as before: The scanner was not recognized. Since the scanner was already older I also tried lib32-sane, but that didn't help either.

Can someone help me and tell me why it doesn't work on Arch but works on Mint????

Last edited by xerhaxs (2022-07-26 09:13:24)

Offline

#2 2022-07-25 20:05:18

seth
Member
Registered: 2012-09-03
Posts: 51,553

Re: [SOLVED] Scanner do not work on Arch but on Mint

Supposingly supported through http://www.sane-project.org/man/sane-genesys.5.html
I doubt that airscan/ipp-usb will work, so get rid of that, restart saned and check scanimage -L

Can someone help me and tell me why it doesn't work on Arch but works on Mint?

How (through which protocol/driver) did you access the scanner in Mint?

Offline

#3 2022-07-26 08:19:19

xerhaxs
Member
Registered: 2022-05-23
Posts: 6

Re: [SOLVED] Scanner do not work on Arch but on Mint

So I have now uninstalled ipp-usb and sane-airscane and restarted. When I ran scanimage -L I got the following message:

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).

After that I tried sane-find-scanner. (I loaded the scsi module with modprobe sg)
Result:

  # 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 fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x04a9 [Canon], product=0x2228 [CanoScan], chip=GL843) at libusb:001:005
  # 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.


The scanner is recognized, but when I use scanimage -L it does not work.
On Linux Mint the whole thing works out-of-the-box. When I run scanimage -L there I get the following feedback:

device `genesys:libusb:002:003' is a Canon Canoscan 4400f flatbed scanner

Any other ideas on how I can fix the problem? Thanks.

Offline

#4 2022-07-26 08:39:57

seth
Member
Registered: 2012-09-03
Posts: 51,553

Re: [SOLVED] Scanner do not work on Arch but on Mint

Please use code tags for shell IO and file contents, https://bbs.archlinux.org/help.php#bbcode
Probably rights issue, try "sudo scanimage -L" and see https://wiki.archlinux.org/title/SANE#P … on_problem

Offline

#5 2022-07-26 09:00:47

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: [SOLVED] Scanner do not work on Arch but on Mint

http://www.sane-project.org/sane-mfgs.html#Z-CANON wrote:

Physical damage due to overheating reported. Enable in genesys.conf at your own risk. See https://gitlab.com/sane-project/backends/-/issues/436.

Can you check if the scanner is enabled in /etc/sane.d/genesys.conf in Linux Mint but disabled in Arch?

Offline

#6 2022-07-26 09:01:15

xerhaxs
Member
Registered: 2022-05-23
Posts: 6

Re: [SOLVED] Scanner do not work on Arch but on Mint

I have tried everything with and without sudo. Still does not work. (And sorry, forgot the code tags.)

Last edited by xerhaxs (2022-07-26 09:03:24)

Offline

#7 2022-07-26 09:11:33

xerhaxs
Member
Registered: 2022-05-23
Posts: 6

Re: [SOLVED] Scanner do not work on Arch but on Mint

JoeyCorleone wrote:
http://www.sane-project.org/sane-mfgs.html#Z-CANON wrote:

Physical damage due to overheating reported. Enable in genesys.conf at your own risk. See https://gitlab.com/sane-project/backends/-/issues/436.

Can you check if the scanner is enabled in /etc/sane.d/genesys.conf in Linux Mint but disabled in Arch?


Thank you very much! That was the problem. Now my scanner also works under Arch. Excellent!

Offline

#8 2022-07-26 09:26:32

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: [SOLVED] Scanner do not work on Arch but on Mint

Great. Just make sure to also read the linked GitLab issue, your scanner apparently was disabled for a reason (e.g. stay away from the transparency mode).

Last edited by JoeyCorleone (2022-07-26 09:27:35)

Offline

Board footer

Powered by FluxBB