Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble with Epson scanner (V370 Photo)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
zppln
n00b
n00b


Joined: 08 Oct 2023
Posts: 2

PostPosted: Sun Oct 08, 2023 8:16 pm    Post subject: Trouble with Epson scanner (V370 Photo) Reply with quote

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):
Code:
usb 0x04b8 0x014a


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.
Back to top
View user's profile Send private message
rogge
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2006
Posts: 132
Location: Erfurt

PostPosted: Mon Dec 11, 2023 1:04 pm    Post subject: Reply with quote

Please be careful with this trick. It seems to brick your scanner!
See: https://forums.gentoo.org/viewtopic-t-1165822-highlight-.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum