From: Sergei Epiphanov <serpiph@nikiet.ru> To: sisyphus@lists.altlinux.org Subject: Re: [sisyphus] Работа со сканерами Date: Thu, 25 Nov 2010 10:42:10 +0300 Message-ID: <201011251042.13587.serpiph@nikiet.ru> (raw) In-Reply-To: <20101124191132.GA6201@atlas.home> В сообщении от 24 ноября 2010 22:11:32 автор Sergey Vlasov написал: > Тут может быть две разных проблемы: > > 1) Возможно, нужный USB vendor/product id отсутствует в правилах > /etc/udev/rules.d/25-libsane.rules - либо из-за ошибки в пакете > libsane, либо из-за того, что данный сканер на самом деле > поддерживается каким-то другим пакетом, в котором не хватает > нужных правил для udev. Vendor/Product прописаны в правилах есть. Сканер HP 7500c (03f0:0801). > 2) Помимо правил udev, ещё должен правильно работать ConsoleKit - > можно посмотреть, что выводит команда ck-list-sessions, там должен > быть сеанс пользователя с флагами active = TRUE, is-local = TRUE. > Например, если выполнен вход с консоли, а затем startx, сеанс > пользователя не будет считаться активным. Это и есть (захожу в консоль, потом startx): $ ck-list-sessions Session1: unix-user = '500' realname = '(null)' seat = 'Seat1' session-type = '' active = FALSE x11-display = '' x11-display-device = '' display-device = '/dev/tty1' remote-host-name = '' is-local = TRUE on-since = '2010-11-25T10:18:04.556420Z' login-session-id = '1' idle-since-hint = '2010-11-25T10:18:37.001483Z' $ А как тогда разруливать права? > > ACL != file mode bits и ls'ом ACL не увидеть > > На самом деле видно - ls -l при наличии ACL добавляет "+" после поля > обычных прав доступа. Плюсик тоже вижу: $ ls -l /dev/bus/usb/001/002 crw-rw----+ 1 root scanner 189, 1 Nov 25 2010 /dev/bus/usb/001/002 $ -- С уважением, Епифанов Сергей
prev parent reply other threads:[~2010-11-25 7:42 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-24 12:48 Sergei Epiphanov 2010-11-24 12:59 ` Valery V. Inozemtsev 2010-11-24 13:16 ` Sergei Epiphanov 2010-11-24 13:19 ` Valery V. Inozemtsev 2010-11-24 14:03 ` Sergei Epiphanov 2010-11-24 19:11 ` Sergey Vlasov 2010-11-25 7:42 ` Sergei Epiphanov [this message]
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=201011251042.13587.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