|Version 3 (modified by 14 years ago) ( diff ),|
After moving from kernel 2.4 to 2.6, I found out that 'sane' didn't recognize my Epson scanner anymore. I dowloaded the latest sources and installed them and still no luck. So here is what I needed to do in kernel 2.6 to have 'sane' recognize my scanner.
- After copying 'sane-backends-1.0.18/tools/udev/libsane.rules'
to '/etc/udev/rules.d/30-libsane.rules' I needed to edit the file so the prologue looks as follows,
# The following list already contains a lot of scanners. If your scanner
# isn't mentioned there, add it as explained above and mail the entry to
# the sane-devel mailing list (sane-devel@…).
BUS!="usb", ACTION!="add", GOTO="libsane_rules_end"
Additionally I changed the group from 'scanner' to 'users' as follows.
sed -e 's|="scanner"|="users"|' -i /etc/udev/rules.d/30-libsane.rules
- After doing this my scanner was recognized, but sane couldn't find the
found USB scanner (vendor=0x04b8 [EPSON], product=0x0110 [EPSON Scanner]) at libusb:001:013
- So, I needed to edit '/usr/local/etc/sane.d/epson.conf' so that the file looks like
like the following
# USB scanner - only enable this if you have an EPSON scanner. It could
# otherwise block your non-EPSON scanner from being
# Depending on your distribution, you may need either the
# first or the second entry.
# use the following with kernel 2.4.35 and original '/dev' (no udev)
# This works with kernel 2.6
- Sane and xsane are now back to work, at last.