You are not logged in.

#1 2012-11-22 09:14:16

neok
Member
From: Cyprus
Registered: 2003-12-14
Posts: 190
Website

[SOLVED] HPLIP hp-setup not detecting usb printer

Hi

Looks like there is an error in the udev rules re: the P1102w printer:
86-hpmud-hp_laserjet_professional_p1102w.rules: Error? ATTRS{idProduct}=="002a"

Apparently the HP folk have introduced the "Smart Install" feature in some printers but it is not supported in Linux drivers. It can only be disabled from a Windoze machine, before the printer becomes compatible with Linux. So now I have to buy and install Windoze on my machine - or buy a new printer, different make I suppose.

The strange thing is that it used to work very well previously, but the drivers must have been changed recently.....

This is the output of journalctl:

<snip>
Nov 22 14:07:01 5b4az hp-config_usb_printer[688]: io/hpmud/musb.c 2281: HP Device acting like CD ROM (Smart Install is enabled), so prevent from functioning....
Nov 22 14:07:01 5b4az hp-config_usb_printer[688]: io/hpmud/musb.c 2282: Please Refer following link to fix @ https://bugs.launchpad.net/hplip/+bug/1027004

Last edited by neok (2012-11-23 12:37:16)


Regards

Neoklis ... Ham Radio Call: 5B4AZ

Offline

#2 2012-11-22 10:17:38

mzneverdies
Member
Registered: 2012-02-04
Posts: 147

Re: [SOLVED] HPLIP hp-setup not detecting usb printer

Make sure you have the avahi-daemon running, that's what happened to me the last time.
if you are using systemd,

sudo systemctl enable avahi-daemon.service

if not, make sure the avahi-daemon is listed in the daemons list in rc.conf, and reboot.

also, install foomatic drivers

extra/foomatic-db 1:4.0.17_20120712-1 [installed]
    Foomatic - The collected knowledge about printers, drivers, and driver
    options in XML files, used by foomatic-db-engine to generate PPD files.
extra/foomatic-db-engine 1:4.0.17_20120712-1 [installed]
    Foomatic - Foomatic's database engine generates PPD files from the data in
    Foomatic's XML database. It also contains scripts to directly generate
    print queues and handle jobs.
extra/foomatic-db-nonfree 1:4.0.17_20120712-1 [installed]
    Foomatic - database extension consisting of manufacturer-supplied PPD
    files released under non-free licenses
extra/foomatic-filters 1:4.0.17_20120712-1 [installed]
    Foomatic - Filter scripts used by the printer spoolers to convert the
    incoming PostScript data into the printer's native format.

can't think of anything else, hope this helps

Offline

#3 2012-11-22 11:26:46

neok
Member
From: Cyprus
Registered: 2003-12-14
Posts: 190
Website

Re: [SOLVED] HPLIP hp-setup not detecting usb printer

mzneverdies wrote:

Make sure you have the avahi-daemon running, that's what happened to me the last time.
if you are using systemd, if not, make sure the avahi-daemon is listed in the daemons list in rc.conf, and reboot.

also, install foomatic drivers

can't think of anything else, hope this helps

No, no luck. Maybe I should buy another printer....


Regards

Neoklis ... Ham Radio Call: 5B4AZ

Offline

#4 2012-11-22 11:45:28

mzneverdies
Member
Registered: 2012-02-04
Posts: 147

Re: [SOLVED] HPLIP hp-setup not detecting usb printer

Take a look at hp-chek to make sure nothing big is missing.

My printer is a network printer (but also an hp), not usb, and for what i remember, all i did was

  • install hplip

  • install foomatic*

  • enable avahi-daemon on systemd

  • add printer through hp-setup interface

Offline

#5 2012-11-22 12:39:03

Dude-man
Member
Registered: 2012-11-17
Posts: 43

Re: [SOLVED] HPLIP hp-setup not detecting usb printer

The 1102w is a network/wifi printer as well, exactly what I have.

I've had simular problems with exactly this printer on Ubuntu (I know we're talking about arch here but incase its usefull at all?), I believe there was a problem with the USB detection, at least a few months ago, when I first bought it, sorry don't remember the version number (there was a bug reported for exactly this I believe). With this model you do need the USB at least when setting up a new printer.

I had to at the time set up the printer the first time with an old debian stable version, as you have to have the USB cable plugged in the first time to configure the wireless in the printer. The usb detection worked on that old version. Had to do it on a laptop which had wifi, so it could detect the wifi so it could be configured.

Then you can configure it on any computer with the network detection. Although I'm still trying to get this working on Arch, I do have it working now on my less used Ubuntu partition, and wifes computer.

I've recently got it working as a network printer in Ubuntu, but only if I configure via... run hp-toolbox, delete any printers, and then add a new one, not using the cups

Another problem I've had to do to use the gui-install of hp-setup was switch over to python2 instead of python3 changing the sym links for /usr/bin/python and python-config.

For me this allows everything to be detected, not USB, but network, as I've had it setup previously and don't need the USB. Right now it dosn't yet actually add the printer, after downloading the binary dirver etc, no error messages.

I can try the usb autodetection on my computer if its any help ? Just plugged the cable in, and it wouldn't auto detect unless I put in the 004:003 from lsusb. It would detect it then, but not complete the install unless I did it from hp-toobox and not from hp-setup, although I think hp-tool box calls hp-setup.

My personal problem now is that even though via network or usb (manually entering 004:003) it downloads and isntalls the binary drivers or whatever its doing, it dosn't actually add teh printer. I have added myself to the lp group.

Hope this helps in some way smile

I'm doing this right now

Offline

Board footer

Powered by FluxBB