Nothing finds the scanner - F4280

Asked by Glen Davidson

I just got the Deskjet F4280 and plugged it in. The printer part was pure plug-n-play. However, the scanner isn't recognized by Ubuntu. Xsane gives me:

no devices available

sane-find-scanner gives me:

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

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

  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.
  # SANE has been built without libusb support. This may be a reason
  # for not detecting USB scanners. Read README for more details.

  # Not checking for parallel port scanners.

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

Clicking the "scan" in hp-toolbox gives me:

Failed to open device: 'hpaio:/usb/Deskjet_F4200_series?serial=CN9585H26505BR':invalide argument

The F4280 prints find and it copies just fine too. I just can't get any scanning to find it.

I ran hp-check -t as I was doing some reading in older message here. It found some errors. I followed its recommendations to fix those dependencies. Here is the hp-check -t after:

HP Linux Imaging and Printing System (ver. 3.9.2)
Dependency/Version Check Utility ver. 14.1

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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP
supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to
successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package
(.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies
installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both
of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux glen-dell 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 9.04

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.6.2 installed

Checking PyQt 4.x version...
OK, version 4.4.4 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.9
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.9.2 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = Deskjet_F4213
device_uri = hp:/usb/Deskjet_F4200_series?serial=CN9585H26505BR

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  ------------------------------------ -----------------------
  hp:/usb/Deskjet_F4200_series?serial= HP Deskjet F4200 series
  CN9585H26505BR

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

Deskjet_F4213
-------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/Deskjet_F4200_series?serial=CN9585H26505BR
PPD: /etc/cups/ppd/Deskjet_F4213.ppd
PPD Description: HP Deskjet f4213 Series hpijs, hpijs 3.9.2.49 - HPLIP 3.9.2
Printer status: printer Deskjet_F4213 is idle. enabled since Wed 19 Aug 2009 06:10:36 PM CDT
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of '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).

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0x2504 at 001:007:
    Device URI: hp:/usb/Deskjet_F4200_series?serial=CN9585H26505BR
    Device node: /dev/bus/usb/001/007
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/007
# owner: root
# group: lp
user::rw-
user:glen:rw-
group::rw-
mask::rw-
other::r--

-----------
| SUMMARY |
-----------

No errors or warnings.

Done.

As you can see, I'm running Ubuntu 9.04. I installed this fresh - it was not upgraded.

Thanks for any help you can give,
Clyde

PS - I'm Glen brother setting this up for him.

Question information

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

Everything looks correct. Does the scanner work on a windows system?

Thanks.

Aaron

Revision history for this message
Glen Davidson (glen-a-davidson) said :
#2

I'll check on Saturday.

I'm also wondering if there is permission issues somewhere. I wonder if I reinstall Jaunty with the F4280 attached if that would matter.

Thanks,
Clyde

Revision history for this message
Glen Davidson (glen-a-davidson) said :
#3

I gave up on Ubuntu. It works fine under Windows XP. Permission setting didn't help either.

I chucked Ubuntu and installed openSUSE 11.1. With the F4280 plugged in, it was true plug-n-play in openSUSE; I didn't have to configure a thing.

I wonder if using KDE instead of Gnome in Ubuntu had anything to do with this. It just may have been using the KDE scan tools instead of xsane.

Clyde

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

Clyde,

We tested this with Ubuntu 9.04 and haven't been able to reproduce the problem.

Sorry for the inconvenience.

Aaron

Revision history for this message
Glen Davidson (glen-a-davidson) said :
#5

Yeah, I know. I've been reading in this forum and Ubuntu forums. It seems that the vast majority of Jaunty users have no problem with HPLIP in general and the F4280 in particular. As you said above, everything looked good with mine too. Still, it didn't work. Something was odd about my situation.

Luckily it's working just fine under HPLIP in openSUSE. Besides, I prefer the KDE of openSUSE to the Gnome in Ubuntu. Yeah, they both do the other too, but I like to stay with what a distro does best.

Thanks for your help,
Clyde

Revision history for this message
Akkana Peck (akkzilla) said :
#6

For the record, my F4280 doesn't work in 9.10 Karmic either. It's definitely a permission problem -- root sees the scanner, users (even in the "scanner" group) don't. I added the details to bug 121082. The udev rule tweaks that worked for my Epson scanner in past versions of Ubuntu don't seem to help in Karmic with this HP scanner.