Автор Тема: И снова epson 1270 не работает под пользователем! [РЕШЕНО]  (Прочитано 2431 раз)

Оффлайн flint1975

  • Участник
  • *
  • Сообщений: 1 441
Сразу скажу: прошивку скопировал, из под root сканер работает !
Пользователя домена nataly добавил в группы scanner и lp.
В /etc/udev/25-libsane.rules
# Epson Perfection 1270
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0120", MODE="0664", ENV{libsane_matched}="yes"
[root@elpromsrv ~]# lsusb
Bus 001 Device 002: ID 04b8:0120 Seiko Epson Corp. GT-7400U [Perfection 1270]
Но при этом:
[nataly@elpromsrv ~]$ 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 0x04b8/0x0120 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1c4f/0x0003 at 001:004: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0024 at 003:002: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0024 at 004:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x0529/0x0001 at 004:003: Access denied (insufficient permissions)
could not open USB device 0x1c4f/0x0002 at 004:004: Access denied (insufficient permissions)
  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.

  # 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.

Дистр - кентавр 7 в режиме сервера SysVinit
Что ему не хватает!
« Последнее редактирование: 16.11.2013 17:34:21 от flint1975 »

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 360
  • Учиться .... Телепатами не рождаются, ими ....
А где  GROUP="scanner" в правилах udev?

Оффлайн flint1975

  • Участник
  • *
  • Сообщений: 1 441
Спасибо, уже нашел! на вики!

Оффлайн imz

  • alt linux team
  • ***
  • Сообщений: 10
    • HOW TO do and not to do a certain thing -- my notes
А где  GROUP="scanner" в правилах udev?

Вообще-то ( http://www.altlinux.org/%D0%9D%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0_%D1%81%D0%BA%D0%B0%D0%BD%D0%B5%D1%80%D0%B0_%D0%B2_ALT_Linux#ConsoleKit ), автоматически доступ к сканеру должен доставаться пользователю, который сидит за консолью. [http://lists.altlinux.org/pipermail/sisyphus/2010-November/350678.html]

* Только не после {{cmd|startx}} -- {{altbug|29758}}, {{altbug|17378}}.

Возможно, у спрашивающего как раз случай со startx или удалённым доступом, или отключен ConsoleKit как-то.