[Hp5400backend-devel] Installation of the hp5400 backend under Suse Linux 8.0
Status: Alpha
Brought to you by:
soumarmt
From: Frank H. <fra...@un...> - 2003-04-04 10:56:17
|
HelloThomas, here is my discription of the installation process. Frank Installation of the hp5400 backend under Suse Linux 8.0: /**/ Download hp5400-sane-backend_20030304.tar.gz /**/ Download sane-backends-1.0.11 // Installation of sane-backends-1.0.11: Unpack sane-backends-1.0.11 (I normaly use ark (kde).): =09tar -xvzf sane-backends-1.0.11.tar.gz Set the directories like in Suse (otherwise read sane-backends-1.0.11/REA= DME): =09./configure --prefix=3D/usr --sysconfdir=3D/etc =09make =09make install (The preinstalled sane package must not be uninstalled. Then you have no=20 problems with rpm- dependencies.) // Installation of hp5400-sane-backend: Unpack hp5400-sane-backend_20030304.tar.gz: in same partition as /usr/lib/sane e.g.: =09tar -xvzC /usr/lib/sane -f hp5400-sane-backend_20030304.tar.gz=20 =09cd /usr/lib/sane/hp5400/ (or make install may not work and you have to copy after make: cp sane-hp5400.so /usr/lib/sane/libsane-hp5400.so.1) modify hp5400/Makefile (you have to insert the right path of course) (ned= it=20 Makefile): SANE_BACKEND_SRC=3D/home/frank/sane-backends-1.0.11 and SANE_LIBS_DIR=3D/usr/lib/sane =09make =09make install Modify hp5400.conf (nedit hp5400.conf): #Linux: /dev/usbscanner cp hp5400.conf /etc/sane.d Add line in dll.conf (nedit /etc/sane.d/dll.conf): hp5400 Check if /dev/usbscanner exists: =09ls /dev/usb* Check if the "scanner" kernel module is loaded: =09lsmod usbcore 55136 1 [scanner usb-ohci] scanner 8480 0=20 If not add in /etc/modules.conf: alias /dev/usbscanner scanner options scanner vendor=3D0x3f0 product=3D0x1105 =09modprobe scanner For more convenience (module loaded at bootup) add in /etc/init.d/boot.lo= cal: modprobe scanner Checks: Scanner attached to the usbport?: =09lsusb Scanner recognised by sane?: =09sane-find-scanner Scanner supported by sane: =09scanimage -L If sane-find-scanner finds the scanner and scanimage not, try =09scanimage -d hp5400:/dev/usbscanner > out.pnm =09(check the image with "gimp out.pnm" e.g.) or =09xsane hp5400:/dev/usbscanner If this works something is wrong with /etc/sane.d/dll.conf or=20 /etc/sane.d/hp5400.conf. Frank Heuser fra...@un... hp5...@li... |