Bug#774460: hplip: missing file parameter for attr & unable to find [s{product}] support-type in .../hplip/data/models/models.dat
Package: hplip
Version: 3.12.6-3.1+deb7u1
Severity: important
Upon installing this package on a wheezy system, an already properly
configured printer began to malfunction. I received the following
messages in syslog:
Jan 2 18:29:04 puggington kernel: [ 2822.256130] usb 2-1: new high-speed USB device number 16 using ehci_hcd
Jan 2 18:29:04 puggington kernel: [ 2822.388961] usb 2-1: New USB device found, idVendor=03f0, idProduct=5417
Jan 2 18:29:04 puggington kernel: [ 2822.388970] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 2 18:29:04 puggington kernel: [ 2822.388977] usb 2-1: Product: HP Color LaserJet CP2025dn
Jan 2 18:29:04 puggington kernel: [ 2822.388983] usb 2-1: Manufacturer: Hewlett-Packard
Jan 2 18:29:04 puggington kernel: [ 2822.388988] usb 2-1: SerialNumber: 00CNGS705379
Jan 2 18:29:04 puggington kernel: [ 2822.390346] usblp0: USB Bidirectional printer dev 16 if 0 alt 0 proto 2 vid 0x03F0 pid 0x5417
Jan 2 18:29:04 puggington udevd[25370]: missing file parameter for attr
Jan 2 18:29:04 puggington mtp-probe: checking bus 2, device 16: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1"
Jan 2 18:29:04 puggington mtp-probe: bus: 2, device: 16 was not an MTP device
Jan 2 18:29:04 puggington hp-mkuri: io/hpmud/model.c 625: unable to find [s{product}] support-type in /usr/share/hplip/data/models/models.dat
Jan 2 18:25:19 puggington kernel: [ 2596.528574] usblp0: removed
Jan 2 18:25:19 puggington kernel: [ 2596.535273] usblp0: USB Bidirectional printer dev 12 if 0 alt 0 proto 2 vid 0x03F0 pid 0x5417
Jan 2 18:25:24 puggington kernel: [ 2601.727506] usblp0: removed
Jan 2 18:25:24 puggington kernel: [ 2601.733244] usblp0: USB Bidirectional printer dev 12 if 0 alt 0 proto 2 vid 0x03F0 pid 0x5417
[last two lines repeat ever 15 seconds or so until unplugged]
I was able to solve the problem with the following commands:
# dpkg --purge hplip
# dpkg --purge system-config-printer-udev
# aptitude install system-config-printer-udev
which is why I believe hplip package is to blame.
I have a similarly configured system with the same printer. The primary
differences is the system is amd64 and hplip is on version 3.12.6-3.1
and all is well there, which is why I believe this relates to version
3.12.6-3.1+deb7u1 specifically.
-- System Information:
Debian Release: 7.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages hplip depends on:
ii adduser 3.113+nmu3
ii coreutils 8.13-3.5
ii cups 1.5.3-5+deb7u4
ii hplip-data 3.12.6-3.1+deb7u1
ii libc6 2.13-38+deb7u6
ii libcups2 1.5.3-5+deb7u4
ii libdbus-1-3 1.6.8-1+deb7u5
ii libhpmud0 3.12.6-3.1+deb7u1
ii libsane 1.0.22-7.4
ii libsane-hpaio 3.12.6-3.1+deb7u1
ii libsnmp15 5.4.3~dfsg-2.8+deb7u1
ii libssl1.0.0 1.0.1e-2+deb7u13
ii libusb-1.0-0 2:1.0.11-1
ii lsb-base 4.1+Debian8+deb7u1
ii policykit-1 0.105-3
ii printer-driver-hpcups 3.12.6-3.1+deb7u1
ii python 2.7.3-4+deb7u1
ii python-dbus 1.1.1-1
ii python-gobject-2 2.28.6-10
ii python-imaging 1.1.7-4+deb7u1
ii python-pexpect 2.4-1
ii python-reportlab 2.5-1.1
ii wget 1.13.4-3+deb7u2
Versions of packages hplip recommends:
ii avahi-daemon 0.6.31-2
ii sane-utils 1.0.22-7.4
Versions of packages hplip suggests:
pn hplip-doc <none>
pn hplip-gui <none>
ii python-notify 0.1.1-3
pn system-config-printer <none>
--
-- bkuhn
Reply to: