Weirdness with hplip package in Debian wheezy

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2015/01/02/hplip-wheezy-problem.html

I suspect this information is of limited use because it’s far too vague.
I didn’t even file it as a Debian bug because I don’t think I have enough
information here to report a bug. It’s not dissimilar from the issues
reported
in Debian
bug 663868
, but the system in question doesn’t have foo2zjs
installed. So, I
filed Debian
Bug 774460
.

However, in searching around the Internet for the syslog messages below, I
found very few results. So, in the interest of increasing the indexing on
these error messages, I include the below:

        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 repeat until unplugged]
        

I really think the problem relates specifically to hplip
3.12.6-3.1+deb7u1, as I said in the bug report, the following commands
resolved the problem for me:

        # dpkg --purge hplip
        # dpkg --purge system-config-printer-udev
        # aptitude install system-config-printer-udev