| Summary: | no access to usb scanner from sane-find-scanner | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Leonid Kanter <leon> |
| Component: | sane-backends | Assignee: | Nils Philippsen <nphilipp> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | info, johannbg, kim-rh, leon, lnykryn, msekleta, nphilipp, plautrba, systemd-maint, vpavlin, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-25 00:52:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Leonid Kanter
2013-10-24 14:49:18 UTC
*** Bug 1026071 has been marked as a duplicate of this bug. *** 70-uaccess.rules contains this line:
ENV{libsane_matched}=="yes", TAG+="uaccess"
and 65-sane-backends.rules contains a list of scanners, and assigns ENV{libsane_matched}="yes". I think it is most likely that your scanner is missing from this list. Can you post the output of
udevadm info /dev/...
where /dev/... is the scanner device (/dev/sgX probably)? It should contain
E: libsane_matched=yes
E: TAGS=:uaccess:
I have this: # ls -l /dev/sg* crw-rw----+ 1 root cdrom 21, 0 Oct 13 08:11 /dev/sg0 crw-rw----. 1 root disk 21, 1 Oct 13 08:11 /dev/sg1 crw-------+ 1 root root 21, 2 Oct 13 08:11 /dev/sg2 # udevadm info /dev/sg2 P: /devices/pci0000:00/0000:00:14.4/0000:01:05.0/host8/target8:0:6/8:0:6:0/scsi_generic/sg2 N: sg2 E: DEVNAME=/dev/sg2 E: DEVPATH=/devices/pci0000:00/0000:00:14.4/0000:01:05.0/host8/target8:0:6/8:0:6:0/scsi_generic/sg2 E: ID_FOR_SEAT=scsi_generic-pci-0000_01_05_0-scsi-0_0_6_0 E: ID_PATH=pci-0000:01:05.0-scsi-0:0:6:0 E: ID_PATH_TAG=pci-0000_01_05_0-scsi-0_0_6_0 E: MAJOR=21 E: MINOR=2 E: SUBSYSTEM=scsi_generic E: TAGS=:seat:uaccess: E: USEC_INITIALIZED=82265 E: libsane_matched=yes That looks OK. Can you paste output from 'getfacl /dev/sg2'? #getfacl /dev/sg2 getfacl: Removing leading '/' from absolute path names # file: dev/sg2 # owner: root # group: root user::rw- user:kim:rw- group::--- mask::rw- other::--- So in fact you *do* have read-write permissions. I looked at your original bug report, and there you didn't ("+" was missing). So something changed meanwhile, though not on systemd side afaik. I'd be inclined to close this, unless you see the missing permissions again.
I agree - has been working last time I used it - not often. What about the usb-problem (Leonid Kanter). Let's give him a couple of days to chime in. Confirming that it works now OK, problem seems to have gone away. |