Автор Тема: MФУ HP LaserJet M1132 - не могу подключить [решено]  (Прочитано 912 раз)

Оффлайн krserv

  • Давно тут
  • **
  • Сообщений: 95
[stan@hst-wht-linux ~]$ uname -a
Linux hst-wht-linux 5.10.164-std-def-alt1 #1 SMP Mon Jan 23 08:59:07 UTC 2023 x86_64 GNU/Linux
[stan@hst-wht-linux ~]$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 0d8c:0103 C-Media Electronics, Inc. CM102-A+/102S+ Audio Controller
Bus 001 Device 011: ID 03f0:042a HP, Inc LaserJet M1132 MFP
Bus 001 Device 010: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 2101:020f ActionStar
Bus 001 Device 002: ID 046d:081b Logitech, Inc. Webcam C310
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[stan@hst-wht-linux ~]$
[stan@hst-wht-linux ~]$ hp-setup

HP Linux Imaging and Printing System (ver. 3.23.3)
Printer/Fax Setup Utility ver. 9.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.

Searching... (bus=usb, search=(None), desc=0)
error: Failed to connect to HPLIP site. Error code = 8
error: Failed to download http://hplip.sourceforge.net/hplip_web.conf.
error: Unable to load Qt4/Qt5 support. Is it installed?
Traceback (most recent call last):
  File "/usr/share/hplip/ui5/setupdialog.py", line 1385, in NextButton_clicked
    self.showDevicesPage()
  File "/usr/share/hplip/ui5/setupdialog.py", line 556, in showDevicesPage
    smart_install.disable(GUI_MODE, 'qt4')
  File "/usr/share/hplip/base/smart_install.py", line 239, in disable
    dialog.exec_()
AttributeError: 'NoneType' object has no attribute 'exec_'
Aborted
[stan@hst-wht-linux ~]$
и чего он хочет?

Начал поиск в Интернете:
HP Developers Portal

HPLIP supports Qt5 from 3.16.5 and above

To enable qt5 support

    You need to install the following dependencies
        PyQt5
        python-qt5-dbus
    Go to source of hplip. By default its in ~/Downloads.
    Run the following commands
        ./configure --prefix=/usr --enable-qt5 --disable-qt4
        make
        "make install" as root user


Я тут уже полез в дебри, а надо было в момент hp-setup - выключить и включить МФУ и он его нашел
Теперь буду изучать более сложный вопрос, как сканер подключить? Или он уже в системе? :)
Со сканером разобрался тоже - работает.
« Последнее редактирование: 15.05.2023 06:52:18 от Skull »

Оффлайн krserv

  • Давно тут
  • **
  • Сообщений: 95
Продолжение следует: все работало, после последнего обновления, МФУ перестало работать. Что нужно заново переустанавливать HPLip? Или что делать пользователю?

[root@hst-wht-linux ~]# uname -a
Linux hst-wht-linux 5.10.164-std-def-alt1 #1 SMP Mon Jan 23 08:59:07 UTC 2023 x86_64 GNU/Linux

[stan@hst-wht-linux ~]$ lsusb
Bus 002 Device 002: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 2101:020f ActionStar
Bus 001 Device 004: ID 046d:081b Logitech, Inc. Webcam C310
Bus 001 Device 024: ID 0d8c:0103 C-Media Electronics, Inc. CM102-A+/102S+ Audio Controller
Bus 001 Device 026: ID 03f0:042a HP, Inc LaserJet M1132 MFP
Bus 001 Device 022: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[stan@hst-wht-linux ~]$ hp-setup

HP Linux Imaging and Printing System (ver. 3.23.5)
Printer/Fax Setup Utility ver. 9.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.

Searching... (bus=usb, search=(None), desc=0)
 
HP Linux Imaging and Printing System (ver. 3.23.5)
Plugin Download and Install Utility ver. 2.1

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.23.5)
Plugin Download and Install Utility ver. 2.1

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.

Checking for network connection...
Downloading plug-in from:
Receiving digital keys: /usr/bin/gpg --homedir /home/stan/.hplip/.gnupg --no-permission-warning --keyserver pool.sks-keyservers.net --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Receiving keys from pool.sks-keyservers.net failed, trying the next keyserver.
Receiving digital keys: /usr/bin/gpg --homedir /home/stan/.hplip/.gnupg --no-permission-warning --keyserver keyserver.ubuntu.com --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity...  100%   All good.
Uncompressing HPLIP 3.23.5 Plugin Self Extracting Archive  100% 

HP Linux Imaging and Printing System (ver. 3.23.5)
Plugin Installer ver. 3.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.

Plug-in version: 3.23.5
Installed HPLIP version: 3.23.5
Number of files to install: 64

note: Using PyQt5
 
Done.
 Plug-in installation successful

Done.





« Последнее редактирование: 12.08.2023 05:16:39 от krserv »

Оффлайн krserv

  • Давно тут
  • **
  • Сообщений: 95
переустановил HP-setup - все восстановилось...Получается при обновлении файлов системы  поддержка принтеров HP не обновляется автоматически, такое будет периодически возникать снова?
« Последнее редактирование: 12.08.2023 05:26:12 от krserv »

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 19 908
    • Домашняя страница
    • Email
переустановил HP-setup - все восстановилось...Получается при обновлении файлов системы  поддержка принтеров HP не обновляется автоматически, такое будет периодически возникать снова?
Для каждой новой версии нужно заново скачивать плагин (hp-plugin).
Андрей Черепанов (cas@)

Оффлайн krserv

  • Давно тут
  • **
  • Сообщений: 95
Для каждой новой версии нужно заново скачивать плагин (hp-plugin).
Спасибо, т.е выполнять каждый раз apt-get install hp-plugin  ?

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 19 908
    • Домашняя страница
    • Email
Нет, просто hp-plugin.
Андрей Черепанов (cas@)

Оффлайн krserv

  • Давно тут
  • **
  • Сообщений: 95
cпасибо