c4385 no scanning

Asked by yazdzik

Dear Friends,

        Printer is perfect, scanner is dead.

        setup returns folloiwng:
        HP Linux Imaging and Printing System (ver. 2.7.10)
        Printer/Fax Setup Utility ver. 3.1

        Copyright (c) 2003-6 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.

        0
        Session management error: Authentication Rejected, reason : None of the
        authentication protocols specified are supported and host-based
        authentication failed
        error: <b>No devices found.</b><p>Please make sure your printer is
        properly connected and powered-on.
        Traceback (most recent call last):
          File "/usr/lib/hplip/ui/setupform.py", line 211, in showPage
            self.setupPrinter()
          File "/usr/lib/hplip/ui/setupform.py", line 726, in setupPrinter
            installed_print_devices = device.getSupportedCUPSDevices(['hp'])
          File "/usr/lib/hplip/base/device.py", line 298, in
        getSupportedCUPSDevices
            back_end, is_hp, bus, model, serial, dev_file, host, port = \
          File "/usr/lib/hplip/base/device.py", line 364, in parseDeviceURI
            m = pat_deviceuri.match(device_uri)
        TypeError: function takes exactly 6 arguments (5 given)
        Traceback (most recent call last):
          File "/usr/lib/hplip/ui/setupform.py", line 211, in showPage
            self.setupPrinter()
          File "/usr/lib/hplip/ui/setupform.py", line 726, in setupPrinter
            installed_print_devices = device.getSupportedCUPSDevices(['hp'])
          File "/usr/lib/hplip/base/device.py", line 298, in
        getSupportedCUPSDevices
            back_end, is_hp, bus, model, serial, dev_file, host, port = \
          File "/usr/lib/hplip/base/device.py", line 364, in parseDeviceURI
            m = pat_deviceuri.match(device_uri)
        TypeError: function takes exactly 6 arguments (5 given)
        Traceback (most recent call last):
          File "/usr/lib/hplip/ui/setupform.py", line 211, in showPage
            self.setupPrinter()
          File "/usr/lib/hplip/ui/setupform.py", line 726, in setupPrinter
            installed_print_devices = device.getSupportedCUPSDevices (['hp'])
          File "/usr/lib/hplip/base/device.py", line 298, in
        getSupportedCUPSDevices
            back_end, is_hp, bus, model, serial, dev_file, host, port = \
          File "/usr/lib/hplip/base/device.py", line 364, in parseDeviceURI
            m = pat_deviceuri.match(device_uri)
        TypeError: function takes exactly 6 arguments (5 given)
        Traceback (most recent call last):
          File "/usr/lib/hplip/ui/setupform.py", line 211, in showPage
             self.setupPrinter()
          File "/usr/lib/hplip/ui/setupform.py", line 726, in setupPrinter
            installed_print_devices = device.getSupportedCUPSDevices(['hp'])
          File "/usr/lib/hplip/base/device.py", line 298, in
        getSupportedCUPSDevices
            back_end, is_hp, bus, model, serial, dev_file, host, port = \
          File "/usr/lib/hplip/base/device.py", line 364, in parseDeviceURI
            m = pat_deviceuri.match(device_uri)
        TypeError: function takes exactly 6 arguments (5 given)
        Traceback (most recent call last):
          File "/usr/lib/hplip/ui/setupform.py", line 211, in showPage
            self.setupPrinter()
          File "/usr/lib/hplip/ui/setupform.py", line 726, in setupPrinter
            installed_print_devices = device.getSupportedCUPSDevices(['hp'])
          File "/usr/lib/hplip/base/device.py", line 298, in
        getSupportedCUPSDevices
            back_end, is_hp, bus, model, serial, dev_file, host, port = \
          File "/usr/lib/hplip/base/device.py", line 364, in parseDeviceURI
            m = pat_deviceuri.match(device_uri)
        TypeError: function takes exactly 6 arguments (5 given)
        Traceback (most recent call last):
          File "/usr/lib/hplip/ui/setupform.py", line 211, in showPage
            self.setupPrinter()
          File "/usr/lib/hplip/ui/setupform.py", line 726, in setupPrinter
            installed_print_devices = device.getSupportedCUPSDevices (['hp'])
          File "/usr/lib/hplip/base/device.py", line 298, in
        getSupportedCUPSDevices
            back_end, is_hp, bus, model, serial, dev_file, host, port = \
          File "/usr/lib/hplip/base/device.py", line 364, in parseDeviceURI
            m = pat_deviceuri.match(device_uri)

        More imnportant:

        root@grmllap1 ~ # hp-scan

        HP Linux Imaging and Printing System (ver. 2.7.10)
        Scan Utility ver. 0.5

        Copyright (c) 2001-7 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.

        warning: No destinations specified. Adding 'file' destination by default.
        warning: File destination enabled with no output file specified.
        Setting output format to JPEG for color/lineart mode.
        warning: Defaulting to '/root/hpscan001.jpg'.
        error: Scanning disabled in build. Exiting

        Scanner found -
        found USB scanner (vendor=0x03f0 [HP], product=0x6611 [Photosmart C4380
        series]) at libusb:005: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.

        Any ideas?

        Best,
        M

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Albright
Solved:
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

M,

Can you open a terminal shell and run 'hp-check' and then post the output?

Thanks!

A

Revision history for this message
Best Aaron Albright (albrigha-deactivatedaccount) said :
#2

M,

Actually it looks like hplip was installed with scanning support disabled; "error: Scanning disabled in build. Exiting ".

You'll want to uninstall hplip, in the hplip source directory run;
sudo make uninstall

and re-install ensuring that scanning support is enabled--which it is if you choose the automatic install process.

Hope this helps!

A

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

Thanks Aaron Albright, that solved my question.

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

Dear Friends, for the record, in case someone arrives here via google:

Do not use apt-get to install hplip 2.7.10 assuming apt will get the dependencies for scanning and network.

It is necessary to nave the snmp development files and sane development files already installed before one runs the installer.

I use trial and error method after Aaron showed me the way, and the dependencies were listed in the warnings.

I suspect, alhough I did not try it, that if the devel files were already installed, one could just apt-get the 2.7.10 after having installed the devel files first.

Thanks Aaron for all your help, and, yes, the c4385 works perfectly, scans, and copies from linux over the wireless network, so whoever writes the linuxprinting list should show it as working perfectly.

Very best wishes and thanks,

Martin