Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] AMD hdaudio: why do I have two audio devices and two mixers?
Date: Fri, 30 Mar 2012 02:29:22
Message-Id: CA+czFiBSpZTjvpyW7BwaP==0k6um2Mu4pSAKQdEcuE9V1GNRhQ@mail.gmail.com
In Reply to: Re: [gentoo-user] AMD hdaudio: why do I have two audio devices and two mixers? by Hung Dang
1 On Thu, Mar 29, 2012 at 9:37 PM, Hung Dang <hungptit@×××××.com> wrote:
2 > On 03/29/2012 09:18 PM, walt wrote:
3 >>
4 >> Fresh gentoo install on new lenovo desktop.  Both linux and win7
5 >> (lenovo installed) tell me that this machine has two audio devices:
6 >>
7 >> 00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI BeaverCreek
8 >> HDMI Audio [Radeon HD 6500D and 6400G-6600G series]
9 >>        Subsystem: Lenovo Device 3625
10 >>        Kernel driver in use: snd_hda_intel
11 >>        Kernel modules: snd-hda-intel
12 >>
13 >> 00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia
14 >> Controller (rev 01)
15 >>        Subsystem: Lenovo Device 3625
16 >>        Kernel driver in use: snd_hda_intel
17 >>        Kernel modules: snd-hda-intel
18 >>
19 >> crw-rw----+ 1 root audio 14,  0 Mar 29 18:07 /dev/mixer
20 >> crw-rw----+ 1 root audio 14, 16 Mar 29 18:07 /dev/mixer1
21 >>
22 >> crw-rw----+  1 root audio 116,  3 Mar 29 18:07 controlC0
23 >> crw-rw----+  1 root audio 116,  7 Mar 29 18:07 controlC1
24 >> crw-rw----+  1 root audio 116,  2 Mar 29 18:07 pcmC0D3p
25 >> crw-rw----+  1 root audio 116,  6 Mar 29 18:07 pcmC1D0c
26 >> crw-rw----+  1 root audio 116,  5 Mar 29 18:07 pcmC1D0p
27 >> crw-rw----+  1 root audio 116,  4 Mar 29 18:07 pcmC1D2c
28 >> crw-rw----+  1 root audio 116, 33 Mar 29 18:07 timer
29 >>
30 >> lrwxrwxrwx 1 root root  12 Mar 29 18:07 pci-0000:00:01.1 ->  ../controlC0
31 >> lrwxrwxrwx 1 root root  12 Mar 29 18:07 pci-0000:00:14.2 ->  ../controlC1
32 >>
33 >>
34 >> I spent an entire frustrating day discovering that the reason I
35 >> have no sound is that every app wants to use /dev/mixer when only
36 >> /dev/mixer1 actually works :(
37 >>
38 >> Only some apps (like audacious) will let me choose which mixer to
39 >> use, and those apps work perfectly.
40 >>
41 >> Anyone else seen this before, I hope?  Got a fix?
42 >>
43 >> Thanks :)
44 >
45 > I guess the second audio device is either HDMI or HD audio generic. You
46 > could verify this by opening alsamixer then select F6 to see a list of audio
47 > devices. If you use pulseaudio then you can select the default output
48 > device. Or use /etc/asound.conf to select your preferred default device.
49
50 Well, technically, the first one is HDMI, and the second one is the
51 more mundane one.
52
53 --
54 :wq