Gentoo Archives: gentoo-amd64

From: Raffaele BELARDI <raffaele.belardi@××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] problem with multi-channel alsa on hda-intel
Date: Fri, 28 Aug 2009 19:57:57
Message-Id: 1251182354.5043.31.camel@localhost
1 Until last world update I was happily using the following .asoundrc [1]
2 to duplicate stereo sound from front to rear channels (the former is
3 connected to a 2.1 system, the latter to a hi-fi equipment):
4
5 pcm.ch40dup {
6 type route
7 slave.pcm surround40
8 slave.channels 4
9 ttable.0.0 1
10 ttable.1.1 1
11 ttable.0.2 1
12 ttable.1.3 1
13 }
14
15 and then "mplayer -channels 4 -ao alsa:device=ch40dup" gave me the
16 duplicated stereo sound on 4 channels.
17
18 After last update alsa-lib went from 1.0.19 to 1.0.20 and kernel 2.6.29
19 to 2.6.30 and mplayer sound stopped working from any channel with the
20 following error:
21
22 Trying preferred audio driver 'alsa', options 'device=ch40dup'
23 alsa-init: requested format: 48000 Hz, 2 channels, 9
24 alsa-init: using ALSA 1.0.20
25 alsa-init: setup for 1/2 channel(s)
26 alsa-init: using device ch40dup
27 alsa-init: pcm opened in blocking mode
28 [AO_ALSA] Unable to get initial parameters: Invalid argument
29 Failed to initialize audio driver 'alsa:device=ch40dup'
30 Could not open/initialize audio device -> no sound.
31
32 If I remove the "-ao alsa:device..." bit from the mplayer command line I
33 get stereo sound from the front speakers only.
34
35 This is with HDA-intel driver on Nvidia nForce430/AD1986 chipset, icewm
36 desktop. I just read from the kernel doc [2] that there is a "model
37 name" parameter that defaults to '6stack' while my model is '3stack' so
38 tonight I will try that.
39
40 Any other hints before I try upstream?
41
42 thanks,
43
44 raf
45
46 [1]
47 http://alsa.opensrc.org/index.php/Playing_stereo_on_surround_sound_setup_%28Howto%29
48
49 [2] /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt

Replies

Subject Author
[gentoo-amd64] Re: problem with multi-channel alsa on hda-intel Duncan <1i5t5.duncan@×××.net>
[gentoo-amd64] Re: problem with multi-channel alsa on hda-intel Duncan <1i5t5.duncan@×××.net>