Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Epson 3170 scanner + libusb +sane = frustration
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
grimm26
Guru
Guru


Joined: 23 May 2004
Posts: 313
Location: Chicagoland, IL

PostPosted: Fri Dec 17, 2004 6:22 pm    Post subject: Epson 3170 scanner + libusb +sane = frustration Reply with quote

OK, I have read all the pertinent threads here and in other forums. I still can't get this @#%$%$ scanner to work. Here's what i got:
Code:

2.6.9-nitro4
media-gfx/sane-backends-1.0.15  -gphoto2 -ipv6 +usb
iscan-1.12.0-4
dev-libs/libusb-0.1.8  -debug -doc
sys-apps/hotplug-20040923

Kernel USB settings:
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y


I have a shuttle xpc with an nforce2 mobo. I have a usb2.0 hard drive that works and an epson inkjet printers that works, so I know usb is ok. I have this entry in /etc/hotplug/usb/libsane.usermap:
Code:

# Epson Corp.|Perfection 3170
libusbscanner             0x0003      0x04b8   0x0116    0x0000       0x0000       0x00         0x00            0x00            0x00            0x00               0x00               0x00000000

I have everything in /etc/sane.d/dll.conf commented out except for epkowa.
sane-find-scanner shows:
Code:
found USB scanner (vendor=0x04b8 [EPSON], product=0x0116 [EPSON Scanner]) at libusb:001:002

I have this line in my /etc/sane.d/epkowa.conf:
Code:

usb 0x04b8 0x0116

and also tried usb libusb:001:002 to no avail.
Code:

$ ls -l /proc/bus/usb/001/002
-rw-rw----  1 root scanner 50 Dec 17 11:14 /proc/bus/usb/001/002
$


So, it seems the libusbscanner hotplug script from sane is working to set the perms and ownership. However iscan does not work and scanimage -L does not detect the scanner. I am at a loss. It _should_ work, shouldn't it? Has anyone else gotten this scanner working?
_________________
"Blessed is he who finds happiness in his own foolishness, for he will always be happy".
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Thu Oct 29, 2009 6:22 pm    Post subject: SOLVED Epson 3170 scanner + libusb +sane = frustration Reply with quote

SOLVED

I thought I would resurrect this old thread. After upgrading to the current gcc and rebuilding my system and suffering a few upgrades, my Epson Perfection 3170 Photo scanner stopped being identified correctly (wrongly by the Epson backend and not at all by the Epkowa backend without adding the usb 0x04b8 0x0116 to the epkowa.conf and then still wrongly).

So, I re-emerged all the related packages to no avail. Finally, I went to:
http://www.avasys.jp/lx-bin2/linux_e/scan/DL1.do
filled out the form and downloaded the generic Linux version of the iscan pacakge and the plugin as an RPM. I converted the RPM to tar.gz file using rpm2targz then went ahead and unpacked the resutling .tar.gz files to their default directories (as root).

Once I made sure that /etc/sane.d/dll.conf had epkowa at the top and epson commented out, and scsi commented out in the ekowa.conf, scanimage -L correctly identified the scanner (but VERY slowly) and the scanner works correctly from within gimp (also is identified VERY slowly).

Just installing the plugin alone did not work. I had to install the avasys version of iscan as well.

I may try to improve on the speed if I can by downloading the iscan source from the same site and compiling it myself. I'll report on that when I get a chance to try it.

BTW, this is a terrific scanner. I make a lot of use of the transparancy/negative adapter which is well supported by the avasys software.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
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