LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   aRtsd /alsa config driving me nuts (https://www.linuxquestions.org/questions/linux-software-2/artsd-alsa-config-driving-me-nuts-295681/)

saltire 02-27-2005 09:41 PM

aRtsd /alsa config driving me nuts
 
Okay. So I recently bought myself an M-Audio Audiophile 2496 soundcard. However, since installing this, artsd and alsa have not been getting along. I have very little idea about configuring either of these, or even whether both are necessary.
MIDI seems to be working fine, but here are the real problems:

1. Kmix crashes upon starting with the message:
kmix: ERROR: Alsa mixer cannot be found.
Please check that the soundcard is installed and the
soundcard driver is loaded.
> I know that the drivers are loading properly, as I have run lsmod. Also, alsamixer works from a terminal.

2. I am unable to bring up the Sound Settings in the KDE Control Centre *as a non-root user*- this just hangs, saying 'Loading', and I have to kill it using Ctrl-Alt-Esc. It is accessible as root, but applying any changes fails.

3. Starting artsd manually (as any user, even root) fails; The result of running 'artsd -a alsa -l0' is:
artsd version is 1.2.0
gsl: using Unix98 pthreads directly for mutexes and conditions
[artsd: 8345] SoundServerStartup --> got lock
ALSA driver: default
buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms)
virtualize StereoVolumeControl
ALSA driver: default
buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms)
audio format is 44100 Hz, 16 bits, 2 channels
addDirectory(/usr/lib/mcop,)
addDirectory(/usr/lib/mcop/Arts,Arts)
addDirectory(/usr/lib/mcop/Arts/Environment,Arts::Environment)
addDirectory(/usr/lib/mcop/Noatun,Noatun)
addDirectory(/root/.mcop/trader-cache,)
Arts::MidiManager registered successfully.
[artsd: 8345] SoundServerStartup <-- released lock
Synth_PLAY: closing audio fd

> At this point I have to kill it,, as it hangs.
I have been through all the troubleshooting steps in the Mandrake control centre under harware -> hardware -> Sound card -> run config tool -> troubleshooting.
I have also spent hours at LQ reading similar threads, and read HOWTOs until my eyes hurt, but to no avail.
Now, I'm all for simplicity. I don't know whether I should be running arts and alsa together.
All I want is for Kmix to work and to be able to listen to my Oggs and use Rosegarden.

Can Anyone point me in the right direction? Just exactly what is neccessary?

foo_bar_foo 02-27-2005 10:40 PM

really to begin with artsd is never necessary. as far as i know really all it does is play kde desktop noises. something we can all live without. so disable the kde soundsystem (uncheck) in controll center.
and restart kde
so we are left to configure alsa
when kmix fails sometimes its because of permissions
lets look at the output of
ls -l /dev/dsp
to see what user group ownership is set for the audio output
and just to check what is the contents of /proc/asound/cards

saltire 02-27-2005 10:51 PM

Ok, 'ls -l /dev/dsp' returned:
lr-xr-xr-x 1 root root 9 Feb 28 17:20 /dev/dsp -> sound/dsp
and /proc/asound/cards is an Empty Document.
Unfortunately, I can't access the sound system settings in the KDE Control Centre - it just says 'Loading', and I have to Ctrl-Alt-Esc.

foo_bar_foo 02-28-2005 12:03 AM

ok - i don't really understand mandrake permissions so i'm not going to go there
you most likely know more than me to get it so users can use the sound
i'm thinking both controll center and kmix must be using oss emulation for the mixer
since you say you can use alsamixer and midi and stuff the card must be up and running fine


since there is a seperate tool for controlling this soundcard
envy24control
part of the alsa-tools package
and from the look of what it says about envy24control here
http://unit-e.cc/knowledge/index.php?id=Envy24Control
possibly snd_mixer_oss just doesn't work
and you use this other mixer


All times are GMT -5. The time now is 07:14 AM.