[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#534797: contradictory advice when checking for sound issues



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 <andreimpopescu@gmail.com>
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 &gt; /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


Reply to: