Need to restart hplip service to use HP c3100

Bug #81477 reported by Luca Ferretti
2
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Invalid
Undecided
Pascal De Vuyst

Bug Description

Binary package hint: hplip

I bought a new HP Photosmart C3170 (C3100 series - all-in-one scanner+printer+card_reader). It works fine using hpijs/hplip stuff. It's supported by hplip >= 1.6.6.

Unfortunately it seems that drivers ignore the device if I turn it on after the bootstrap. Example:
  1. Turn on the system
  2. Log in and start session
  3. Turn on HP Photosmart C3170
  4. run `scanimage -L` and/or xsane

Results: no scanner found.

The workaround is restart hplip service (`/etc/init.d/hplip restart`) after step 3 and before step 4. I've added an udev rule to run it automatically, but this is not the best solution for non-geek people :-)

Same issue should occur in printing using the HP cups backend.

Revision history for this message
Luca Ferretti (elle.uca) wrote :
Download full text (15.6 KiB)

luca@redrum:~$ hp-info

HP Linux Imaging and Printing System (ver. 1.6.9)
Device Information Utility ver. 3.4

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.

Using device: hp:/usb/Photosmart_C3100_series?serial=MY68UC617204KV

hp:/usb/Photosmart_C3100_series?serial=MY68UC617204KV

Device Parameters (dynamic data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  3bit-status-code 24
  3bit-status-name NoFault
  agent1-ack False
  agent1-desc Black cartridge
  agent1-dvc 16150
  agent1-health 0
  agent1-health-desc Good/OK
  agent1-hp-ink False
  agent1-id 15
  agent1-kind 3
  agent1-known False
  agent1-level 90
  agent1-level-trigger 0
  agent1-sku 92
  agent1-type 1
  agent1-virgin True
  agent2-ack False
  agent2-desc Tri-color cartridge
  agent2-dvc 5820
  agent2-health 0
  agent2-health-desc Good/OK
  agent2-hp-ink False
  agent2-id 17
  agent2-kind 3
  agent2-known False
  agent2-level 90
  agent2-level-trigger 0
  agent2-sku 93 ...

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

> Same issue should occur in printing using the HP cups backend.
Did you test with the hp cups backend?

Please attach the output of the printingbug info script, it can be found here: https://wiki.ubuntu.com/PrintingBugInfoScript.
This will give us some basic information about your printing setup and the version of Ubuntu you are using.

Changed in hplip:
assignee: nobody → pascal-devuyst
status: Unconfirmed → Needs Info
Revision history for this message
Luca Ferretti (elle.uca) wrote :

This is really strange. Yesterday I spent some time to track this issue and provide here more info, so I removed the custom udev rule to restart hplip service and... it works !?!? There is no more needs to restart the hplip service to use both scanned and printer feature.

I've no idea why this occurred. I tried to unplug and plug, remove the printer entry in CUPS and readd. Nothing: the printer works as it should. Sorry for the unuseful report.

However, I'll attach the printingbuginfo.txt file, the syslog entries turning on the device and the sane dedug (export SANE_DEBUG_DLL=128) output.

Currently the only issue is related to `hp-setup` utility from "hplip" package. It seems that tool check ppd files in /usr/share/ppd/hpijs/HP/ but in default Ubuntu installation only HP-Fax-hplip.ppd.gz is available here. Other PPDs from hplip project are installed by "hpijs-ppds". So, if you use `hp-setup` to setup your HP printer in base Ubuntu installation and you don't point to a specific PPD outside the previous dir, your HP device will print like a fax :-(

Revision history for this message
Luca Ferretti (elle.uca) wrote :
Revision history for this message
Luca Ferretti (elle.uca) wrote :
Revision history for this message
Luca Ferretti (elle.uca) wrote :
Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Closing this bug then, feel free to reopen if the problem returns.

Changed in hplip:
status: Needs Info → Rejected
Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Please open a new bug report for the remaining hp-setup issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.