1 |
Hi, |
2 |
In my previous Athlon XP I was using two sound cards - an AP2496 |
3 |
and an RME HDSP 9652. I had /etc/modules.d/alsa set up so that the |
4 |
AP2496 was the default card and the HDSP wa used only when I |
5 |
specifically called it. |
6 |
|
7 |
On my new AMD64 machine I wanted to do much the same thing except |
8 |
I'm using the onboard sound as well as an RME HDSP 9652. Unfortunately |
9 |
for some reason it seems that the HDSP 9652 is being made default and |
10 |
this is not making Gnome happy: |
11 |
|
12 |
lightning ~ # cat /proc/asound/cards |
13 |
0 [CK804 ]: NFORCE - NVidia CK804 |
14 |
NVidia CK804 with ALC850 at 0xda103000, irq 185 |
15 |
1 [default ]: H-DSP - Hammerfall DSP |
16 |
RME Hammerfall HDSP 9652 at 0xda000000, irq 209 |
17 |
lightning ~ # |
18 |
|
19 |
Here's /etc/modules/alsa. Note that I do not want OSS emulation for |
20 |
the HDSP 9652 so that portion is set up only for the NVidia sound. |
21 |
This worked for the AP2496/HDSP combo: |
22 |
|
23 |
# Alsa 0.9.X kernel modules' configuration file. |
24 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v |
25 |
1.4 2004/11/16 01:31:22 eradicator Exp $ |
26 |
|
27 |
# ALSA portion |
28 |
alias char-major-116 snd |
29 |
# OSS/Free portion |
30 |
alias char-major-14 soundcore |
31 |
|
32 |
## ALSA portion |
33 |
alias snd-card-0 snd-intel8x0 |
34 |
options snd-intel8x0 index=0 |
35 |
alias snd-card-1 snd-hdsp |
36 |
options snd-hdsp index=1 |
37 |
## OSS/Free portion |
38 |
alias sound-slot-0 snd-card-0 |
39 |
## alias sound-slot-1 snd-card-1 |
40 |
## |
41 |
|
42 |
# OSS/Free portion - card #1 |
43 |
alias sound-service-0-0 snd-mixer-oss |
44 |
alias sound-service-0-1 snd-seq-oss |
45 |
alias sound-service-0-3 snd-pcm-oss |
46 |
alias sound-service-0-8 snd-seq-oss |
47 |
alias sound-service-0-12 snd-pcm-oss |
48 |
## OSS/Free portion - card #2 |
49 |
## alias sound-service-1-0 snd-mixer-oss |
50 |
## alias sound-service-1-3 snd-pcm-oss |
51 |
## alias sound-service-1-12 snd-pcm-oss |
52 |
|
53 |
alias /dev/mixer snd-mixer-oss |
54 |
alias /dev/dsp snd-pcm-oss |
55 |
alias /dev/midi snd-seq-oss |
56 |
|
57 |
# Set this to the correct number of cards. |
58 |
options snd cards_limit=2 |
59 |
|
60 |
After editing this file I run modules-update and then either |
61 |
/etc/init.d/alsasound restart or do a reboot. In both cases, on this |
62 |
machine, Gnome sees no sound card since it's using OSS emulation and |
63 |
(apparently) pointing at the HDSP. |
64 |
|
65 |
How can I get Alsa to point at the NVidia chip as far as Gnome is concerned? |
66 |
|
67 |
NOTE: alsamixer works and goes to the NVidia chip. alsactl store seems |
68 |
to store good info. |
69 |
|
70 |
Tech info: |
71 |
|
72 |
lightning ~ # lspci |
73 |
0000:00:00.0 Memory controller: nVidia Corporation CK804 Memory |
74 |
Controller (rev a3) |
75 |
0000:00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3) |
76 |
0000:00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2) |
77 |
0000:00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2) |
78 |
0000:00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3) |
79 |
0000:00:04.0 Multimedia audio controller: nVidia Corporation CK804 |
80 |
AC'97 Audio Controller (rev a2) |
81 |
0000:00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2) |
82 |
0000:00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA |
83 |
Controller (rev f3) |
84 |
0000:00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA |
85 |
Controller (rev f3) |
86 |
0000:00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2) |
87 |
0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) |
88 |
0000:00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) |
89 |
0000:00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) |
90 |
0000:00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) |
91 |
0000:00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) |
92 |
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 |
93 |
[Athlon64/Opteron] HyperTransport Technology Configuration |
94 |
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 |
95 |
[Athlon64/Opteron] Address Map |
96 |
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 |
97 |
[Athlon64/Opteron] DRAM Controller |
98 |
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 |
99 |
[Athlon64/Opteron] Miscellaneous Control |
100 |
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV370 |
101 |
5B60 [Radeon X300 (PCIE)] |
102 |
0000:01:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE] |
103 |
0000:05:06.0 Multimedia audio controller: Xilinx Corporation RME |
104 |
Hammerfall DSP (rev 68) |
105 |
lightning ~ # |
106 |
|
107 |
|
108 |
lightning ~ # lsmod |
109 |
Module Size Used by |
110 |
snd_seq_midi 7872 0 |
111 |
snd_pcm_oss 50912 0 |
112 |
snd_mixer_oss 16960 1 snd_pcm_oss |
113 |
snd_seq_oss 33152 0 |
114 |
snd_seq_midi_event 8256 2 snd_seq_midi,snd_seq_oss |
115 |
snd_seq 54752 5 snd_seq_midi,snd_seq_oss,snd_seq_midi_event |
116 |
snd_hdsp 49860 0 |
117 |
snd_rawmidi 24032 2 snd_seq_midi,snd_hdsp |
118 |
snd_seq_device 7436 3 snd_seq_midi,snd_seq_oss,snd_rawmidi |
119 |
snd_hwdep 9376 1 snd_hdsp |
120 |
snd_intel8x0 32128 1 |
121 |
snd_ac97_codec 85392 1 snd_intel8x0 |
122 |
snd_pcm 89928 4 snd_pcm_oss,snd_hdsp,snd_intel8x0,snd_ac97_codec |
123 |
snd_timer 22408 2 snd_seq,snd_pcm |
124 |
snd 51080 14 |
125 |
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_hdsp,snd_rawmidi,snd_seq_device,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer |
126 |
soundcore 9120 1 snd |
127 |
snd_page_alloc 9480 3 snd_hdsp,snd_intel8x0,snd_pcm |
128 |
lightning ~ # |
129 |
|
130 |
Thanks in advance, |
131 |
Mark |
132 |
|
133 |
-- |
134 |
gentoo-user@g.o mailing list |