[pulseaudio-discuss] Missing second HDA playback device
Jon Smirl
jonsmirl at gmail.com
Sun Jan 18 07:22:35 PST 2009
I definitely have two playback devices:
jonsmirl at terra:/etc$ hal-device | grep playback
28: udi = '/org/freedesktop/Hal/devices/pci_8086_284b_alsa_playback_1'
info.udi = '/org/freedesktop/Hal/devices/pci_8086_284b_alsa_playback_1'
(string)
alsa.type = 'playback' (string)
29: udi = '/org/freedesktop/Hal/devices/pci_8086_284b_alsa_playback_0'
info.udi = '/org/freedesktop/Hal/devices/pci_8086_284b_alsa_playback_0'
(string)
alsa.type = 'playback' (string)
jonsmirl at terra:/etc$
playback_0 is analog out
playback_1 is SPDIF out
module module-hal-detect does not load the second one.
>>> jonsmirl at terra:~$ pulseaudio -nC
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
Welcome to PulseAudio! Use "help" for usage information.
>>> exit
>>> jonsmirl at terra:~$ pulseaudio -nC -vvv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: We're in the group 'pulse-rt', allowing real-time and
high-priority scheduling.
I: core-util.c: Successfully gained nice level -11.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
I: client.c: Created 0 "STDIN/STDOUT client"
I: module.c: Loaded "module-cli" (index: #0; argument: "exit_on_eof=1").
I: main.c: Daemon startup complete.
Welcome to PulseAudio! Use "help" for usage information.
>>> load-module module-hal-detect
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/computer_alsa_timer
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'
D: alsa-util.c: Trying front:1...
I: alsa-util.c: PCM device front:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:1...
I: alsa-util.c: PCM device surround40:1 refused our hw parameters:
Invalid argument
D: alsa-util.c: Trying surround41:1...
I: alsa-util.c: PCM device surround41:1 refused our hw parameters:
Invalid argument
D: alsa-util.c: Trying surround50:1...
I: alsa-util.c: PCM device surround50:1 refused our hw parameters:
Invalid argument
D: alsa-util.c: Trying surround51:1...
I: alsa-util.c: PCM device surround51:1 refused our hw parameters:
Invalid argument
D: alsa-util.c: Trying surround71:1...
I: alsa-util.c: PCM device surround71:1 refused our hw parameters:
Invalid argument
D: alsa-util.c: Trying hw:1 as last resort...
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".
I: alsa-util.c: Using mixer control "Mic".
I: source.c: Created source 0
"alsa_input.usb_device_46d_990_BF15FF18_if2_alsa_capture_0" with
sample spec "s16le 1ch 16000Hz"
I: module-alsa-source.c: Using 4 fragments of size 2204 bytes.
I: alsa-util.c: All 1 channels can be mapped to mixer channels. Using
hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module.c: Loaded "module-alsa-source" (index: #1; argument:
"device_id=1 source_name=alsa_input.usb_device_46d_990_BF15FF18_if2_alsa_capture_0").
D: module-hal-detect.c: Not loaded device
/org/freedesktop/Hal/devices/pci_8086_284b_alsa_playback_1
Why is it not loading playback_1?
D: module-hal-detect.c: Loading module-alsa-sink with arguments
'device_id=0 sink_name=alsa_output.pci_8086_284b_alsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) 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: sink.c: Created sink 0 "alsa_output.pci_8086_284b_alsa_playback_0"
with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 1
"alsa_output.pci_8086_284b_alsa_playback_0.monitor" with sample spec
"s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 4 fragments of size 4352 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each
channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #2; argument:
"device_id=0 sink_name=alsa_output.pci_8086_284b_alsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments
'device_id=0 source_name=alsa_input.pci_8086_284b_alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) 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: source.c: Created source 2
"alsa_input.pci_8086_284b_alsa_capture_0" with sample spec "s16le 2ch
44100Hz"
I: module-alsa-source.c: Using 4 fragments of size 4352 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using
hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module.c: Loaded "module-alsa-source" (index: #3; argument:
"device_id=0 source_name=alsa_input.pci_8086_284b_alsa_capture_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: #4; argument: "").
>>> D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I can force it to load manually and it works....
>>> load-module module-alsa-sink device=hw:0,1 sink_name=one channels=2
I: module-alsa-sink.c: Successfully opened device hw:0,1.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib conf.c:3843:(parse_args) Unknown parameter 1
ALSA lib conf.c:3969:(snd_config_expand) Parse arguments error: No
such file or directory
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL hw:0,1
I: alsa-util.c: Unable to attach to mixer hw:0,1: No such file or directory
I: alsa-util.c: Unable to attach to mixer hw:(null): No such device
I: sink.c: Created sink 0 "one" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "one.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 4 fragments of size 4352 bytes.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #1; argument:
"device=hw:0,1 sink_name=one channels=2").
>>>
--
Jon Smirl
jonsmirl at gmail.com
More information about the pulseaudio-discuss
mailing list