[Pkg-alsa-devel] Bug#342649: alsa-utils: aplay don't work with VIA8237 and ALC850 and PCM hw

Anders Boström anders at netinsight.se
Fri Dec 9 10:01:54 UTC 2005


Package: alsa-utils
Version: 1.0.10-1
Severity: normal

aplay don't work if I set the PCM device to hw:

sid:/home/anders>aplay -D hw /usr/X11R6/lib/tkdesk/sounds/metal.au
Playing Sparc Audio '/usr/X11R6/lib/tkdesk/sounds/metal.au' : Mu-Law, Rate 8012 Hz, Mono
aplay: set_params:896: Sample format non available
sid:/home/anders>

Unfortunately, I have to use the following .asoundrc on order to
work-around bug #305189:

    pcm.!default {
    type hw
    card 0
    }

    ctl.!default {
    type hw
    card 0
    }

And with that .asoundrc isn't aplay working :-(

With the default PCM device is aplay working.

ltrace gives this:

...
snd_pcm_hw_params_set_access(0x51b2f0, 0x7fffffffbd30, 3, 0x2aaaab1f9dc9, 0) = 0
snd_pcm_hw_params_set_format(0x51b2f0, 0x7fffffffbd30, 20, 0x2aaaab1f9dc9, 1) = 0xffffffea
fprintf(0x2aaaab36e660, "%s: %s:%d: ", "aplay", "set_params", 896aplay: set_params:896: ) = 23
dcgettext(0, 0x40917a, 5, 0x7fffffffb4f0, 0x2aaaab375190) = 0x40917a
fprintf(0x2aaaab36e660, "Sample format non available"Sample format non available) = 27
_IO_putc('\n', 0x2aaaab36e660
)                   = 10
exit(1 <unfinished ...>
+++ exited (status 1) +++


I don't know if this is a problem in aplay or libasound2.

My hardware:
VIA8237 with ALC850

Any suggestion? Possible work-around (besides always run aplay with
'-D default')?

/ Anders

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 'sarge-unsupported')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to sv_SE)

Versions of packages alsa-utils depends on:
ii  dialog                    1.0-20051107-1 Displays user-friendly dialog boxe
ii  libasound2                1.0.10-1       ALSA library
ii  libc6                     2.3.5-8.1      GNU C Library: Shared libraries an
ii  libncurses5               5.5-1          Shared libraries for terminal hand
ii  linux-sound-base          1.0.10-1       base package for ALSA and OSS soun
ii  lsb-base                  3.0-11         Linux Standard Base 3.0 init scrip
ii  module-init-tools         3.2-pre9-4     tools for managing Linux kernel mo
ii  modutils                  2.4.27.0-3     Linux module utilities
ii  pciutils                  1:2.1.11-15.1  Linux PCI Utilities
ii  python                    2.3.5-3        An interactive high-level object-o
ii  whiptail                  0.51.6-31      Displays user-friendly dialog boxe

Versions of packages alsa-utils recommends:
ii  alsa-base                     1.0.10-1   ALSA driver configuration files

-- no debconf information




More information about the Pkg-alsa-devel mailing list