Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Installation of scanner - SANE

Got problems with your B2 or B3? Share and get helped!
Post Reply
janeks
Posts: 78
Joined: 15 Sep 2008, 02:02

Installation of scanner - SANE

Post by janeks »

Hi!

I have managed to on Bubba my HP Deskjet F2180 multifuncional printer.
But of course I would like to use his scanning abilities too - i.e. use it
like network scanner.

So I succesfuly compiled and installed Sane backends.

So where I am now:

scanimage -L
gives me "No scanners were identified..."

while
sane-find-scanner
gives:

Code: Select all

found USB scanner (vendor=0x03f0 [HP], product=0x7d04 [Deskjet F2100 
series]) at libusb:001:010
cat /proc/bus/usb/devices
shows:

Code: Select all

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 10 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=03f0 ProdID=7d04 Rev= 1.00
S:  Manufacturer=HP
S:  Product=Deskjet F2100 series
S:  SerialNumber=CN7954Q1SN04TK
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=cc Prot=00 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=03(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=84(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=07(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=87(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=88(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 2 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=d4 Prot=00 Driver=(none)
E:  Ad=07(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=87(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=88(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
but
cat /proc/bus/usb/drivers
no such file or directory

I have also hplip installed with apt-get but it does not change anything.

I tried intsallation from http://hplipopensource.com, but it fails:

Choose custom and accepted all defaults except GUI.
Installer told problems:

Code: Select all

Copyright (c) 2001-8 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Fri-03-Oct-2008_22:41:18.log
                                                                             
                  |
note: Defaults for each question are maked with a '*'. Press <enter> to 
accept the default.


INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common 
options.
Custom mode allows you to chose installation options to fit specific 
requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : c

Initializing. Please wait...

INSTALL TYPE
------------
For most users, it is recommended to install HPLIP with full support 
(scanning, faxing, toolbox, etc).
For servers or minimal installations, you can also install print support 
only (HPIJS only).

Install full hplip support (recommended) or print-only support (f=full hplip 
support*, p=printing only support, q=quit) ?


INTRODUCTION
------------
This installer will install HPLIP version 2.8.9 on your computer.
Please close any running package management systems now (YaST, Adept, 
Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Debian 4.0.

Is "Debian 4.0" your correct distro/OS and version (y=yes*, n=no, q=quit) ?


SELECT HPLIP OPTIONS
--------------------
You can select which HPLIP options to enable. Some options require extra 
dependencies.

Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'Graphical User Interfaces (GUIs)' (y=yes*, n=no, 
q=quit) ? n
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'Parallel I/O (LPT)' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ?


ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password: 
Password accepted


INSTALLATION NOTES
------------------
Be sure to disable the CD-ROM repositories and also ensure that the 
main/security repositories are enabled.

Please read the installation notes. Press <enter> to continue or 'q' to 
quit:


RUNNING PRE-INSTALL COMMANDS
----------------------------


INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
warning: There are 6 missing OPTIONAL dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency for option 'fax': python-ctypes 
(python-ctypes - A foreign function library for Python)
warning: This installer cannot install 'python-ctypes' for your distro/OS 
and/or version.
warning: Option 'fax' has been turned off.
warning: Missing REQUIRED dependency for option 'fax': python-dbus 
(python-dbus - Python bindings for dbus)
warning: This installer cannot install 'python-dbus' for your distro/OS 
and/or version.
warning: Option 'fax' has been turned off.
warning: Missing OPTIONAL dependency for option 'fax': reportlab 
(Reportlab - PDF library for Python)

Would you like to have this installer install the missing dependency 
(y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency for option 'fax': dbus (dbus - Message 
bus system)
warning: This installer cannot install 'dbus' for your distro/OS and/or 
version.
warning: Option 'fax' has been turned off.
warning: Missing OPTIONAL dependency for option 'scan': xsane (xsane - 
Graphical scanner frontend for SANE)

Would you like to have this installer install the missing dependency 
(y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency for option 'parallel': ppdev (ppdev - 
Parallel port support kernel module.)

Would you like to have this installer install the missing dependency 
(y=yes*, n=no, q=quit) ?
warning: Missing OPTIONAL dependency for option 'base': cups-ddk (cups-ddk - 
CUPS driver development kit)
warning: This installer cannot install 'cups-ddk' for your distro/OS and/or 
version.


CHECKING FOR NETWORK CONNECTION
-------------------------------  
Network connection present.


RUNNING PRE-PACKAGE COMMANDS
----------------------------  
su -c "dpkg --configure -a" (Pre-depend step 1) 
su -c "apt-get install -f" (Pre-depend step 2) 
su -c "apt-get update" (Pre-depend step 3)
warning: An error occurred running 'gnome-terminal -x su -c "apt-get 
install --yes cupsys-bsd"'
gnome-terminal -x su -c "apt-get install --yes cupsys-bsd" (Pre-depend step 
4)


DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'su -c "apt-get install --force-yes -y python-reportlab"'
Please wait, this may take several minutes... 
Running 'su -c "apt-get install --force-yes -y xsane"'
Please wait, this may take several minutes... 
Running 'su -c "modprobe ppdev"'
Please wait, this may take several minutes... 
error: Install command failed with error code 1
So I stopped at the same place:
"scanimage -L" found nothing while "sane-find-scanner" found ...
:-(

What else could be done?

Thanks in advance!
brgds
Janeks
Tompa
Posts: 81
Joined: 03 Feb 2007, 12:50

Post by Tompa »

I've done the same thing as you, and my result was exactly the same as well.

Using

Code: Select all

sane-find-scanner 
tells me that my scanner has been found but that it may or may not be supported. I guess it's not supported and thats why the actual scan-command doesn't work.

/Tomas
janeks
Posts: 78
Joined: 15 Sep 2008, 02:02

Post by janeks »

But I know that it is supported (in my case).
The backend name is hpaio.
But I am just begginer in Linux and I don't know what cold be done further.
:(
ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Post by ryz »

Are you trying to install it on a Bubba one or Bubba two? At least for bubba two libsane and libsane-extas is in the repositories so you can install it with "apt-get install libsane libsane-extras"

Are you running the command "scanimage -L" as root? If not you should first test by doing that.

For an user to be able to scan the user needs to belong to the scanner group.

I have successfully installed my all in one Epson Stylys Photo RX560 on Bubba. So I use my Bubba both as an Printer server and an scanner server to my Ubuntu box. I have plans to write an how to In the howtos section on what I did when I get some spare time.
janeks
Posts: 78
Joined: 15 Sep 2008, 02:02

Post by janeks »

Sounds promising!

I'll try to find time to test it in this way...

Thank's for your info!

Could you please drop here a link to how to when you will have it!

brgds
Janeks
ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Post by ryz »

janeks
Posts: 78
Joined: 15 Sep 2008, 02:02

Post by janeks »

I tried the described libsane-extras and sane-utils and I did also scanning as root, but I am stumped at the same place:
I have Sane and I have HPlip and the printer/scanner is in supported list, but scanimage -L does not detect it while sane-find-scanner detects.


:-(
Post Reply