ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergei Epiphanov <serpiph@nikiet.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Сканер и USB, доступ
Date: Thu, 3 Mar 2011 16:41:45 +0300
Message-ID: <201103031641.45323.serpiph@nikiet.ru> (raw)
In-Reply-To: <201103031522.58104.turkov@univ.kiev.ua>

В сообщении от 3 марта 2011 16:22:57 автор Turkov Oleg написал:
> Доброго времени суток.
> $ xsane
> libusb couldn't open USB device /dev/bus/usb/002/003: Permission denied.
> libusb requires write access to USB device nodes.
> 
> Пару лет назад такое уже было и вылечилось установкой udev-extras. Еще 3
> недели назад работало без замечаний. Традиционный вопрос: что делать и кто
> виноват?

Для своего сканера мне пришлось написать файл с содержимым:

==============
ACTION!="add|change", GOTO="local_scanner_end"                                                                                                                                 
                                                                                                                                                                               
#Scanner devices                                                                                                                                                               
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0801", GROUP="scanner", 
MODE="0660"                                                                                                
#SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0801", 
GROUP="scanner", MODE="0660"                                                                             
                                                                                                                                                                               
LABEL="local_scanner_end"
===============

и положить его в каталог /etc/udev/rules.d

После этого сканер заработал. Почему-то нет отработки на изменение прав 
доступа при входе пользователя в систему.

-- 
С уважением, Епифанов Сергей

  reply	other threads:[~2011-03-03 13:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03 13:22 Turkov Oleg
2011-03-03 13:41 ` Sergei Epiphanov [this message]
2011-03-03 13:45 ` Шенцев Алексей Владимирович
2011-03-03 13:52   ` Turkov Oleg
2011-03-04 16:20 ` Vaso VV
2011-03-04 21:00 ` Vitaly Lipatov
2011-03-09  9:05   ` Turkov Oleg
2011-03-09  9:22     ` Sergei Epiphanov
2011-03-09  9:35       ` REAL
2011-03-09 11:22     ` Turkov Oleg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201103031641.45323.serpiph@nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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