[Ubuntu Wiki] Update of "DebuggingSoundProblems" by preston-bannister
Ubuntu Wiki
noreply at ubuntu.com
Sat Jun 26 21:49:59 UTC 2010
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Ubuntu Wiki" for change notification.
The following page has been changed by preston-bannister:
http://wiki.ubuntu.com/DebuggingSoundProblems?action=diff&rev1=49&rev2=50
The comment on the change is:
Slightly re-wrote the codec grep to not generate warnings.
------------------------------------------------------------------------------
Please paste the output of the following command at the top of your bug description:
{{{
- grep "^Codec\|^Vendor Id\|^Subsystem Id\|^Revision Id" /proc/asound/card*/*codec*{,/*} | grep -B2 -A1 $(lspci -nv | grep -A1 0403 | grep Subsystem | sed 's/://g' | awk '{ print $2 }')
+ find /proc/asound/card* -type f | grep codec | xargs grep "^Codec\|^Vendor Id\|^Subsystem Id\|^Revision Id" | grep -B2 -A1 $(lspci -nv | grep -A1 0403 | grep Subsystem | sed 's/://g' | awk '{ print $2 }')
}}}
- ''Note: This doesn't seem to be working (anymore?) on Karmic, when pasting this into a console I get the following error:''
-
- ''Answer: This type of collection with 'grep' is ad-hoc, and bound to fail within releases. The proper way to collect information is to use alsa-info.sh, described below. Then, provide a link to the collected information in the bug report. I would like to rewrite this section; if there are disagreements, please say so.''
-
- {{{
- Usage: grep [OPTION]... PATTERN [FILE]...
- Try `grep --help' for more information.
- }}}
-
- You may see output similar to:
+ You should see output similar to:
{{{
/proc/asound/card0/codec#0:Codec: Realtek ALC883
/proc/asound/card0/codec#0:Vendor Id: 0x10ec0883
More information about the Ubuntu-bugsquad
mailing list