When using sane-backends-1.0.20, the udev rules in /etc/udev/rules.d/70-libsane.rules contain ATTR where ATTRS would belong. Hence, device files for scanners are no longer owned by group "scanner" but "root". Therefore, only "root" can use sane-backend supported scanners. This bug is fixed upstream in commit 79e6e5c4203bec6b98d1d6af4d3741fedc73dcd0 (Committed after the release of 1.0.20 and no fixed release was made). The patch for this commit corrects tools/sane-desc.c of sane-backends to correctly produce udev rules using ATTRS. Reproducible: Always Steps to Reproduce: 1. Install media-gfx/sane-backends-1.0.20 2. Plug-in scanner Actual Results: "scanimage -L" does not list scanner (it did list the scanner when using <=media-gfx/sane-backends-1.0.20) Expected Results: "scanimage -L" should give a list of attached scanners.
Created attachment 196663 [details, diff] Patch for fixing udev rules
Created attachment 196665 [details] ebuild applying attached patch
I had the same problem and the proposed patch solved it.
Thanks for the report, the patch, and the feedback on the patch! Assigning to maintainer.
Thank you very much! -r1 in CVS.