1 |
Alexander Puchmayr <alexander.puchmayr@×××××××.at> writes: |
2 |
|
3 |
> Hi Harry! |
4 |
> |
5 |
> Did you load the alsa-modules before launching kde? |
6 |
|
7 |
I have now after following ChistophE's suggestions. |
8 |
|
9 |
I still get nothing when attempting to play something. But warnings |
10 |
and erros that is. |
11 |
|
12 |
I have an XMMS player on my kde menu. It just doesn't work but |
13 |
quietly no warning etc. (Also it is so tiny I can hardly see it.. and |
14 |
seems no way to enlarge it -- I use a large desktop resolution) |
15 |
|
16 |
|
17 |
> Try /etc/init.d/alsasound start as root and then have a look what dmesg is |
18 |
> telling you and whether /proc/asound/cards contains anything different from |
19 |
> a empty string. |
20 |
|
21 |
cat /proc/asound/cards |
22 |
0 [V8237 ]: VIA8237 - VIA 8237 |
23 |
VIA 8237 with AD1980 at 0xc800, irq 201 |
24 |
|
25 |
> Second, your should configure your kde to use alsa. Go into the control |
26 |
> panel, audio settings (Sound&Multimedia), Sound-System, select the |
27 |
> hardware-tab and make sure that audio hardware is set to alsa and not oss. |
28 |
|
29 |
It was set to autodetect .. I changed it to alsa, but shouldn't that select |
30 |
alsa anyway? Soon as I changed it, I immediately got this waning |
31 |
dialog box: |
32 |
Sound Server informational message |
33 |
Error while initializing the sound driver |
34 |
device: default can't be opened for playback (No such device) |
35 |
The sound server will continue using teh null output device. |
36 |
|
37 |
Christoph Eckert <ce@×××××××××.de> writes: |
38 |
|
39 |
> |
40 |
> you've ALSA installed but it's not configured yet? Try |
41 |
> editing /etc/modules.d/alsa manually or install alsa-utils and run |
42 |
> alsaconf as root. After that add ALSA to your preferred runlevel. |
43 |
|
44 |
I did install alsa-utils and ran alsaconf. /etc/modules.d/alsa looks |
45 |
like this: |
46 |
|
47 |
alias /dev/mixer snd-mixer-oss |
48 |
alias /dev/dsp snd-pcm-oss |
49 |
alias /dev/midi snd-seq-oss |
50 |
|
51 |
# Set this to the correct number of cards. |
52 |
# --- BEGIN: Generated by ALSACONF, do not edit. --- |
53 |
# --- ALSACONF version 1.0.11rc2 --- |
54 |
alias snd-card-0 snd-via82xx |
55 |
alias sound-slot-0 snd-via82xx |
56 |
# --- END: Generated by ALSACONF, do not edit. --- |
57 |
|
58 |
Should the oss stuff be there? |
59 |
|
60 |
I've put alsasound into run level 3 and rebooted. |
61 |
|
62 |
On starting kde I still get a dialog message about the sound server |
63 |
being unavailable. No play tools work. |
64 |
|
65 |
(lsmod output at the end) |
66 |
|
67 |
Running the command line util `play' on a wav file shows this: |
68 |
|
69 |
reader > play WestMemphisBlues_SonnyBoyWilliamson2.wav |
70 |
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' |
71 |
ALSA lib conf.c:3491:(_snd_config_evaluate) function |
72 |
snd_func_card_driver returned error: No such device |
73 |
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings |
74 |
ALSA lib conf.c:3491:(_snd_config_evaluate) function snd_func_concat |
75 |
returned error: No such device |
76 |
ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name |
77 |
ALSA lib conf.c:3491:(_snd_config_evaluate) function snd_func_refer |
78 |
returned error: No such device |
79 |
ALSA lib conf.c:3960:(snd_config_expand) Evaluate error: No such device |
80 |
ALSA lib pcm.c:2107:(snd_pcm_open_noupdate) Unknown PCM default |
81 |
sox: Failed writing default: cannot open audio device |
82 |
|
83 |
lismod output: |
84 |
root # lsmod|grep snd_ |
85 |
snd_pcm_oss 48160 0 |
86 |
snd_mixer_oss 17664 1 snd_pcm_oss |
87 |
snd_seq_dummy 4740 0 |
88 |
snd_seq_oss 32256 0 |
89 |
snd_seq_midi_event 8064 1 snd_seq_oss |
90 |
snd_seq 50448 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event |
91 |
snd_via82xx 27544 0 |
92 |
gameport 16264 1 snd_via82xx |
93 |
snd_ac97_codec 84256 1 snd_via82xx |
94 |
snd_ac97_bus 3328 1 snd_ac97_codec |
95 |
snd_pcm 82052 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec |
96 |
snd_timer 24196 2 snd_seq,snd_pcm |
97 |
snd_page_alloc 11528 2 snd_via82xx,snd_pcm |
98 |
snd_mpu401_uart 8320 1 snd_via82xx |
99 |
snd_rawmidi 24736 1 snd_mpu401_uart |
100 |
snd_seq_device 9484 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi |
101 |
snd 53604 11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device |
102 |
|
103 |
-- |
104 |
gentoo-user@g.o mailing list |