1 |
Nick, |
2 |
Interesting. I have something like 8 Gentoo machines I run Alsa on. |
3 |
All of them use OSS emulation at least partially. I do not remember |
4 |
any messages or guidance to do what you're say, but indeed, it makes |
5 |
sense, sort of... Unfortunately, it seems that emerge didn't tell me |
6 |
to do this or, if it did, then the messages were lost in an endless |
7 |
stream of compile text while doing an emerge world. |
8 |
|
9 |
I suppose I really don't like this way of doing it since it now |
10 |
makes Alsa set up for Gentoo different from what is specified on the |
11 |
Alsa pages. It also seems that the /etc/conf.d/alsasound page may not |
12 |
give me as much control in my systems where I'm using multiple sound |
13 |
cards. I'll have to review that more carefully. |
14 |
|
15 |
Humm... Are there any new online instructions that specify all these changes? |
16 |
|
17 |
Thanks, |
18 |
Mark |
19 |
|
20 |
On 8/16/05, Nick Rout <nick@×××××××.nz> wrote: |
21 |
> The setup on gentoo changed sometime around alsa-lib 1.09. |
22 |
> |
23 |
> Leave ALL of the oss stuff out of the module config files (running |
24 |
> alsaconfig will set it up correctly) |
25 |
> |
26 |
> Then set ENABLE_OSS_EMUL="yes" in /etc/conf.d/alsasound |
27 |
> |
28 |
> my /etc/modules.d/alsa now reads: |
29 |
> |
30 |
> nick@sf /etc/conf.d $ cat /etc/modules.d/alsa |
31 |
> # --- BEGIN: Generated by ALSACONF, do not edit. --- |
32 |
> # --- ALSACONF version 1.0.9a --- |
33 |
> options snd device_mode=0666 |
34 |
> alias snd-card-0 snd-via82xx |
35 |
> alias sound-slot-0 snd-via82xx |
36 |
> # --- END: Generated by ALSACONF, do not edit. --- |
37 |
> |
38 |
> /etc/conf.d/alsasound now reads: |
39 |
> |
40 |
> # ENABLE_OSS_EMUL: |
41 |
> # Do you want to enable in-kernel oss emulation? |
42 |
> # no - Do not load oss emul drivers |
43 |
> # yes - Load oss emul drivers if they're found |
44 |
> |
45 |
> ENABLE_OSS_EMUL="yes" |
46 |
> |
47 |
> # RESTORE_ON_START: |
48 |
> # Do you want to restore your mixer settings? If not, your cards will be |
49 |
> # muted. |
50 |
> # no - Do not restore state |
51 |
> # yes - Restore state |
52 |
> |
53 |
> RESTORE_ON_START="yes" |
54 |
> |
55 |
> # SAVE_ON_STOP: |
56 |
> # Do you want to save changes made to your mixer volumes when alsasound |
57 |
> # stops? |
58 |
> # no - Do not save state |
59 |
> # yes - Save state |
60 |
> |
61 |
> SAVE_ON_STOP="yes" |
62 |
> |
63 |
> |
64 |
> |
65 |
> On Tue, 16 Aug 2005 11:31:30 -0300 |
66 |
> Raphael Melo de Oliveira Bastos Sales wrote: |
67 |
> |
68 |
> > Hi everyone, |
69 |
> > |
70 |
> > After some days googling for it, I give up now and come here for |
71 |
> > help. I have Alsa installed in kernel, and it works fine for programs |
72 |
> > that are compatible with. But programs that need OSS don't get any |
73 |
> > sound. I have the following lines in the alsa config files: |
74 |
> > |
75 |
> > /etc/modules.d/alsa: |
76 |
> > alias /dev/mixer snd-mixer-oss |
77 |
> > alias /dev/dsp snd-pcm-oss |
78 |
> > alias /dev/midi snd-seq-oss |
79 |
> > |
80 |
> > alias snd-card-0 snd-via82xx |
81 |
> > alias sound-slot-0 snd-via82xx |
82 |
> > |
83 |
> > When I run the alsasound init script it says: |
84 |
> > * Loading ALSA modules ... |
85 |
> > * Loading: snd-card-0 ... [ ok ] |
86 |
> > * Loading: snd-seq-oss ... [ ok ] |
87 |
> > * Loading: snd-pcm-oss ... [ ok ] |
88 |
> > * Restoring Mixer Levels ... [ ok ] |
89 |
> > |
90 |
> > # cat /proc/modules | grep oss |
91 |
> > snd_pcm_oss 52576 0 - Live 0xe258b000 |
92 |
> > snd_mixer_oss 19648 1 snd_pcm_oss, Live 0xe1111000 |
93 |
> > snd_seq_oss 37568 0 - Live 0xe2512000 |
94 |
> > snd_seq_midi_event 7168 1 snd_seq_oss, Live 0xe0da9000 |
95 |
> > snd_seq 55056 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event, Live 0xe086d000 |
96 |
> > snd_pcm 93448 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec, Live 0xe0db0000 |
97 |
> > snd_seq_device 8972 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi, |
98 |
> > Live 0xe084a000 |
99 |
> > snd 57412 13 snd_pcm_oss,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device, |
100 |
> > Live 0xe0d79000 |
101 |
> > |
102 |
> > So it seems that the modules are loaded correctly. But every program |
103 |
> > that tries to pipe to /dev/dsp gets broken pipe (i.e. Quake and Enemy |
104 |
> > Territory). |
105 |
> > |
106 |
> > If anybody can tell me what could be wrong, please let me know. If |
107 |
> > there is a config file that is important and that I didn't send it |
108 |
> > here, tell me and I'll send them. |
109 |
> > |
110 |
> > Thanks for the attention, |
111 |
> > |
112 |
> > Raphael |
113 |
> > |
114 |
> > -- |
115 |
> > gentoo-user@g.o mailing list |
116 |
> |
117 |
> -- |
118 |
> Nick Rout <nick@×××××××.nz> |
119 |
> |
120 |
> -- |
121 |
> gentoo-user@g.o mailing list |
122 |
> |
123 |
> |
124 |
|
125 |
-- |
126 |
gentoo-user@g.o mailing list |