From eb20485b407669720ce6fc7bc94de50ec0580b62 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 19 Jun 2009 14:49:35 +0200 Subject: [PATCH 1/2] udev-acl: Manage hplip device permissions hplip tools need user access to the devices for checking ink levels and user-level configuration. This was formerly done with hal FDIs. As per discussion with Till Kamppeter. --- extras/udev-acl/70-acl.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules index fc27039597..26b805565a 100644 --- a/extras/udev-acl/70-acl.rules +++ b/extras/udev-acl/70-acl.rules @@ -17,6 +17,9 @@ KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP|EPSON|Epson", ENV{ACL_M # USB scanners ENV{libsane_matched}=="yes", ENV{ACL_MANAGE}="1" +# HPLIP devices (necessary for ink level check and HP tool maintenance) +ENV{ID_HPLIP}=="1", ENV{ACL_MANAGE}="1" + # optical drives SUBSYSTEM=="block", ENV{ID_CDROM}=="1", ENV{ACL_MANAGE}="1" From a33da970ef0e07f204d6bfef4690902195dc4818 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 19 Jun 2009 14:53:18 +0200 Subject: [PATCH 2/2] extras/keymap: Update findkeyboards location Recent commit 3b338b6 moved findkeyboards from /usr/share/udev to /lib/udev/. Update documentation accordingly. --- extras/keymap/README.keymap.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/keymap/README.keymap.txt b/extras/keymap/README.keymap.txt index 1558db8782..eab8587de8 100644 --- a/extras/keymap/README.keymap.txt +++ b/extras/keymap/README.keymap.txt @@ -44,7 +44,7 @@ for inclusion you need to do the following steps: 1. Find the keyboard device. - Run /usr/share/udev/findkeyboards. This should always give you an "AT + Run /lib/udev/findkeyboards. This should always give you an "AT keyboard" and possibly a "module". Some laptops (notably Thinkpads, Sonys, and Acers) have multimedia/function keys on a separate input device instead of the primary keyboard. The keyboard device should have a name like "input/event3".