zppln n00b
Joined: 08 Oct 2023 Posts: 2
|
Posted: Sun Oct 08, 2023 8:16 pm Post subject: Trouble with Epson scanner (V370 Photo) |
|
|
I have an Epson Perfection V370 Photo scanner I'd like to get working. So far I've emerged:
media-gfx/sane-backends (with SANE_BACKENDS="epson2")
media-gfx/iscan-2.30.4.2-r3
media-gfx/iscan-data (not sure why I need this?)
media-gfx/iscan-plugin-gt-f720
I've come to the conclusion that I have to specify iscan-2.30.4.2-r3 since it ships the epkowa sane backend the later version available appears to ship some other backend?
Anyway, I've also had to add the following entry manually to /etc/sane.d/epkowa.conf (based on info from here):
With all this, I can now run scanimage -L, which yeilds:
Code: | device `epkowa:usb:003:009' is a Epson (unknown model) flatbed scanner |
The command takes a while to run, and I'm not sure it's supposed to say "unknown model".
However, if I try to actually use the scanner it doesn't work. skanlite just terminates once it has found the device. Attempting to scan from command line yields the following:
Code: | $ scanimage --device-name epkowa:usb:003:009 --format pnm > outfile.pnm
scanimage: open of device epkowa:usb:003:009 failed: Invalid argument |
dmesg looks good, and my user is added to both the usb and scanner groups.
Any ideas?
Update: I think I fixed it!
The ebuild for media-gfx/iscan-plugin-gt-f720 will run the following command:
Code: | iscan-registry --add interpreter usb 0x04b8 0x0131 "${MY_LIB}/esci/libesci-interpreter-gt-f720 /usr/share/esci/esfw8b.bin" |
But the 0x0131 product-id is not correct for my scanner and should be 0x014a instead. So instead I ran:
Code: | $ iscan-registry --add interpreter usb 0x04b8 0x014a "/usr/lib64/esci/libesci-interpreter-gt-f720 /usr/share/esci/esfw8b.bin" |
Now scanimage -L yields:
Code: | device `epkowa:interpreter:003:009' is a Epson Perfection V300 flatbed scanner |
And it seems I can remove the manual entry from epkowa.conf.
Running the scanimage command above now produces an outfile.pnm and skanlite starts as expected.
Kind of curious if the ebuild for media-gfx/iscan-plugin-gt-f720 should be considered broken though? I've interpreted its package description as it being applicable to all scanners in the V300 "series" or whatever, but right now the ebuild only sets up the iscan-registry for the V300 model. |
|