Hi all, we are getting a lot of bug reports from users with parallel scanners which are not able to using xsane when not running as root. I suggest to apply attached patch to add ACL to parallel port to fix this issue. -- Frederic Crozat <fcrozat@xxxxxxxxxxxx> Mandriva
>From 72a672a407a099b0981dbb13365b4e4bd6001e5c Mon Sep 17 00:00:00 2001 From: Frederic Crozat <fcrozat@xxxxxxxxxxxx> Date: Wed, 7 Oct 2009 10:26:00 +0200 Subject: [PATCH] add ACL for parallel printer and scanner --- extras/udev-acl/70-acl.rules | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules index 8259a7a..ae31c68 100644 --- a/extras/udev-acl/70-acl.rules +++ b/extras/udev-acl/70-acl.rules @@ -11,6 +11,13 @@ SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:060101:*", ENV{ACL_MANAGE}="1" # digicams with proprietary protocol ENV{ID_GPHOTO2}=="*?", ENV{ACL_MANAGE}="1" +# parallel printer and scanner +KERNEL=="parport[0-9]*", ENV{ACL_MANAGE}="1" +SUBSYSTEM=="printer", KERNEL=="lp*", ENV{ACL_MANAGE}="1" +SUBSYSTEM=="ppdev", ENV{ACL_MANAGE}="1" +KERNEL=="lp[0-9]*", ENV{ACL_MANAGE}="1" +KERNEL=="irlpt[0-9]*", ENV{ACL_MANAGE}="1" + # SCSI scanners KERNEL=="sg[0-9]*", ATTRS{type}=="6", ENV{ACL_MANAGE}="1" KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP|EPSON|Epson", ENV{ACL_MANAGE}="1" -- 1.6.4.4