PDA

View Full Version : Try to scan with Knoppix : I'm desesperate ! Help...



TOM
11-04-2003, 04:32 PM
Hi,

:evil: I spend days trying to run a scanner on Knoppix.

I had a great Agfa SnapScan 1236 Scsi with a board Scsi Tekram. I could't make it work (width Linux, but with Windows 98se, it worked fine). I was told that the problem was the Scsi board. So I gave the scanner and board to my brother, and I bought an Epson Stylus CX5400 Usb (printer/scanner).

But I can't run it, I'm desesperate ! (But the printer part works well)


Here is the technical stuff :

Knoppix 3.2
Noyau 2.4.20

Linux version 2.4.20-xfs (root@Knoppix) (gcc version 2.95.4 20011002 (Debian pre
release)) #1 SMP Mit Mär 26 15:37:36 CET 2003

sane-find-scanner


# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04b8, product=0x0808) at libusb:002:002
found USB scanner (vendor=0x0915, product=0x8000) at libusb:001:003
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.

# 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.





scanimage -L


No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).


I add Usb support in /etc/fstab :

none /proc/bus/usb usbdevfs defaults 0 0


I tryed to remove Sane (root) :

apt-get remove sane*

and I renamed all files/folders sane* that were still on the hard drive,

then I installed sane (root) :

apt-get install sane-utils xsane

I copied the olders files into /etc/sane.d :

/etc/sane.d/dll.conf :


# /etc/sane.d/dll.conf - Configuration file for the SANE dynamic backend loader
#
# See the end of this file for information on some specific backends.
epson



/etc/sane.d/epson.conf


# epson.conf
#
# here are some examples for how to configure the EPSON backend
#
# SCSI scanner:
# scsi EPSON
#
# Parallel port scanner:
#pio 0x278
#pio 0x378
#pio 0x3BC
#
# USB scanner - only enable this if you have an EPSON scanner. It could
# otherwise block your non-EPSON scanner from being
# recognized.
# Depending on your distribution, you may need either the
# first or the second entry.
#usb /dev/usbscanner0
usb /dev/usb/scanner0


I don't know what more to do. I don't understant anything about frontend backend all the configuration files Sane.

Well, I need precise help. I read FAQ, how-to, web pages...

And each time I do apt-get, I get :


perl: warning: Please check that your locale settings:
LANGUAGE = "fr",
LC_ALL = "FR_fr",
LANG = "fr"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
install/a2ps: Handling install for emacsen flavor emacs21
Symbol's function definition is void: debian-startup
emacs-package-install: /usr/lib/emacsen-common/packages/install/a2ps emacs21 emacs21 failed at /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1.
dpkg: error processing a2ps (--configure):
subprocess post-installation script returned error exit status 29
Errors were encountered while processing:
a2ps
E: Sub-process /usr/bin/dpkg returned an error code (1)


Here is my usbview :

USB UHCI Root Hub
- USB MFP


USB MFP
Manufacturer: EPSON
Serial Number: RE0100308111544540
Speed: 12Mb/s (full)
USB Version: 1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 04b8
Product Id: 0808
Revision Number: 1.00

Config Number: 1
Number of Interfaces: 2
Attributes: c0
MaxPower Needed: 2mA

Interface Number: 0
Name: (none)
Alternate Number: 0
Class: ff(vend.)
Sub Class: 0
Protocol: 0
Number of Endpoints: 2

Endpoint Address: 81
Direction: in
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms

Endpoint Address: 02
Direction: out
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms

Interface Number: 1
Name: usblp
Alternate Number: 0
Class: 07(print)
Sub Class: 1
Protocol: 2
Number of Endpoints: 2

Endpoint Address: 04
Direction: out
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms

Endpoint Address: 83
Direction: in
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms


Thanks for helping,
TOM.

jakemsr
11-19-2003, 03:12 AM
If you still haven't gotten the cx5400 scanner to work, you should check out the user notes at http://www.linuxprinting.org/show_printer.cgi?recnum=Epson-Stylus_CX5200

Let me know if this woks for you!

Casillux
11-21-2003, 12:22 AM
Hello,
I've bought the Epson CX 5400 two days ago, and I've found a simple way to make it work, so I hope it will help :

Install the last version of sane (and related packages).
Then go to http://www.epkowa.co.jp/english/linux_e/lsd_e.html or directly to http://www.epkowa.co.jp/english/linux_e/DL1_scan_e.html

and download the last drivers from epson. Don't worry about the selection of model, you can choose any scanner model because the driver downloaded is the same. Install that driver.

You've done the most difficult part.

Now :
:> modprobe scanner vendor=0x04b8 product=0x0808

and now it works :
launch xsane and enjoy.

To make the module loaded at boot time edit
/etc/module.conf and add theses lines

alias /dev/usb/scanner0 scanner
options scanner vendor=0x04b8 product=0x0808


I hope this will help.