Package: hplip Version: 3.11.1-3 Severity: normal
I have a HP Photosmart D110a wireless printer and in the process of getting it working across subnets, noticed the following: 1) the printer reports it's hostname name as Adriana.local (note the capital) 2) using hp-toolbox to setup the printer using Bonjour/mDNS is successful, however printing the test page fails as does scanning. The logs show: May 30 04:32:17 daniloth hpijs[28698]: io/hpmud/jd.c 800: mdns lookup Adriana.local retry 1... May 30 04:32:17 daniloth hp[28661]: io/hpmud/jd.c 800: mdns lookup Adriana.local retry 1... May 30 04:32:17 daniloth hp[28661]: io/hpmud/jd.c 334: unable to connect to print port 9100: Connection refused hp:/net/Photosmart_D110_series?zc=Adriana May 30 04:32:17 daniloth hp[28661]: prnt/backend/hp.c 768: ERROR: cannot open channel PRINT May 30 04:32:17 daniloth python: io/hpmud/jd.c 790: error mdns lookup Adriana.local: bad hostname in reply from ip=192.168.173.62 port=5353 3) The ports are open, and I can even telnet adriana.local 9100 and type arbitrary text, and when I close the telnet session it's printed. So it's not firewall/routing/etc issue. 4) Using manual discovery and using adriana (lowercase) doesn't help, but if instead of a hostname I use the IP of the printer (so hp:/net/Photosmart_D110_series?zc=192.168.199.22) printing and scanning work. 5) Bonjour/avahi is working correctly for other services I use. My guess at this point is that the capital letter in the printer's hostname (even though the hostname as entered/seen in the web interface is lowercase, except that the Bonjour information (which can't be changed) shows the Adriana.local) break HPLIP's mDNS code. -- Package-specific info: warning: Version: (cups-config) Not available. Unable to determine installed version of CUPS.) warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly. HP Linux Imaging and Printing System (ver. 3.11.1) Dependency/Version Check Utility ver. 14.3 Copyright (c) 2001-9 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 daniloth 2.6.38-2-amd64 #1 SMP Sun May 8 13:51:57 UTC 2011 x86_64 GNU/Linux Distribution: debian stable-updates Checking Python version... OK, version 2.6.6 installed Checking PyQt 4.x version... OK, version 4.8.3 installed. Checking for CUPS... Status: scheduler is running error_log is set to level: warn Checking for dbus/python-dbus... dbus daemon is running. python-dbus version: 0.83.2 ------------------------ | RUNTIME DEPENDENCIES | ------------------------ Checking for dependency: CUPS - Common Unix Printing System... OK, found. Checking for dependency: CUPS DDK - CUPS driver development kit... Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer... OK, found. Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)... OK, found. Checking for dependency: PolicyKit - Administrative policy framework... OK, found. Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4... OK, found. Checking for dependency: Python DBus - Python bindings for DBus... OK, found. Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications... 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: Reportlab - PDF library for Python... OK, found. Checking for dependency: SANE - Scanning library... 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.11.1 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.11.1 [dirs] home=/usr/share/hplip run=/var/run ppd=/usr/share/ppd/hplip/HP ppdbase=/usr/share/ppd/hplip 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 hpijs-install=yes foomatic-drv-install=yes foomatic-ppd-install=yes foomatic-rip-hplip-install=no hpcups-install=yes cups-drv-install=yes cups-ppd-install=no internal-tag=3.11.1.19 restricted-build=no ui-toolkit=qt4 qt3=no qt4=yes policy-kit=yes hpijs-only-build=no lite-build=no udev-acl-rules=yes hpcups-only-build=no hpijs-only-build=no Current contents of '/var/lib/hp/hplip.state' file: # hplip.state - HPLIP runtime persistent variables. [plugin] installed=0 eula=0 Current contents of '~/.hplip/hplip.coerror: 1 error or warning. nf' file: [last_used] printer_name = Photosmart_D110 working_dir = . device_uri = "hp:/net/Photosmart_D110_series?ip=192.168.169.60" [commands] scan = /usr/bin/xsane -V %SANE_URI% [installation] date_time = 05/30/11 06:33:52 version = 3.11.1.19 [settings] systray_messages = 0 systray_visible = 0 [fax] email_address = voice_phone = [refresh] rate = 30 enable = false type = 1 [polling] enable = false device_list = interval = 5 -------------------------- | DISCOVERED USB DEVICES | -------------------------- Device URI Model ------------------------------------------ ------------------------- hp:/usb/Officejet_J4500_series?serial=CN9C HP Officejet J4500 series HD31FB052T --------------------------------- | INSTALLED CUPS PRINTER QUEUES | --------------------------------- Officejet-J4500-series ---------------------- Type: Printer Device URI: hp:/usb/Officejet_J4500_series?serial=CN9CHD31FB052T PPD: /etc/cups/ppd/Officejet-J4500-series.ppd PPD Description: HP Officejet j4500 Series, hpcups 3.11.1 Printer status: printer Officejet-J4500-series is idle. enabled since Sat May 7 16:25:20 2011 Communication status: Good Officejet-J4500-series-Fax -------------------------- Type: Fax Device URI: hpfax:/usb/Officejet_J4500_series?serial=CN9CHD31FB052T PPD: /etc/cups/ppd/Officejet-J4500-series-Fax.ppd PPD Description: HP Fax hpcups Printer status: printer Officejet-J4500-series-Fax is idle. enabled since Sat May 7 16:25:20 2011 Communication status: Good Photosmart_D110 --------------- Type: Printer Device URI: hp:/net/Photosmart_D110_series?ip=192.168.169.60 PPD: /etc/cups/ppd/Photosmart_D110.ppd PPD Description: HP Photosmart d110 Series hpijs, 3.11.1 Printer status: printer Photosmart_D110 is idle. enabled since Mon May 30 06:20:04 2011 ready to print Communication status: Good ---------------------- | SANE CONFIGURATION | ---------------------- 'hpaio' in '/etc/sane.d/dll.conf'... 'hpaio' in '/etc/sane.d/dll.d/hplip'... OK, found. SANE backend 'hpaio' is properly set up. Checking output of 'scanimage -L'... device `v4l:/dev/video0' is a Noname UVC Camera (046d:0804) virtual device device `hpaio:/usb/Officejet_J4500_series?serial=CN9CHD31FB052T' is a Hewlett-Packard Officejet_J4500_series all-in-one device `hpaio:/net/Photosmart_D110_series?ip=192.168.169.60' is a Hewlett-Packard Photosmart_D110_series all-in-one --------------------- | 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 0x2a12 at 001:003: Device URI: hp:/usb/Officejet_J4500_series?serial=CN9CHD31FB052T Device node: /dev/bus/usb/001/003 Mode: 0664 getfacl: Removing leading '/' from absolute path names # file: dev/bus/usb/001/003 # owner: root # group: lp user::rw- user:daniel:rw- group::rw- mask::rw- other::r-- --------------- | USER GROUPS | --------------- daniel adm lp dialout cdrom floppy audio dip video plugdev games users netdev lpadmin fuse powerdev scanner kvm wireshark winshare nogroup User member of group 'lp'. Enables print/ scan/ fax. User member of group 'lpadmin'. ----------- | SUMMARY | ----------- Please refer to the installation instructions at: http://hplip.sourceforge.net/install/index.html Done. -- System Information: Debian Release: wheezy/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (100, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages hplip depends on: ii adduser 3.112+nmu2 add and remove users and groups ii coreutils 8.5-1 GNU core utilities ii cups 1.4.6-5 Common UNIX Printing System(tm) - ii cups-client 1.4.6-5 Common UNIX Printing System(tm) - ii hplip-cups 3.11.1-3 HP Linux Printing and Imaging - CU ii hplip-data 3.11.1-3 HP Linux Printing and Imaging - da ii libc6 2.13-4 Embedded GNU C Library: Shared lib ii libcups2 1.4.6-5 Common UNIX Printing System(tm) - ii libdbus-1-3 1.4.8-3 simple interprocess messaging syst ii libhpmud0 3.11.1-3 HP Multi-Point Transport Driver (h ii libsane 1.0.22-2 API library for scanners ii libsane-hpaio 3.11.1-3 HP SANE backend for multi-function ii libssl1.0.0 1.0.0d-2 SSL shared libraries ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip ii policykit-1 0.101-4 framework for managing administrat ii python 2.6.6-14 interactive high-level object-orie ii python-dbus 0.83.2-1 simple interprocess messaging syst ii python-imaging 1.1.7-2+b1 Python Imaging Library ii python-pexpect 2.3-1 Python module for automating inter ii python-support 1.0.13 automated rebuilding support for P ii wget 1.12-3.1 retrieves files from the web Versions of packages hplip recommends: ii avahi-daemon 0.6.30-3 Avahi mDNS/DNS-SD daemon ii sane-utils 1.0.22-2 API library for scanners -- utilit Versions of packages hplip suggests: ii hplip-doc 3.11.1-3 HP Linux Printing and Imaging - do ii hplip-gui 3.11.1-3 HP Linux Printing and Imaging - GU ii python-notify 0.1.1-2+b3 Python bindings for libnotify ii system-config-printer 1.2.3-3 graphical interface to configure t -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org