HP LaserJet 2300L connected to /dev/ugen4.2 Printer definition is found in models.dat, but hplip-utilities like hp-setup and hp-probe claims it is not dmesg: ugen4.2: <Hewlett-Packard> at usbus4 usbconfig: ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON .. ugen4.1: <UHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen4.2: <hp LaserJet 2300L Hewlett-Packard> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON # hp-setup -i -busb HP Linux Imaging and Printing System (ver. 3.9.8) Printer Discovery Utility ver. 4.1 -------------------- | DEVICE DISCOVERY | -------------------- No devices found on the 'usb' bus. If this isn't the result you are expecting, check to make sure your devices are properly connected and powered on. # hp-probe -busb HP Linux Imaging and Printing System (ver. 3.9.8) Printer/Fax Setup Utility ver. 9.0 Error: No device selected/specified or that supports this functionality. syslog says: Jan 20 02:26:27 arnold python: io/hpmud/model.c 528: no hp_LaserJet_2300L attributes found in /usr/local/share/hplip/data/models/models.dat Jan 20 02:26:27 arnold python: io/hpmud/model.c 539: no hp_LaserJet_2300L attributes found in /usr/local/share/hplip/data/models/unreleased/unreleased.dat Jan 20 02:26:27 arnold python: io/hpmud/musb.c 2028: ignoring hp:/usb/hp_LaserJet_2300L?serial=CNBDB48144 support=0 Jan 20 02:26:27 arnold python: hp-setup[24772]: error: No device selected/specified or that supports this functionality. But /usr/local/share/hplip/data/models/models.dat contains an entry for the printer: [hp_laserjet_2300] .. model1=HP LaserJet 2300 Printer model2=HP LaserJet 2300n Printer model3=HP LaserJet 2300d Printer model4=HP LaserJet 2300dn Printer model5=HP LaserJet 2300dtn Printer model6=HP LaserJet 2300L Printer ...
In hplip-3.9.8/io/hpmud/model.c, line 426 I added debug: section[n-2]=0; /* remove ']' and CR */ BUG("Comparing '%s' and '%s'\n",model,section); if (strcasecmp(model, section) == 0) { I saw hplip looked for a [hp_laserjet_2300l] section, but there is only [hp_laserjet_2300] [hp_laserjet_2300_series] in models.dat So I copied the [hp_laserjet_2300] section to a new section [hp_laserjet_2300l] and hp-setup finds my printer and I can print happily ever after :-) But surely this can't be the right method? Leif
Maintainer of print/hplip, Please note that PR ports/142996 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/142996 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
State Changed From-To: feedback->open Fix synopsis, reset feedback, this really is about hplip3
Hello, can you please update to 3.10.2 and see if this problems persists?
State Changed From-To: open->feedback Sumbmitter has been asked to test the latest version.
I can print with . Although I get this error: # /usr/local/etc/rc.d/hpssd start Starting hpssd. error: attempted to read from '/root/.hplip/hplip.conf' error: dbus failed to load (python-dbus ver. 0.80+ required). Exiting... /usr/local/etc/rc.d/hpssd: WARNING: failed to start hpssd But it seems not to be important.... I have installed dbus-python-0.83.1 Leif
Did you compile with Dbus support, it is off by default now. Also can you should me a list of installed dbus, python ports after you install hplip3 so I can see if hplip3 fails to install a needed dep. Also can you give me a full debug output of that error message?
Doesn't hplip3 install a systray icon? It does with KDE never had to use the rc.d file, which really should be removed as it's outdated etc.. I kept it as the first commiter refused to remove it.
Do you have dbus options enabled, they are off by default
Please hold off this PR until the new print/hplip is updated and print/hplip3 is removed.
This PR can be closed as the submitter is using a non default user layout. hplip search ~/.hplip/hplip.conf for custom configs due to the fact the submitter uses a special user with no home dir hplip fails to search the config dir and gives an error.
State Changed From-To: feedback->closed Maintainer claims that this is due to a non-default layout.