Frédéric Brière
2008-Jan-25 07:02 UTC
[Logcheck-devel] [PATCH] Adding rules for headsetd (bluetooth-alsa)
Here are rules to cover headsetd, included in bluetooth-alsa. (Despite
being a daemon, it's currently meant to be run by users, so I'm
including
the start/stop messages in here.)
Signed-off-by: Fr?d?ric Bri?re <fbriere at fbriere.net>
---
.../linux/ignore.d.workstation/bluetooth-alsa | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
create mode 100644 rulefiles/linux/ignore.d.workstation/bluetooth-alsa
diff --git a/rulefiles/linux/ignore.d.workstation/bluetooth-alsa
b/rulefiles/linux/ignore.d.workstation/bluetooth-alsa
new file mode 100644
index 0000000..99059cb
--- /dev/null
+++ b/rulefiles/linux/ignore.d.workstation/bluetooth-alsa
@@ -0,0 +1,9 @@
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ headsetd\[[[:digit:]]{1,5}\]:
Bluetooth headset daemon version [.[:digit:]]+$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ headsetd\[[[:digit:]]{1,5}\]: Changing
state:
(Idle|Paging|Connecting|Ready|Opening|Streaming|Zombie(Appl)?|Connected)-->(Idle|Paging|Connecting|Ready|Opening|Streaming|Zombie(Appl)?|Connected)$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ headsetd\[[[:digit:]]{1,5}\]:
Configuration phase ended: target bdaddr is [:[:xdigit:]]+, timeout is
-?[[:digit:]]+ ms$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ headsetd\[[[:digit:]]{1,5}\]: SCO
channel opened handle=0x[[:xdigit:]]+ mtu=[[:digit:]]+$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ headsetd\[[[:digit:]]{1,5}\]: Appli
closed socket$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ headsetd\[[[:digit:]]{1,5}\]: Nobody
uses SCO channel anymore, closing it\.$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ headsetd\[[[:digit:]]{1,5}\]: Headset
disconnected as (SCO|RFCOMM) socket died$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ headsetd\[[[:digit:]]{1,5}\]: exiting
cleanly$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ headsetd\[[[:digit:]]{1,5}\]: unable
to connect L2CAP socket to headset: Device or resource busy$
--
1.5.3.8