The scanner Epson Perfection V33 [OK]

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

The scanner Epson Perfection V33 [OK]

Post by Andyun »

Hello!
Please, help me connect the scanner Epson Perfection V33 (Salix OS 13.1.2 i486 Xfce).
Simple Scan not detected it. I installed Image Scan! for Linux (*Distribution* - Others) and the file "esci-interpreter-perfection-v330-0.1.1-2.i386.rpm" (rpm2tgz) according to the User's Manual, but it not helped. In the manual says, that in the folder /lib/modules/$version/kernel/drivers/usb/image/ should be the module "scanner.ko", but it is not.

I will be happy with any comments.
Last edited by Andyun on 9. Jun 2012, 16:37, edited 3 times in total.
nepoznati
Posts: 12
Joined: 11. Sep 2011, 10:19

Re: The scanner Epson Perfection V33

Post by nepoznati »

Andyun wrote: I installed Image Scan! for Linux (*Distribution* - Others) and the file "esci-interpreter-perfection-v330-0.1.1-2.i386.rpm" (rpm2tgz) according to the User's Manual, but it not helped. In the manual says, that in the folder /lib/modules/$version/kernel/drivers/usb/image/ should be the module "scanner.ko", but it is not.
The problem is most likely caused by the rmp2tgz! Read this topic, or just the post by gapan.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: The scanner Epson Perfection V33

Post by thenktor »

If the rpm contains some kernel module this won't work.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

Re: The scanner Epson Perfection V33

Post by Andyun »

I think the package is in order. The rpm not contains some kernel module. Look here (download):
esci-interpreter-perfection-v330-0.1.1-2.i386.rpm (374 kB)
esci-interpreter-perfection-v330-0.1.1-2.i386.tgz (370 kB).

And "Image Scan" (my SLKBUILDs):
iscan-2.26.4-i486-111.txz (294 kB)
iscan-data-1.9.0-i486-111.txz (19 kB).
Last edited by Andyun on 12. Jan 2012, 12:58, edited 2 times in total.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: The scanner Epson Perfection V33

Post by Shador »

Andyun wrote:I think the package is in order. The rpm not contains some kernel module. Look here (download):
esci-interpreter-perfection-v330-0.1.1-2.i386.rpm (374 kB)
esci-interpreter-perfection-v330-0.1.1-2.i386.tgz (370 kB).

And "Image Scan" (my SLKBUILDs):
iscan-2.26.4-i486-111.txz (294 kB)
iscan-data-1.9.0-i486-111.txz (19 kB).
Please don't upload to Russian hosters, which try to install Firefox addons, and pretty much everybody who tries to help you doesn't understand their page and thus can't navigate it properly.
Andyun wrote:In the manual says, that in the folder /lib/modules/$version/kernel/drivers/usb/image/ should be the module "scanner.ko", but it is not.
You're looking for a kernel module here. Where should it come from if you tell us yourself that none of the packages includes it? You either need to acquire a precompiled kernel module which is binary compatible to the kernel you're running, download a package somewhere used to build that module yourself or you even need to recompile the kernel with a different config and possibly patche(s) applied on top.
Image
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: The scanner Epson Perfection V33

Post by gapan »

I haven't looked in the package, but I'm guessing it's not a kernel module you're looking for. With scanners you usually need a firmware file, which you have to notify sane about, by adding a line like:

Code: Select all

firmware /path/to/your_firmware_file.bin
in the appropriate file in /etc/sane.d/
Image
Image
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

Re: The scanner Epson Perfection V33

Post by Andyun »

I thank all who responded to my problem! I found the solution!! :)
1. Install packages: esci-interpreter-perfection-v330-0.1.1-2.i386.tgz, iscan-data-1.9.0-i486-111.txz, iscan-2.26.4-i486-111.txz. SLKBUILDs here.
2. Add in the file "/etc/sane.d/dll.conf" the line "epkowa". If other scanners Epson are not used, then comment out (add "#" in the beginning) the line "epson2" to the scanner faster determined.
3. Create the file "/etc/sane.d/epkowa.conf" with the line "usb". Here is the original file "epkowa.conf" from the archive with the source code of the "iscan":

Code: Select all

# epkowa.conf -- sample configuration for the EPKOWA SANE backend
# Copyright (C) 2004, 2008, 2009  Olaf Meeuwissen
#
# See sane-epkowa(5), sane-usb(5) and sane-scsi(5) for details.

# Detect all devices supported by the backend.
# If you don't have a SCSI device, you can comment out the "scsi"
# keyword.  Similarly for the other keywords.
#
usb
scsi


# For any USB scanner not known to the backend (yet), you may, at your
# own peril(!!), force the backend to recognise and use it via libusb.
# You can do so by the following configuration command:
# 
#   usb <USB vendor ID> <USB product ID>
#
# SEIKO EPSON's USB vendor ID is '0x04b8' (without quotes).  In order
# to find the USB product ID, use lsusb(1).
# A sample configuration for the Epson Perfection 1650 (Epson GT-8200),
# which has a product ID of 0x0110, would look as follows:
#
#usb 0x04b8 0x0110


# For SCSI devices not detected, you can add an entry like:
#
#   scsi EPSON GT-20000
#
# where the GT-20000 bit corresponds to the SCSI model information as
# shown in the output of dmesg(1) or in the /var/log/kern.log file.


# Network attached devices may be made to work by first installing the
# (non-free) iscan-network-nt package and then adding configuration lines
# as per information below.
#
# For each network attached device, you must add an entry as follows:
#
#   net <IP-address|hostname> [port-number]
#
# Ask your network administrator for the device's IP address or check
# for yourself on the panel (if it has one).  The port-number is very
# optional and defaults to 1865.
# Note that network attached devices are not queried unless configured
# in this file.
#
# Examples:
#
#net 192.16.136.2 1865
#net 10.0.0.1
#net scanner.mydomain.com


# Some backend behaviour can be customized by using the option keyword
# followed by an option name, as shown below.
#
#   option <option-name>
#
# Currently available options:
#
# Makes the automatic document feeder the default document source
#option prefer-adf
4. Learn scanner's <vendor-id> and <product-id> with the following command:

Code: Select all

# sane-find-scanner
found USB scanner (vendor=0x04b8 [EPSON], product=0x0142 [EPSON Perfection V33/V330]) at libusb:002:006
5. Execute the following command in the terminal (usb <vendor-id> <product-id>):

Code: Select all

# iscan-registry --add interpreter usb 0x04b8 0x0142 /usr/lib/esci/libesci-interpreter-perfection-v330
- this command will create the file "/var/lib/iscan/interpreter" with the contents:

Code: Select all

interpreter usb 0x04b8 0x0142 /usr/lib/esci/libesci-interpreter-perfection-v330
6. (This is for Salix OS 13.1.x.) Solution to resolve write access to USB device nodes for users: create the file "/lib/udev/rules.d/10-my-usb-perms.rules" or "/etc/udev/rules.d/10-my-usb-perms.rules" with:

Code: Select all

SUBSYSTEM=="usb_device", GROUP="users", MODE="0664"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="users", MODE="0664"
and reconnect the scanner.
7. Run "iscan" from the following command in the terminal:

Code: Select all

iscan
Enjoy! :)


For GIMP from the User's Manual:
"As of version 1.15.0, iscan is automatically registered as a GIMP plug-in if you install the binary package. In case it didn't (because you built from source for example), you can register it yourself with the following command":

Code: Select all

$ ln -s /usr/bin/iscan /home/<user_name>/.gimp-2.6/plug-ins/
"Adjust the version number to match the version of the GIMP that you use.
Once iscan is registered as a plug-in, you can start it via the entry in the Xtns menu under the Acquire Image section.
Select Create from the File menu of GIMP, and then select Scanning (iscan).
Note: The menu configuration may differ depending on which version of GIMP that you use."

Additionally recommend that you try GUI XSane that is included in the repository of the Salix OS.


And more:

Code: Select all

use[~]$ simple-scan
libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/002/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/003/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/004/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/005/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/005/002: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/005/004: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/006/001: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/007/001: Permission denied.
libusb requires write access to USB device nodes.
How to resolve write access to USB device nodes for users?

Once again thank all! :)
Last edited by Andyun on 8. Apr 2012, 15:25, edited 9 times in total.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: The scanner Epson Perfection V33 [SOLVED]

Post by thenktor »

Thanks for providing your solution so that others with the same scanner can find that, too ;)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: The scanner Epson Perfection V33

Post by gapan »

Andyun wrote:How to resolve write access to USB device nodes for users?
A simple way would be to run something like this as root:

Code: Select all

find /dev/bus/usb -exec chmod 777 {} \;
if it gets reset after a reboot you can add that line in your /etc/rc.d/rc.local. There should be more ways to do it, involving udev rules, but that should work.
Image
Image
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

Re: The scanner Epson Perfection V33 [solved]

Post by Andyun »

Yes, it works, but only if the scanner is connected to the computer before booting the operating system. And if after, then have to manually execute "find /dev/bus/usb -exec chmod 777 {} \;" or "chmod 777 -R /dev/bus/usb/".
Is it possible to make users access permanent?
Or how to make a rule for this to work automatically?

Thank you!
Post Reply