Ubuntu 8.04: problem with scanner Epson Stylus DX4000 (all-in-one)

Asked by Lorenzo De Tomasi

I have a problem with Epson Dx-4400 printer/scanner.
I installed Ubuntu 8.04
The printer is working correctly, but I can't use the scanner.
 I read Question #2479, but I not found a solution for my problem
Somewere can help me?
Thank's

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Lorenzo De Tomasi
Solved:
Last query:
Last reply:
Revision history for this message
Lorenzo De Tomasi (lorenzo-detomasi) said :
#1

giancarlo@giancarlo-laptop:~$ sudo scanimage -L
device `epson:libusb:002:002' is a Epson CX4000 flatbed scanner

Maybe my scanner has permissions only for the root? How can I change them?

Thanks

Revision history for this message
Lorenzo De Tomasi (lorenzo-detomasi) said :
#2

Solved. In the terminal I have typed
1.
giancarlo@giancarlo-laptop:~$ sane-find-scanner
that has displayed
[...]
found USB scanner (vendor=0x04b8 [EPSON], product=0x082f [USB MFP]) at libusb:002:002
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

2. or (just after having disconnected and reconneted the scanner usb cable from the pc)
giancarlo@giancarlo-laptop:~$ dmesg
that has displayed
[17181151.892000] usb 1-2: USB disconnect, address 4
[17181151.892000] drivers/usb/class/usblp.c: usblp0: removed
[17181154.080000] ohci_hcd 0000:00:03.0: wakeup
[17181154.464000] usb 1-2: new full speed USB device using ohci_hcd and address 5
[17181154.688000] usb 1-2: configuration #1 chosen from 1 choice
[17181154.724000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x04B8 pid 0x082F

to find vid 0x04B8 (that is the vendor id) and pid 0x082F (that is the product id).

Then I have typed
giancarlo@giancarlo-laptop:~$ lsusb
that has displayed
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 002: ID 04b8:082f Seiko Epson Corp.
Bus 002 Device 001: ID 0000:0000

to get Bus and Device values of the device with the same Vendor and Product Ids.
Then I have written them in this command (the last 2 values)

giancarlo@giancarlo-laptop:~$ sudo chmod 660 /proc/bus/usb/001/002

I have run
giancarlo@giancarlo-laptop:~$ scanimage -L
that has correctly identified the scanner.
device `epson:libusb:001:005' is a Epson CX4000 flatbed scanner

Then I have restarted Ubuntu and run xSane: it works

Revision history for this message
williamts99 (williamts99) said :
#3

Glad you got it working, and thank you very much for marking your support request as answered. I know that it might not seem like a big deal, but it sure does help us a lot.

Thank you very much for helping us help you.

Williamts99

Revision history for this message
rhinokitty (rhinokitty) said :
#4

Will this fix work on Edgy for other printer/scanners as well? I have a cx5400 with the exact same problem.

Revision history for this message
Lorenzo De Tomasi (lorenzo-detomasi) said :
#5

I have installed Ubuntu 7.10 and the scanner has not been recognized.

I have solved it in the terminal, with:

#sudo gedit /etc/udev/rules.d/45-libsane.rules

at # Epson Stylus DX3850 or DX4000, verify if the {idVendor}=="04b8" and {idProduct}=="082f" values with the ones found above, or

add this lines near the bottom of the file above LABEL="libsane_rules_end"

# Epson Stylus DX4050
SYSFS {idVendor}=="04b8", SYSFS{idProduct}=="082f", MODE="664",
GROUP= "scanner"

(I had "0818" in spite of "082f")

save it

reboot or run

# sudo /etc/init.d/udev restart

after this just reboot or
Code:

# sudo /etc/init.d/udev restart