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