On 3/2/06, Harry Putnam <[EMAIL PROTECTED]> wrote:
> Alexander Puchmayr <[EMAIL PROTECTED]> writes:
>
> > Hi Harry!
> >
> > Did you load the alsa-modules before launching kde?
>
> I have now after following ChistophE's suggestions.
>
> I still get nothing when attempting to play something.  But warnings
> and erros that is.
>
> I have an XMMS player on my kde menu.  It just doesn't work but
> quietly no warning etc.  (Also it is so tiny I can hardly see it.. and
> seems no way to enlarge it -- I use a large desktop resolution)
>
>
> > Try /etc/init.d/alsasound start as root and then have a look what dmesg is
> > telling you and whether /proc/asound/cards contains anything different from
> > a empty string.
>
>  cat /proc/asound/cards
> 0 [V8237          ]: VIA8237 - VIA 8237
>                     VIA 8237 with AD1980 at 0xc800, irq 201
>
> > Second, your should configure your kde to use alsa. Go into the control
> > panel, audio settings (Sound&Multimedia), Sound-System, select the
> > hardware-tab and make sure that       audio hardware is set to alsa and not 
> > oss.
>
> It was set to autodetect .. I changed it to alsa, but shouldn't that select
> alsa anyway?  Soon as I changed it, I immediately got this waning
> dialog box:
>  Sound Server informational message
> Error while initializing the sound driver
> device: default can't be opened for playback (No such device)
> The sound server will continue using teh null output device.
>
> Christoph Eckert <[EMAIL PROTECTED]> writes:
>
> >
> > you've ALSA installed but it's not configured yet? Try
> > editing /etc/modules.d/alsa manually or install alsa-utils and run
> > alsaconf as root. After that add ALSA to your preferred runlevel.
>
> I did install alsa-utils and ran alsaconf.  /etc/modules.d/alsa looks
> like this:
>
>  alias /dev/mixer snd-mixer-oss
>  alias /dev/dsp snd-pcm-oss
>  alias /dev/midi snd-seq-oss
>
>  # Set this to the correct number of cards.
>  # --- BEGIN: Generated by ALSACONF, do not edit. ---
>  # --- ALSACONF version 1.0.11rc2 ---
>  alias snd-card-0 snd-via82xx
>  alias sound-slot-0 snd-via82xx
>  # --- END: Generated by ALSACONF, do not edit. ---
>
> Should the oss stuff be there?
>
> I've put alsasound into run level 3 and rebooted.
>
> On starting kde I still get a dialog message about the sound server
> being unavailable.  No play tools work.
>
> (lsmod output at the end)
>
> Running the command line util `play' on a wav file shows this:
>
>   reader > play WestMemphisBlues_SonnyBoyWilliamson2.wav
> ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
> ALSA lib conf.c:3491:(_snd_config_evaluate) function
>  snd_func_card_driver returned error: No such device
> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:3491:(_snd_config_evaluate) function snd_func_concat
>  returned error: No such device
> ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
> ALSA lib conf.c:3491:(_snd_config_evaluate) function snd_func_refer
>  returned error: No such device
> ALSA lib conf.c:3960:(snd_config_expand) Evaluate error: No such device
> ALSA lib pcm.c:2107:(snd_pcm_open_noupdate) Unknown PCM default
> sox: Failed writing default: cannot open audio device
>
> lismod output:
> root # lsmod|grep snd_
> snd_pcm_oss            48160  0
> snd_mixer_oss          17664  1 snd_pcm_oss
> snd_seq_dummy           4740  0
> snd_seq_oss            32256  0
> snd_seq_midi_event      8064  1 snd_seq_oss
> snd_seq                50448  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
> snd_via82xx            27544  0
> gameport               16264  1 snd_via82xx
> snd_ac97_codec         84256  1 snd_via82xx
> snd_ac97_bus            3328  1 snd_ac97_codec
> snd_pcm                82052  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
> snd_timer              24196  2 snd_seq,snd_pcm
> snd_page_alloc         11528  2 snd_via82xx,snd_pcm
> snd_mpu401_uart         8320  1 snd_via82xx
> snd_rawmidi            24736  1 snd_mpu401_uart
> snd_seq_device          9484  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
> 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
>
> --
> gentoo-user@gentoo.org mailing list
>
>

You should check the ALSA Guide from the Gentoo Docs and see if you
performed all steps, specially your kernel config. I have this same
MOBO, so I can assure you, it works... Just follow the guide.

I had KDE working with ALSA, but strangely, the "Test" button at KDE
config don't work, all other apps does using arts.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list

Reply via email to