Running "pulseaudio" and "alsa" together.

Ajay Garg ajaygargnsit at gmail.com
Sat Jun 2 12:10:02 PDT 2012


Well, seems "pactl" is the go-to tool :)

Thanks and Regards,
Ajay

On Sun, Jun 3, 2012 at 12:06 AM, Ajay Garg <ajaygargnsit at gmail.com> wrote:

> Sean,
>
> pavucontrol did it  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> You hit the nail on the head, the  volume was muted (in "Output Devices"
> section).
>
> I uninstalled "alsa-plugins-pulseaudio" (which as you have already
> described, would not make a difference in the present case, since we are
> explicitly calling "pulsesink" to use pulseaudio).
>
> So, on every reboot on the XO-1, the pulseaudio-volume is muted, and the
> pulseaudio-volume-level is "0%". When I unmute the volume, and increase the
> percentage to a non-zero value, "pulsesink" works !!!!
>
>
> One last thing :: is there a pulseaudio-correspondent to
> alsamixer-alsactl, so that I can automate the pulseaudio-unmuting and
> pulseaudio-volume-control? Or may be perhaps the configuration file, where
> this may be hardcoded?
>
>
> Thanks Sean. I did not expect the issue to resolved so soon; but you
> really were a gem of a help.
>
>
> Thanks and Regards,
> Ajay
>
>
>
>
> On Sat, Jun 2, 2012 at 9:13 PM, Sean McNamara <smcnam at gmail.com> wrote:
>
>> Hi,
>>
>> On Sat, Jun 2, 2012 at 11:00 AM, Ajay Garg <ajaygargnsit at gmail.com>
>> wrote:
>> > Thanks Sean, for the prompt, detailed, extremely useful reply :)
>> > I am grateful :)
>> >
>> > a)
>> > Yes, XO-1 runs Fedora-14.
>> >
>> >
>> >
>> >
>> >
>> > b)
>> > Well, OLPC-Sugar does do some customizations in the default image, so
>> > it might be possible that gstreamer-plugins-good has "libgstpulse.so"
>> > missing. (However, it is unlikely).
>> >
>> > Anyhow, I will try this out again  with  a clean install.
>> >
>> >
>> >
>> >
>> >
>> > c)
>> > Following is the output of "gst-launch-0.10 -v audiotestsrc ! volume
>> > volume=0.4 ! audioconvert ! pulsesink" from XO-1 (seems ok to me) ::
>> >
>> >
>> #################################################################################################
>> > [olpc at xo-05-2a-1f ~]$ gst-launch -v audiotestsrc ! volume volume=0.4 !
>> > audioconvert ! pulsesink
>> > Setting pipeline to PAUSED ...
>> > /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0.GstPad:src: caps
>> > = audio/x-raw-float, endianness=(int)1234, width=(int)64,
>> > rate=(int)44100, channels=(int)1
>> > Pipeline is PREROLLING ...
>> > /GstPipeline:pipeline0/GstVolume:volume0.GstPad:src: caps =
>> > audio/x-raw-float, endianness=(int)1234, width=(int)64,
>> > rate=(int)44100, channels=(int)1
>> > /GstPipeline:pipeline0/GstVolume:volume0.GstPad:sink: caps =
>> > audio/x-raw-float, endianness=(int)1234, width=(int)64,
>> > rate=(int)44100, channels=(int)1
>> > /GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps
>> > = audio/x-raw-float, endianness=(int)1234, width=(int)32,
>> > rate=(int)44100, channels=(int)1
>> > /GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps
>> > = audio/x-raw-float, endianness=(int)1234, width=(int)64,
>> > rate=(int)44100, channels=(int)1
>> > /GstPipeline:pipeline0/GstPulseSink:pulsesink0.GstPad:sink: caps =
>> > audio/x-raw-float, endianness=(int)1234, width=(int)32,
>> > rate=(int)44100, channels=(int)1
>> > Pipeline is PREROLLED ...
>> > Setting pipeline to PLAYING ...
>> > /GstPipeline:pipeline0/GstPulseSink:pulsesink0: volume = 0.728985
>> > /GstPipeline:pipeline0/GstPulseSink:pulsesink0: mute = FALSE
>> > New clock: GstPulseSinkClock
>> >
>> > <therafter, the shell appears to hang; NO SOUND IS HEARD>
>> >
>> #################################################################################################
>> >
>>
>> The fact that the shell is hanging suggests to me that either the
>> audio pipeline thinks it is working correctly; or, it tried connecting
>> to pulseaudio and is in a wait-forever loop trying to successfully
>> connect.
>>
>> But typically you won't hit the "PLAYING" state and the
>> "GstPulseSinkClock" won't be created, if there is a connectivity issue
>> to the pulseaudio daemon.
>>
>> Sounds like you might actually have a working pulseaudio daemon, but
>> the volume is muted ;) Can you look in the pulseaudio sound control
>> app you use (I'm not sure what it's called or if one exists for Sugar)
>> ? If you want, install the pavucontrol package -- that should work
>> reasonably well for this purpose on F14. It will show up in menus as
>> "Volume Control" or "PulseAudio Volume Control" or it can be started
>> from a terminal with
>>
>> pavucontrol  #do not run it as root
>>
>> Then look through the volumes and make sure that
>>
>> (1) the gst-launch *stream* is not muted, and
>> (2) the hardware sound card *sink* is not muted, and
>> (3) volume is turned up sufficiently on both the sink and the stream
>>
>> I don't fully understand everything in your PA log file below (and
>> certainly there are a few scary messages there), but it looks like PA
>> successfully started up in the end, so the only other thought I had is
>> that maybe your ALSA driver is hanging when trying to play audio
>> through pulseaudio, and that may very well be solved by a distro
>> upgrade to F16 or F17 (F17 was released as final / production this
>> week).
>>
>> >
>> >
>> >
>> >
>> >
>> > d)
>> > Following is the content of ~/log_test.txt, generated after running ::
>> >
>> >               pulseaudio --kill
>> >               sudo rm -r ~/.pulse
>> >               sudo rm -r ~/.pulse-cookie
>> >               pulseaudio --daemonize=false -vvv > ~/long_test.txt 2>&1
>> >
>> >
>> >
>> ################################################################################################################
>> > 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.
>> > D: core-util.c: RealtimeKit worked.
>> > I: core-util.c: Successfully gained nice level -11.
>> > I: main.c: This is PulseAudio 0.9.21
>> > D: main.c: Compilation host: i386-redhat-linux-gnu
>> > D: main.c: Compilation CFLAGS: -O2 -g -pipe -Wall
>> > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
>> > --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
>> > -fasynchronous-unwind-tables -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 i586
>> > 2.6.35.13_xo1-20120508.1133.olpc.eb0c7a8 #1 PREEMPT Tue May 8 11:35:49
>> > EDT 2012
>> > D: main.c: Found 1 CPUs.
>> > I: main.c: Page size is 4096 bytes
>> > D: main.c: Compiled with Valgrind support: no
>> > 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 f375255c3fa791ff0a40d9320000001a.
>> > I: main.c: Session ID is
>> > f375255c3fa791ff0a40d9320000001a-1338640583.186469-1399595420.
>> > I: main.c: Using runtime directory
>> > /home/olpc/.pulse/f375255c3fa791ff0a40d9320000001a-runtime.
>> > I: main.c: Using state directory /home/olpc/.pulse.
>> > I: main.c: Using modules directory /usr/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: CMOV MMX MMXEXT 3DNOW 3DNOWEXT
>> > I: svolume_mmx.c: Initialising MMX optimized functions.
>> > I: remap_mmx.c: Initialising MMX optimized remappers.
>> > 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 65496
>> > D: database-tdb.c: Opened TDB database
>> > '/home/olpc/.pulse/f375255c3fa791ff0a40d9320000001a-device-volumes.tdb'
>> > I: module-device-restore.c: Sucessfully opened database file
>> > '/home/olpc/.pulse/f375255c3fa791ff0a40d9320000001a-device-volumes'.
>> > I: module.c: Loaded "module-device-restore" (index: #0; argument: "").
>> > D: database-tdb.c: Opened TDB database
>> > '/home/olpc/.pulse/f375255c3fa791ff0a40d9320000001a-stream-volumes.tdb'
>> > I: module-stream-restore.c: Sucessfully opened database file
>> > '/home/olpc/.pulse/f375255c3fa791ff0a40d9320000001a-stream-volumes'.
>> > I: module.c: Loaded "module-stream-restore" (index: #1; argument: "").
>> > D: database-tdb.c: Opened TDB database
>> > '/home/olpc/.pulse/f375255c3fa791ff0a40d9320000001a-card-database.tdb'
>> > I: module-card-restore.c: Sucessfully opened database file
>> > '/home/olpc/.pulse/f375255c3fa791ff0a40d9320000001a-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
>> > '/usr/lib/pulse-0.9.21/modules/module-udev-detect.so': success
>> > D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
>> > D: module-udev-detect.c: /devices/pci0000:00/0000:00:0f.3/sound/card0
>> > is busy: no
>> > D: module-udev-detect.c: Loading module-alsa-card with arguments
>> > 'device_id="0" name="pci-0000_00_0f.3"
>> > card_name="alsa_card.pci-0000_00_0f.3" tsched=yes ignore_dB=no
>> > card_properties="module-udev-detect.discovered=1"'
>> > D: dbus-util.c: Successfully connected to D-Bus session bus
>> > 3b857d3912c26fe3727fe4cb00000026 as :1.33
>> > D: reserve-wrap.c: Successfully acquired reservation lock on device
>> 'Audio0'
>> > D: alsa-mixer.c: Looking at profile output:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Analog Mono (analog-mono)
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > I: alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid
>> argument
>> > D: alsa-mixer.c: Looking at profile output:analog-mono+input:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Analog Mono (analog-mono)
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > I: alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid
>> argument
>> > D: alsa-mixer.c: Looking at profile
>> output:analog-mono+input:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Mono (analog-mono)
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > I: alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid
>> argument
>> > D: alsa-mixer.c: Looking at profile
>> output:analog-mono+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Mono (analog-mono)
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > I: alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid
>> argument
>> > D: alsa-mixer.c: Looking at profile
>> output:analog-mono+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Analog Mono (analog-mono)
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > I: alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid
>> argument
>> > D: alsa-mixer.c: Looking at profile output:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Stereo (analog-stereo)
>> > D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM front:0
>> > I: alsa-util.c: Error opening PCM device front:0: Invalid argument
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: Maximum hw buffer size is 371 ms
>> > D: alsa-util.c: Set buffer size first (to 4408 samples), period size
>> > second (to 1102 samples).
>> > D: alsa-mixer.c: Profile output:analog-stereo supported.
>> > D: alsa-mixer.c: Looking at profile
>> output:analog-stereo+input:analog-mono
>> > D: alsa-mixer.c: Checking for recording on Analog Mono (analog-mono)
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > I: alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid
>> argument
>> > D: alsa-mixer.c: Looking at profile
>> output:analog-stereo+input:analog-stereo
>> > D: alsa-mixer.c: Checking for recording on Analog Stereo (analog-stereo)
>> > D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM front:0
>> > I: alsa-util.c: Error opening PCM device front:0: Invalid argument
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: Maximum hw buffer size is 371 ms
>> > D: alsa-util.c: Set buffer size first (to 4408 samples), period size
>> > second (to 1102 samples).
>> > D: alsa-mixer.c: Profile output:analog-stereo+input:analog-stereo
>> supported.
>> > D: alsa-mixer.c: Looking at profile
>> output:analog-stereo+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for recording on Digital Stereo (IEC958)
>> > (iec958-stereo)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-stereo+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for recording on Digital Surround 4.0
>> > (IEC958) (iec958-surround-40)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile output:analog-surround-40
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 4.0
>> > (analog-surround-40)
>> > D: alsa-util.c: Trying surround40:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround40:0
>> > I: alsa-util.c: Error opening PCM device surround40:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:analog-surround-40+input:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 4.0
>> > (analog-surround-40)
>> > D: alsa-util.c: Trying surround40:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround40:0
>> > I: alsa-util.c: Error opening PCM device surround40:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-40+input:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 4.0
>> > (analog-surround-40)
>> > D: alsa-util.c: Trying surround40:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround40:0
>> > I: alsa-util.c: Error opening PCM device surround40:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-40+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 4.0
>> > (analog-surround-40)
>> > D: alsa-util.c: Trying surround40:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround40:0
>> > I: alsa-util.c: Error opening PCM device surround40:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-40+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 4.0
>> > (analog-surround-40)
>> > D: alsa-util.c: Trying surround40:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround40:0
>> > I: alsa-util.c: Error opening PCM device surround40:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile output:analog-surround-41
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 4.1
>> > (analog-surround-41)
>> > D: alsa-util.c: Trying surround41:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround41:0
>> > I: alsa-util.c: Error opening PCM device surround41:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:analog-surround-41+input:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 4.1
>> > (analog-surround-41)
>> > D: alsa-util.c: Trying surround41:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround41:0
>> > I: alsa-util.c: Error opening PCM device surround41:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-41+input:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 4.1
>> > (analog-surround-41)
>> > D: alsa-util.c: Trying surround41:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround41:0
>> > I: alsa-util.c: Error opening PCM device surround41:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-41+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 4.1
>> > (analog-surround-41)
>> > D: alsa-util.c: Trying surround41:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround41:0
>> > I: alsa-util.c: Error opening PCM device surround41:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-41+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 4.1
>> > (analog-surround-41)
>> > D: alsa-util.c: Trying surround41:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround41:0
>> > I: alsa-util.c: Error opening PCM device surround41:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile output:analog-surround-50
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 5.0
>> > (analog-surround-50)
>> > D: alsa-util.c: Trying surround50:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround50:0
>> > I: alsa-util.c: Error opening PCM device surround50:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:analog-surround-50+input:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 5.0
>> > (analog-surround-50)
>> > D: alsa-util.c: Trying surround50:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround50:0
>> > I: alsa-util.c: Error opening PCM device surround50:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-50+input:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 5.0
>> > (analog-surround-50)
>> > D: alsa-util.c: Trying surround50:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround50:0
>> > I: alsa-util.c: Error opening PCM device surround50:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-50+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 5.0
>> > (analog-surround-50)
>> > D: alsa-util.c: Trying surround50:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround50:0
>> > I: alsa-util.c: Error opening PCM device surround50:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-50+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 5.0
>> > (analog-surround-50)
>> > D: alsa-util.c: Trying surround50:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround50:0
>> > I: alsa-util.c: Error opening PCM device surround50:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile output:analog-surround-51
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 5.1
>> > (analog-surround-51)
>> > D: alsa-util.c: Trying surround51:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround51:0
>> > I: alsa-util.c: Error opening PCM device surround51:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:analog-surround-51+input:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 5.1
>> > (analog-surround-51)
>> > D: alsa-util.c: Trying surround51:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround51:0
>> > I: alsa-util.c: Error opening PCM device surround51:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-51+input:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 5.1
>> > (analog-surround-51)
>> > D: alsa-util.c: Trying surround51:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround51:0
>> > I: alsa-util.c: Error opening PCM device surround51:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-51+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 5.1
>> > (analog-surround-51)
>> > D: alsa-util.c: Trying surround51:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround51:0
>> > I: alsa-util.c: Error opening PCM device surround51:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-51+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 5.1
>> > (analog-surround-51)
>> > D: alsa-util.c: Trying surround51:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround51:0
>> > I: alsa-util.c: Error opening PCM device surround51:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile output:analog-surround-71
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 7.1
>> > (analog-surround-71)
>> > D: alsa-util.c: Trying surround71:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround71:0
>> > I: alsa-util.c: Error opening PCM device surround71:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:analog-surround-71+input:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 7.1
>> > (analog-surround-71)
>> > D: alsa-util.c: Trying surround71:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround71:0
>> > I: alsa-util.c: Error opening PCM device surround71:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-71+input:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 7.1
>> > (analog-surround-71)
>> > D: alsa-util.c: Trying surround71:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround71:0
>> > I: alsa-util.c: Error opening PCM device surround71:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-71+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 7.1
>> > (analog-surround-71)
>> > D: alsa-util.c: Trying surround71:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround71:0
>> > I: alsa-util.c: Error opening PCM device surround71:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:analog-surround-71+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Analog Surround 7.1
>> > (analog-surround-71)
>> > D: alsa-util.c: Trying surround71:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM surround71:0
>> > I: alsa-util.c: Error opening PCM device surround71:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile output:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Stereo (IEC958)
>> > (iec958-stereo)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:iec958-stereo+input:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Digital Stereo (IEC958)
>> > (iec958-stereo)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:iec958-stereo+input:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Stereo (IEC958)
>> > (iec958-stereo)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:iec958-stereo+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Stereo (IEC958)
>> > (iec958-stereo)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-stereo+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Digital Stereo (IEC958)
>> > (iec958-stereo)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile output:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 4.0
>> > (IEC958) (iec958-surround-40)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:iec958-surround-40+input:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 4.0
>> > (IEC958) (iec958-surround-40)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-surround-40+input:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 4.0
>> > (IEC958) (iec958-surround-40)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-surround-40+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 4.0
>> > (IEC958) (iec958-surround-40)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-surround-40+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 4.0
>> > (IEC958) (iec958-surround-40)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-40
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 4.0
>> > (IEC958/AC3) (iec958-ac3-surround-40)
>> > D: alsa-util.c: Trying a52:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)pcm.c: Unknown PCM a52:0
>> > I: alsa-util.c: Error opening PCM device a52:0: No such file or
>> directory
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-ac3-surround-40+input:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 4.0
>> > (IEC958/AC3) (iec958-ac3-surround-40)
>> > D: alsa-util.c: Trying a52:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)pcm.c: Unknown PCM a52:0
>> > I: alsa-util.c: Error opening PCM device a52:0: No such file or
>> directory
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-ac3-surround-40+input:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 4.0
>> > (IEC958/AC3) (iec958-ac3-surround-40)
>> > D: alsa-util.c: Trying a52:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)pcm.c: Unknown PCM a52:0
>> > I: alsa-util.c: Error opening PCM device a52:0: No such file or
>> directory
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-ac3-surround-40+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 4.0
>> > (IEC958/AC3) (iec958-ac3-surround-40)
>> > D: alsa-util.c: Trying a52:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)pcm.c: Unknown PCM a52:0
>> > I: alsa-util.c: Error opening PCM device a52:0: No such file or
>> directory
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-ac3-surround-40+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 4.0
>> > (IEC958/AC3) (iec958-ac3-surround-40)
>> > D: alsa-util.c: Trying a52:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)pcm.c: Unknown PCM a52:0
>> > I: alsa-util.c: Error opening PCM device a52:0: No such file or
>> directory
>> > D: alsa-mixer.c: Looking at profile output:iec958-ac3-surround-51
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 5.1
>> > (IEC958/AC3) (iec958-ac3-surround-51)
>> > D: alsa-util.c: Trying a52:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)pcm.c: Unknown PCM a52:0
>> > I: alsa-util.c: Error opening PCM device a52:0: No such file or
>> directory
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-ac3-surround-51+input:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 5.1
>> > (IEC958/AC3) (iec958-ac3-surround-51)
>> > D: alsa-util.c: Trying a52:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)pcm.c: Unknown PCM a52:0
>> > I: alsa-util.c: Error opening PCM device a52:0: No such file or
>> directory
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-ac3-surround-51+input:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 5.1
>> > (IEC958/AC3) (iec958-ac3-surround-51)
>> > D: alsa-util.c: Trying a52:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)pcm.c: Unknown PCM a52:0
>> > I: alsa-util.c: Error opening PCM device a52:0: No such file or
>> directory
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-ac3-surround-51+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 5.1
>> > (IEC958/AC3) (iec958-ac3-surround-51)
>> > D: alsa-util.c: Trying a52:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)pcm.c: Unknown PCM a52:0
>> > I: alsa-util.c: Error opening PCM device a52:0: No such file or
>> directory
>> > D: alsa-mixer.c: Looking at profile
>> > output:iec958-ac3-surround-51+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Digital Surround 5.1
>> > (IEC958/AC3) (iec958-ac3-surround-51)
>> > D: alsa-util.c: Trying a52:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)pcm.c: Unknown PCM a52:0
>> > I: alsa-util.c: Error opening PCM device a52:0: No such file or
>> directory
>> > D: alsa-mixer.c: Looking at profile output:hdmi-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Stereo (HDMI)
>> (hdmi-stereo)
>> > D: alsa-util.c: Trying hdmi:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM hdmi:0
>> > I: alsa-util.c: Error opening PCM device hdmi:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile output:hdmi-stereo+input:analog-mono
>> > D: alsa-mixer.c: Checking for playback on Digital Stereo (HDMI)
>> (hdmi-stereo)
>> > D: alsa-util.c: Trying hdmi:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM hdmi:0
>> > I: alsa-util.c: Error opening PCM device hdmi:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:hdmi-stereo+input:analog-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Stereo (HDMI)
>> (hdmi-stereo)
>> > D: alsa-util.c: Trying hdmi:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM hdmi:0
>> > I: alsa-util.c: Error opening PCM device hdmi:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:hdmi-stereo+input:iec958-stereo
>> > D: alsa-mixer.c: Checking for playback on Digital Stereo (HDMI)
>> (hdmi-stereo)
>> > D: alsa-util.c: Trying hdmi:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM hdmi:0
>> > I: alsa-util.c: Error opening PCM device hdmi:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile
>> output:hdmi-stereo+input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for playback on Digital Stereo (HDMI)
>> (hdmi-stereo)
>> > D: alsa-util.c: Trying hdmi:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM hdmi:0
>> > I: alsa-util.c: Error opening PCM device hdmi:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile input:analog-mono
>> > D: alsa-mixer.c: Checking for recording on Analog Mono (analog-mono)
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > D: alsa-util.c: Trying plug:hw:0 without SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open plug:hw:0
>> > D: alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid
>> argument
>> > I: alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid
>> argument
>> > D: alsa-mixer.c: Looking at profile input:analog-stereo
>> > D: alsa-mixer.c: Checking for recording on Analog Stereo (analog-stereo)
>> > D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM front:0
>> > I: alsa-util.c: Error opening PCM device front:0: Invalid argument
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: Maximum hw buffer size is 371 ms
>> > D: alsa-util.c: Set buffer size first (to 4408 samples), period size
>> > second (to 1102 samples).
>> > D: alsa-mixer.c: Profile input:analog-stereo supported.
>> > D: alsa-mixer.c: Looking at profile input:iec958-stereo
>> > D: alsa-mixer.c: Checking for recording on Digital Stereo (IEC958)
>> > (iec958-stereo)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > D: alsa-mixer.c: Looking at profile input:iec958-surround-40
>> > D: alsa-mixer.c: Checking for recording on Digital Surround 4.0
>> > (IEC958) (iec958-surround-40)
>> > D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM iec958:0
>> > I: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
>> > I: card.c: Created 0 "alsa_card.pci-0000_00_0f.3"
>> > D: reserve-wrap.c: Successfully create reservation lock monitor for
>> > device 'Audio0'
>> > D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM front:0
>> > I: alsa-util.c: Error opening PCM device front:0: Invalid argument
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: Maximum hw buffer size is 371 ms
>> > D: alsa-util.c: Set buffer size first (to 88200 samples), period size
>> > second (to 88200 samples).
>> > I: alsa-sink.c: Successfully opened device hw:0.
>> > I: alsa-sink.c: Selected mapping 'Analog Stereo' (analog-stereo).
>> > I: alsa-sink.c: Successfully enabled mmap() mode.
>> > I: alsa-sink.c: Successfully enabled timer-based scheduling mode.
>> > I: alsa-mixer.c: Successfully attached to mixer 'hw:0'
>> > D: alsa-mixer.c: Probing path 'analog-output'
>> > D: alsa-mixer.c: Probing path 'analog-output-speaker'
>> > D: alsa-mixer.c: Probe of element 'Speaker' failed.
>> > D: alsa-mixer.c: Probing path 'analog-output-speaker'
>> > D: alsa-mixer.c: Probe of element 'Desktop Speaker' failed.
>> > D: alsa-mixer.c: Probing path 'analog-output-headphones'
>> > D: alsa-mixer.c: Probe of element 'Headphone' failed.
>> > D: alsa-mixer.c: Probing path 'analog-output-headphones'
>> > D: alsa-mixer.c: Probe of element 'Headphone2' failed.
>> > D: alsa-mixer.c: Probing path 'analog-output-mono'
>> > D: alsa-mixer.c: Probing path 'analog-output-lfe-on-mono'
>> > D: alsa-sink.c: Probed mixer paths:
>> > D: alsa-mixer.c: Path Set 0x960a090, direction=1, probed=yes
>> > D: alsa-mixer.c: Path analog-output (Analog Output), direction=1,
>> > priority=99, probed=yes, supported=yes, has_mute=yes, has_volume=yes,
>> > has_dB=yes, min_volume=0, max_volume=31, min_dB=-139.5, max_dB=0
>> > D: alsa-mixer.c: Element Master, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x3600000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element Master Mono, direction=1, switch=2, volume=2,
>> > enumeration=0, required=0, required_absent=0, mask=0x7ffffffffffff,
>> > n_channels=1, override_map=no
>> > D: alsa-mixer.c: Element Surround, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x60, n_channels=2,
>> > override_map=yes
>> > D: alsa-mixer.c: Element Center, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x4900000000018,
>> > n_channels=1, override_map=yes
>> > D: alsa-mixer.c: Element LFE, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x80, n_channels=1,
>> > override_map=yes
>> > D: alsa-mixer.c: Element PCM, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x3600000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element External Amplifier, direction=1, switch=4,
>> > volume=0, enumeration=0, required=0, required_absent=0, mask=0x0,
>> > n_channels=0, override_map=no
>> > D: alsa-mixer.c: Option on (output-amplifier-on/Amplifier) index=1,
>> priority=10
>> > D: alsa-mixer.c: Option off (output-amplifier-off/No Amplifier)
>> > index=0, priority=0
>> > D: alsa-mixer.c: Setting output-amplifier-on (Amplifier) priority=10
>> > D: alsa-mixer.c: Setting output-amplifier-off (No Amplifier) priority=0
>> > D: alsa-mixer.c: Path analog-output-mono (Analog Mono Output),
>> > direction=1, priority=50, probed=yes, supported=yes, has_mute=yes,
>> > has_volume=yes, has_dB=yes, min_volume=0, max_volume=31, min_dB=-93,
>> > max_dB=0
>> > D: alsa-mixer.c: Element Master, direction=1, switch=2, volume=2,
>> > enumeration=0, required=0, required_absent=0, mask=0x6, n_channels=2,
>> > override_map=no
>> > D: alsa-mixer.c: Element Master Mono, direction=1, switch=1, volume=1,
>> > enumeration=0, required=4, required_absent=0, mask=0x7ffffffffffff,
>> > n_channels=1, override_map=yes
>> > D: alsa-mixer.c: Element Surround, direction=1, switch=2, volume=2,
>> > enumeration=0, required=0, required_absent=0, mask=0x6, n_channels=2,
>> > override_map=no
>> > D: alsa-mixer.c: Element Center, direction=1, switch=2, volume=2,
>> > enumeration=0, required=0, required_absent=0, mask=0x7ffffffffffff,
>> > n_channels=1, override_map=no
>> > D: alsa-mixer.c: Element LFE, direction=1, switch=2, volume=2,
>> > enumeration=0, required=0, required_absent=0, mask=0x7ffffffffffff,
>> > n_channels=1, override_map=no
>> > D: alsa-mixer.c: Element PCM, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x3600000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element External Amplifier, direction=1, switch=4,
>> > volume=0, enumeration=0, required=0, required_absent=0, mask=0x0,
>> > n_channels=0, override_map=no
>> > D: alsa-mixer.c: Option on (output-amplifier-on/Amplifier) index=1,
>> priority=10
>> > D: alsa-mixer.c: Option off (output-amplifier-off/No Amplifier)
>> > index=0, priority=0
>> > D: alsa-mixer.c: Setting output-amplifier-on (Amplifier) priority=10
>> > D: alsa-mixer.c: Setting output-amplifier-off (No Amplifier) priority=0
>> > D: alsa-mixer.c: Path analog-output-lfe-on-mono (Analog Output (LFE)),
>> > direction=1, priority=40, probed=yes, supported=yes, has_mute=yes,
>> > has_volume=yes, has_dB=yes, min_volume=0, max_volume=31, min_dB=-93,
>> > max_dB=0
>> > D: alsa-mixer.c: Element Master, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x3600000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element Master Mono, direction=1, switch=1, volume=1,
>> > enumeration=0, required=4, required_absent=0, mask=0x80, n_channels=1,
>> > override_map=yes
>> > D: alsa-mixer.c: Element Surround, direction=1, switch=2, volume=2,
>> > enumeration=0, required=0, required_absent=0, mask=0x6, n_channels=2,
>> > override_map=no
>> > D: alsa-mixer.c: Element Center, direction=1, switch=2, volume=2,
>> > enumeration=0, required=0, required_absent=0, mask=0x7ffffffffffff,
>> > n_channels=1, override_map=no
>> > D: alsa-mixer.c: Element LFE, direction=1, switch=2, volume=2,
>> > enumeration=0, required=0, required_absent=0, mask=0x7ffffffffffff,
>> > n_channels=1, override_map=no
>> > D: alsa-mixer.c: Element PCM, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x3600000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element External Amplifier, direction=1, switch=4,
>> > volume=0, enumeration=0, required=0, required_absent=0, mask=0x0,
>> > n_channels=0, override_map=no
>> > D: alsa-mixer.c: Option on (output-amplifier-on/Amplifier) index=1,
>> priority=10
>> > D: alsa-mixer.c: Option off (output-amplifier-off/No Amplifier)
>> > index=0, priority=0
>> > D: alsa-mixer.c: Setting output-amplifier-on (Amplifier) priority=10
>> > D: alsa-mixer.c: Setting output-amplifier-off (No Amplifier) priority=0
>> > D: alsa-mixer.c: Added 6 ports
>> > I: sink.c: Created sink 0 "alsa_output.pci-0000_00_0f.3.analog-stereo"
>> > with sample spec s16le 2ch 44100Hz and channel map
>> > front-left,front-right
>> > I: sink.c:     alsa.resolution_bits = "16"
>> > I: sink.c:     device.api = "alsa"
>> > I: sink.c:     device.class = "sound"
>> > I: sink.c:     alsa.class = "generic"
>> > I: sink.c:     alsa.subclass = "generic-mix"
>> > I: sink.c:     alsa.name = "CS5535 Audio"
>> > I: sink.c:     alsa.id = "CS5535 Audio"
>> > I: sink.c:     alsa.subdevice = "0"
>> > I: sink.c:     alsa.subdevice_name = "subdevice #0"
>> > I: sink.c:     alsa.device = "0"
>> > I: sink.c:     alsa.card = "0"
>> > I: sink.c:     alsa.card_name = "CS5535 Audio"
>> > I: sink.c:     alsa.long_card_name = "CS5535 Audio cs5535audio at
>> 0x1480, irq 5"
>> > I: sink.c:     alsa.driver_name = "snd_cs5535audio"
>> > I: sink.c:     device.bus_path = "pci-0000:00:0f.3"
>> > I: sink.c:     sysfs.path =
>> "/devices/pci0000:00/0000:00:0f.3/sound/card0"
>> > I: sink.c:     device.bus = "pci"
>> > I: sink.c:     device.vendor.id = "1022"
>> > I: sink.c:     device.vendor.name = "Advanced Micro Devices [AMD]"
>> > I: sink.c:     device.product.id = "2093"
>> > I: sink.c:     device.product.name = "CS5536 [Geode companion] Audio"
>> > I: sink.c:     device.form_factor = "internal"
>> > I: sink.c:     device.string = "hw:0"
>> > I: sink.c:     device.buffering.buffer_size = "65536"
>> > I: sink.c:     device.buffering.fragment_size = "32768"
>> > I: sink.c:     device.access_mode = "mmap+timer"
>> > I: sink.c:     device.profile.name = "analog-stereo"
>> > I: sink.c:     device.profile.description = "Analog Stereo"
>> > I: sink.c:     device.description = "Internal Audio Analog Stereo"
>> > I: sink.c:     alsa.mixer_name = "Analog Devices AD1888"
>> > I: sink.c:     alsa.components = "AC97a:41445368"
>> > I: sink.c:     module-udev-detect.discovered = "1"
>> > I: sink.c:     device.icon_name = "audio-card-pci"
>> > D: core-subscribe.c: Dropped redundant event due to change event.
>> > I: source.c: Created source 0
>> > "alsa_output.pci-0000_00_0f.3.analog-stereo.monitor" with sample spec
>> > s16le 2ch 44100Hz and channel map front-left,front-right
>> > I: source.c:     device.description = "Monitor of Internal Audio Analog
>> Stereo"
>> > I: source.c:     device.class = "monitor"
>> > I: source.c:     alsa.card = "0"
>> > I: source.c:     alsa.card_name = "CS5535 Audio"
>> > I: source.c:     alsa.long_card_name = "CS5535 Audio cs5535audio at
>> > 0x1480, irq 5"
>> > I: source.c:     alsa.driver_name = "snd_cs5535audio"
>> > I: source.c:     device.bus_path = "pci-0000:00:0f.3"
>> > I: source.c:     sysfs.path =
>> "/devices/pci0000:00/0000:00:0f.3/sound/card0"
>> > I: source.c:     device.bus = "pci"
>> > I: source.c:     device.vendor.id = "1022"
>> > I: source.c:     device.vendor.name = "Advanced Micro Devices [AMD]"
>> > I: source.c:     device.product.id = "2093"
>> > I: source.c:     device.product.name = "CS5536 [Geode companion] Audio"
>> > I: source.c:     device.form_factor = "internal"
>> > I: source.c:     device.string = "0"
>> > I: source.c:     module-udev-detect.discovered = "1"
>> > I: source.c:     device.icon_name = "audio-card-pci"
>> > I: alsa-sink.c: Using 2.0 fragments of size 32768 bytes (185.76ms),
>> > buffer size is 65536 bytes (371.52ms)
>> > I: alsa-sink.c: Time scheduling watermark is 20.00ms
>> > D: alsa-sink.c: hwbuf_unused=0
>> > D: alsa-sink.c: setting avail_min=15502
>> > D: alsa-mixer.c: Activating path analog-output
>> > D: alsa-mixer.c: Path analog-output (Analog Output), direction=1,
>> > priority=99, probed=yes, supported=yes, has_mute=yes, has_volume=yes,
>> > has_dB=yes, min_volume=0, max_volume=31, min_dB=-139.5, max_dB=0
>> > D: alsa-mixer.c: Element Master, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x3600000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element Master Mono, direction=1, switch=2, volume=2,
>> > enumeration=0, required=0, required_absent=0, mask=0x7ffffffffffff,
>> > n_channels=1, override_map=no
>> > D: alsa-mixer.c: Element Surround, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x60, n_channels=2,
>> > override_map=yes
>> > D: alsa-mixer.c: Element Center, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x4900000000018,
>> > n_channels=1, override_map=yes
>> > D: alsa-mixer.c: Element LFE, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x80, n_channels=1,
>> > override_map=yes
>> > D: alsa-mixer.c: Element PCM, direction=1, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x3600000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element External Amplifier, direction=1, switch=4,
>> > volume=0, enumeration=0, required=0, required_absent=0, mask=0x0,
>> > n_channels=0, override_map=no
>> > D: alsa-mixer.c: Option on (output-amplifier-on/Amplifier) index=1,
>> priority=10
>> > D: alsa-mixer.c: Option off (output-amplifier-off/No Amplifier)
>> > index=0, priority=0
>> > D: alsa-mixer.c: Setting output-amplifier-on (Amplifier) priority=10
>> > D: alsa-mixer.c: Setting output-amplifier-off (No Amplifier) priority=0
>> > I: alsa-sink.c: Hardware volume ranges from -139.50 dB to 0.00 dB.
>> > I: alsa-sink.c: No particular base volume set, fixing to 0 dB
>> > I: alsa-sink.c: Using hardware volume control. Hardware dB scale
>> supported.
>> > I: alsa-sink.c: Using hardware mute control.
>> > D: alsa-util.c: snd_pcm_dump():
>> > D: alsa-util.c: Hardware PCM card 0 'CS5535 Audio' device 0 subdevice 0
>> > D: alsa-util.c: Its setup is:
>> > D: alsa-util.c:   stream       : PLAYBACK
>> > D: alsa-util.c:   access       : MMAP_INTERLEAVED
>> > D: alsa-util.c:   format       : S16_LE
>> > D: alsa-util.c:   subformat    : STD
>> > D: alsa-util.c:   channels     : 2
>> > D: alsa-util.c:   rate         : 44100
>> > D: alsa-util.c:   exact rate   : 44100 (44100/1)
>> > D: alsa-util.c:   msbits       : 16
>> > D: alsa-util.c:   buffer_size  : 16384
>> > D: alsa-util.c:   period_size  : 8192
>> > D: alsa-util.c:   period_time  : 185759
>> > D: alsa-util.c:   tstamp_mode  : ENABLE
>> > D: alsa-util.c:   period_step  : 1
>> > D: alsa-util.c:   avail_min    : 15502
>> > D: alsa-util.c:   period_event : 0
>> > D: alsa-util.c:   start_threshold  : -1
>> > D: alsa-util.c:   stop_threshold   : 1073741824
>> > D: alsa-util.c:   silence_threshold: 0
>> > D: alsa-util.c:   silence_size : 0
>> > D: alsa-util.c:   boundary     : 1073741824
>> > D: alsa-util.c:   appl_ptr     : 0
>> > D: alsa-util.c:   hw_ptr       : 0
>> > D: alsa-sink.c: Read hardware volume: 0:  94% 1:  94%
>> > D: alsa-sink.c: Thread starting up
>> > D: core-util.c: RealtimeKit worked.
>> > I: core-util.c: Successfully enabled SCHED_RR scheduling for thread,
>> > with priority 5.
>> > I: alsa-sink.c: Starting playback.
>> > D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
>> > D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
>> > D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
>> > D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > I: (alsa-lib)conf.c: Unknown parameters 0
>> > I: (alsa-lib)pcm.c: Unknown PCM front:0
>> > I: alsa-util.c: Error opening PCM device front:0: Invalid argument
>> > D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
>> > D: alsa-util.c: Managed to open hw:0
>> > D: alsa-util.c: Maximum hw buffer size is 371 ms
>> > D: alsa-util.c: Set buffer size first (to 88200 samples), period size
>> > second (to 88200 samples).
>> > I: alsa-source.c: Successfully opened device hw:0.
>> > I: alsa-source.c: Selected mapping 'Analog Stereo' (analog-stereo).
>> > I: alsa-source.c: Successfully enabled mmap() mode.
>> > I: alsa-source.c: Successfully enabled timer-based scheduling mode.
>> > I: alsa-mixer.c: Successfully attached to mixer 'hw:0'
>> > D: alsa-mixer.c: Probing path 'analog-input'
>> > D: alsa-mixer.c: Probe of element 'Mic' failed.
>> > D: alsa-mixer.c: Probing path 'analog-input-microphone'
>> > D: alsa-mixer.c: Probing path 'analog-input-linein'
>> > D: alsa-mixer.c: Probing path 'analog-input'
>> > D: alsa-mixer.c: Probing path 'analog-input-video'
>> > D: alsa-mixer.c: Probing path 'analog-input-video'
>> > D: alsa-mixer.c: Probe of element 'TV Tuner' failed.
>> > D: alsa-mixer.c: Probing path 'analog-input-radio'
>> > D: alsa-mixer.c: Probe of element 'FM' failed.
>> > D: alsa-mixer.c: Probing path 'analog-input'
>> > D: alsa-mixer.c: Probe of element 'Mic/Line' failed.
>> > D: alsa-source.c: Probed mixer paths:
>> > D: alsa-mixer.c: Path Set 0x960ea68, direction=2, probed=yes
>> > D: alsa-mixer.c: Path analog-input-microphone (Analog Microphone),
>> > direction=2, priority=100, probed=yes, supported=yes, has_mute=yes,
>> > has_volume=yes, has_dB=yes, min_volume=0, max_volume=15, min_dB=0,
>> > max_dB=22.5
>> > D: alsa-mixer.c: Element Capture, direction=2, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x4037e00000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element Mic, direction=2, switch=1, volume=0,
>> > enumeration=0, required=4, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=yes
>> > D: alsa-mixer.c: Element Line, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Aux, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Video, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Mic Select, direction=2, switch=0, volume=0,
>> > enumeration=1, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Option Mic1 (input-microphone-1/Microphone 1)
>> > index=0, priority=20
>> > D: alsa-mixer.c: Option Mic2 (input-microphone-2/Microphone 2)
>> > index=1, priority=19
>> > D: alsa-mixer.c: Setting input-microphone-1 (Microphone 1) priority=20
>> > D: alsa-mixer.c: Setting input-microphone-2 (Microphone 2) priority=19
>> > D: alsa-mixer.c: Path analog-input-linein (Analog Line-In),
>> > direction=2, priority=90, probed=yes, supported=yes, has_mute=yes,
>> > has_volume=yes, has_dB=yes, min_volume=0, max_volume=15, min_dB=0,
>> > max_dB=22.5
>> > D: alsa-mixer.c: Element Capture, direction=2, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x4037e00000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element Mic, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Line, direction=2, switch=1, volume=0,
>> > enumeration=0, required=4, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=yes
>> > D: alsa-mixer.c: Element Aux, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Video, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Path analog-input (Analog Input), direction=2,
>> > priority=90, probed=yes, supported=yes, has_mute=yes, has_volume=yes,
>> > has_dB=yes, min_volume=0, max_volume=15, min_dB=0, max_dB=22.5
>> > D: alsa-mixer.c: Element Capture, direction=2, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x4037e00000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element Mic, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Line, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Aux, direction=2, switch=1, volume=0,
>> > enumeration=0, required=4, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=yes
>> > D: alsa-mixer.c: Element Video, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Path analog-input-video (Analog Video), direction=2,
>> > priority=70, probed=yes, supported=yes, has_mute=yes, has_volume=yes,
>> > has_dB=yes, min_volume=0, max_volume=15, min_dB=0, max_dB=22.5
>> > D: alsa-mixer.c: Element Capture, direction=2, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x4037e00000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element Mic, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Line, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Aux, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Video, direction=2, switch=1, volume=0,
>> > enumeration=0, required=4, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=yes
>> > D: alsa-mixer.c: Added 5 ports
>> > D: core-subscribe.c: Dropped redundant event due to change event.
>> > I: source.c: Created source 1
>> > "alsa_input.pci-0000_00_0f.3.analog-stereo" with sample spec s16le 2ch
>> > 44100Hz and channel map front-left,front-right
>> > I: source.c:     alsa.resolution_bits = "16"
>> > I: source.c:     device.api = "alsa"
>> > I: source.c:     device.class = "sound"
>> > I: source.c:     alsa.class = "generic"
>> > I: source.c:     alsa.subclass = "generic-mix"
>> > I: source.c:     alsa.name = "CS5535 Audio"
>> > I: source.c:     alsa.id = "CS5535 Audio"
>> > I: source.c:     alsa.subdevice = "0"
>> > I: source.c:     alsa.subdevice_name = "subdevice #0"
>> > I: source.c:     alsa.device = "0"
>> > I: source.c:     alsa.card = "0"
>> > I: source.c:     alsa.card_name = "CS5535 Audio"
>> > I: source.c:     alsa.long_card_name = "CS5535 Audio cs5535audio at
>> > 0x1480, irq 5"
>> > I: source.c:     alsa.driver_name = "snd_cs5535audio"
>> > I: source.c:     device.bus_path = "pci-0000:00:0f.3"
>> > I: source.c:     sysfs.path =
>> "/devices/pci0000:00/0000:00:0f.3/sound/card0"
>> > I: source.c:     device.bus = "pci"
>> > I: source.c:     device.vendor.id = "1022"
>> > I: source.c:     device.vendor.name = "Advanced Micro Devices [AMD]"
>> > I: source.c:     device.product.id = "2093"
>> > I: source.c:     device.product.name = "CS5536 [Geode companion] Audio"
>> > I: source.c:     device.form_factor = "internal"
>> > I: source.c:     device.string = "hw:0"
>> > I: source.c:     device.buffering.buffer_size = "65536"
>> > I: source.c:     device.buffering.fragment_size = "32768"
>> > I: source.c:     device.access_mode = "mmap+timer"
>> > I: source.c:     device.profile.name = "analog-stereo"
>> > I: source.c:     device.profile.description = "Analog Stereo"
>> > I: source.c:     device.description = "Internal Audio Analog Stereo"
>> > I: source.c:     alsa.mixer_name = "Analog Devices AD1888"
>> > I: source.c:     alsa.components = "AC97a:41445368"
>> > I: source.c:     module-udev-detect.discovered = "1"
>> > I: source.c:     device.icon_name = "audio-card-pci"
>> > I: alsa-source.c: Using 2.0 fragments of size 32768 bytes (185.76ms),
>> > buffer size is 65536 bytes (371.52ms)
>> > I: alsa-source.c: Time scheduling watermark is 20.00ms
>> > D: alsa-source.c: hwbuf_unused=0
>> > D: alsa-source.c: setting avail_min=15502
>> > D: alsa-mixer.c: Activating path analog-input-microphone
>> > D: alsa-mixer.c: Path analog-input-microphone (Analog Microphone),
>> > direction=2, priority=100, probed=yes, supported=yes, has_mute=yes,
>> > has_volume=yes, has_dB=yes, min_volume=0, max_volume=15, min_dB=0,
>> > max_dB=22.5
>> > D: alsa-mixer.c: Element Capture, direction=2, switch=1, volume=1,
>> > enumeration=0, required=0, required_absent=0, mask=0x4037e00000000f66,
>> > n_channels=2, override_map=yes
>> > D: alsa-mixer.c: Element Mic, direction=2, switch=1, volume=0,
>> > enumeration=0, required=4, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=yes
>> > D: alsa-mixer.c: Element Line, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Aux, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Video, direction=2, switch=2, volume=0,
>> > enumeration=0, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Element Mic Select, direction=2, switch=0, volume=0,
>> > enumeration=1, required=0, required_absent=0, mask=0x0, n_channels=0,
>> > override_map=no
>> > D: alsa-mixer.c: Option Mic1 (input-microphone-1/Microphone 1)
>> > index=0, priority=20
>> > D: alsa-mixer.c: Option Mic2 (input-microphone-2/Microphone 2)
>> > index=1, priority=19
>> > D: alsa-mixer.c: Setting input-microphone-1 (Microphone 1) priority=20
>> > D: alsa-mixer.c: Setting input-microphone-2 (Microphone 2) priority=19
>> > I: alsa-source.c: Hardware volume ranges from 0.00 dB to 22.50 dB.
>> > I: alsa-source.c: Fixing base volume to -22.50 dB
>> > I: alsa-source.c: Using hardware volume control. Hardware dB scale
>> supported.
>> > I: alsa-source.c: Using hardware mute control.
>> > D: alsa-util.c: snd_pcm_dump():
>> > D: alsa-util.c: Hardware PCM card 0 'CS5535 Audio' device 0 subdevice 0
>> > D: alsa-util.c: Its setup is:
>> > D: alsa-util.c:   stream       : CAPTURE
>> > D: alsa-util.c:   access       : MMAP_INTERLEAVED
>> > D: alsa-util.c:   format       : S16_LE
>> > D: alsa-util.c:   subformat    : STD
>> > D: alsa-util.c:   channels     : 2
>> > D: alsa-util.c:   rate         : 44100
>> > D: alsa-util.c:   exact rate   : 44100 (44100/1)
>> > D: alsa-util.c:   msbits       : 16
>> > D: alsa-util.c:   buffer_size  : 16384
>> > D: alsa-util.c:   period_size  : 8192
>> > D: alsa-util.c:   period_time  : 185759
>> > D: alsa-util.c:   tstamp_mode  : ENABLE
>> > D: alsa-util.c:   period_step  : 1
>> > D: alsa-util.c:   avail_min    : 15502
>> > D: alsa-util.c:   period_event : 0
>> > D: alsa-util.c:   start_threshold  : -1
>> > D: alsa-util.c:   stop_threshold   : 1073741824
>> > D: alsa-util.c:   silence_threshold: 0
>> > D: alsa-util.c:   silence_size : 0
>> > D: alsa-util.c:   boundary     : 1073741824
>> > D: alsa-util.c:   appl_ptr     : 0
>> > D: alsa-util.c:   hw_ptr       : 0
>> > D: alsa-source.c: Read hardware volume: 0:  67% 1:  67%
>> > D: alsa-source.c: Thread starting up
>> > D: core-util.c: RealtimeKit worked.
>> > I: core-util.c: Successfully enabled SCHED_RR scheduling for thread,
>> > with priority 5.
>> > I: module.c: Loaded "module-alsa-card" (index: #4; argument:
>> > "device_id="0" name="pci-0000_00_0f.3"
>> > card_name="alsa_card.pci-0000_00_0f.3" tsched=yes ignore_dB=no
>> > card_properties="module-udev-detect.discovered=1"").
>> > I: module-udev-detect.c: Card
>> > /devices/pci0000:00/0000:00:0f.3/sound/card0
>> > (alsa_card.pci-0000_00_0f.3) module loaded.
>> > I: module-udev-detect.c: Found 1 cards.
>> > I: module.c: Loaded "module-udev-detect" (index: #5; argument: "").
>> > D: cli-command.c: Checking for existance of
>> > '/usr/lib/pulse-0.9.21/modules/module-bluetooth-discover.so': failure
>> > D: cli-command.c: Checking for existance of
>> > '/usr/lib/pulse-0.9.21/modules/module-esound-protocol-unix.so':
>> > success
>> > I: module.c: Loaded "module-esound-protocol-unix" (index: #6; argument:
>> "").
>> > D: authkey.c: Got 0 bytes from cookie file '/home/olpc/.pulse-cookie',
>> > expected 256
>> > I: module.c: Loaded "module-native-protocol-unix" (index: #7; argument:
>> "").
>> > D: cli-command.c: Checking for existance of
>> > '/usr/lib/pulse-0.9.21/modules/module-gconf.so': failure
>> > I: module.c: Loaded "module-default-device-restore" (index: #8;
>> argument: "").
>> > I: module.c: Loaded "module-rescue-streams" (index: #9; argument: "").
>> > I: module.c: Loaded "module-always-sink" (index: #10; argument: "").
>> > I: module.c: Loaded "module-intended-roles" (index: #11; argument: "").
>> > D: module-suspend-on-idle.c: Sink
>> > alsa_output.pci-0000_00_0f.3.analog-stereo becomes idle, timeout in 5
>> > seconds.
>> > D: module-suspend-on-idle.c: Source
>> > alsa_input.pci-0000_00_0f.3.analog-stereo becomes idle, timeout in 5
>> > seconds.
>> > I: module.c: Loaded "module-suspend-on-idle" (index: #12; argument: "").
>> > D: dbus-util.c: Successfully connected to D-Bus system bus
>> > a62f11bda26be72a1398bb610000001a as :1.35
>> > I: client.c: Created 0 "ConsoleKit Session
>> /org/freedesktop/ConsoleKit/Session1"
>> > D: module-console-kit.c: Added new session
>> /org/freedesktop/ConsoleKit/Session1
>> > I: module.c: Loaded "module-console-kit" (index: #13; argument: "").
>> > I: module.c: Loaded "module-position-event-sounds" (index: #14;
>> argument: "").
>> > I: module.c: Loaded "module-cork-music-on-phone" (index: #15; argument:
>> "").
>> > D: main.c: Got org.pulseaudio.Server!
>> > I: main.c: Daemon startup complete.
>> > D: module-console-kit.c: dbus: interface=org.freedesktop.DBus,
>> > path=/org/freedesktop/DBus, member=NameAcquired
>> > I: module-device-restore.c: Storing volume/mute/port for device
>> > sink:alsa_output.pci-0000_00_0f.3.analog-stereo.
>> > I: module-device-restore.c: Storing volume/mute/port for device
>> > source:alsa_output.pci-0000_00_0f.3.analog-stereo.monitor.
>> > I: module-device-restore.c: Storing volume/mute/port for device
>> > source:alsa_input.pci-0000_00_0f.3.analog-stereo.
>> > D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
>> > D: alsa-sink.c: Wakeup from ALSA!
>> > I: module-suspend-on-idle.c: Source
>> > alsa_input.pci-0000_00_0f.3.analog-stereo idle for too long,
>> > suspending ...
>> > D: source.c: Suspend cause of source
>> > alsa_input.pci-0000_00_0f.3.analog-stereo is 0x0004, suspending
>> > I: alsa-source.c: Device suspended...
>> > I: module-suspend-on-idle.c: Sink
>> > alsa_output.pci-0000_00_0f.3.analog-stereo idle for too long,
>> > suspending ...
>> > D: sink.c: Suspend cause of sink
>> > alsa_output.pci-0000_00_0f.3.analog-stereo is 0x0004, suspending
>> > I: alsa-sink.c: Device suspended...
>> > D: reserve-wrap.c: Device lock status of
>> > reserve-monitor-wrapper at Audio0 changed: not busy
>> > D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
>> > D: core-subscribe.c: Dropped redundant event due to change event.
>> > I: module-device-restore.c: Synced.
>> > I: main.c: Got signal SIGINT.
>> > I: main.c: Exiting.
>> > I: main.c: Daemon shutdown initiated.
>> > I: module.c: Unloading "module-device-restore" (index: #0).
>> > I: module.c: Unloaded "module-device-restore" (index: #0).
>> > I: module.c: Unloading "module-stream-restore" (index: #1).
>> > I: module.c: Unloaded "module-stream-restore" (index: #1).
>> > I: module.c: Unloading "module-card-restore" (index: #2).
>> > I: module.c: Unloaded "module-card-restore" (index: #2).
>> > I: module.c: Unloading "module-augment-properties" (index: #3).
>> > I: module.c: Unloaded "module-augment-properties" (index: #3).
>> > I: module.c: Unloading "module-alsa-card" (index: #4).
>> > D: alsa-sink.c: Thread shutting down
>> > I: sink.c: Freeing sink 0 "alsa_output.pci-0000_00_0f.3.analog-stereo"
>> > I: source.c: Freeing source 0
>> > "alsa_output.pci-0000_00_0f.3.analog-stereo.monitor"
>> > D: core-subscribe.c: Dropped redundant event due to change event.
>> > D: alsa-source.c: Thread shutting down
>> > I: source.c: Freeing source 1
>> "alsa_input.pci-0000_00_0f.3.analog-stereo"
>> > I: card.c: Freed 0 "alsa_card.pci-0000_00_0f.3"
>> > I: module.c: Unloaded "module-alsa-card" (index: #4).
>> > I: module.c: Unloading "module-udev-detect" (index: #5).
>> > I: module.c: Unloaded "module-udev-detect" (index: #5).
>> > I: module.c: Unloading "module-esound-protocol-unix" (index: #6).
>> > I: module.c: Unloaded "module-esound-protocol-unix" (index: #6).
>> > I: module.c: Unloading "module-native-protocol-unix" (index: #7).
>> > I: module.c: Unloaded "module-native-protocol-unix" (index: #7).
>> > I: module.c: Unloading "module-default-device-restore" (index: #8).
>> > I: module.c: Unloaded "module-default-device-restore" (index: #8).
>> > I: module.c: Unloading "module-rescue-streams" (index: #9).
>> > I: module.c: Unloaded "module-rescue-streams" (index: #9).
>> > I: module.c: Unloading "module-always-sink" (index: #10).
>> > I: module.c: Unloaded "module-always-sink" (index: #10).
>> > I: module.c: Unloading "module-intended-roles" (index: #11).
>> > I: module.c: Unloaded "module-intended-roles" (index: #11).
>> > I: module.c: Unloading "module-suspend-on-idle" (index: #12).
>> > I: module.c: Unloaded "module-suspend-on-idle" (index: #12).
>> > I: module.c: Unloading "module-console-kit" (index: #13).
>> > D: module-console-kit.c: Removing session
>> /org/freedesktop/ConsoleKit/Session1
>> > I: client.c: Freed 0 "ConsoleKit Session
>> /org/freedesktop/ConsoleKit/Session1"
>> > I: module.c: Unloaded "module-console-kit" (index: #13).
>> > I: module.c: Unloading "module-position-event-sounds" (index: #14).
>> > I: module.c: Unloaded "module-position-event-sounds" (index: #14).
>> > I: module.c: Unloading "module-cork-music-on-phone" (index: #15).
>> > I: module.c: Unloaded "module-cork-music-on-phone" (index: #15).
>> > I: main.c: Daemon terminated.
>> >
>> ################################################################################################################
>> >
>> >
>> >
>> >
>> > e)
>> > Finally, it is heartening to hear that pulseaudio should not be run as
>> root :D
>> > I tried it, just because there was too much talks of pulseaudio
>> > working in root mode, but not otherwise; after
>> > "alsa-plugins-pulseaudio" is installed (courtesy Google :D )
>> >
>> >
>> > Sean, I again thank you for your prompt reply.
>> >
>> > Please let me know what else I can try out, as it might very well be
>> > some configuration issues in pulseaudio - more so, since pulseaudio
>> > seems to work just fine on my Dell F14.
>> >
>> >
>> >
>> > Thanks and Regards,
>> > Ajay
>> >
>> >
>> >
>> > On Sat, Jun 2, 2012 at 7:13 PM, Sean M :cNamara <smcnam at gmail.com>
>> wrote:
>> >> Hi,
>> >>
>> >> On Sat, Jun 2, 2012 at 9:02 AM, Ajay Garg <ajay at activitycentral.com>
>> wrote:
>> >>> Hi all.
>> >>>
>> >>> I have been banging my head for over 5 days now; went through whatever
>> >>> google-literature I could possibly through.
>> >>> But I guess I will have to ask the experts :|
>> >>>
>> >>>
>> >>> I will list down my queries with the story regarding that query, so
>> as to
>> >>> maintain modularity as far as possible.
>> >>>
>> >>>
>> >>> I have a x86-based Fedora-14 Dell laptop; and a XO-1.
>> >>
>> >> What is your XO-1 running? Is it also Fedora 14? You didn't specify,
>> >> unless you implied that the XO-1 is running the same as the Dell.
>> >>
>> >>>
>> >>>
>> >>> A)
>> >>> On my Dell laptop, the following work seamlessly, and I am able to
>> enjoy the
>> >>> mp3.
>> >>>
>> >>> (i)    gst-launch filesrc location=/path/to/mp3 ! mad ! alsasink
>> >>>
>> >>> (ii)   gst-launch filesrc location=/path/to/mp3 ! mad ! pulsesink
>> >>>
>> >>>
>> >>> However, on my XO-1, only the following works ::
>> >>>
>> >>>
>> >>> (i)    gst-launch filesrc location=/path/to/mp3 ! mad ! alsasink
>> >>>
>> >>> whereas the following shows the "pulsesink" plugin not found error ::
>> >>>
>> >>> (ii)   gst-launch filesrc location=/path/to/mp3 ! mad ! pulsesink
>> >>>
>> >>>
>> >>> I figured out that the package "gstreamer-plugins-good" is required
>> for the
>> >>> "pulsesink" plugin.
>> >>>
>> >>> So, I did "gst-inspect" on both machines, and "rpm -qa | grep
>> >>> gstreamer-plugins-good" on both the machines.
>> >>>
>> >>> To my horror, I saw that the package
>> >>> "gstreamer-plugins-good-0.10.26-1.fc14.i686" was installed on both
>> the Dell
>> >>> machine, and the XO-1, but only the Dell laptop showed the presence of
>> >>> "pulsesink".
>> >>>
>> >>> Why could this difference be ?
>> >>>
>> >>
>> >> I don't know for sure, but if the pulseaudio plugin for gstreamer has
>> >> an unresolved link-time dependency, the gstreamer plugin loader won't
>> >> be able to load it. So for example if libpulse is not available...
>> >>
>> >> Sounds like you manually messed with the XO-1 to some degree, as it
>> >> should not be in this state out of the box. In fact I can practically
>> >> guarantee that it *isn't*. You, or some software you installed, took
>> >> some action to bring the machine into this state. The default install
>> >> of Fedora Gnome has been shipping with the gstreamer plugin for
>> >> pulseaudio and pulseaudio itself for quite some time; definitely since
>> >> Fedora 14 or even earlier. You should be able to come out of a clean
>> >> install and immediately play gstreamer audio through pulseaudio with
>> >> no tweaking whatsoever. So the fact that yours is borked points to
>> >> something that has happened after installation.
>> >>
>> >>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> B)
>> >>> Anyhow, I copied "libgstpulse.so" from my Dell machine to the XO-1.
>> >>> Thereafter, "pulsesink" could be recognised on the XO-1.
>> >>>
>> >>> However, "gst-launch filesrc location=/path/to/mp3 ! mad ! pulsesink"
>> >>> resulted in a sound only on Dell, and  not XO-1.
>> >>
>> >> Did you run gst-launch with the -v switch for verbose? Sounds like
>> >> pulseaudio isn't running, or you don't have the pulseaudio libraries
>> >> installed.
>> >>
>> >> gst-launch-0.10 -v audiotestsrc ! volume volume=0.4 ! audioconvert !
>> >> pulsesink #warning: generated sound may be loud if it works, turn down
>> >> your speakers
>> >>
>> >> If it produces any output on the console, post it back to the ML.
>> >>
>> >>>
>> >>> So, I researched further, and concluded that I needed to install
>> >>> "alsa-plugins-pulseaudio" on the XO-1, so as to set up the pulseaudio
>> >>> server, and have the alsa-device as the "other end of the pulseaudio
>> proxy".
>> >>
>> >> That is incorrect. The pulseaudio plugin for libasound2 (the
>> >> user-space ALSA library) is designed to allow applications coded
>> >> against the ALSA API to have their sound re-routed through pulseaudio.
>> >> alsa-plugins-pulseaudio does NOT affect the way that pulseaudio itself
>> >> plays audio to its ALSA backend, because pulseaudio itself
>> >> automatically detects (using one of the detection modules) your
>> >> hardware sound cards.
>> >>
>> >> Also, pulseaudio is not a "proxy" in this setup; you're just trying to
>> >> play audio locally.
>> >>
>> >>
>> >>>
>> >>> So, I installed the package.
>> >>>
>> >>> However, SOUND HAS STOPPED PLAYING COMPLETELY ON THE XO-1 (the only
>> time I
>> >>> hear some sound is during boot-up time).
>> >>
>> >> This isn't very surprising to me, considering that you already stated
>> >> that pulsesink isn't playing audio. Your PA daemon is somehow not
>> >> configured correctly or is not running in the first place.
>> >>
>> >> alsa-plugins-pulseaudio is designed so that any well-behaved ALSA
>> >> application will try to play audio through the "pulse" software device
>> >> at the ALSA layer (libasound2). To get technical, it remaps the
>> >> "default" device to an instance of the "type pulse" device, so that an
>> >> application calling
>> >>
>> >> snd_pcm_open(&pcm, "default", ...)
>> >>
>> >> will actually be sending the audio through pulseaudio, rather than
>> >> "directly" through ALSA. This is done because 99.9% of the audio
>> >> devices out there only support software mixing, so you won't be able
>> >> to simultaneously listen to pulseaudio playing its own audio AND some
>> >> application playing audio directly to the ALSA hardware, e.g. with:
>> >>
>> >> snd_pcm_open(&pcm, "hw:0", ...)
>> >>
>> >> Thus, to avoid this problem, pulseaudio (and also ALSA) developers
>> >> have been trying to educate application developers on how to safely
>> >> write ALSA code so that it will use a default plugin if available, and
>> >> if not, then it goes to the hardware directly. Once you install
>> >> alsa-plugins-pulseaudio, the hardware path is still available, but
>> >> it's not the "default" device. So the "default" device tries to
>> >> connect to pulseaudio.
>> >>
>> >>>
>> >>> If I remove "alsa-plugins-pulseaudio", I can again hear the sound via
>> >>> "alsasink", but not through "pulsesink".
>> >>
>> >> This is in line with my explanation above.
>> >>
>> >>>
>> >>> If I re-install "alsa-plugins-pulseaudio", I can not hear sound
>> through
>> >>> "alsasink", nor "pulsesink",
>> >>> (
>> >>>     not even after doing the following steps ::
>> >>>
>> >>>                            pulsesudio --kill
>> >>>                            sudo rm -r ~/.pulse
>> >>>                            sudo rm -r ~/.pulse-cookie
>> >>>                            pulseaudio --start
>> >>>
>> >>>                            <trying to run the mp3 with sudo
>> previleges.>
>> >>
>> >> Well there's one potential problem. You will normally not be able to
>> >> run audio applications as root if your pulseaudio daemon is started as
>> >> a user. And you really, really, really shouldn't run pulseaudio as
>> >> root (p.s. sudo == running as root), either. So basically, unless you
>> >> have a very compelling need to run audio as root, don't do it. Start
>> >> pulseaudio as a regular user, and run your audio applications... as a
>> >> regular user.
>> >>
>> >> Instead of pulseaudio --start, can you post the log output of:
>> >>
>> >> pulseaudio --daemonize=false -vvvv
>> >>
>> >> to the ML?
>> >>
>> >>> )
>> >>>
>> >>>
>> >>> So, what other thing could I possibly do?
>> >>
>> >> P.S. - Fedora *17* is out now, so unless you have some specific reason
>> >> not to upgrade (I can't think of one), you'd be better off doing so. A
>> >> lot of bugs have been fixed in the audio stack since. Fedora isn't
>> >> exactly the best distro for running an ancient release for years; for
>> >> that type of setup I'd recommend RHEL/CentOS or Debian Stable.
>> >>
>> >>>
>> >>>
>> >>>
>> >>> Will be grateful for a reply.
>> >>>
>> >>>
>> >>> Thanks and Regards,
>> >>> Ajay
>> >>>
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> gstreamer-devel mailing list
>> >>> gstreamer-devel at lists.freedesktop.org
>> >>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> >>>
>> >> _______________________________________________
>> >> gstreamer-devel mailing list
>> >> gstreamer-devel at lists.freedesktop.org
>> >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > gstreamer-devel at lists.freedesktop.org
>> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120603/32e7ec68/attachment-0001.htm>


More information about the gstreamer-devel mailing list