public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Raffaele BELARDI <raffaele.belardi@st.com>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64] problem with multi-channel alsa on hda-intel
Date: Tue, 25 Aug 2009 08:39:14 +0200	[thread overview]
Message-ID: <1251182354.5043.31.camel@localhost> (raw)

Until last world update I was happily using the following .asoundrc [1]
to duplicate stereo sound from front to rear channels (the former is
connected to a 2.1 system, the latter to a hi-fi equipment):

pcm.ch40dup {
 type route
 slave.pcm surround40
 slave.channels 4
 ttable.0.0 1
 ttable.1.1 1
 ttable.0.2 1
 ttable.1.3 1
 }

and then "mplayer -channels 4 -ao alsa:device=ch40dup" gave me the
duplicated stereo sound on 4 channels.

After last update alsa-lib went from 1.0.19 to 1.0.20 and kernel 2.6.29
to 2.6.30 and mplayer sound stopped working from any channel with the
following error:

Trying preferred audio driver 'alsa', options 'device=ch40dup'
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.20
alsa-init: setup for 1/2 channel(s)
alsa-init: using device ch40dup
alsa-init: pcm opened in blocking mode
[AO_ALSA] Unable to get initial parameters: Invalid argument
Failed to initialize audio driver 'alsa:device=ch40dup'
Could not open/initialize audio device -> no sound.

If I remove the "-ao alsa:device..." bit from the mplayer command line I
get stereo sound from the front speakers only.

This is with HDA-intel driver on Nvidia nForce430/AD1986 chipset, icewm
desktop. I just read from the kernel doc [2] that there is a "model
name" parameter that defaults to '6stack' while my model is '3stack' so
tonight I will try that.

Any other hints before I try upstream?

thanks,

raf

[1]
http://alsa.opensrc.org/index.php/Playing_stereo_on_surround_sound_setup_%28Howto%29

[2] /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt




             reply	other threads:[~2009-08-28 19:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-25  6:39 Raffaele BELARDI [this message]
2009-08-25 16:24 ` [gentoo-amd64] Re: problem with multi-channel alsa on hda-intel Duncan
2009-08-26  9:37   ` Raffaele BELARDI
2009-08-26 14:37     ` Duncan
2009-08-26 16:28       ` Raffaele BELARDI

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1251182354.5043.31.camel@localhost \
    --to=raffaele.belardi@st.com \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox