[Logcheck-commits] Frédéric Brière : i.d.w/kernel: allow ':' and arbitrary paths for input devices

Frédéric Brière fbriere-guest at alioth.debian.org
Fri Feb 19 02:52:56 UTC 2010


Module: logcheck
Branch: master
Commit: 8a766485f4c10fdaa845c4ab9713f36f0a42d972
URL:    http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=8a766485f4c10fdaa845c4ab9713f36f0a42d972

Author: Frédéric Brière <fbriere at fbriere.net>
Date:   Thu Feb 18 21:39:54 2010 -0500

i.d.w/kernel: allow ':' and arbitrary paths for input devices

Input devices names can contain ':' characters.  Also, the path reported
has been changed from /class to /devices; I felt it best to simply allow
any arbitrary path and be done with it.

Sample log line:

  Jan 12 14:04:05 toroia kernel: [1732360.999883] input: HID 0d8c:000c as /devices/pci0000:00/0000:00:07.3/usb3/3-1/3-1:1.3/input/input8

---

 debian/changelog                            |    1 +
 rulefiles/linux/ignore.d.workstation/kernel |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index afa2b8c..48c2615 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -44,6 +44,7 @@ logcheck (1.3.7) UNRELEASED; urgency=low
   * ignore.d.workstation/kernel:
     - added UDF-fs "readonly partition" and "Mounting volume" rules
     - usbhid no longer prints the source filename in its messages
+    - allow ':' and arbitrary paths for input devices
 
  -- Hannes von Haugwitz <hannes at vonhaugwitz.com>  Sun, 31 Jan 2010 20:13:27 +0100
 
diff --git a/rulefiles/linux/ignore.d.workstation/kernel b/rulefiles/linux/ignore.d.workstation/kernel
index 875b520..31a44e9 100644
--- a/rulefiles/linux/ignore.d.workstation/kernel
+++ b/rulefiles/linux/ignore.d.workstation/kernel
@@ -78,7 +78,7 @@
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? drivers/usb/class/cdc-acm.c: v[\:[:digit:].]+USB Abstract Control Model driver for USB modems and ISDN adapters$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ input.agent\[[[:digit:]]+\]:[[:space:]]+((mouse|ts|ev|joy)dev|evbug): (already loaded|loaded successfully|blacklisted)$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? input: USB HID v[.[:digit:]]+ (Joystick|Keyboard|Mouse) \[[ [:alnum:][:punct:]]+\] on usb-[\:[:xdigit:].-]+$
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? input: [-_/[:alnum:][:space:]]+ as /class/input/input[[:digit:]]+$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? input: [-_/:[:alnum:][:space:]]+ as [-.:/[:alnum:]]+$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? input: AT Translated Set 2 keyboard on isa[[:digit:]]+/serio[[:digit:]]+$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? pl2303 [-:[:digit:].]+ PL-2303 converter detected$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? usb [-:[:digit:]]+ [-[:alnum:][:space:]]+ converter now attached to ttyUSB[[:digit:]]+$




More information about the Logcheck-commits mailing list