Quote:
Originally Posted by einartysk
I have Ubuntu 10.04 LTS and need a driver for Driver for HP 3370 digital flatskanner. With earlier Ubuntu versions I could always use this scanner but not now.
Thanks for tips.
einartysk
|
Hi,
I found this on the net but am for dumb to understand it:
already the first sentence: unpack SANE driver as root to /usr/lib/sane
I don't get it. Have I to open terminal? Putting in what?
Well - here is the paper I found. Maybe somebody could explain it to me in plain English. Thanks
This is the HP 3770 SANE driver for Linux
Installation:
Installation is manual.
Unpack the hp3770 SANE driver (as root) to /usr/lib/sane:
# cd /
# tar -xvzf /..../hp3770.tgz
Note: /README file left in root directory
Unpack the modified SANE library to /usr/lib/sane:
# cd /
# tar -xvzf /..../libsane.tgz
libsane.so Modification
IF YOU UNPACKED THE MODIFIED SANE LIBRARY ABOVE, YOU CAN SKIP THIS STEP
libsane-hp3770.so is a SANE driver that contains only HP-authored code.
The HP driver contains calls to libsane.so. Unfortunately, libsane.so
lacks the sanei_usb module. To add this module,
1) Obtain the SANE distribution from
www.sane-project.org.
2) add "sanei_usb.lo" to the "EXTRA" line in backend/Makefile.in:
diff -e backend/Makefile.in ../sane-backends-1.0.13.hp/backend/Makefile.in
71c
EXTRA = sane_strstatus.lo ../sanei/sanei_init_debug.lo ../sanei/sanei_config.lo ../sanei/sanei_usb.lo
.
3) follow the SANE README build and instructions. This sequence of
instructions appears to install in /etc/sane.d and /usr/lib:
cd sane-backends-1.0.13
configure --prefix=/usr --sysconfdir=/etc
make
su
make install
SANE DLL configuration:
The hp3770 SANE backend will be loaded by the SANE dll by adding "hp3770"
to /etc/sane.d/dll.conf. SANE initializaion is much faster if unneeded
backend modules in dll.conf are commented out.
See Also: man 5 sane-dll
USB Configuration
The hp3770 SANE backend uses libusb (Linux kernel 2.4.19 and later).
After USB finds the scanner, it should appear somewhere under
/proc/bus/usb. Be sure you have read/write permissions set correctly.
"sane-find-scanner" should find the hp3770 once it is properly connected.
The scanner's device name depends on how USB assigns it. If, for
example, the scanner appears as /proc/bus/usb/001/005, then specify
"hp3770:libusb:001:005" as the SANE device name.
See Also: man 5 sane-usb
Features:
Scan modes: color, monochrome (greyscale), and lineart (black & white).
Scan depths (bits per color channel): 1, 8, 16
Scan resolutions (dpi) in x direction: 200, 300, 600, 1200
Scan resolutions (dpi) in y direction: 200, 300, 600, 1200, 2400
Scan area specified in top-left and bottom-right coordinates.
These features are exposed through well known SANE options:
optCount Return option count
optTLX, optTLY, optBRX, optBRY scan area
resolution, x_resolution, y_resolution scan dpi
optMode color, monochrome, lineart
optDepth bits per color channel
See Also:
SANE API Specification -
http://www.sane-project.org/html/doc000.html
Limitations:
This driver is beta software. Bug reports, comments, and suggestions
are welcome.
Scanning of slides or negatives is not implemented.
Buttons are not supported.