I’ve found many tutorials about this topic, but only one, found in Luis Gallardo’s blog, worked for me.
Luis’s tutorial explain how to install on Ubuntu 9.10, so some steps are not necessary. I’ll show necessary steps to install on Ubuntu 10.04.
You need to download drivers from Avasys site. Go to this link, scroll down the page, choose “Epson Stylus CX4300/
Now, download “iscan-data_1.9.0-1_all.deb“, “iscan_2.26.4-2.ltdl7_i386.deb” and “iscan-plugin-cx4400_2.1.3-1_i386.deb“. After, run commands:
sudo dpkg -i iscan-data_1.9.0-1_all.deb sudo dpkg -i iscan_2.26.4-2.ltdl7_i386.deb sudo dpkg -i iscan-plugin-cx4400_2.1.3-1_i386.deb
Make sure the scanner is connected and turned on and run command
lsusb
Should appear a list of devices connected to the USB ports, like this:
Bus 003 Device 004: ID 04b8:083f Seiko Epson Corp. Stylus DX4450 Bus 003 Device 003: ID 04fc:05d8 Sunplus Technology Co., Ltd Bus 003 Device 002: ID 04f3:0216 Elan Microelectronics Corp. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 18e3:9101 Fitipower Integrated Technology Inc Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The first line (“Bus 003 Device 004: ID 04b8:083f Seiko Epson Corp. Stylus DX4450“) means the scanner was detected on address 003:004.
These steps are enough for the scanner be detected for XSane, but only root can to use.
To fix this “little” problem, edit file /lib/udev/rules.d/40-libsane.rules and add the following lines:
# Epson CX5600
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="083f", MODE="0664", GROUP="saned", ENV{libsane_matched}="yes"
Turn off and turn on your scanner. To see if the problem was fixed, run command lsusb again. The output should be like this:
Bus 003 Device 004: ID 04b8:083f Seiko Epson Corp. Stylus DX4450
Note the number of “Bus” and “Device”, with them run command
ls -l /dev/bus/usb/<BUS>/<DEVICE>
Replace <BUS> and <DEVICE> by respective numbers:
ls -l /dev/bus/usb/003/004
You will see something like
crw-rw-r--+ 1 root saned 189, 129 2011-07-01 14:01 /dev/bus/usb/003/004
Now you can to use your scanner with any user owned to group saned.
