--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: contradictory advice when checking for sound issues
- From: Andrei Popescu <andreimpopescu@gmail.com>
- Date: Sat, 27 Jun 2009 12:34:37 +0300
- Message-id: <20090627093437.28444.85922.reportbug@think.homelan>
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 > /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
--- End Message ---
--- Begin Message ---
- To: 534797-done@bugs.debian.org
- Subject: Re: Bug#534797: contradictory advice when checking for sound issues
- From: Nicolas François <nicolas.francois@centraliens.net>
- Date: Fri, 21 Aug 2009 22:13:41 +0200
- Message-id: <20090821201341.GA7982@nekral.nekral.homelinux.net>
- In-reply-to: <20090704234901.GA3808@osamu.debian.net>
- References: <20090627093437.28444.85922.reportbug@think.homelan> <20090704234901.GA3808@osamu.debian.net>
Hello,
On Sun, Jul 05, 2009 at 08:49:01AM +0900, Osamu Aoki wrote:
>
> 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.
Thank you (and Andrei).
I committed this in the release notes.
Best Regards,
--
Nekral
--- End Message ---