From: "Андрей Черепанов" <cas@altlinux.ru> To: sisyphus@lists.altlinux.org Subject: Re: [sisyphus] Сканирование Date: Wed, 05 Mar 2014 13:06:01 +0400 Message-ID: <5316E8F9.1040500@altlinux.ru> (raw) In-Reply-To: <2671039.xyH6MbdESN@epiphanov.bkpi82.nikiet.ru> 05.03.2014 12:34, Sergei Epiphanov пишет: > Всем добрый день! > > Имею USB-сканер HP, который в системе нормально виден и работает. Полгода > назад сканировал на нём под обычным пользователем без проблем, потом пауза. А > неделю назад начал сканировать снова и xsane почему-то не может его найти. > sane-find-scanner сообщает, что не может получить доступ к сканеру. Под root > сканер доступен и работает как надо. Поиск проблемы показал, что устройство > сканера вдруг стало 640 и root:lp. Добавил себя в группу lp, сканер стал мне > доступен. > > Как можно исправить эту проблему и заставить файлу сканера быть root:scanner? > Всё-таки lp - это принтер. > > #sane-find-scanner > ... > found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x1705 [hp scanjet > scanner]) at libusb:009:002 > ... > # rpm -qf /etc/udev/rules.d/25-libsane.rules > libsane-1.0.24-alt2.2 > # lsusb > ... > Bus 009 Device 002: ID 03f0:1705 Hewlett-Packard ScanJet 5590 > ... > # Раньше для МФУ использовалось не явное задание группы, а через ACL. См. getfacl /dev/bus/usb/009/002 (цифры брал отсюда: > scanner]) at libusb:009:002 Группа scanner должна туда была прописываться. Или как вариант, в ACL прописывается xgrp, куда входят залогиненные в Xorg пользователи. -- Андрей Черепанов ALT Linux cas@altlinux.ru
next prev parent reply other threads:[~2014-03-05 9:06 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-03-05 8:34 Sergei Epiphanov 2014-03-05 9:06 ` Андрей Черепанов [this message] 2014-03-05 9:15 ` Sergei Epiphanov 2014-03-05 9:51 ` Андрей Черепанов 2014-03-05 9:53 ` Anton Gorlov 2014-03-05 9:59 ` Андрей Черепанов 2014-03-05 10:37 ` Sergei Epiphanov 2014-03-05 12:04 ` Андрей Черепанов 2014-03-06 5:41 ` Sergei Epiphanov 2014-03-06 6:24 ` Андрей Черепанов 2014-03-06 7:53 ` Sergei Epiphanov 2014-03-06 8:23 ` Андрей Черепанов
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=5316E8F9.1040500@altlinux.ru \ --to=cas@altlinux.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