[pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
sibu xolo
sibxol at btconnect.com
Sun Sep 12 18:04:18 PDT 2010
Greetings,
I am new to this list. I have a computer with these:
---------cpu-amd64-2 cores, dsp: HDA NVidia/Realtek ALC662 rev1
---------o/s cblfs-linux 64-bit kernel-2.6.35.4, xorg-7.5 kde-4.4.5, udev-147
---------audio-progs: alsa-1.0.23. pulse-0.9.21 (default configurations in
/etc/pulse)
--------my /etc/asound.conf file has these:-
==================================================
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
--------my udev-rule for alsa looks like this:-
==================================================
# Give the audio group ownership of sound devices
SUBSYSTEM=="sound", GROUP="audio"
SUBSYSTEM=="snd", GROUP="audio"
# ALSA Devices
# When a sound device is detected, restore the volume settings
KERNEL=="controlC[0-9]*", NAME="snd/%k", ACTION=="add",
RUN+="/usr/sbin/alsactl restore %n"
# Sound devices
KERNEL=="admmidi*", GROUP="audio"
KERNEL=="adsp*", GROUP="audio"
KERNEL=="aload*", GROUP="audio"
KERNEL=="amidi*", GROUP="audio"
KERNEL=="amixer*", GROUP="audio"
KERNEL=="audio*", GROUP="audio"
KERNEL=="dmfm*", GROUP="audio"
KERNEL=="dmmidi*", GROUP="audio"
KERNEL=="dsp*", GROUP="audio"
KERNEL=="midi*", GROUP="audio"
KERNEL=="mixer*", GROUP="audio"
KERNEL=="music", GROUP="audio"
KERNEL=="sequencer*", GROUP="audio"
KERNEL=="by-path/*", GROUP="audio"
==================================================
--------sound devices in /dev appear as:-
==================================================
sx [ ~ ]# ls -l /dev/snd
total 0
drwxr-xr-x 2 root root 80 Sep 12 2010 by-path
crw-rw---- 1 root audio 116, 5 Sep 12 2010 controlC0
crw-rw---- 1 root audio 116, 12 Sep 12 2010 controlC1
crw-rw---- 1 root audio 116, 11 Sep 12 2010 hwC1D0
crw-rw---- 1 root audio 116, 4 Sep 12 2010 pcmC0D0p
crw-rw---- 1 root audio 116, 10 Sep 12 2010 pcmC1D0c
crw-rw---- 1 root audio 116, 9 Sep 12 2010 pcmC1D0p
crw-rw---- 1 root audio 116, 8 Sep 12 2010 pcmC1D1c
crw-rw---- 1 root audio 116, 7 Sep 12 2010 pcmC1D1p
crw-rw---- 1 root audio 116, 6 Sep 12 2010 pcmC1D2c
crw-rw---- 1 root audio 116, 3 Sep 12 2010 seq
crw-rw---- 1 root audio 116, 2 Sep 12 2010 timer
sx [ ~ ]# ls -l /dev/audio
crw-rw---- 1 root audio 14, 4 Sep 12 2010 /dev/audio
sx [ ~ ]# ls -l /dev/dsp
crw-rw---- 1 root audio 14, 3 Sep 12 2010 /dev/dsp
sx [ ~ ]# ls -l /dev/mixer*
crw-rw---- 1 root audio 14, 0 Sep 12 2010 /dev/mixer
crw-rw---- 1 root audio 14, 16 Sep 12 2010 /dev/mixer1
sx [ ~ ]# ls -l /dev/audio
crw-rw---- 1 root audio 14, 4 Sep 12 2010 /dev/audio
sx [ ~ ]# ls -l /usr/sbin/alsa*
-rwxr-xr-x 1 root root 35445 Sep 1 21:09 /usr/sbin/alsaconf
-rwxr-xr-x 1 root root 213034 Sep 1 21:09 /usr/sbin/alsactl
--------alsa plugins; appear as:-
==================================================
sx [ ~ ]# ls -l /usr/lib/alsa-lib
total 1376
-rw-r--r-- 1 root root 11034 Sep 12 21:50 libasound_module_conf_pulse.a
-rwxr-xr-x 1 root root 1979 Sep 12 21:50 libasound_module_conf_pulse.la
-rwxr-xr-x 1 root root 12117 Sep 12 21:50 libasound_module_conf_pulse.so
-rw-r--r-- 1 root root 88426 Sep 12 21:50 libasound_module_ctl_arcam_av.a
-rwxr-xr-x 1 root root 1098 Sep 12 21:50 libasound_module_ctl_arcam_av.la
-rwxr-xr-x 1 root root 63182 Sep 12 21:50 libasound_module_ctl_arcam_av.so
-rw-r--r-- 1 root root 39098 Sep 12 21:50 libasound_module_ctl_oss.a
-rwxr-xr-x 1 root root 1063 Sep 12 21:50 libasound_module_ctl_oss.la
-rwxr-xr-x 1 root root 32449 Sep 12 21:50 libasound_module_ctl_oss.so
-rw-r--r-- 1 root root 84188 Sep 12 21:50 libasound_module_ctl_pulse.a
-rwxr-xr-x 1 root root 1972 Sep 12 21:50 libasound_module_ctl_pulse.la
-rwxr-xr-x 1 root root 60745 Sep 12 21:50 libasound_module_ctl_pulse.so
-rw-r--r-- 1 root root 88870 Sep 12 21:50 libasound_module_pcm_a52.a
-rwxr-xr-x 1 root root 1095 Sep 12 21:50 libasound_module_pcm_a52.la
-rwxr-xr-x 1 root root 63461 Sep 12 21:50 libasound_module_pcm_a52.so
-rw-r--r-- 1 root root 41592 Sep 12 21:50 libasound_module_pcm_jack.a
-rwxr-xr-x 1 root root 1132 Sep 12 21:50 libasound_module_pcm_jack.la
-rwxr-xr-x 1 root root 34058 Sep 12 21:50 libasound_module_pcm_jack.so
-rw-r--r-- 1 root root 38126 Sep 12 21:50 libasound_module_pcm_oss.a
-rwxr-xr-x 1 root root 1063 Sep 12 21:50 libasound_module_pcm_oss.la
-rwxr-xr-x 1 root root 30615 Sep 12 21:50 libasound_module_pcm_oss.so
-rw-r--r-- 1 root root 91208 Sep 12 21:50 libasound_module_pcm_pulse.a
-rwxr-xr-x 1 root root 1972 Sep 12 21:50 libasound_module_pcm_pulse.la
-rwxr-xr-x 1 root root 67065 Sep 12 21:50 libasound_module_pcm_pulse.so
-rw-r--r-- 1 root root 33066 Sep 12 21:50 libasound_module_pcm_speex.a
-rwxr-xr-x 1 root root 1122 Sep 12 21:50 libasound_module_pcm_speex.la
-rwxr-xr-x 1 root root 28257 Sep 12 21:50 libasound_module_pcm_speex.so
-rw-r--r-- 1 root root 46506 Sep 12 21:50 libasound_module_pcm_upmix.a
-rwxr-xr-x 1 root root 1077 Sep 12 21:50 libasound_module_pcm_upmix.la
-rwxr-xr-x 1 root root 35222 Sep 12 21:50 libasound_module_pcm_upmix.so
-rw-r--r-- 1 root root 42634 Sep 12 21:50 libasound_module_pcm_usb_stream.a
-rwxr-xr-x 1 root root 1112 Sep 12 21:50 libasound_module_pcm_usb_stream.la
-rwxr-xr-x 1 root root 34094 Sep 12 21:50 libasound_module_pcm_usb_stream.so
-rw-r--r-- 1 root root 26448 Sep 12 21:50 libasound_module_pcm_vdownmix.a
-rwxr-xr-x 1 root root 1098 Sep 12 21:50 libasound_module_pcm_vdownmix.la
-rwxr-xr-x 1 root root 22382 Sep 12 21:50 libasound_module_pcm_vdownmix.so
-rw-r--r-- 1 root root 28070 Sep 12 21:50 libasound_module_rate_lavcrate.a
-rwxr-xr-x 1 root root 1137 Sep 12 21:50 libasound_module_rate_lavcrate.la
-rwxr-xr-x 1 root root 23805 Sep 12 21:50 libasound_module_rate_lavcrate.so
lrwxrwxrwx 1 root root 33 Sep 12 21:50
libasound_module_rate_lavcrate_fast.so -> libasound_module_rate_lavcrate.so
lrwxrwxrwx 1 root root 33 Sep 12 21:50
libasound_module_rate_lavcrate_faster.so -> libasound_module_rate_lavcrate.so
lrwxrwxrwx 1 root root 33 Sep 12 21:50
libasound_module_rate_lavcrate_high.so -> libasound_module_rate_lavcrate.so
lrwxrwxrwx 1 root root 33 Sep 12 21:50
libasound_module_rate_lavcrate_higher.so -> libasound_module_rate_lavcrate.so
-rw-r--r-- 1 root root 23784 Sep 12 21:50 libasound_module_rate_samplerate.a
-rwxr-xr-x 1 root root 1151 Sep 12 21:50 libasound_module_rate_samplerate.la
-rwxr-xr-x 1 root root 20423 Sep 12 21:50 libasound_module_rate_samplerate.so
lrwxrwxrwx 1 root root 35 Sep 12 21:50
libasound_module_rate_samplerate_best.so ->
libasound_module_rate_samplerate.so
lrwxrwxrwx 1 root root 35 Sep 12 21:50
libasound_module_rate_samplerate_linear.so ->
libasound_module_rate_samplerate.so
lrwxrwxrwx 1 root root 35 Sep 12 21:50
libasound_module_rate_samplerate_medium.so ->
libasound_module_rate_samplerate.so
lrwxrwxrwx 1 root root 35 Sep 12 21:50
libasound_module_rate_samplerate_order.so ->
libasound_module_rate_samplerate.so
-rw-r--r-- 1 root root 21562 Sep 12 21:50 libasound_module_rate_speexrate.a
-rwxr-xr-x 1 root root 1157 Sep 12 21:50 libasound_module_rate_speexrate.la
-rwxr-xr-x 1 root root 18923 Sep 12 21:50 libasound_module_rate_speexrate.so
lrwxrwxrwx 1 root root 34 Sep 12 21:50
libasound_module_rate_speexrate_best.so -> libasound_module_rate_speexrate.so
lrwxrwxrwx 1 root root 34 Sep 12 21:50
libasound_module_rate_speexrate_medium.so ->
libasound_module_rate_speexrate.so
drwxr-xr-x 3 root root 4096 Sep 13 00:49 plugins
drwxr-xr-x 2 root root 4096 Jul 27 13:53 smixer
FINDINGS
--------
==================================================
------- ~dbus-daemon/launch-helper has ownership by group messagebus
==================================================
sx [ ~ ]# ls -l /usr/lib/dbus-1.0/dbus-daemon-launch-helper
-rwsr-x--- 1 root messagebus 763390 Sep 1 21:07 /usr/lib/dbus-1.0/dbus-
daemon-launch-helper
sx [ ~ ]#
==================================================
a) I am using system5 init and alsamixer refuses to start on the CLI at run-
level 3 reporting
"pulseaaudio' connection refused (or somesuch) but...
b) alsamixer starts after login in kde in konsole; sound devices are
correctly reported (on the cli); aplay reports no errors but no sound is
heard and outputs are not mute.
b) Still in kde, When the ownership/permissions on /usr/lib/dbus-1.0/dbus-
daemon-launch-helper
file are set as shown above the KDE System Settings/Multimedia dialog
reports a dummy device
I am wondering if the failure to start alsamixer and aplay before kde
starts indicates that consolekit and hal are
disabling the functioning of the setup.
Advice on all the above/to have the sound devices
recognised and functional in KDE-4.4.5 would be much appreciated.
sincerely
sibuXolo
More information about the pulseaudio-discuss
mailing list