1 |
Now that I have marked that thread as "SOLVED" I feel obliged to give a short |
2 |
update (what really solved the problem): |
3 |
|
4 |
deleting /etc/asound.state unfortunately did not solve the problem, it just |
5 |
helped suppressing the warning message. I did not really notice as I had KDE |
6 |
use autodetect for sound, so it used OSS and not ALSA. That was not too bad, |
7 |
but I did not have any sound in my favorite game (which uses alsa) and |
8 |
therefore had to look a bit deeper: |
9 |
|
10 |
it seemed that ALSA had a problem with the missing /dev/snd directory ("cannot |
11 |
find soundcard 0") though it should have been created during boot according |
12 |
to /etc/udev/rules.d/50-udev.rules. |
13 |
|
14 |
So, I messed around a bit with the alsasound start script |
15 |
(/etc/init.d/alsasound) and created /dev/snd as symbolic link inside the |
16 |
start() function. After that I had some problems in shutting down, so I |
17 |
added "rm -f /dev/snd" inside the stop() function and everything works well |
18 |
(eventually). |
19 |
|
20 |
But I have to admit that I do not feel very comfortable with this |
21 |
modification. Does anyone have a better idea?? |
22 |
|
23 |
Kindest regards and thanks in advance, |
24 |
Arend |
25 |
|
26 |
|
27 |
|
28 |
Arend von der Lieth wrote: |
29 |
|
30 |
> Hi Mark, |
31 |
> Mark Knecht wrote: |
32 |
> |
33 |
>> That appears to be a testing version of udev. Do you always run testing? |
34 |
>> |
35 |
>> As for the mixer message please try removing /etc/asound.state and |
36 |
>> then restarting Alsa. You will probably need to set mixer levels using |
37 |
>> alsamixer or whatever mixer is appropriate for this device. |
38 |
> |
39 |
> Wow, I cannot believe that it was that easy (after all I tried). Thank you |
40 |
> very much. |
41 |
> |
42 |
> Now there is just a minor problem that my MIDI device is not detected |
43 |
> correctly, but that's not that crucial. |
44 |
> |
45 |
> I O U a Br, |
46 |
> Arend |
47 |
> |
48 |
>> |
49 |
>> Good luck, |
50 |
>> Mark |
51 |
>> |
52 |
>> On 12/17/06, Arend von der Lieth <lieth@×××××××××××.de> wrote: |
53 |
>>> Hi all, |
54 |
>>> |
55 |
>>> After upgrading to udev-103 I had some problems with mouse and sound. |
56 |
>>> While I was able to fix the first issue myself, I am now stuck in the |
57 |
>>> sound problem: |
58 |
>>> I followed the gentoo alsa guide, checked all settings in the kernel, |
59 |
>>> even upgraded the kernel from 2.6.15 to 2.6.18 (hoping that this would |
60 |
>>> help, but still no success). Now, I guess that it's a problem with |
61 |
>>> missing device nodes (the directories snd/ or sound/ do not exist in |
62 |
>>> /dev). When running alsaconf I get the following error message (which is |
63 |
>>> the same during boot): |
64 |
>>> |
65 |
>>> Running modules-update... |
66 |
>>> Loading driver... |
67 |
>>> * Loading ALSA modules ... |
68 |
>>> * Loading: snd-card-0 ... [ ok ] |
69 |
>>> * Loading: snd-seq-oss ... [ ok ] |
70 |
>>> * Loading: snd-pcm-oss ... [ ok ] |
71 |
>>> * Loading: snd-emu10k1-synth ... [ ok ] |
72 |
>>> * Loading: snd-seq-midi ... [ ok ] |
73 |
>>> * Restoring Mixer Levels ... |
74 |
>>> /usr/sbin/alsactl: load_state:1341: Cannot find soundcard '0'... |
75 |
>>> * Errors while restoring defaults, ignoring [ ok ] |
76 |
>>> Setting default volumes... |
77 |
>>> amixer: Mixer attach default error: No such device |
78 |
>>> |
79 |
>>> "cat /proc/asound/cards" yields: |
80 |
>>> 0 [Live ]: EMU10K1 - SBLive! Value [CT4780] |
81 |
>>> SBLive! Value [CT4780] (rev.10, |
82 |
>>> serial:0x80221102) at 0xece0, irq 201 |
83 |
>>> |
84 |
>>> "lsmod | grep snd" returns: |
85 |
>>> |
86 |
>>> snd_seq_midi 8864 0 |
87 |
>>> snd_emu10k1_synth 7552 0 |
88 |
>>> snd_emux_synth 33664 1 snd_emu10k1_synth |
89 |
>>> snd_seq_virmidi 6912 1 snd_emux_synth |
90 |
>>> snd_seq_midi_emul 6912 1 snd_emux_synth |
91 |
>>> snd_pcm_oss 42784 0 |
92 |
>>> snd_mixer_oss 16896 1 snd_pcm_oss |
93 |
>>> snd_seq_dummy 3972 0 |
94 |
>>> snd_seq_oss 31872 0 |
95 |
>>> snd_seq_midi_event 7168 3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss |
96 |
>>> snd_seq 47568 9 |
97 |
>>> snd_seq_midi,snd_emux_synth,snd_seq_virmidi, |
98 |
>>> |
99 |
> snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss, |
100 |
>>> snd_seq_midi_event |
101 |
>>> snd_emu10k1 118592 1 snd_emu10k1_synth |
102 |
>>> snd_rawmidi 23840 3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1 |
103 |
>>> snd_ac97_codec 92320 1 snd_emu10k1 |
104 |
>>> snd_ac97_bus 2432 1 snd_ac97_codec |
105 |
>>> snd_pcm 74248 3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec |
106 |
>>> snd_seq_device 8332 8 snd_seq_midi,snd_emu10k1_synth, |
107 |
>>> snd_emux_synth,snd_seq_dummy,snd_seq_oss, |
108 |
>>> snd_seq,snd_emu10k1,snd_rawmidi |
109 |
>>> snd_timer 22020 3 snd_seq,snd_emu10k1,snd_pcm |
110 |
>>> snd_page_alloc 10376 2 snd_emu10k1,snd_pcm |
111 |
>>> snd_util_mem 4992 2 snd_emux_synth,snd_emu10k1 |
112 |
>>> snd_hwdep 9348 2 snd_emux_synth,snd_emu10k1 |
113 |
>>> snd 49636 13 |
114 |
>>> snd_emux_synth,snd_seq_virmidi,snd_pcm_oss, |
115 |
>>> |
116 |
> snd_mixer_oss,snd_seq_oss,snd_seq,snd_emu10k1, |
117 |
>>> snd_rawmidi,snd_ac97_codec,snd_pcm, |
118 |
>>> snd_seq_device,snd_timer,snd_hwdep |
119 |
>>> soundcore 9568 1 snd |
120 |
>>> |
121 |
>>> Can anybody point me to the right direction where I should look at? |
122 |
>>> |
123 |
>>> Thanks in advance, |
124 |
>>> Arend |
125 |
>>> -- |
126 |
>>> gentoo-user@g.o mailing list |
127 |
>>> |
128 |
>>> |
129 |
-- |
130 |
gentoo-user@g.o mailing list |