ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] USB сканер
@ 2011-09-12 13:33 "Vasyĺ V. Vercynśkyj"
  2011-09-12 13:44 ` Alexei V. Mezin
  2011-09-17 16:27 ` "Vasyĺ V. Vercynśkyj"
  0 siblings, 2 replies; 5+ messages in thread
From: "Vasyĺ V. Vercynśkyj" @ 2011-09-12 13:33 UTC (permalink / raw)
  To: ALT Linux Community general discussions

USB сканер EPSON perfection V30.
При старте системы со включенным сканером получаем устройство 
/dev/bus/usb/###/### с правами «crw-rw-r--  1 root root», которые, 
однако, не мешает сканировать.
Если сканер выключить/включить, то xsane сообщит:
«Невозможно открыть устройство `epkowa:interpreter:###:###': Неверный 
аргумент.»
а также: $ scanimage -L
libusb couldn't open USB device /dev/bus/usb/###/###: Permission denied.
libusb requires write access to USB device nodes.

Обойти можно, раскомментировав в /etc/udev/rules.d/25-libsane.rules
строку ENV{DEVTYPE}=="usb_device", MODE="0664", OWNER="root" и добавив к 
ней GROUP="scanner", что даст нам устройство с правами crw-rw-r--  1 
root scanner, и возможность сканирования всем участникам группы scanner.

В то же время в соседней убунту сканер имеет вечные права «crw-rw-r--  1 
root root» и спокойно позволяет сканировать в любой ситуации.

?

-- 
WTF........[x]
TFTHAOT....[ ]
AMF........[ ]


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-19  6:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-12 13:33 [Comm] USB сканер "Vasyĺ V. Vercynśkyj"
2011-09-12 13:44 ` Alexei V. Mezin
2011-09-13  7:00   ` "Vasyĺ V. Vercynśkyj"
2011-09-17 16:27 ` "Vasyĺ V. Vercynśkyj"
2011-09-19  6:53   ` "Vasyĺ V. Vercynśkyj"

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git