МФУ HP LaserJet M1536dnf сканирует только из под root

Добрый день!

Имеется МФУ HP LaserJet M1536dnf. Устанавливал через hplip. МФУ печатает из-под обычного юзера, но сканирует xsane только через sudo.
Собственно как настроить нормальное сканирование из под юзера?

$ scanimage -L

device `hpaio:/usb/HP_LaserJet_M1536dnf_MFP?serial=00CNB9BBJB5R' is a Hewlett-Packard HP_LaserJet_M1536dnf_MFP all-in-one
device `v4l:/dev/video0' is a Noname USB2.0_Camera virtual device

hpaio в /etc/sane.d/dll.conf расскоментировано

/etc/sane.d/hpaio.conf
usb 0x03f0 0x012a

$ lsusb
Bus 004 Device 004: ID 093a:2700 Pixart Imaging, Inc.
Bus 004 Device 002: ID 03f0:012a Hewlett-Packard
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ Mini Traveler / Genius NetScroll 120
Bus 005 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 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

$ groups
lp wheel scanner users

$ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try "modprobe sg".

could not open USB device 0x093a/0x2700 at 003:004: Access denied (insufficient permissions)
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x012a [HP LaserJet M1536dnf MFP]) at libusb:003:002
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x0458/0x003a at 005:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 005:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 001:001: Access denied (insufficient permissions)
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

/etc/udev/rules.d/53-sane.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="012a", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"

/etc/udev/rules.d/10-usbprinter.rules
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="012a", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"
У нас везде они в офисе, но всегда по сети подключены. На десктопах стоит hplip и hplip-plugin из AUR (ибо без него не сканит), собственно sane, никаких хитрых правил, просто в cups МФУ добавляешь как принтер и после этого софт для сканирования начинает её видеть.
Проблема решилась добавлением пользователя в группу printadmin, добавлением в SystemGroup в /etc/cups/cups-files.conf группы printadmin, удалением hplip, очисткой каталога usr/share/hplip, затем установкой hplip и hplip-plugin из AUR, установкой заново принтера. Сканировать начал из под обычного пользователя. Добавьте [РЕШЕНО]
 
Зарегистрироваться или войдите чтобы оставить сообщение.