Debian Bug report logs - #608388
alsa-utils: restore fails after rename from "PC Speaker" to "Beep"

version graph

Package: alsa-utils; Maintainer for alsa-utils is Debian ALSA Maintainers <[email protected]>; Source for alsa-utils is src:alsa-utils (PTS, buildd, popcon).

Reported by: Kurt Roeckx <[email protected]>

Date: Thu, 30 Dec 2010 13:51:02 UTC

Severity: important

Found in version alsa-utils/1.0.23-3

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#608388: alsa-utils: restore fails after rename from "PC Speaker" to "Beep"
Reply-To: Kurt Roeckx <[email protected]>, [email protected]
Resent-From: Kurt Roeckx <[email protected]>
Resent-To: [email protected]
Resent-CC: Debian ALSA Maintainers <[email protected]>
X-Loop: [email protected]
Resent-Date: Thu, 30 Dec 2010 13:51:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: report 608388
X-Debian-PR-Package: alsa-utils
X-Debian-PR-Keywords: 
X-Debian-PR-Source: alsa-utils
Received: via spool by [email protected] id=B.129371692119824
          (code B ref -1); Thu, 30 Dec 2010 13:51:02 +0000
Received: (at submit) by bugs.debian.org; 30 Dec 2010 13:48:41 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on busoni.debian.org
X-Spam-Level: 
X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 151; neutral, 78; spammy,
	0. spammytokens: hammytokens:0.000-+--manpage, 0.000-+--Severity,
	0.000-+--ALSA, 0.000-+--H*u:1.5.20, 0.000-+--H*UA:1.5.20
X-Spam-Status: No, score=-8.1 required=4.0 tests=AWL,BAYES_00,FOURLA,
	HAS_PACKAGE autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from brigitte.telenet-ops.be ([195.130.137.66])
	by busoni.debian.org with esmtp (Exim 4.69)
	(envelope-from <[email protected]>)
	id 1PYIrx-00059X-7f
	for [email protected]; Thu, 30 Dec 2010 13:48:41 +0000
Received: from intrepid.roeckx.be ([84.194.112.165])
	by brigitte.telenet-ops.be with bizsmtp
	id pRod1f0063aA8T00GRodUX; Thu, 30 Dec 2010 14:48:37 +0100
Received: by intrepid.roeckx.be (Postfix, from userid 1000)
	id D4247EAE28; Thu, 30 Dec 2010 14:48:32 +0100 (CET)
Date: Thu, 30 Dec 2010 14:48:32 +0100
From: Kurt Roeckx <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.20 (2009-06-14)
Delivered-To: [email protected]
Package: alsa-utils
Version: 1.0.23-3
Severity: important

Hi,

I think Linux 2.6.33 renamed "PC Speaker" to "Beep".  alsactl
doesn't seem to be liking this much.

During boot between kernels with different names I see:
Setting up ALSA...warning: 'alsactl restore' failed with error message 'Unknown hardware: "ICH" "SigmaTel STAC9700,83,84" "AC97a:83847600" "0x1043" "0x1493"
Hardware is initialized using a guess method
alsactl: set_control:1255: failed to obtain info for control #5 (No such file or directory)
alsactl: set_control:1255: failed to obtain info for control #6 (No such file or directory)'...done.


I think that SigmaTel thing is a modem and not related at all.

On a 2.6.32 kernel I get:
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'PC Speaker Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 15'
                comment.dbmin -4500
                comment.dbmax 0
                iface MIXER
                name 'PC Speaker Playback Volume'
                value 8
        }

Booting into a newer kernel, I get:
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Beep Playback Switch'
                value false
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 15'
                comment.dbmin -4500
                comment.dbmax 0
                iface MIXER
                name 'Beep Playback Volume'
                value 0
        }

So it's renamed, volume turned to 0 and muted.

So I've changed it manually so that is says:
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface MIXER
                name 'Beep Playback Switch'
                value true
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 1
                comment.range '0 - 15'
                comment.dbmin -4500
                comment.dbmax 0
                iface MIXER
                name 'Beep Playback Volume'
                value 15
        }

(On, volume at 15)

Rebooting into a .32 kernel gets me the volume of 8 again.

So it seems that for .32 it sets up reasonable defaults, while for newer it just turns it off.
But I'm expecting my settings to be saved, even after a rename.

The manpage says:
       -F, --force
              Used  with restore command.  Try to restore the matching control elements as much as possible.  This option is
              set as default now.

This doesn't seem to be doing what I expect it to do.



Kurt





Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 00:52:07 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.