Hi, Yes.
I know the 'speaker-test' command is good under ALSA but why not also mention /dev/audio, too. I mean why not mention check whether the command 'cat /dev/urandom > /dev/audio' or the command 'speaker-test' works for root. On Sat, Jun 27, 2009 at 12:34:37PM +0300, Andrei Popescu wrote: > Package: release-notes > Severity: normal > Tags: patch > > Hello, > > In the "Sound stops working" section, the "alsa checklist" says: > > - make sure on OSS modules are loaded > .... > - check whether the command 'cat /dev/urandom > /dev/dsp' works for root > > This is contradictory because /dev/dsp does not exist unless you have > either the OSS modules loaded or the alsa-oss compatibility layer > installed. > > Attached a patch to replace this with the 'speaker-test' command. I > could commit it directly if it's easier for you. > > Regards, > Andrei > > > -- System Information: > Debian Release: squeeze/sid > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, > 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores) > Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > >From 047f5a1e0b8fba90e927bc7fc6049134ed37a817 Mon Sep 17 00:00:00 2001 > From: Andrei Popescu <[email protected]> > Date: Sat, 27 Jun 2009 12:21:33 +0300 > Subject: [PATCH] patch to use speaker-test instead of cat /dev/urandom > > /dev/dsp > > this is needed because previously it is recommended to not have any oss > modules loaded, but /dev/dsp does not exist if oss (or the alsa-oss > compatibility layer) is not installed. > --- > trunk/release-notes/en/issues.dbk | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/trunk/release-notes/en/issues.dbk > b/trunk/release-notes/en/issues.dbk > index a81dff3..eb166f9 100644 > --- a/trunk/release-notes/en/issues.dbk > +++ b/trunk/release-notes/en/issues.dbk > @@ -204,8 +204,10 @@ make sure the speakers are actually switched on, and > <listitem> > <para> > check whether the command > -<programlisting>cat /dev/urandom > /dev/dsp</programlisting> > -works for <literal>root</literal>. > +<programlisting>speaker-test -c2 -l1</programlisting> > +produces any sound for <literal>root</literal> and/or your user. > +<command>speaker-test</command> can be found in the package > +<systemitem role="package">alsa-utils</systemitem>. > </para> > </listitem> > </itemizedlist> > -- > 1.6.3.1 > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

