[pulseaudio-discuss] Intel HDA on ubuntu 9.04 beta
Jon Smirl
jonsmirl at gmail.com
Thu Apr 2 08:05:01 PDT 2009
Yes, I forgot I had edited default.pa before trying to get this work.
I removed those edits.
Then ran Pulse with verbose....
These complaints come from probing the microphone on my USB webcam...
Apr 2 06:21:57 terra pulseaudio[6322]: alsa-util.c: Device hw:1
doesn't support 44100 Hz, changed to 16000 Hz.
Apr 2 06:21:57 terra pulseaudio[6322]: alsa-util.c: Device hw:1
doesn't support 2 channels, changed to 1.
Apr 2 06:21:57 terra pulseaudio[6322]: module-alsa-source.c: Your
kernel driver is broken: it reports a volume range from 18.00 dB to
18.00 dB which makes no sense.
This is my main problem...
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/usb_device_46d_990_BF15FF18_if2_alsa_control__1
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/pci_8086_284b_alsa_control__1
The pci_8086_284b_alsa_control__1 device is my S/PDIF. Why is pulse
not loading it? That's why I had to manually edit the file.
jonsmirl at terra:~$ pulseaudio -vvvv
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
D: main.c: Started as real root: no, suid root: yes
I: main.c: PolicyKit refuses acquire-high-priority privilege.
N: main.c: Called SUID root and real-time and/or high-priority
scheduling was requested in the configuration. However, we lack the
necessary privileges:
N: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant
us the requested privileges and we have no increase
RLIMIT_NICE/RLIMIT_RTPRIO resource limits.
N: main.c: For enabling real-time/high-priority scheduling please
acquire the appropriate PolicyKit privileges, or become a member of
'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits
for this user.
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: main.c: Can realtime: no, can high-priority: no
D: main.c: Can realtime: no, can high-priority: no
I: main.c: This is PulseAudio 0.9.14
D: main.c: Compilation host: x86_64-pc-linux-gnu
D: main.c: Compilation CFLAGS: -g -O2 -g -Wall -O3 -Wall -W -Wextra
-pedantic -pipe -Wno-long-long -Wvla -Wno-overlength-strings
-Wconversion -Wundef -Wformat -Wlogical-op -Wpacked -Wformat-security
-Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls
-Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith
-Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math
D: main.c: Running on host: Linux x86_64 2.6.29-jds #39 SMP Sun Mar 29
00:39:52 EDT 2009
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: Optimized build: yes
I: main.c: Machine ID is 2266d3c96c3a623ed4029ea049d36d8b.
I: main.c: Using runtime directory
/home/jonsmirl/.pulse/2266d3c96c3a623ed4029ea049d36d8b:runtime.
I: main.c: Using state directory /home/jonsmirl/.pulse.
I: main.c: Running in system mode: no
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: memblock.c: Using shared memory pool with 1024 slots of size 64.0
KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
D: cli-command.c: Checking for existance of
'/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #0; argument: "").
I: module.c: Loaded "module-suspend-on-idle" (index: #1; argument: "").
I: module-device-restore.c: Sucessfully opened database file
'/home/jonsmirl/.pulse/2266d3c96c3a623ed4029ea049d36d8b:device-volumes.x86_64-pc-linux-gnu.gdbm'.
I: module.c: Loaded "module-device-restore" (index: #2; argument: "").
I: module-stream-restore.c: Sucessfully opened database file
'/home/jonsmirl/.pulse/2266d3c96c3a623ed4029ea049d36d8b:stream-volumes.x86_64-pc-linux-gnu.gdbm'.
I: module.c: Loaded "module-stream-restore" (index: #3; argument: "").
D: cli-command.c: Checking for existance of
'/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Loading module-alsa-source with arguments
'device_id=1 source_name=alsa_input.usb_device_46d_990_BF15FF18_if2_alsa_capture_0
tsched=0'
D: alsa-util.c: Trying front:1 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying front:1 without SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying plug:front:1 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying plug:front:1 without SND_PCM_NO_AUTO_FORMAT ...
I: alsa-util.c: PCM device plug:front:1 refused our hw parameters:
Invalid argument
D: alsa-util.c: Trying surround40:1 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying surround40:1 without SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying plug:surround40:1 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying plug:surround40:1 without SND_PCM_NO_AUTO_FORMAT ...
I: alsa-util.c: PCM device plug:surround40:1 refused our hw
parameters: Invalid argument
D: alsa-util.c: Trying surround41:1 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying surround41:1 without SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying plug:surround41:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_params.c: Slave PCM not usable
D: alsa-util.c: Trying plug:surround41:1 without SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_params.c: Slave PCM not usable
I: alsa-util.c: PCM device plug:surround41:1 refused our hw
parameters: Invalid argument
D: alsa-util.c: Trying surround50:1 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying surround50:1 without SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying plug:surround50:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_params.c: Slave PCM not usable
D: alsa-util.c: Trying plug:surround50:1 without SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_params.c: Slave PCM not usable
I: alsa-util.c: PCM device plug:surround50:1 refused our hw
parameters: Invalid argument
D: alsa-util.c: Trying surround51:1 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying surround51:1 without SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying plug:surround51:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_params.c: Slave PCM not usable
D: alsa-util.c: Trying plug:surround51:1 without SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_params.c: Slave PCM not usable
I: alsa-util.c: PCM device plug:surround51:1 refused our hw
parameters: Invalid argument
D: alsa-util.c: Trying surround71:1 with SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying surround71:1 without SND_PCM_NO_AUTO_FORMAT ...
D: alsa-util.c: Trying plug:surround71:1 with SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_params.c: Slave PCM not usable
D: alsa-util.c: Trying plug:surround71:1 without SND_PCM_NO_AUTO_FORMAT ...
I: (alsa-lib)pcm_params.c: Slave PCM not usable
I: alsa-util.c: PCM device plug:surround71:1 refused our hw
parameters: Invalid argument
D: alsa-util.c: Trying hw:1 as last resort...
D: alsa-util.c: Trying hw:1 with SND_PCM_NO_AUTO_FORMAT ...
W: alsa-util.c: Device hw:1 doesn't support 44100 Hz, changed to 16000 Hz.
W: alsa-util.c: Device hw:1 doesn't support 2 channels, changed to 1.
I: module-alsa-source.c: Successfully opened device hw:1.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Cannot find mixer control "Capture" or mixer control
is no combination of switch/volume.
I: alsa-util.c: Using mixer control "Mic".
I: module-device-restore.c: Restoring volume for source
alsa_input.usb_device_46d_990_BF15FF18_if2_alsa_capture_0.
I: module-device-restore.c: Restoring mute state for source
alsa_input.usb_device_46d_990_BF15FF18_if2_alsa_capture_0.
I: source.c: Created source 0
"alsa_input.usb_device_46d_990_BF15FF18_if2_alsa_capture_0" with
sample spec s16le 1ch 16000Hz and channel map mono
I: module-alsa-source.c: Using 8 fragments of size 320 bytes, buffer
time is 80.00ms
D: module-alsa-source.c: hwbuf_unused=0
D: module-alsa-source.c: setting avail_min=1
I: module-alsa-source.c: Volume ranges from 0 to 3072.
W: module-alsa-source.c: Your kernel driver is broken: it reports a
volume range from 18.00 dB to 18.00 dB which makes no sense.
I: alsa-util.c: All 1 channels can be mapped to mixer channels.
I: module-alsa-source.c: Using hardware volume control. Hardware dB
scale not supported.
D: alsa-util.c: snd_pcm_dump():
D: alsa-util.c: Hardware PCM card 1 'QuickCam Pro 9000' 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 : 1
D: alsa-util.c: rate : 16000
D: alsa-util.c: exact rate : 16000 (16000/1)
D: alsa-util.c: msbits : 16
D: alsa-util.c: buffer_size : 1280
D: alsa-util.c: period_size : 160
D: alsa-util.c: period_time : 10000
D: alsa-util.c: tstamp_mode : ENABLE
D: alsa-util.c: period_step : 1
D: alsa-util.c: avail_min : 160
D: alsa-util.c: period_event : 0
D: alsa-util.c: start_threshold : -1
D: alsa-util.c: stop_threshold : 5764607523034234880
D: alsa-util.c: silence_threshold: 0
D: alsa-util.c: silence_size : 0
D: alsa-util.c: boundary : 5764607523034234880
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
D: module-suspend-on-idle.c: Source
alsa_input.usb_device_46d_990_BF15FF18_if2_alsa_capture_0 becomes
idle.
I: module.c: Loaded "module-alsa-source" (index: #4; argument:
"device_id=1 source_name=alsa_input.usb_device_46d_990_BF15FF18_if2_alsa_capture_0
tsched=0").
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/pci_8086_284b_alsa_playback_1
D: module-hal-detect.c: Loading module-alsa-source with arguments
'device_id=0 source_name=alsa_input.pci_8086_284b_alsa_capture_0
tsched=0'
D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: (alsa-lib)control.c: Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: module-device-restore.c: Restoring volume for source
alsa_input.pci_8086_284b_alsa_capture_0.
I: module-device-restore.c: Restoring mute state for source
alsa_input.pci_8086_284b_alsa_capture_0.
I: source.c: Created source 1
"alsa_input.pci_8086_284b_alsa_capture_0" with sample spec s16le 2ch
44100Hz and channel map front-left,front-right
I: module-alsa-source.c: Using 8 fragments of size 1792 bytes, buffer
time is 81.27ms
D: module-alsa-source.c: hwbuf_unused=0
D: module-alsa-source.c: setting avail_min=1
I: module-alsa-source.c: Volume ranges from 0 to 14.
I: module-alsa-source.c: Volume ranges from 0.00 dB to 21.00 dB.
I: alsa-util.c: All 2 channels can be mapped to mixer channels.
I: module-alsa-source.c: Using hardware volume control. Hardware dB
scale supported.
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 : 3584
D: alsa-util.c: period_size : 448
D: alsa-util.c: period_time : 10158
D: alsa-util.c: tstamp_mode : ENABLE
D: alsa-util.c: period_step : 1
D: alsa-util.c: avail_min : 448
D: alsa-util.c: period_event : 0
D: alsa-util.c: start_threshold : -1
D: alsa-util.c: stop_threshold : 8070450532247928832
D: alsa-util.c: silence_threshold: 0
D: alsa-util.c: silence_size : 0
D: alsa-util.c: boundary : 8070450532247928832
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 : 3584
D: alsa-util.c: period_size : 448
D: alsa-util.c: period_time : 10158
D: alsa-util.c: tstamp_mode : ENABLE
D: alsa-util.c: period_step : 1
D: alsa-util.c: avail_min : 448
D: alsa-util.c: period_event
D: module-alsa-source.c: Requested volume: 0: 64% 1: 64%
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
D: module-alsa-source.c: Got hardware volume: 0: 64% 1: 64%
D: module-alsa-source.c: Calculated software volume: 0: 100% 1: 100%
D: module-suspend-on-idle.c: Source
alsa_input.pci_8086_284b_alsa_capture_0 becomes idle.
I: module.c: Loaded "module-alsa-source" (index: #5; argument:
"device_id=0 source_name=alsa_input.pci_8086_284b_alsa_capture_0
tsched=0").
D: module-hal-detect.c: Loading module-alsa-sink with arguments
'device_id=0 sink_name=alsa_output.pci_8086_284b_alsa_playback_0
tsched=0'
D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
I: (alsa-lib)control.c: Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: module-device-restore.c: Restoring volume for sink
alsa_output.pci_8086_284b_alsa_playback_0.
I: module-device-restore.c: Restoring mute state for sink
alsa_output.pci_8086_284b_alsa_playback_0.
I: sink.c: Created sink 0 "alsa_output.pci_8086_284b_alsa_playback_0"
with sample spec s16le 2ch 44100Hz and channel map
front-left,front-right
I: module-device-restore.c: Restoring volume for source
alsa_output.pci_8086_284b_alsa_playback_0.monitor.
I: module-device-restore.c: Restoring mute state for source
alsa_output.pci_8086_284b_alsa_playback_0.monitor.
I: source.c: Created source 2
"alsa_output.pci_8086_284b_alsa_playback_0.monitor" with sample spec
s16le 2ch 44100Hz and channel map front-left,front-right
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes, buffer
time is 81.27ms
D: module-alsa-sink.c: hwbuf_unused=0
D: module-alsa-sink.c: setting avail_min=1
I: module-alsa-sink.c: Volume ranges from 0 to 127.
I: module-alsa-sink.c: Volume ranges from -95.25 dB to 0.00 dB.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel.
I: module-alsa-sink.c: Using hardware volume control. Hardware dB
scale supported.
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 : 3584
D: alsa-util.c: period_size : 448
D: alsa-util.c: period_time : 10158
D: alsa-util.c: tstamp_mode : ENABLE
D: alsa-util.c: period_step : 1
D: alsa-util.c: avail_min : 448
D: alsa-util.c: period_event : 0
D: alsa-util.c: start_threshold : -1
D: alsa-util.c: stop_threshold : 8070450532247928832
D: alsa-util.c: silence_threshold: 0
D: alsa-util.c: silence_size : 0
D: alsa-util.c: boundary : 8070450532247928832
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 : 3584
D: alsa-util.c: period_size : 448
D: alsa-util.c: period_time : 10158
D: alsa-util.c: tstamp_mode : ENABLE
D: alsa-util.c: period_step : 1
D: alsa-util.c: avail_min : 448
D: alsa-util.c: period_even
D: module-alsa-sink.c: Requested volume: 0: 68% 1: 68%
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
D: module-alsa-sink.c: Got hardware volume: 0: 68% 1: 68%
D: module-alsa-sink.c: Calculated software volume: 0: 100% 1: 100%
I: module-alsa-sink.c: Starting playback.
D: module-suspend-on-idle.c: Source
alsa_output.pci_8086_284b_alsa_playback_0.monitor becomes idle.
D: module-suspend-on-idle.c: Sink
alsa_output.pci_8086_284b_alsa_playback_0 becomes idle.
I: module.c: Loaded "module-alsa-sink" (index: #6; argument:
"device_id=0 sink_name=alsa_output.pci_8086_284b_alsa_playback_0
tsched=0").
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/pci_8086_284b_alsa_hw_specific_2
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/usb_device_46d_990_BF15FF18_if2_alsa_control__1
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/pci_8086_284b_alsa_control__1
I: module-hal-detect.c: Loaded 3 modules.
I: module.c: Loaded "module-hal-detect" (index: #7; argument: "tsched=0").
D: cli-command.c: Checking for existance of
'/usr/lib/pulse-0.9/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: "").
I: module.c: Loaded "module-default-device-restore" (index: #10; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #11; argument: "").
I: module.c: Loaded "module-always-sink" (index: #12; argument: "").
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: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus,
path=/org/freedesktop/DBus, member=NameAcquired
D: module-console-kit.c: dbus: interface=org.freedesktop.DBus,
path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source
alsa_input.usb_device_46d_990_BF15FF18_if2_alsa_capture_0 idle for too
long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source
alsa_input.pci_8086_284b_alsa_capture_0 idle for too long, suspending
...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source
alsa_output.pci_8086_284b_alsa_playback_0.monitor idle for too long,
suspending ...
I: module-suspend-on-idle.c: Sink
alsa_output.pci_8086_284b_alsa_playback_0 idle for too long,
suspending ...
I: module-alsa-sink.c: Device suspended...
--
Jon Smirl
jonsmirl at gmail.com
More information about the pulseaudio-discuss
mailing list