Bug 3616 - Installing a HP multifunction printer requests hp-setup (hplib)
Summary: Installing a HP multifunction printer requests hp-setup (hplib)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Anssi Hannula
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 02:40 CET by Pierre Jarillon
Modified: 2012-04-14 20:35 CEST (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Pierre Jarillon 2011-12-05 02:40:34 CET
I have installed a HP Photosmart C5180 (ethernet connexion) with MCC.
Xsane and xsane-gimp are already installed.

I open Gimp -> Create -> scanner ... and the scanner is not found.
I run hp-setup: then the scanner is found.

This problem is common to all HP multifunctions.

It is not obvious for a beginner to have to open hp-setup as root in a console!
Comment 1 Josh King 2011-12-17 23:10:57 CET
Confirmed on an HP F4500 series as well. Perhaps hp-setup could be run when the device is added through MCC? Looks to be a problem with the install there.

CC: (none) => josh

Manuel Hiebel 2011-12-18 21:03:18 CET

Assignee: bugsquad => thierry.vignaud
Summary: Installing a HP multifunction printer requests hp-setup => Installing a HP multifunction printer requests hp-setup (hplib)
Source RPM: (none) => drakxtools

Comment 2 Thierry Vignaud 2011-12-19 11:27:28 CET
drakxtools doesn't provide anything regarding neither scaners nor printers (scanerdrake & printerdrake being dead since long)
Assign to the prorper system-config-*

Assignee: thierry.vignaud => bugsquad
Source RPM: drakxtools => (none)

Comment 3 Manuel Hiebel 2011-12-19 11:38:43 CET
but scannerdrake is still present in drakconf, and we have only system-config-printer...

Component: Installer => RPM Packages

William Kenney 2011-12-26 01:13:16 CET

CC: (none) => wilcal.int

Marja Van Waes 2012-02-15 21:59:44 CET

CC: (none) => doktor5000, marja11

Comment 4 Florian Hubold 2012-02-16 00:30:17 CET
(In reply to comment #1)
> Perhaps hp-setup could be run when the
> device is added through MCC? Looks to be a problem with the install there.

AFAIK hp-setup has to be run interactively for that which can't be done during package install. We have to look how other distros (i.e. Fedora) handle this.
Comment 5 Bernard SIAUD 2012-02-23 17:50:29 CET
I have this problem with mageia 2 bêta 1

CC: (none) => liste

Comment 6 Pierre Jarillon 2012-02-25 12:36:01 CET
I confirm. hp-setup must be used.
At least, a pop-up warning "Run hp-setup as root can be necessary" can be displayed. A beginner cannot found that!
Comment 7 William Kenney 2012-02-25 15:01:29 CET
I am going to spend some time this
coming week documenting the process
of setting up an HP USB Multi-function
printer on both M1 and Cauldron. It
is quite complex compared to past
Mandriva and Ubuntu.
Comment 8 William Kenney 2012-02-27 19:33:53 CET
Here's my posts on the Mageia discussion forum yesterday and today:

Board index â¹ contributing to Mageia â¹ Testing : Alpha, Beta, RC and Cauldron

Discussion thread titled "The printer installation process is way to complex"

1st post:

The last few times I've installed printer on Mageia
I've tried as best I can to keep a log of all the steps that were needed.
Here's the log for M2B1. Do note this is not an exacting science
as things can move across the screen quickly. I'll make at least
another install this week and refine the log. Here's the steps:

Mageia 2 HP All-in-one USB Printer install

This is for the HP OficeJet 5500 All-in-one injet USB printer

Computer off.

Printer off, USB cable connected to printer and computer
USB port. Paper loaded.

Boot system to workspace.

Power up printer.

1. Nothing happens

2. MCC -> Hardware - Setup the printer(s)......

Popup window

You are about to install the following software packages on
your computer:

task-printing-server
<install> <cancel>

3. Satisfy dependencies window popup window - OK

4. Packages installation

5. Missing printer driver appears in upper right hand corner of workspace

6. MCC -> Hardware -> Set up the printer(s)

7. RPM installation window

You are about to install the following software packages on
your computer:

-task-printing
-task-printing-hp

Proceed?
<install> <cancel>

8. The following packages have to be removed for others to
be upgraded:

netcat-openbsd-1.89-4.mga1.i586
(due to conflicts with netcat-traditional)
Continue installation anyway?
<abort> <ok>

To satisfy dependencies.....window

88 packages are installed

9. Printing service not available window,

10. Reboot system

11. HP Device Manager
No Installed HP Devices Found
<set up device> <Cups Web Interface> <Close>

Log in as root

Device discovery window select Universal Serial Bus (USB) device
<next>

Finds officejet_5500

<Back> <Add Printer> <Cancel>

12. Reboot system

13. HP Device Manager -> print test page

14. Xsane should recognize scanner and scanner

15. Printer and Scanner now work


2nd post:

Do note that in the past this is the
process you would see on Mandriva:

Mandriva 2010.2 HP All-in-one USB Printer install

This is for the HP OfficeJet 5500 All-in-one inkjet USB printer

Computer off.

Printer off, USB cable connected to printer and computer
USB port. Paper loaded.

Boot system to workspace.

Power up printer.

Pop-up window indicating the presence of the printer.
A do you wish to install button?
Tapping the install button would automatically install
what is needed to install the printer on the workstation.
Printer and scanner are automatically available immediately.
CUPS is not installed and needs to be using the MCC.

The latest versions of Ubuntu are about the same.
Comment 9 Anssi Hannula 2012-02-28 18:55:59 CET
It indeed shouldn't be necessary to run hp-setup, nor to reboot to use the printer, so something in the udev rules and/or system-config-printer has been broken.

I have a HP ultifunction printer but it is not currently near any Cauldron systems, but I'll see if I can test it during the coming weekend or next week, to figure out where the brokenness lies.

CC: (none) => anssi.hannula

Comment 10 William Kenney 2012-02-28 20:25:45 CET
Thanks for your help on this.
I'll continue to put time into
this. One question I have is
if we should be installing CUPS
if we are just installing a
local workstation printer.

Mandriva used to be very simple.
Plug the printer in live, a
pop-up window appears asking if
you want to install, you
click yes, and the necessary
rpms are installed and the
printer is immediately usable.
Comment 11 Anssi Hannula 2012-02-28 20:57:03 CET
CUPS is needed for the printer to work, so yes.
Comment 12 Serge Moreau 2012-03-21 06:29:44 CET
Could this explain that I am unable to set a Epson USB Scanner.(perfection 2400 photo)

See the following message following xsane or xscanimage
[serge@Saturne ~]$ xscanimage
Gtk-Message: Failed to load module "canberra-gtk-module"
[xscanimage] No scanners were identified. If you were expecting something
          different, check that the scanner is plugged in, turned on and
          detected by sane-find-scanner (if appropriate). Please read
          the documentation which came with this software (README, FAQ,
          manpages).
[serge@Saturne ~]$ sane-find-scanner
  # 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.

found USB scanner (vendor=0x03f0 [HP], product=0xc202 [Photosmart 8200 series])
at libusb:001:006
found USB scanner (vendor=0x04b8 [EPSON], product=0x011b [EPSON Scanner]) at
libusb:001:007

I tried also skanlite and this one is still unable to detect the scanner.

SM

CC: (none) => serge.moreau

Comment 13 William Kenney 2012-03-22 17:06:38 CET
IMO the install of a USB HP multifunction printer
om Mageia 2 ( Cauldron ) has completely fallen
down. I no longer am able to do any kind of
install. Note that in Comment 8 I was able to
do an install after a long convoluted process.
Now even that does not work. It appears that
CUPs gets installed but now the HP Printer
app no longer launches and the process does
not complete.

The one good thing is that when the printer
is plugged into the USB port and turned on
a popup window does open acknowledge that
the printer is there and starts the install
process.
Comment 14 Serge Moreau 2012-03-23 17:12:16 CET
Some more information following comment 12.

I used MCC to detect scanner. (MCC, Harware, scanner)
The automatic detection failed. If I set the USB address manually (USB:001:007) the scanner is detected as GT 9300 instead of perfection 2400 photo, but it works.
Comment 15 Florian Hubold 2012-03-23 20:10:40 CET
(In reply to comment #14)
> Some more information following comment 12.
> 
> I used MCC to detect scanner. (MCC, Harware, scanner)
> The automatic detection failed. If I set the USB address manually (USB:001:007)
> the scanner is detected as GT 9300 instead of perfection 2400 photo, but it
> works.

Maybe you misunderstood, this bug is about HP devices, you should open a seperate report for your problem: https://wiki.mageia.org/en/How_to_report_a_bug_properly
Anssi Hannula 2012-03-26 00:57:03 CEST

Assignee: bugsquad => anssi.hannula

Comment 16 Anssi Hannula 2012-03-26 06:21:07 CEST
I've now fixed multiple issues regarding printer installation in
cups-1.5.2-2.mga2
hplip-3.12.2-2.mga2
system-config-printer-1.3.9-2.mga2

This bug should also be fixed, along with the automatic installation of other supported printers as well (the issues were not limited to HP).

Please reopen if printer installation still doesn't work properly.

Thanks for the report.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 17 William Kenney 2012-03-26 16:35:43 CEST
I've done a ground up install of Mageia 2
on a scratch drive here, updated it and
executed an HP USB Printer/Scanner install
and the entire process was completely
automatic. When completed the printer
scanner was immediately usable.

Kudos to Anssi Hannula for a job well done.
Comment 18 Serge Moreau 2012-04-14 17:57:18 CEST
So I can just add a new problem with all-in-one printers which require a binary plugin from HP server, see Post :
https://forums.mageia.org/en/viewtopic.php?f=8&t=2219
SM
Comment 19 William Kenney 2012-04-14 19:38:32 CEST
(In reply to comment #18)
> So I can just add a new problem with all-in-one printers which require a binary
> plugin from HP server, see Post :
> https://forums.mageia.org/en/viewtopic.php?f=8&t=2219
> SM

Lets leave this bug stand as resolved.
I continue to make new test installs
every couple weeks or so to make sure
USB HP all-in-one printer installs go
well. So far ok even as a few days ago.
Comment 20 Serge Moreau 2012-04-14 20:35:18 CEST
OK, that's why I open a new bug

https://bugs.mageia.org/show_bug.cgi?id=5395

SM

Note You need to log in before you can comment on or make changes to this bug.