Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
On Monday 20 September 2010 08:37:02 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 20/09/10 00:41 did gyre and gimble: On Tuesday 14 September 2010 13:58:08 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 14/09/10 13:33 did gyre and gimble: On Monday 13 September 2010 11:59:14 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 13/09/10 11:10 did gyre and gimble: First of all thanks (or shall I say 'kallu kalay') for the help. but you really do want to use all the patches from this branch since v0.9.21 tag (there will likely be another 10 fixes landing later today) I downloaded the stuff from GIT. The bundle was labelled as [pulseaudio-0.9.19 which is strange considering the released stuff is labelled 0.9.21. I did not clean out the original installation before I compiled/installed the git stuff so a couple of the libraries had 0.9.21 extensions (I merely labelled them as _X). I then recompiled alsa-plugins and so far I have sound on all logins and logouts as well as the cli. So much progress has been made. Yeah this is just a quirk of how the versions are labelled directly from git... I really do need to fix it at some point. ---e) audio CDROMs do not play neither with KsCD nor Kaffeine for any logins This is likely an issue to do with using analog playback rather than digital extraction (DAE) and subsequent software playback. You can probably use a low level alsamixer (alsamixer -c0) to unmute the CDROM element, but really most applications should be using digital extraction and software playback these days AFAIK. I'd ignore this particular problem until all others are addressed :) I still do not have CDROM sound nither with Kaffeine nor KsCD, I tried an internet search but came up with nowt so any pointers you can give will be grtefully received. Hmm, interesting. I'll try and see what I can find out for you. I managed to fix the problem. It was a udev problem. After I updated to udev-162, the /dev/cdrom and /dev/dvd symlinks to my ide cdrom disappeared. I used a simple udev rule to re-create these and now cdrom sound plays in KsCD Kaffeine et al. Thanks again for your help. and if ever you want to try an already made sample of cblfs on you x86_64-pc please let me know. ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
On Tuesday 21 September 2010 12:28:04 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 21/09/10 11:12 did gyre and gimble: I managed to fix the problem. It was a udev problem. After I updated to udev-162, the /dev/cdrom and /dev/dvd symlinks to my ide cdrom disappeared. I used a simple udev rule to re-create these and now cdrom sound plays in KsCD Kaffeine et al. Ahh good old udev messing things up for us! Excellent. Glad you got it all working :D oops had a related problem. I had another machine not on the internet so I copied a download of pulse from GIT and did an installation.:- i beforehand I purged it if pulse-0.9.21/ consolekit and hal) iiI noticed that symlinks to the Makefile in the base direcory pf pulse were missing so I replace these iii---I I recompiled kdemultimedia also. On restart I obtained sound on the second login but none subsequenty and cdrom sound is practicly mute ~ a tenth as loud as a hungry mosquito. pacmd ls is below Welcome to PulseAudio! Use help for usage information. Memory blocks currently allocated: 1, size: 63.9 KiB. Memory blocks allocated during the whole lifetime: 1641, size: 7.8 MiB. Memory blocks imported from other processes: 0, size: 0 B. Memory blocks exported to other processes: 0, size: 0 B. Total sample cache size: 0 B. Default sample spec: s16le 2ch 44100Hz Default channel map: front-left,front-right Default sink name: alsa_output.pci-_00_07.0.analog-stereo Default source name: alsa_input.pci-_00_07.0.analog-stereo Memory blocks of type POOL: 1 allocated/785 accumulated. Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated. Memory blocks of type APPENDED: 0 allocated/0 accumulated. Memory blocks of type USER: 0 allocated/0 accumulated. Memory blocks of type FIXED: 0 allocated/154 accumulated. Memory blocks of type IMPORTED: 0 allocated/702 accumulated. 20 module(s) loaded. index: 0 name: module-device-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore the volume/mute state of devices module.version = 0.9.19-562-g395da-dirty index: 1 name: module-stream-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore the volume/mute/device state of streams module.version = 0.9.19-562-g395da-dirty index: 2 name: module-card-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore profile of cards module.version = 0.9.19-562-g395da-dirty index: 3 name: module-augment-properties argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Augment the property sets of streams with additional static information module.version = 0.9.19-562-g395da-dirty index: 4 name: module-alsa-card argument: device_id=3 name=pci-_00_07.0 card_name=alsa_card.pci-_00_07.0 namereg_fail=false tsched=yes ignore_dB=no card_properties=module-udev-detect.discovered=1 used: 0 load once: no properties: module.author = Lennart Poettering module.description = ALSA Card module.version = 0.9.19-562-g395da-dirty index: 5 name: module-udev-detect argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Detect available audio hardware and load matching drivers module.version = 0.9.19-562-g395da-dirty index: 6 name: module-bluetooth-discover argument: used: -1 load once: yes properties: module.author = Joao Paulo Rechi Vita module.description = Detect available bluetooth audio devices and load bluetooth audio drivers module.version = 0.9.19-562-g395da-dirty index: 7 name: module-esound-protocol-unix argument: used: -1 load once: no properties: module.author = Lennart Poettering module.description = ESOUND protocol (UNIX sockets) module.version = 0.9.19-562-g395da-dirty index: 8 name: module-dbus-protocol argument: used: -1 load once: yes properties: module.author = Tanu Kaskinen module.description = D-Bus interface module.version = 0.9.19-562-g395da-dirty index
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
On Tuesday 14 September 2010 13:58:08 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 14/09/10 13:33 did gyre and gimble: On Monday 13 September 2010 11:59:14 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 13/09/10 11:10 did gyre and gimble: First of all thanks (or shall I say 'kallu kalay') for the help. but you really do want to use all the patches from this branch since v0.9.21 tag (there will likely be another 10 fixes landing later today) I downloaded the stuff from GIT. The bundle was labelled as [pulseaudio-0.9.19 which is strange considering the released stuff is labelled 0.9.21. I did not clean out the original installation before I compiled/installed the git stuff so a couple of the libraries had 0.9.21 extensions (I merely labelled them as _X). I then recompiled alsa-plugins and so far I have sound on all logins and logouts as well as the cli. So much progress has been made. ---e) audio CDROMs do not play neither with KsCD nor Kaffeine for any logins This is likely an issue to do with using analog playback rather than digital extraction (DAE) and subsequent software playback. You can probably use a low level alsamixer (alsamixer -c0) to unmute the CDROM element, but really most applications should be using digital extraction and software playback these days AFAIK. I'd ignore this particular problem until all others are addressed :) I still do not have CDROM sound nither with Kaffeine nor KsCD, I tried an internet search but came up with nowt so any pointers you can give will be grtefully received. Once again many thanks for your help. sincerely sibu xolo. Col ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
On Monday 13 September 2010 11:59:14 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 13/09/10 11:10 did gyre and gimble: First of all thanks (or shall I say 'kallu kalay') for the help. I'm not sure why udev-detect would cause problems. I would suggest to double check your udev setup and make sure the relevant udev rules are present on your system. udev 147 is pretty old, perhaps a newer version is needed (I can't remember the minimum system requirements), but certainly: /lib/udev/rules.d/78-sound-card.rules I updated udev to udev-162. And I can report some progress and some glitches. PROGRESS: ---a) the first login and logout via kdm gives the welcome and exit sounds ---b)the kde/~Multimedia dialog has a dummy greyed-out icon and another as 'Internal Audio analog stereo' ---c) aplay plays wav files in konsole -as well as on the cli in/before/after startkde/kdm-logout GLITCHES --- ---d) kde/sound is mute for all other logins and logouts bar the first ---e) audio CDROMs do not play neither with KsCD nor Kaffeine for any logins - 'pacmd -ls' looks like this after login via kdm Welcome to PulseAudio! Use help for usage information. Memory blocks currently allocated: 1, size: 63.9 KiB. Memory blocks allocated during the whole lifetime: 85, size: 2.6 MiB. Memory blocks imported from other processes: 0, size: 0 B. Memory blocks exported to other processes: 0, size: 0 B. Total sample cache size: 0 B. Default sample spec: s16le 2ch 44100Hz Default channel map: front-left,front-right Default sink name: alsa_output.pci-_00_07.0.analog-stereo Default source name: alsa_input.pci-_00_07.0.analog-stereo Memory blocks of type POOL: 1 allocated/28 accumulated. Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated. Memory blocks of type APPENDED: 0 allocated/0 accumulated. Memory blocks of type USER: 0 allocated/0 accumulated. Memory blocks of type FIXED: 0 allocated/57 accumulated. Memory blocks of type IMPORTED: 0 allocated/0 accumulated. 22 module(s) loaded. index: 0 name: module-device-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore the volume/mute state of devices module.version = 0.9.21 index: 1 name: module-stream-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore the volume/mute/device state of streams module.version = 0.9.21 index: 2 name: module-card-restore argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Automatically restore profile of cards module.version = 0.9.21 index: 3 name: module-augment-properties argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Augment the property sets of streams with additional static information module.version = 0.9.21 index: 4 name: module-alsa-card argument: device_id=0 name=pci-_00_07.0 card_name=alsa_card.pci-_00_07.0 tsched=yes ignore_dB=no card_properties=module-udev-detect.discovered=1 used: 0 load once: no properties: module.author = Lennart Poettering module.description = ALSA Card module.version = 0.9.21 index: 5 name: module-udev-detect argument: used: -1 load once: yes properties: module.author = Lennart Poettering module.description = Detect available audio hardware and load matching drivers module.version = 0.9.21 index: 6 name: module-bluetooth-discover argument: used: -1 load once: yes properties: module.author = Joao Paulo Rechi Vita module.description = Detect available bluetooth audio devices and load bluetooth audio drivers module.version = 0.9.21 index: 7 name: module-esound-protocol-unix argument: used: -1 load once: no properties: module.author = Lennart Poettering module.description = ESOUND protocol (UNIX sockets) module.version = 0.9.21 index: 8 name: module-native-protocol-unix argument: used: -1 load once: no properties: module.author = Lennart Poettering module.description = Native protocol (UNIX sockets
Re: [pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
On Monday 13 September 2010 09:28:22 Colin Guthrie wrote: 'Twas brillig, and sibu xolo at 13/09/10 02:04 did gyre and gimble: 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... I guess PA cannot start on the CLI for some reason. alsamixer or aplay should autospawn PA if it's not running (which would be typical with a console login). I suspect not being able to connect to dbus/consolekit is the problem, but to find out, run pulseaudio -vvv from the cli rather than aplay and it should tell you the reasons for not starting. here is the ooutput from running pulseaudio -vvv on the cli BEFORE kde starts I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted D: core-rtclock.c: Timer slack is set to 50 us. I: core-util.c: Failed to acquire high-priority scheduling: No such file or directory I: main.c: This is PulseAudio 0.9.21 D: main.c: Compilation host: x86_64-unknown-linux-gnu D: main.c: Compilation CFLAGS: -g -O2 -Wall -W -Wextra -pipe -Wno-long-long - Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef - Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self - Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict- prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn - Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno- unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common - fdiagnostics-show-option D: main.c: Running on host: Linux x86_64 2.6.35.4nbf8DRIm #1 SMP PREEMPT Wed Sep 8 15:10:46 BST 2010 D: main.c: Found 2 CPUs. I: main.c: Page size is 4096 bytes D: main.c: Compiled with Valgrind support: yes D: main.c: Running in valgrind mode: no D: main.c: Running in VM: no D: main.c: Optimized build: yes D: main.c: All asserts enabled. I: main.c: Machine ID is 1385ab3a82291ea2800476890006. I: main.c: Using runtime directory /home/sx/.pulse/1385ab3a82291ea2800476890006-runtime. I: main.c: Using state directory /home/sx/.pulse. I: main.c: Using modules directory /opt/lib/pulse-0.9.21/modules. I: main.c: Running in system mode: no I: main.c: Fresh high-resolution timers available! Bon appetit! I: cpu-x86.c: CPU flags: MMX SSE SSE2 SSE3 MMXEXT 3DNOW 3DNOWEXT I: svolume_mmx.c: Initialising MMX optimized functions. I: remap_mmx.c: Initialising MMX optimized remappers. I: svolume_sse.c: Initialising SSE2 optimized functions. I: remap_sse.c: Initialising SSE2 optimized remappers. I: sconv_sse.c: Initialising SSE2 optimized conversions. D: memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472 D: database-gdbm.c: Opened GDBM database '/home/sx/.pulse/1385ab3a82291ea2800476890006-device-volumes.x86_64- unknown-linux-gnu.gdbm' I: module-device-restore.c: Sucessfully opened database file '/home/sx/.pulse/1385ab3a82291ea2800476890006-device-volumes'. I: module.c: Loaded module-device-restore (index: #0; argument: ). D: database-gdbm.c: Opened GDBM database '/home/sx/.pulse/1385ab3a82291ea2800476890006-stream-volumes.x86_64- unknown-linux-gnu.gdbm' I: module-stream-restore.c: Sucessfully opened database file '/home/sx/.pulse/1385ab3a82291ea2800476890006-stream-volumes'. I: module.c: Loaded module-stream-restore (index: #1; argument: ). D: database-gdbm.c: Opened GDBM database '/home/sx/.pulse/1385ab3a82291ea2800476890006-card-database.x86_64- unknown-linux-gnu.gdbm' I: module-card-restore.c: Sucessfully opened database file '/home/sx/.pulse/1385ab3a82291ea2800476890006-card-database'. I: module.c: Loaded module-card-restore (index: #2; argument: ). I: module.c: Loaded module-augment-properties (index: #3; argument: ). D: cli-command.c: Checking for existance of '/opt/lib/pulse-0.9.21/modules/module-udev-detect.so': success I: module-udev-detect.c: Found 0 cards. I: module.c: Loaded module-udev-detect (index: #4; argument: ). D: cli-command.c: Checking for existance of '/opt/lib/pulse-0.9.21/modules/module-bluetooth-discover.so': success D: dbus-util.c: Successfully connected to D-Bus system bus 244284b9a8358759ce53123d0008 as :1.7 D: bluetooth-util.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired D: bluetooth-util.c: Bluetooth daemon is apparently not available. I: module.c: Loaded module-bluetooth-discover (index: #5; argument: ). D: cli-command.c: Checking for existance of '/opt/lib/pulse-0.9.21/modules/module-esound-protocol-unix.so': success I: module.c: Loaded module-esound-protocol-unix (index: #6; argument: ). I: module.c: Loaded module-native-protocol-unix (index: #7; argument: ). D: cli-command.c: Checking for existance of '/opt/lib
[pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus
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