Discussion:
hplip on FreeBSD 13-RELEASE
LuMiWa via freebsd-questions
2021-06-06 10:17:27 UTC
Permalink
Hi!

I have FreeBSD 13-RELEASE and I le to setup hp business inkjet 3000
printer which worked on previous vwrsions of FreeBSD 10 years but not
now. Printer is connected on USB and system recognize it - ulpt0,
ugen1.11 at usbus1. I try to setup manual but I asked me for
USB bus ID: device ID (bbb:ddd) whic I do not know how to find it.

Thank you.
--
"Everyone thinks of changing the world, but no one thinks of changing
himself.”

Leo Tolstoy
Matthias Apitz
2021-06-06 10:47:08 UTC
Permalink
Post by LuMiWa via freebsd-questions
Hi!
I have FreeBSD 13-RELEASE and I le to setup hp business inkjet 3000
printer which worked on previous vwrsions of FreeBSD 10 years but not
now. Printer is connected on USB and system recognize it - ulpt0,
ugen1.11 at usbus1. I try to setup manual but I asked me for
USB bus ID: device ID (bbb:ddd) whic I do not know how to find it.
Does (as root):

# usbconfig dump_device_desc

help you?

matthias
--
Matthias Apitz, ✉ ***@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
¡Con Cuba no te metas! «» Don't mess with Cuba! «» Leg Dich nicht mit Kuba an!
http://www.cubadebate.cu/noticias/2020/12/25/en-video-con-cuba-no-te-metas/
LuMiWa via freebsd-questions
2021-06-06 10:55:11 UTC
Permalink
On Sun, 6 Jun 2021 12:47:08 +0200
El día domingo, junio 06, 2021 a las 06:17:27a. m. -0400, LuMiWa via
Post by LuMiWa via freebsd-questions
Hi!
I have FreeBSD 13-RELEASE and I le to setup hp business inkjet 3000
printer which worked on previous vwrsions of FreeBSD 10 years but
not now. Printer is connected on USB and system recognize it -
ulpt0, ugen1.11 at usbus1. I try to setup manual but I asked me for
USB bus ID: device ID (bbb:ddd) whic I do not know how to find it.
# usbconfig dump_device_desc
help you?
matthias
I am confused what to use for bbb:ddd:

ugen1.11: <Hewlett-Packard hp business inkjet 3000> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (2mA)

bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0008
idVendor = 0x03f0
idProduct = 0x0612
bcdDevice = 0x0100
iManufacturer = 0x0001 <Hewlett-Packard>
iProduct = 0x0002 <hp business inkjet 3000>
iSerialNumber = 0x0003 <SG426D102F>
bNumConfigurations = 0x0001

Thank you.
--
"Everyone thinks of changing the world, but no one thinks of changing
himself.”

Leo Tolstoy
LuMiWa via freebsd-questions
2021-06-06 10:56:04 UTC
Permalink
On Sun, 6 Jun 2021 12:47:08 +0200
El día domingo, junio 06, 2021 a las 06:17:27a. m. -0400, LuMiWa via
Post by LuMiWa via freebsd-questions
Hi!
I have FreeBSD 13-RELEASE and I le to setup hp business inkjet 3000
printer which worked on previous vwrsions of FreeBSD 10 years but
not now. Printer is connected on USB and system recognize it -
ulpt0, ugen1.11 at usbus1. I try to setup manual but I asked me for
USB bus ID: device ID (bbb:ddd) whic I do not know how to find it.
# usbconfig dump_device_desc
help you?
matthias
HP-doctor shows:

hp-doctor
/usr/local/share/hplip/check.py:685: SyntaxWarning: "is not" with a
literal. Did you mean "!="? if 'getfacl' not in g and '' is not g and
'file' not in g:

HP Linux Imaging and Printing System (ver. 3.20.6)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-18 HP 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.


HP Linux Imaging and Printing System (ver. 3.20.6)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-18 HP 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.

Traceback (most recent call last):
File "/usr/local/share/hplip/base/password.py", line 85, in
get_distro_name os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/hp-doctor", line 275, in <module>
dep = DependenciesCheck(MODE_CHECK,INTERACTIVE_MODE,ui_toolkit)
File "/usr/local/share/hplip/check.py", line 175, in __init__
self.core = CoreInstall(mode, ui_mode, ui_toolkit)
File "/usr/local/share/hplip/installer/core_install.py", line 240, in
__init__ self.passwordObj = password.Password(ui_mode)
File "/usr/local/share/hplip/base/password.py", line 118, in __init__
self.__readAuthType() # self.__authType
File "/usr/local/share/hplip/base/password.py", line 141, in
__readAuthType distro_name = get_distro_name().lower().replace(" ","")
File "/usr/local/share/hplip/base/password.py", line 87, in
get_distro_name import distro
ModuleNotFoundError: No module named 'distro'

Thank you.
--
"Everyone thinks of changing the world, but no one thinks of changing
himself.”

Leo Tolstoy
LuMiWa via freebsd-questions
2021-06-06 13:04:12 UTC
Permalink
On Sun, 6 Jun 2021 12:47:08 +0200
El día domingo, junio 06, 2021 a las 06:17:27a. m. -0400, LuMiWa via
Post by LuMiWa via freebsd-questions
Hi!
I have FreeBSD 13-RELEASE and I le to setup hp business inkjet 3000
printer which worked on previous vwrsions of FreeBSD 10 years but
not now. Printer is connected on USB and system recognize it -
ulpt0, ugen1.11 at usbus1. I try to setup manual but I asked me for
USB bus ID: device ID (bbb:ddd) whic I do not know how to find it.
# usbconfig dump_device_desc
help you?
matthias
It is a mystery for me. I try again and run as root hp-setup and after
long time found printer and than complain about ppd file. I did cancel
and start again and it found a printer and didn't complain about ppd
file. I do not know whee is a hplip.conf. Before I had in the user
directory in .hplip but now is nowhere or I just didn't find. And
printing works. But as a user I cannot open HP Device Manager. I am
using Openbox.
--
"Everyone thinks of changing the world, but no one thinks of changing
himself.”

Leo Tolstoy
Loading...