Bug#286747: [Logcheck-devel] Bug#286747: logcheck-database: ignore rules for USB headset

maximilian attems debian at sternwelten.at
Thu Dec 30 11:04:35 UTC 2004


tags 286747 pending
thanks

On Tue, 21 Dec 2004, Lee Maguire wrote:

> Ignore rules to supress messages generated from pugging in, and
> then removing, a USB headset (one speaker).
> 
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: drivers\/usb\/class\/audio\.c: v1.0.0:USB Audio Class driver$
merged with small version change:
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: drivers\/usb\/class\/audio\.c: v[.0-9]+:USB Audio Class driver$
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usbaudio: assuming that a stereo channel connected directly to a mixer is missing in search.*$
added:
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usbaudio: assuming that a stereo channel connected directly to a mixer is missing in search \(got .*\?\)\. Should be fine\.$
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usbaudio: constructing mixer for Terminal [0-9]+ type 0x[0-9]+$
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usbaudio: device [0-9] audiocontrol interface [0-9] has [0-9] input and [0-9] output AudioStreaming interfaces$
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usbaudio: device [0-9]+ interface [0-9]+ altsetting [0-9]+: format 0x[0-9]+ sratelo [0-9]+ sratehi [0-9]+ attributes 0x[0-9]+$
all three merged
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usb_audio_parsecontrol: usb_audio_state at .*$
added:
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usb_audio_parsecontrol: usb_audio_state at [[:alnum:]]+$
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usbaudio: (registered|unregister) (dsp|mixer) [,0-9]+$
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usbaudio: valid (in|out)put sample rate [0-9]+$
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usbaudio: warning: found [0-9] of [0-9] logical channels\.$
all three merged
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ udev\[[0-9]+\]: (removing|creating) device node .*$
similar rule already in cvs
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ hald\[[0-9]+\]: Timed out waiting for hotplug event [0-9]+\. Rebasing to [0-9]+$
merged
> 
> 
> This were the log messages as forwarded by logcheck:

thanks for your helpfull posting!!
best regards

--
maks






More information about the Logcheck-devel mailing list