[pulseaudio-discuss] Does pulseaudio require alsa/oss

John Frankish j-frankish at slb.com
Tue Apr 20 23:15:46 PDT 2010


-----Original Message-----
From: pulseaudio-discuss-bounces at mail.0pointer.de [mailto:pulseaudio-discuss-bounces at mail.0pointer.de] On Behalf Of Colin Guthrie
Sent: Tuesday, 20 April, 2010 19:42
To: pulseaudio-discuss at mail.0pointer.de
Subject: Re: [pulseaudio-discuss] Does pulseaudio require alsa/oss

'Twas brillig, and John Frankish at 20/04/10 15:04 did gyre and gimble:
> Hi,
>
> Dumb question maybe, but..
>
> Does pulseaudio require alsa or oss to be configured to detect a soundcard or should it detect the soundcard without either alsa or oss configured?
>
> The reason I ask is that the pulseaudio udev module will not detect the soundcard on my dell latitude D430 with/without alsa configured, but module-detect will detect the soundcard as long as alsa is configured.

You very much need a working ALSA setup. If you're using Linux, forget
about OSS (it's a dead system long since purged from the kernel and as
such doomed to die a (sadly long and lingering) death).

If the udev-detect module doesn't work, then that is a problem. Make
sure your kernel is new enough for the udev version you are using.

Col.

--

OK, now that's clear, I tried the following with:

$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xefebc000 irq 28

kernel  2.6.33.2

pulseaudio-0.9.21 patched

Subject: [PATCH] udev: handle sound cards with both modem and audio properly
Subject: [PATCH] udev: rework modem detection a bit

[copy 90-pulseaudio.rules /etc/udev/rules.d]

Basically module-udev-detect does not find any sound devices. If I use module-detect, then the sound device is found, but gstreamer-properties does not show any pulseaudio source.

I also tried after pairing Bluetooth a2dp headphones - module-bluetooth-discover finds the headphones, but gstreamer-properties does not show any pulseaudio source and thus I cannot use rhythmbox to play to the headphones. I can set the headphones as the default alsa device in .asoundrc, but this bypasses pulseaudio and is not the object of the exercise.

Any ideas?

Output from pulseaudio -vv below.

John

----------------

Using module-udev-detect

$ pulseaudio -vv
W: core-error.c: Unable to convert error string to locale, filtering.
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: core-error.c: Unable to convert error string to locale, filtering.
I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: core-rtclock.c: Timer slack is set to 50 us.
W: core-error.c: Unable to convert error string to locale, filtering.
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: i686-pc-linux-gnu
D: main.c: Compilation CFLAGS: -march=i486 -mtune=i686 -Os -pipe -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -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 i686 2.6.33.2-tinycore #96 SMP Fri Apr 2 20:49:18 EET 2010
D: main.c: Found 2 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 eff13815c6239ba86a9afe914bcec073.
I: main.c: Using runtime directory /home/tc/.pulse/eff13815c6239ba86a9afe914bcec073-runtime.
I: main.c: Using state directory /home/tc/.pulse.
I: main.c: Using modules directory /usr/local/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 SSSE3
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 65496
D: database-gdbm.c: Opened GDBM database '/home/tc/.pulse/eff13815c6239ba86a9afe914bcec073-device-volumes.i686-pc-linux-gnu.gdbm'
I: module-device-restore.c: Sucessfully opened database file '/home/tc/.pulse/eff13815c6239ba86a9afe914bcec073-device-volumes'.
I: module.c: Loaded "module-device-restore" (index: #0; argument: "").
D: database-gdbm.c: Opened GDBM database '/home/tc/.pulse/eff13815c6239ba86a9afe914bcec073-stream-volumes.i686-pc-linux-gnu.gdbm'
I: module-stream-restore.c: Sucessfully opened database file '/home/tc/.pulse/eff13815c6239ba86a9afe914bcec073-stream-volumes'.
I: module.c: Loaded "module-stream-restore" (index: #1; argument: "").
D: database-gdbm.c: Opened GDBM database '/home/tc/.pulse/eff13815c6239ba86a9afe914bcec073-card-database.i686-pc-linux-gnu.gdbm'
I: module-card-restore.c: Sucessfully opened database file '/home/tc/.pulse/eff13815c6239ba86a9afe914bcec073-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/local/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 '/usr/local/lib/pulse-0.9.21/modules/module-bluetooth-discover.so': success
D: dbus-util.c: Successfully connected to D-Bus system bus 8d489028a960aedd4c8a73d74bcec0e4 as :1.6
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 '/usr/local/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 '/usr/local/lib/pulse-0.9.21/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #8; argument: "").
I: module.c: Loaded "module-default-device-restore" (index: #9; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #10; argument: "").
D: module-always-sink.c: Autoloading null-sink as no other sinks detected.
I: sink.c: Created sink 0 "auto_null" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: sink.c:     device.description = "Dummy Output"
I: sink.c:     device.class = "abstract"
I: sink.c:     device.icon_name = "audio-card"
D: core-subscribe.c: Dropped redundant event due to change event.
I: source.c: Created source 0 "auto_null.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: source.c:     device.description = "Monitor of Dummy Output"
I: source.c:     device.class = "monitor"
I: source.c:     device.icon_name = "audio-input-microphone"
D: module-null-sink.c: Thread starting up
I: module.c: Loaded "module-null-sink" (index: #11; argument: "sink_name=auto_null sink_properties='device.description="Dummy Output"'").
I: module.c: Loaded "module-always-sink" (index: #12; argument: "").
I: module.c: Loaded "module-intended-roles" (index: #13; argument: "").
D: module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 seconds.
I: module.c: Loaded "module-suspend-on-idle" (index: #14; argument: "").
I: module.c: Loaded "module-console-kit" (index: #15; argument: "").
I: module.c: Loaded "module-position-event-sounds" (index: #16; argument: "").
I: module.c: Loaded "module-cork-music-on-phone" (index: #17; argument: "").
D: dbus-util.c: Successfully connected to D-Bus session bus 2c8e20306a15a16174493d2d4bcec0e7 as :1.4
D: main.c: Got org.pulseaudio.Server!
I: main.c: Daemon startup complete.
I: module-device-restore.c: Storing volume/mute/port for device sink:auto_null.
I: module-device-restore.c: Storing volume/mute/port for device source:auto_null.monitor.
I: module-suspend-on-idle.c: Sink auto_null idle for too long, suspending ...
D: sink.c: Suspend cause of sink auto_null is 0x0004, suspending
D: core-subscribe.c: Dropped redundant event due to change event.
I: module-device-restore.c: Synced.

[edit /usr/local/etc/pulse/default.pa]

### Automatically load driver modules depending on the hardware available
#.ifexists module-udev-detect.so
#load-module module-udev-detect
#.else
### Alternatively use the static hardware detection module (for systems that
### lack udev support)
load-module module-detect
#.endif

$ pulseaudio -vv
...
I: module-card-restore.c: Sucessfully opened database file '/home/tc/.pulse/eff13815c6239ba86a9afe914bcec073-card-database'.
I: module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: module.c: Loaded "module-augment-properties" (index: #3; argument: "").
W: module.c: module-detect is deprecated: Please use module-udev-detect instead of module-detect!
D: dbus-util.c: Successfully connected to D-Bus session bus 2c8e20306a15a16174493d2d4bcec0e7 as :1.5
D: reserve-wrap.c: Successfully acquired reservation lock on device 'Audio0'
D: reserve-wrap.c: Successfully create reservation lock monitor for device 'Audio0'
D: alsa-util.c: Checking for superset analog-stereo (front:%f)
D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Managed to open front: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 front: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-lib)control.c: Invalid CTL front:0
W: alsa-util.c: Unable to convert error string to locale, filtering.
I: alsa-mixer.c: Unable to attach to mixer front:0: No such file or directory
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-headphones'
D: alsa-mixer.c: Probe of element 'Headphone' failed.
D: alsa-mixer.c: Probing path 'analog-output-headphones-2'
D: alsa-mixer.c: Probe of element 'Headphone2' failed.
D: alsa-mixer.c: Probing path 'analog-output-mono'
D: alsa-mixer.c: Probe of element 'Master Mono' failed.
D: alsa-mixer.c: Probing path 'analog-output-lfe-on-mono'
D: alsa-mixer.c: Probe of element 'Master Mono' failed.
D: alsa-sink.c: Probed mixer paths:
D: alsa-mixer.c: Path Set 0x8155ea0, 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=-46.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
I: sink.c: Created sink 0 "alsa_output.0.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 = "STAC92xx Analog"
I: sink.c:     alsa.id = "STAC92xx Analog"
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 = "HDA Intel"
I: sink.c:     alsa.long_card_name = "HDA Intel at 0xefebc000 irq 28"
I: sink.c:     alsa.driver_name = "snd_hda_intel"
I: sink.c:     device.bus_path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
I: sink.c:     sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
I: sink.c:     device.string = "front: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 = "HDA Intel Analog Stereo"
I: sink.c:     alsa.mixer_name = "SigmaTel STAC9200"
I: sink.c:     alsa.components = "HDA:83847690,10280201,00102201 HDA:14f12c06,14f1000f,00100000"
I: sink.c:     device.icon_name = "audio-card-analog"
D: core-subscribe.c: Dropped redundant event due to change event.
I: source.c: Created source 0 "alsa_output.0.analog-stereo.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: source.c:     device.description = "Monitor of HDA Intel Analog Stereo"
I: source.c:     device.class = "monitor"
I: source.c:     device.icon_name = "audio-input-microphone"
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=-46.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
I: alsa-sink.c: Hardware volume ranges from -46.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: Soft volume PCM
D: alsa-util.c: Control: PCM Playback Volume
D: alsa-util.c: min_dB: -51
D: alsa-util.c: max_dB: 0
D: alsa-util.c: resolution: 256
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: Slave: Hardware PCM card 0 'HDA Intel' 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:  63% 1:  63%
D: alsa-sink.c: Thread starting up
I: core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 4, which is lower than the requested 5.
I: alsa-sink.c: Starting playback.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
I: module.c: Loaded "module-alsa-sink" (index: #4; argument: "device_id=0").
D: alsa-util.c: Checking for superset analog-stereo (front:%f)
D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Managed to open front:0
D: alsa-util.c: Maximum hw buffer size is 371 ms
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-util.c: Set buffer size first (to 88200 samples), period size second (to 88200 samples).
I: alsa-source.c: Successfully opened device front: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-lib)control.c: Invalid CTL front:0
W: alsa-util.c: Unable to convert error string to locale, filtering.
I: alsa-mixer.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-mixer.c: Successfully attached to mixer 'hw:0'
D: alsa-mixer.c: Probing path 'analog-input'
D: alsa-mixer.c: Probing path 'analog-input-microphone'
D: alsa-mixer.c: Probe of element 'Mic' failed.
D: alsa-mixer.c: Probing path 'analog-input-linein'
D: alsa-mixer.c: Probe of element 'Line' failed.
D: alsa-mixer.c: Probing path 'analog-input'
D: alsa-mixer.c: Probe of element 'Aux' failed.
D: alsa-mixer.c: Probing path 'analog-input-video'
D: alsa-mixer.c: Probe of element 'Video' failed.
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 0x81741a0, direction=2, probed=yes
D: alsa-mixer.c: Path analog-input (Analog Input), 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=2, required_absent=0, mask=0x4037e00000000f66, n_channels=2, override_map=yes
D: alsa-mixer.c: Element Input Source, 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 Mic (input-microphone/Microphone) index=0, priority=20
D: alsa-mixer.c: Option Line (input-linein/Line-In) index=1, priority=18
D: alsa-mixer.c: Setting input-microphone (Microphone) priority=20
D: alsa-mixer.c: Setting input-linein (Line-In) priority=18
D: alsa-mixer.c: Added 2 ports
D: core-subscribe.c: Dropped redundant event due to change event.
I: source.c: Created source 1 "alsa_input.0.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 = "STAC92xx Analog"
I: source.c:     alsa.id = "STAC92xx Analog"
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 = "HDA Intel"
I: source.c:     alsa.long_card_name = "HDA Intel at 0xefebc000 irq 28"
I: source.c:     alsa.driver_name = "snd_hda_intel"
I: source.c:     device.bus_path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
I: source.c:     sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
I: source.c:     device.string = "front: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 = "HDA Intel Analog Stereo"
I: source.c:     alsa.mixer_name = "SigmaTel STAC9200"
I: source.c:     alsa.components = "HDA:83847690,10280201,00102201 HDA:14f12c06,14f1000f,00100000"
I: source.c:     device.icon_name = "audio-input-microphone-analog"
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
D: alsa-mixer.c: Path analog-input (Analog Input), 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=2, required_absent=0, mask=0x4037e00000000f66, n_channels=2, override_map=yes
D: alsa-mixer.c: Element Input Source, 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 Mic (input-microphone/Microphone) index=0, priority=20
D: alsa-mixer.c: Option Line (input-linein/Line-In) index=1, priority=18
D: alsa-mixer.c: Setting input-microphone (Microphone) priority=20
D: alsa-mixer.c: Setting input-linein (Line-In) priority=18
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: Soft volume PCM
D: alsa-util.c: Control: PCM Playback Volume
D: alsa-util.c: min_dB: -51
D: alsa-util.c: max_dB: 0
D: alsa-util.c: resolution: 256
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: Slave: Hardware PCM card 0 'HDA Intel' 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:  42% 1:  42%
D: alsa-source.c: Thread starting up
I: core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 4, which is lower than the requested 5.
I: module.c: Loaded "module-alsa-source" (index: #5; argument: "device_id=0").
I: module-detect.c: loaded 2 modules.
I: module.c: Loaded "module-detect" (index: #6; argument: "").
D: cli-command.c: Checking for existance of '/usr/local/lib/pulse-0.9.21/modules/module-bluetooth-discover.so': success
D: dbus-util.c: Successfully connected to D-Bus system bus 8d489028a960aedd4c8a73d74bcec0e4 as :1.9
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: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/local/lib/pulse-0.9.21/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #8; argument: "").
I: module.c: Loaded "module-native-protocol-unix" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/local/lib/pulse-0.9.21/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #10; argument: "").
I: module-default-device-restore.c: Saved default sink 'auto_null' not existant, not restoring default sink setting.
I: module-default-device-restore.c: Saved default source 'auto_null.monitor' not existant, not restoring default source setting.
I: module.c: Loaded "module-default-device-restore" (index: #11; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #12; argument: "").
I: module.c: Loaded "module-always-sink" (index: #13; argument: "").
I: module.c: Loaded "module-intended-roles" (index: #14; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.0.analog-stereo becomes idle, timeout in 5 seconds.
D: module-suspend-on-idle.c: Source alsa_input.0.analog-stereo becomes idle, timeout in 5 seconds.
I: module.c: Loaded "module-suspend-on-idle" (index: #15; argument: "").
I: module.c: Loaded "module-console-kit" (index: #16; argument: "").
I: module.c: Loaded "module-position-event-sounds" (index: #17; argument: "").
I: module.c: Loaded "module-cork-music-on-phone" (index: #18; argument: "").
D: main.c: Got org.pulseaudio.Server!
I: main.c: Daemon startup complete.
I: module.c: Unloading "module-detect" (index: #6).
I: module.c: Unloaded "module-detect" (index: #6).
D: core-subscribe.c: Dropped redundant event due to remove event.
I: module-device-restore.c: Storing volume/mute/port for device sink:alsa_output.0.analog-stereo.
I: module-device-restore.c: Storing volume/mute/port for device source:alsa_output.0.analog-stereo.monitor.
I: module-device-restore.c: Storing volume/mute/port for device source:alsa_input.0.analog-stereo.
I: module-suspend-on-idle.c: Source alsa_input.0.analog-stereo idle for too long, suspending ...
D: source.c: Suspend cause of source alsa_input.0.analog-stereo is 0x0004, suspending
I: alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.0.analog-stereo idle for too long, suspending ...
D: sink.c: Suspend cause of sink alsa_output.0.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: core-subscribe.c: Dropped redundant event due to change event.
I: module-device-restore.c: Synced.

[gstreamer-properties does not show pulse source]

[pair bluetooth a2dp headphones, try udev module]

$ pulseaudio -vv

D: cli-command.c: Checking for existance of '/usr/local/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 '/usr/local/lib/pulse-0.9.21/modules/module-bluetooth-discover.so': success
D: dbus-util.c: Successfully connected to D-Bus system bus 3716504dd73c85223dfdd66c4bcec649 as :1.13
D: bluetooth-util.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module.c: Loaded "module-bluetooth-discover" (index: #5; argument: "").
..

[gstreamer-properties does not show pulse source]

[pair bluetooth a2dp headphones, try module-detect]

[gstreamer-properties does not show pulse source]

[use blueman - connect to audio sink]

D: main.c: Got org.pulseaudio.Server!
I: main.c: Daemon startup complete.
I: module.c: Unloading "module-detect" (index: #6).
I: module.c: Unloaded "module-detect" (index: #6).
D: core-subscribe.c: Dropped redundant event due to remove event.
D: core-subscribe.c: Dropped redundant event due to change event.
I: module-suspend-on-idle.c: Source alsa_input.0.analog-stereo idle for too long, suspending ...
D: source.c: Suspend cause of source alsa_input.0.analog-stereo is 0x0004, suspending
I: alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.0.analog-stereo idle for too long, suspending ...
D: sink.c: Suspend cause of sink alsa_output.0.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: bluetooth-util.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-console-kit.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: bluetooth-util.c: dbus: interface=org.bluez.Audio, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-console-kit.c: dbus: interface=org.bluez.Audio, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: bluetooth-util.c: dbus: interface=org.bluez.Device, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-console-kit.c: dbus: interface=org.bluez.Device, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: bluetooth-util.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-console-kit.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: bluetooth-util.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-console-kit.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: bluetooth-util.c: dbus: interface=org.bluez.Audio, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-bluetooth-discover.c: Loading module-bluetooth-device address="00:1B:66:00:31:88" path="/org/bluez/5894/hci0/dev_00_1B_66_00_31_88"
I: card.c: Created 0 "bluez_card.00_1B_66_00_31_88"
D: module-bluetooth-device.c: Connected to the bluetooth audio service
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_GET_CAPABILITIES
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_GET_CAPABILITIES
D: module-bluetooth-device.c: Payload size is 25 6
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_GET_CAPABILITIES
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_GET_CAPABILITIES
D: module-bluetooth-device.c: Payload size is 13 6
D: module-bluetooth-device.c: Got device capabilities
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_OPEN
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_OPEN
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_SET_CONFIGURATION
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_SET_CONFIGURATION
I: module-bluetooth-device.c: SBC parameters:
I: module-bluetooth-device.c:   allocation=0
I: module-bluetooth-device.c:   subbands=1
I: module-bluetooth-device.c:   blocks=3
I: module-bluetooth-device.c:   bitpool=53
D: module-bluetooth-device.c: Connection to the device configured
D: module-bluetooth-device.c: Got the stream socket
I: sink.c: Created sink 1 "bluez_sink.00_1B_66_00_31_88" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: sink.c:     bluetooth.protocol = "a2dp"
I: sink.c:     device.description = "Sennheiser PXC310BT"
I: sink.c:     device.string = "00:1B:66:00:31:88"
I: sink.c:     device.api = "bluez"
I: sink.c:     device.class = "sound"
I: sink.c:     device.bus = "bluetooth"
I: sink.c:     device.form_factor = "headphone"
I: sink.c:     bluez.path = "/org/bluez/5894/hci0/dev_00_1B_66_00_31_88"
I: sink.c:     bluez.class = "0x240418"
I: sink.c:     bluez.name = "Sennheiser PXC310BT"
I: sink.c:     device.icon_name = "audio-headphones-bluetooth"
I: source.c: Created source 2 "bluez_sink.00_1B_66_00_31_88.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: source.c:     device.description = "Monitor of Sennheiser PXC310BT"
I: source.c:     device.class = "monitor"
I: source.c:     device.string = "00:1B:66:00:31:88"
I: source.c:     device.api = "bluez"
I: source.c:     device.bus = "bluetooth"
I: source.c:     device.form_factor = "headphone"
I: source.c:     bluez.path = "/org/bluez/5894/hci0/dev_00_1B_66_00_31_88"
I: source.c:     bluez.class = "0x240418"
I: source.c:     bluez.name = "Sennheiser PXC310BT"
I: source.c:     device.icon_name = "audio-headphones-bluetooth"
D: module-bluetooth-device.c: IO Thread starting up
I: core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 4, which is lower than the requested 5.
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_START_STREAM
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_START_STREAM
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_NEW_STREAM
D: module-bluetooth-device.c: Stream properly set up, we're ready to roll!
D: module-bluetooth-device.c: Using SBC encoder implementation: MMX
D: module-suspend-on-idle.c: Sink bluez_sink.00_1B_66_00_31_88 becomes idle, timeout in 5 seconds.
I: module.c: Loaded "module-bluetooth-device" (index: #19; argument: "address="00:1B:66:00:31:88" path="/org/bluez/5894/hci0/dev_00_1B_66_00_31_88"").
D: module-console-kit.c: dbus: interface=org.bluez.Audio, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
I: module-device-restore.c: Storing volume/mute/port for device sink:bluez_sink.00_1B_66_00_31_88.
I: module-device-restore.c: Storing volume/mute/port for device source:bluez_sink.00_1B_66_00_31_88.monitor.
D: bluetooth-util.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-console-kit.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-bluetooth-device.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: bluetooth-util.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-console-kit.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-bluetooth-device.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
I: module-suspend-on-idle.c: Sink bluez_sink.00_1B_66_00_31_88 idle for too long, suspending ...
D: sink.c: Suspend cause of sink bluez_sink.00_1B_66_00_31_88 is 0x0004, suspending
D: module-bluetooth-device.c: Sending BT_REQUEST -> BT_STOP_STREAM
D: module-bluetooth-device.c: Trying to receive message from audio service...
D: module-bluetooth-device.c: Received BT_RESPONSE <- BT_STOP_STREAM
D: bluetooth-util.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-console-kit.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-bluetooth-device.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: bluetooth-util.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-console-kit.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
D: module-bluetooth-device.c: dbus: interface=org.bluez.AudioSink, path=/org/bluez/5894/hci0/dev_00_1B_66_00_31_88, member=PropertyChanged
I: module-device-restore.c: Synced.

[gstreamer-properties does not show pulse source]



More information about the pulseaudio-discuss mailing list