* [PATCH] alsa-info.sh: include 1 line of dmesg context
@ 2009-07-18 2:28 Wu Fengguang
2009-07-19 12:15 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Wu Fengguang @ 2009-07-18 2:28 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
So as to include possible ALSA messages without the common keywords,
as well as be more confident on the completeness/coverage of the report.
It also shows nice '--' separators between the dmesg ranges.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
---
utils/alsa-info.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- alsa-driver.orig/utils/alsa-info.sh
+++ alsa-driver/utils/alsa-info.sh
@@ -247,7 +247,7 @@ withdmesg() {
echo "!!ALSA/HDA dmesg" >> $FILE
echo "!!------------------" >> $FILE
echo "" >> $FILE
- dmesg | grep -E 'ALSA|HDA|HDMI|sound|hda.codec|hda.intel' >> $FILE
+ dmesg | grep -C1 -E 'ALSA|HDA|HDMI|sound|hda.codec|hda.intel' >> $FILE
echo "" >> $FILE
echo "" >> $FILE
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] alsa-info.sh: include 1 line of dmesg context
2009-07-18 2:28 [PATCH] alsa-info.sh: include 1 line of dmesg context Wu Fengguang
@ 2009-07-19 12:15 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2009-07-19 12:15 UTC (permalink / raw)
To: Wu Fengguang; +Cc: alsa-devel
At Sat, 18 Jul 2009 10:28:13 +0800,
Wu Fengguang wrote:
>
> So as to include possible ALSA messages without the common keywords,
> as well as be more confident on the completeness/coverage of the report.
>
> It also shows nice '--' separators between the dmesg ranges.
>
> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Thanks, applied now.
Takashi
> ---
> utils/alsa-info.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- alsa-driver.orig/utils/alsa-info.sh
> +++ alsa-driver/utils/alsa-info.sh
> @@ -247,7 +247,7 @@ withdmesg() {
> echo "!!ALSA/HDA dmesg" >> $FILE
> echo "!!------------------" >> $FILE
> echo "" >> $FILE
> - dmesg | grep -E 'ALSA|HDA|HDMI|sound|hda.codec|hda.intel' >> $FILE
> + dmesg | grep -C1 -E 'ALSA|HDA|HDMI|sound|hda.codec|hda.intel' >> $FILE
> echo "" >> $FILE
> echo "" >> $FILE
> }
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-19 12:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-18 2:28 [PATCH] alsa-info.sh: include 1 line of dmesg context Wu Fengguang
2009-07-19 12:15 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.