palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
Товарищи выручайте, речь идет всё про тот-же HP_LaserJet_Professional_m1132_MFP Произошло очередное обновление cups, hplip и hplip-x.xx.x-plugin, и эта зверюка опять перестала работать, метод который позволял завести сей мфу теперь не работает, что мы имеем на сегодняшний день, методом проб и ошибок было установлено, что функция сканера работает только из под рута ~]$ sudo simple-scan думаю и печать тоже работает, хотя не пробовал, а от пользователя устройство не найдено или не доступно что-то типа того ещё выдает ошибку, на буржуйском, добавьте пользователя в группу sys, но у меня такой группы нет итого ~]$ groups archie lp wheel games video audio optical storage scanner power users ~]$ sudo gedit /etc/cups/cupsd.conf # # "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $" # # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a # complete description of this file. # # Log general information in error_log - change "warn" to "debug" # for troubleshooting... LogLevel warn # Administrator user group... SystemGroup sys root # Only listen for connections from the local machine. Listen localhost:631 Listen /var/run/cups/cups.sock # Show shared printers on the local network. Browsing On BrowseLocalProtocols dnssd # Default authentication type, when authentication is required... DefaultAuthType Basic # Web interface setting... WebInterface Yes # Restrict access to the server... <Location /> Order allow,deny </Location> # Restrict access to the admin pages... <Location /admin> Order allow,deny </Location> # Restrict access to configuration files... <Location /admin/conf> AuthType Default Require user @SYSTEM Order allow,deny </Location> # Set the default printer/job policies... <Policy default> # Job/subscription privacy... JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default # Job-related operations must be done by the owner or an administrator... <Limit Create-Job Print-Job Print-URI Validate-Job> Order deny,allow </Limit> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document> Require user @OWNER @SYSTEM Order deny,allow </Limit> # All administration operations require an administrator to authenticate... <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices> AuthType Default Require user @SYSTEM Order deny,allow </Limit> # All printer operations require a printer operator to authenticate... <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Require user @SYSTEM Order deny,allow </Limit> # Only the owner or an administrator can cancel or authenticate a job... <Limit Cancel-Job CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> # Set the authenticated printer/job policies... <Policy authenticated> # Job/subscription privacy... JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default # Job-related operations must be done by the owner or an administrator... <Limit Create-Job Print-Job Print-URI Validate-Job> AuthType Default Order deny,allow </Limit> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document> AuthType Default Require user @OWNER @SYSTEM Order deny,allow </Limit> # All administration operations require an administrator to authenticate... <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> AuthType Default Require user @SYSTEM Order deny,allow </Limit> # All printer operations require a printer operator to authenticate... <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Require user @SYSTEM Order deny,allow </Limit> # Only the owner or an administrator can cancel or authenticate a job... <Limit Cancel-Job CUPS-Authenticate-Job> AuthType Default Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> # # End of "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $". #
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
arcanis |
|
Темы:
31
Сообщения:
1496
Участник с: 09 сентября 2012
|
если речь идет о доступе к принтеру, то тут, все очевидно:SystemGroup sys root PS ток что проверил, сканер/принтер работают без проблем. Правда, сканером я пользуюсь через xsane |
mihan |
|
Темы:
0
Сообщения:
2
Участник с: 23 октября 2011
|
HP_LaserJet_Professional_m1132_MFPТакая же проблема, в последний раз помогло вот это: # mv /var/lib/hp/hplip.state.pacnew /var/lib/hp/hplip.state HPLIP 3.13: Plugin is installed, but HP Device Manager complains it is notВообще смущает, что при каждом обновлении выдаётся варнинг warning: /var/lib/hp/hplip.state installed as /var/lib/hp/hplip.state.pacnew $ cat /var/lib/hp/hplip.state.pacnew [plugin] installed = 1 eula = 1 version = 3.13.3 |
vdemin |
|
Темы:
54
Сообщения:
1615
Участник с: 24 января 2009
|
mihanПросто раньше hplip.state вообще не создавался пакетом hplip-plugin, и я попросил майнтейнера это исправить. Привел ему пример с версией. Если я ошибся и версии не должно быть, прошу в комменты: https://aur.archlinux.org/packages/hplip-plugin/?comments=all Насчет неверных прав доступа там тоже кто-то писал, кстати. |
palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
После сноса и установки заново имеем результат Сканер работает от пользователя, принтер не печатает, плюс вот такая потеха с капс Когда уже в лине нормально будут работать принтеры???
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
arcanis |
|
Темы:
31
Сообщения:
1496
Участник с: 09 сентября 2012
|
palpalychэт есть такое, веб-интерфейсом капса вообще невозможно пользоваться после обновления до последней версии |
palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
Checking for HPLIP updates.... warning: arch distro is not found in AUTH_TYPES Latest version of HPLIP is already installed. Checking for Dependencies.... warning: unknown-0.0 version is not supported. Using unknown-0 versions dependencies to verify and install... --------------- | SYSTEM INFO | --------------- Kernel: 3.7.10-1-ARCH #1 SMP PREEMPT Thu Feb 28 09:59:14 CET 2013 GNU/Linux Host: linux Proc: 3.7.10-1-ARCH #1 SMP PREEMPT Thu Feb 28 09:59:14 CET 2013 GNU/Linux Distribution: unknown 0.0 ----------------------- | HPLIP CONFIGURATION | ----------------------- HPLIP-Version: HPLIP 3.13.3 HPLIP-Home: /usr/share/hplip warning: HPLIP-Installation: Auto installation is not supported for unknown distro 0.0 version Current contents of '/etc/hp/hplip.conf' file: # hplip.conf. Generated from hplip.conf.in by configure. [hplip] version=3.13.3 [dirs] home=/usr/share/hplip run=/var/run ppd=/usr/share/ppd/HP ppdbase=/usr/share/ppd doc=/usr/share/doc/hplip-3.13.3 icon=/usr/share/applications cupsbackend=/usr/lib/cups/backend cupsfilter=/usr/lib/cups/filter drv=/usr/share/cups/drv/hp bin=/usr/bin # Following values are determined at configure time and cannot be changed. [configure] network-build=yes libusb01-build=no pp-build=yes gui-build=yes scanner-build=yes fax-build=yes dbus-build=yes cups11-build=no doc-build=yes shadow-build=no hpijs-install=yes foomatic-drv-install=yes foomatic-ppd-install=yes foomatic-rip-hplip-install=no hpcups-install=yes cups-drv-install=yes cups-ppd-install=yes internal-tag=3.13.3 restricted-build=no ui-toolkit=qt4 qt3=no qt4=yes policy-kit=no hpijs-only-build=no lite-build=no udev-acl-rules=yes udev_sysfs_rules=no hpcups-only-build=no hpijs-only-build=no Current contents of '/var/lib/hp/hplip.state' file: [plugin] installed = 1 eula = 1 version = 3.13.3 Current contents of '~/.hplip/hplip.conf' file: [installation] date_time = 24.03.2013 20:04:35 version = 3.13.3 [upgrade] latest_available_version = 3.13.3 notify_upgrade = true last_upgraded_time = 1364155055.82491 pending_upgrade_time = 0 [settings] systray_visible = 0 systray_messages = 0 [last_used] device_uri = "hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH658QGPR1a" printer_name = HP_LaserJet_Professional_M1132_MFP working_dir = . [commands] scan = simple-scan [refresh] rate = 30 enable = false type = 1 [polling] enable = false interval = 5 device_list = [fax] voice_phone = email_address = <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment> -------------------------- | External Dependencies | -------------------------- gs Ghostscript REQUIRED 7.05 9.07 OK - network Network-wget OPTIONAL - 1.14 OK - dbus DBus REQUIRED - 1.6.8 OK - scanimage Shell-Scanning OPTIONAL 1.0 1.0.23 OK - policykit Admin-Policy-framework OPTIONAL - 0.109 OK - xsane SANE-GUI OPTIONAL 0.9 0.998 OK - cups CUPS REQUIRED 1.1 1.6.2 OK 'CUPS Scheduler is running' ------------------------- | General Dependencies | ------------------------- reportlab Python-PDF-Lib OPTIONAL 2.0 2.6 OK - libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK - pil Python-Image-Lib OPTIONAL - 1.1.7 OK - pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.10 OK - libjpeg JPEG-Lib REQUIRED - - OK - libpthread POSIX-Threads-Lib REQUIRED - 2.17 OK - python-dbus Python-DBUS REQUIRED 0.80.0 1.1.1 OK - python-devel Python-SDK REQUIRED 2.2 2.7.3 OK - pyqt4 Python-Qt4 REQUIRED 4.0 4.10 OK - cups-devel CUPS-SDK REQUIRED - 1.6.2 OK - sane-devel SANE-SDK REQUIRED - 1.0.23 OK - libusb USB-Lib REQUIRED - 1.0 OK - sane Scan-Lib REQUIRED - 1.0.23 OK - cups-image CUPS-Image-Lib REQUIRED - 1.6.2 OK - libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.7.2 OK - python-xml Python-XML-Lib REQUIRED - 2.1.0 OK - python-notify Desktop-notifications OPTIONAL - - OK - ------------------------------ | Compile Time Dependencies | ------------------------------ gcc gcc-Compiler REQUIRED - 4.7.2 OK - libtool Build-tools REQUIRED - 2.4.2 OK - make GNU-Build-tools REQUIRED 3.0 3.82 OK - ---------------------- | Python Extentions | ---------------------- cupsext CUPS-Extension REQUIRED - 3.13.3 OK - pcardext PhotoCard-Extension REQUIRED - 3.13.3 OK - hpmudext IO-Extension REQUIRED - 3.13.3 OK - ----------------------- | Scan Configuration | ----------------------- hpaio HPLIP-SANE-Backend REQUIRED - 3.13.3 OK 'hpaio found in /etc/sane.d/dll.conf' scanext Scan-SANE-Extension REQUIRED - 3.13.3 OK - ------------------------------ | DISCOVERED SCANNER DEVICES | ------------------------------ device `hpaio:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH658QGPR1a' is a Hewlett-Packard HP_LaserJet_Professional_M1132_MFP all-in-one device `v4l:/dev/video0' is a Noname Lenovo EasyCamera virtual device -------------------------- | DISCOVERED USB DEVICES | -------------------------- Device URI Model -------------------------------- -------------------------------- hp:/usb/HP_LaserJet_Professional HP LaserJet Professional M1132 _M1132_MFP?serial=000000000QH658 MFP QGPR1a --------------------------------- | INSTALLED CUPS PRINTER QUEUES | --------------------------------- HP_LaserJet_Professional_M1132_MFP ---------------------------------- Type: Printer Device URI: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH658QGPR1a PPD: /etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd PPD Description: HP LaserJet Professional m1132 MFP, hpcups 3.13.3, requires proprietary plugin Printer status: printer HP_LaserJet_Professional_M1132_MFP is idle. enabled since Вс 24 мар 2013 19:16:09 Required plug-in status: Installed Communication status: Good -------------- | PERMISSION | -------------- groups user-groups Required - - OK lp wheel games video audio optical storage scanner power users USB HP_LaserJet_Professional_M1132_MFP Required - - OK Node:'/dev/bus/usb/001/007' Perm:' root lp rw- rw- rw- rw- rw-' Checking for Configured Queues.... Queue(s) configured correctly using HPLIP. Checking for HP Properitery Plugin's.... Plugin's already installed Diagnose completed... More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html Please close this terminal manually. Блин ну чё делать то...
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|
arcanis |
|
Темы:
31
Сообщения:
1496
Участник с: 09 сентября 2012
|
когда переустанавливали, кэши и прочий мусор от капса сносили? Вообще, на самом деле все таки странно, у кого то работает, у кого то нет) |
samson4747 |
|
Темы:
33
Сообщения:
534
Участник с: 23 февраля 2012
|
Тоже не работает, после обновления недавнего systemd. Периодически помогает: #ln -s /dev/usb/lp0 /dev/lp0 $ lpstat -p -d printer Samsung_ML-2570_Series is idle. enabled since Вс 24 мар 2013 12:02:30 no system default destination $ $ lsusb Bus 005 Device 002: ID 04e8:327c Samsung Electronics Co., Ltd Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub $
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
|
palpalych |
|
Темы:
89
Сообщения:
1126
Участник с: 09 августа 2011
|
samson4747Волшебник, спасибо...
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
|