[Logcheck-commits] =?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?=: i.d.w/kernel: updated " new USB device" to new usb_speed_string() format

Frédéric Brière fbriere-guest at alioth.debian.org
Tue Jan 31 18:08:52 UTC 2012


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

Author: Frédéric Brière <fbriere at fbriere.net>
Date:   Tue Jan 31 12:52:01 2012 -0500

i.d.w/kernel: updated "new USB device" to new usb_speed_string() format

The speed of USB devices (low|full|high) is now printed with a dash
("high-speed") since kernel 3.2 (e538dfd).

---

 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 80aef9a..1133f46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,7 @@ logcheck (1.3.15) UNRELEASED; urgency=low
     - ignore "usb-storage: Quirks match"
     - ignore "sensor detected" for various GSPCA webcams
     - updated FAT messages to new fat_msg() format
+    - updated "new USB device" message to new usb_speed_string() format
 
  -- Hannes von Haugwitz <hannes at vonhaugwitz.com>  Fri, 16 Dec 2011 08:06:47 +0100
 
diff --git a/rulefiles/linux/ignore.d.workstation/kernel b/rulefiles/linux/ignore.d.workstation/kernel
index 3846049..1bf2e72 100644
--- a/rulefiles/linux/ignore.d.workstation/kernel
+++ b/rulefiles/linux/ignore.d.workstation/kernel
@@ -22,7 +22,7 @@
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? hub [[:digit:]]+-[[:digit:]]+:[[:digit:]]+\.[[:digit:]]+: over-current change on port [[:digit:]]+$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? hub [[:digit:]]+-[[:digit:]]+:[[:digit:]]+\.[[:digit:]]+: port [[:digit:]]+ disabled by hub \(EMI\?\), re-enabling\.\.\.$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? usb [[:digit:]]+-[.[:digit:]]+: configuration #[[:digit:]] chosen from [[:digit:]]+ choices?$
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? usb [[:digit:]]+-[.[:digit:]]+: (new|reset) (low|full|high) speed USB device (number [[:digit:]]+ using [_[:alnum:]-]+|using ([_[:alnum:]-]+ and )?address [[:digit:]]+)$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? usb [[:digit:]]+-[.[:digit:]]+: (new|reset) (low|full|high)[ -]speed USB device (number [[:digit:]]+ using [_[:alnum:]-]+|using ([_[:alnum:]-]+ and )?address [[:digit:]]+)$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? usb [[:digit:]]+-[.[:digit:]]+: New USB device found, idVendor=[[:xdigit:]]+, idProduct=[[:xdigit:]]+$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? usb [[:digit:]]+-[.[:digit:]]+: New USB device strings: Mfr=[[:digit:]]+, Product=[[:digit:]]+, SerialNumber=[[:digit:]]+$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? usb [[:digit:]]+-[.[:digit:]]+: (Product|Manufacturer|SerialNumber): .*$




More information about the Logcheck-commits mailing list