Bug 71677 - From pulseaudio 4.99 (20131028) the Speaker channel on Realtek ALC269V is set to 0
Summary: From pulseaudio 4.99 (20131028) the Speaker channel on Realtek ALC269V is set...
Status: RESOLVED FIXED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on: 74609
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-16 15:07 UTC by Maciej Piechotka
Modified: 2014-10-31 12:46 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
pulseaudio.log (137.65 KB, text/plain)
2013-11-23 00:42 UTC, Maciej Piechotka
Details
alsa-info.txt (27.13 KB, text/plain)
2013-11-23 00:43 UTC, Maciej Piechotka
Details

Description Maciej Piechotka 2013-11-16 15:07:13 UTC
When I installed pulseaudio 4.99 (version from 20131028) the speaker channel is unmuted but set to zero resulting in no sound. The channel was set correctly in pulseaudio 4.
Comment 1 Tanu Kaskinen 2013-11-18 08:15:51 UTC
Could you attach the output of "pactl list" and "amixer -c0" when you're trying to use the speakers but they're muted?

What do you mean by "the speaker channel"? Do you refer to some specific alsa mixer element?
Comment 2 Maciej Piechotka 2013-11-19 20:36:55 UTC
(In reply to comment #1)
> Could you attach the output of "pactl list" and "amixer -c0" when you're
> trying to use the speakers but they're muted?
> 

Module #0
	Name: module-device-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute state of devices"
		module.version = "4.0-271-g09e8"

Module #1
	Name: module-stream-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute/device state of streams"
		module.version = "4.0-271-g09e8"

Module #2
	Name: module-card-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore profile of cards"
		module.version = "4.0-271-g09e8"

Module #3
	Name: module-augment-properties
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Augment the property sets of streams with additional static information"
		module.version = "4.0-271-g09e8"

Module #4
	Name: module-switch-on-port-available
	Argument: 
	Usage counter: n/a
	Properties:
		

Module #5
	Name: module-udev-detect
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Detect available audio hardware and load matching drivers"
		module.version = "4.0-271-g09e8"

Module #6
	Name: module-alsa-card
	Argument: device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
	Usage counter: 1
	Properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "4.0-271-g09e8"

Module #7
	Name: module-bluetooth-policy
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Frédéric Dalleau"
		module.description = "When a bluetooth sink or source is added, load module-loopback"
		module.version = "4.0-271-g09e8"

Module #8
	Name: module-bluetooth-discover
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "João Paulo Rechi Vita"
		module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
		module.version = "4.0-271-g09e8"

Module #9
	Name: module-bluez5-discover
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "João Paulo Rechi Vita"
		module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
		module.version = "4.0-271-g09e8"

Module #10
	Name: module-native-protocol-unix
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Native protocol (UNIX sockets)"
		module.version = "4.0-271-g09e8"

Module #11
	Name: module-gconf
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "GConf Adapter"
		module.version = "4.0-271-g09e8"

Module #12
	Name: module-default-device-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the default sink and source"
		module.version = "4.0-271-g09e8"

Module #13
	Name: module-rescue-streams
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
		module.version = "4.0-271-g09e8"

Module #14
	Name: module-always-sink
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Always keeps at least one sink loaded even if it's a null one"
		module.version = "4.0-271-g09e8"

Module #15
	Name: module-intended-roles
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically set device of streams based on intended roles of devices"
		module.version = "4.0-271-g09e8"

Module #16
	Name: module-suspend-on-idle
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is idle for too long, suspend it"
		module.version = "4.0-271-g09e8"

Module #17
	Name: module-console-kit
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Create a client for each ConsoleKit session of this user"
		module.version = "4.0-271-g09e8"

Module #18
	Name: module-systemd-login
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Create a client for each login session of this user"
		module.version = "4.0-271-g09e8"

Module #19
	Name: module-position-event-sounds
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
		module.version = "4.0-271-g09e8"

Module #20
	Name: module-role-cork
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Mute & cork streams with certain roles while others exist"
		module.version = "4.0-271-g09e8"

Module #21
	Name: module-filter-heuristics
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Detect when various filters are desirable"
		module.version = "4.0-271-g09e8"

Module #22
	Name: module-filter-apply
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Load filter sinks automatically when needed"
		module.version = "4.0-271-g09e8"

Module #23
	Name: module-x11-publish
	Argument: display=:0
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "X11 credential publisher"
		module.version = "4.0-271-g09e8"

Module #24
	Name: module-x11-cork-request
	Argument: display=:0
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Synthesize X11 media key events when cork/uncork is requested"
		module.version = "4.0-271-g09e8"

Module #25
	Name: module-x11-xsmp
	Argument: display=:0 session_manager=local/deepspace9:@/tmp/.ICE-unix/1055,unix/deepspace9:/tmp/.ICE-unix/1055
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "X11 session management"
		module.version = "4.0-271-g09e8"

Sink #0
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1b.0.analog-stereo
	Description: Built-in Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	Mute: no
	Volume: front-left: 31008 /  47% / -19.50 dB,   front-right: 31008 /  47% / -19.50 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC269VC Analog"
		alsa.id = "ALC269VC Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf3930000 irq 48"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "1e20"
		device.product.name = "7 Series/C210 Series Chipset Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC269VC"
		alsa.components = "HDA:10ec0269,17aa2204,00100203"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-output: Analog Output (priority: 9900)
		analog-output-speaker: Speakers (priority: 10000)
		analog-output-headphones: Headphones (priority: 9000, not available)
	Active Port: analog-output
	Formats:
		pcm

Source #0
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
	Description: Monitor of Built-in Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor of Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		device.description = "Monitor of Built-in Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf3930000 irq 48"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "1e20"
		device.product.name = "7 Series/C210 Series Chipset Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Formats:
		pcm

Source #1
	State: SUSPENDED
	Name: alsa_input.pci-0000_00_1b.0.analog-stereo
	Description: Built-in Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	Mute: no
	Volume: front-left: 11003 /  17% / -46.50 dB,   front-right: 11003 /  17% / -46.50 dB
	        balance 0.00
	Base Volume: 6554 /  10% / -60.00 dB
	Monitor of Sink: n/a
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC269VC Analog"
		alsa.id = "ALC269VC Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf3930000 irq 48"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "1e20"
		device.product.name = "7 Series/C210 Series Chipset Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC269VC"
		alsa.components = "HDA:10ec0269,17aa2204,00100203"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-input-internal-mic: Internal Microphone (priority: 8900)
		analog-input-dock-mic: Dock Microphone (priority: 7800, not available)
		analog-input-mic: Microphone (priority: 8700, not available)
	Active Port: analog-input-internal-mic
	Formats:
		pcm

Sink Input #189
	Driver: protocol-native.c
	Owner Module: 10
	Client: 83
	Sink: 0
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Format: pcm, format.sample_format = "\"float32le\""  format.channels = "2"  format.rate = "48000"  format.channel_map = "\"front-left,front-right\""
	Corked: yes
	Mute: no
	Volume: front-left: 31008 /  47% / -19.50 dB,   front-right: 31008 /  47% / -19.50 dB
	        balance 0.00
	Buffer Latency: 0 usec
	Sink Latency: 0 usec
	Resample method: speex-float-1
	Properties:
		media.role = "video"
		media.name = "Playback Stream"
		application.name = "WebKitWebProcess"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "29"
		application.process.id = "12568"
		application.process.user = "mpiechotka"
		application.process.host = "deepspace9"
		application.process.binary = "WebKitWebProcess"
		application.language = "en_GB.UTF-8"
		window.x11.display = ":0.0"
		application.process.machine_id = "4f5e20d3b132502e474aa3264fe49942"
		application.process.session_id = "2"
		module-stream-restore.id = "sink-input-by-media-role:video"
		media.language = "und"

Client #0
	Driver: module-systemd-login.c
	Owner Module: 18
	Properties:
		application.name = "Login Session 2"
		systemd-login.session = "2"

Client #4
	Driver: module-x11-xsmp.c
	Owner Module: 25
	Properties:
		application.name = "XSMP Session on gnome-session as 105513ee7a7d728482138469405940616300000010550025"
		xsmp.vendor = "gnome-session"
		xsmp.client.id = "105513ee7a7d728482138469405940616300000010550025"

Client #5
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "GNOME Volume Control Media Keys"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "29"
		application.id = "org.gnome.VolumeControl"
		application.icon_name = "multimedia-volume-control"
		application.version = "3.10.2"
		application.process.id = "1089"
		application.process.user = "mpiechotka"
		application.process.host = "deepspace9"
		application.process.binary = "gnome-settings-daemon"
		application.language = "en_GB.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "4f5e20d3b132502e474aa3264fe49942"
		application.process.session_id = "2"

Client #6
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "GNOME Shell"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "29"
		application.id = "org.gnome.Shell"
		application.icon_name = "start-here"
		application.language = "en_GB.UTF-8"
		window.x11.screen = "0"
		window.x11.display = ":0"
		application.process.id = "1137"
		application.process.user = "mpiechotka"
		application.process.host = "deepspace9"
		application.process.binary = "gnome-shell"
		application.process.machine_id = "4f5e20d3b132502e474aa3264fe49942"
		application.process.session_id = "2"

Client #7
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "GNOME Shell Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "29"
		application.id = "org.gnome.VolumeControl"
		application.icon_name = "multimedia-volume-control"
		application.version = "3.10.2"
		application.process.id = "1137"
		application.process.user = "mpiechotka"
		application.process.host = "deepspace9"
		application.process.binary = "gnome-shell"
		application.language = "en_GB.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "4f5e20d3b132502e474aa3264fe49942"
		application.process.session_id = "2"

Client #9
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "libcanberra"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "29"
		application.version = "0.30"
		application.id = "org.freedesktop.libcanberra"
		application.process.id = "1089"
		application.process.user = "mpiechotka"
		application.process.host = "deepspace9"
		application.process.binary = "gnome-settings-daemon"
		application.language = "en_GB.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "4f5e20d3b132502e474aa3264fe49942"
		application.process.session_id = "2"

Client #24
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "gnome-settings-daemon"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "29"
		window.x11.display = ":0"
		window.x11.screen = "0"
		application.process.id = "1089"
		application.process.user = "mpiechotka"
		application.process.host = "deepspace9"
		application.process.binary = "gnome-settings-daemon"
		application.language = "en_GB.UTF-8"
		application.process.machine_id = "4f5e20d3b132502e474aa3264fe49942"
		application.process.session_id = "2"

Client #83
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "WebKitWebProcess"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "29"
		application.process.id = "12568"
		application.process.user = "mpiechotka"
		application.process.host = "deepspace9"
		application.process.binary = "WebKitWebProcess"
		application.language = "en_GB.UTF-8"
		window.x11.display = ":0.0"
		application.process.machine_id = "4f5e20d3b132502e474aa3264fe49942"
		application.process.session_id = "2"

Client #92
	Driver: protocol-native.c
	Owner Module: 10
	Properties:
		application.name = "pactl"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "29"
		application.process.id = "15442"
		application.process.user = "mpiechotka"
		application.process.host = "deepspace9"
		application.process.binary = "pactl"
		application.language = "en_GB.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "4f5e20d3b132502e474aa3264fe49942"
		application.process.session_id = "2"

Sample #0
	Name: audio-volume-change
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Volume: (invalid)
	        balance 0.00
	Duration: 0.1s
	Size: 11.5 KiB
	Lazy: no
	Filename: n/a
	Properties:
		media.role = "event"
		event.description = "volume changed through key press"
		event.id = "audio-volume-change"
		media.name = "audio-volume-change"
		media.filename = "/usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"
		application.name = "libcanberra"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "29"
		application.version = "0.30"
		application.id = "org.freedesktop.libcanberra"
		application.process.id = "1089"
		application.process.user = "mpiechotka"
		application.process.host = "deepspace9"
		application.process.binary = "gnome-settings-daemon"
		application.language = "en_GB.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "4f5e20d3b132502e474aa3264fe49942"
		application.process.session_id = "2"

Sample #1
	Name: bell-window-system
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Volume: (invalid)
	        balance 0.00
	Duration: 0.1s
	Size: 24.0 KiB
	Lazy: no
	Filename: n/a
	Properties:
		media.role = "event"
		application.process.id = "3167"
		application.name = "evolution"
		event.description = "Bell event"
		event.id = "bell-window-system"
		media.name = "bell-window-system"
		media.filename = "/usr/share/sounds/freedesktop/stereo/bell.oga"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "29"
		application.id = "org.gnome.Shell"
		application.icon_name = "start-here"
		application.language = "en_GB.UTF-8"
		window.x11.screen = "0"
		window.x11.display = ":0"
		application.process.user = "mpiechotka"
		application.process.host = "deepspace9"
		application.process.binary = "gnome-shell"
		application.process.machine_id = "4f5e20d3b132502e474aa3264fe49942"
		application.process.session_id = "2"

Card #0
	Name: alsa_card.pci-0000_00_1b.0
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf3930000 irq 48"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "1e20"
		device.product.name = "7 Series/C210 Series Chipset Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 700, available: yes)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 760, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input-internal-mic: Internal Microphone (priority: 8900, latency offset: 0 usec)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo
		analog-input-dock-mic: Dock Microphone (priority: 7800, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo
		analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo
		analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo
		analog-output-speaker: Speakers (priority: 10000, latency offset: 0 usec)
			Properties:
				device.icon_name = "audio-speakers"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo
		analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-headphones"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo

-----------------------------------
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 61 [70%] [-19.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',1
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [on]
  Front Right: Playback 0 [0%] [-65.25dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 41 [65%] [13.50dB] [on]
  Front Right: Capture 41 [65%] [13.50dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Dock Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Dock Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

> What do you mean by "the speaker channel"? Do you refer to some specific
> alsa mixer element?

Yes. Sorry - I was sure they are called channels:

Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [on]
  Front Right: Playback 0 [0%] [-65.25dB] [on]

(I reverted the changes for this output as I'm manually setting the value of it after boot).
Comment 3 Raymond 2013-11-20 00:41:28 UTC
seem one of the two headphones is dock station headphone/line out as you have dock Mic and two headphones
Comment 4 Raymond 2013-11-20 03:48:46 UTC
you have to post output of alsa-info.sh and pulseaudio log to find out why analog-output port is selected when speaker port has higher priority


		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC269VC"
		alsa.components = "HDA:10ec0269,17aa2204,00100203"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-output: Analog Output (priority: 9900)
		analog-output-speaker: Speakers (priority: 10000)
		analog-output-headphones: Headphones (priority: 9000, not available)
	Active Port: analog-output
Comment 5 Tanu Kaskinen 2013-11-20 06:51:06 UTC
You have the "analog-output" port selected, which mutes the Speaker element. Changing the port to "analog-output-speaker" should make the speaker output work.

Changing the port can be done with pavucontrol, for example. Or on the command line:

    pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-speaker
Comment 6 Raymond 2013-11-20 22:53:57 UTC
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 700, available: yes)

are your computer  Lenovo thinkpad ?

it seem the driver cannot differentiate notebook with dual headphones and dock headphone as surround40 was supported
Comment 7 Maciej Piechotka 2013-11-21 18:58:17 UTC
(In reply to comment #6)
> 		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0,
> priority: 6000, available: yes)
> 		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources:
> 0, priority: 700, available: yes)
> 
> are your computer  Lenovo thinkpad ?
> 
> it seem the driver cannot differentiate notebook with dual headphones and
> dock headphone as surround40 was supported

Yes, I do. I haven't dock the computer nor plug headphones.
Comment 8 Raymond 2013-11-22 00:59:54 UTC
it is unlikely to debug if you don't provide alsa-info and pulseaudio verbose log


https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=521290003a34115fa06f048285bcb5b7708eee9f


it use alc269_fixup_pincfg_no_hp_to_lineout to differentiate dual headphone jacks in dell desktop and headphone and dock headphone jacks
Comment 9 Raymond 2013-11-22 01:03:02 UTC
this  mean one of the headphone playback switch may need to rename as "Dock Headphone Playback Switch"

Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',1
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Comment 10 Raymond 2013-11-22 07:42:50 UTC
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_realtek.c?id=108cc108a3bb42fe4705df1317ff98e1e29428a6

+ [ALC269_FIXUP_LENOVO_DOCK] = {
+ .type = ALC_FIXUP_PINS,
+ .v.pins = (const struct alc_pincfg[]) {
+ { 0x19, 0x23a11040 }, /* dock mic */
+ { 0x1b, 0x2121103f }, /* dock headphone */

Pin Default 0x2121103f: [Jack] HP Out at Sep Rear
  Conn = 1/8, Color = Black
  DefAssociation  = 0x3, Sequence = 0xf, Misc = 0x0

any reason why no dock-headphone.conf when there is dock-mic.conf  ?

is it just because headphone and dock headphone share the "Headphone Playback Volume" control

http://cgit.freedesktop.org/pulseaudio/pulseaudio/plain/src/modules/alsa/mixer/paths/analog-input-dock-mic.conf


Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Headphone Playback Switch", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Dock Headphone Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Comment 11 Maciej Piechotka 2013-11-23 00:42:36 UTC
Created attachment 89660 [details]
pulseaudio.log

(In reply to comment #8)
> it is unlikely to debug if you don't provide alsa-info and pulseaudio
> verbose log
> 

Sorry. I don't usually have much time during the week. Thank you for your time (I'm programmer so I'm aware that it's a 'bit' hard to debug without debug info).
Comment 12 Maciej Piechotka 2013-11-23 00:43:04 UTC
Created attachment 89661 [details]
alsa-info.txt
Comment 13 Raymond 2013-11-23 03:59:40 UTC
seem bug of alsa-driver

speaker-test  -c4 -t wav -D hw:0,0

should fail with invalid channel count 

because driver assign headphone and dock headphone to multi_out similar to those dual headphones notebook

0.025|   0.000) D: [pulseaudio] alsa-mixer.c: Looking at profile output:analog-surround-40
(   0.025|   0.000) D: [pulseaudio] alsa-mixer.c: Checking for playback on Analog Surround 4.0 (analog-surround-40)
(   0.025|   0.000) D: [pulseaudio] alsa-util.c: Trying surround40:0 with SND_PCM_NO_AUTO_FORMAT ...
(   0.026|   0.000) D: [pulseaudio] alsa-util.c: Managed to open surround40:0
(   0.026|   0.000) D: [pulseaudio] alsa-util.c: Maximum hw buffer size is 185 ms
(   0.029|   0.003) D: [pulseaudio] alsa-util.c: Set buffer size first (to 4408 samples), period size second (to 1102 samples).
(   0.029|   0.000) D: [pulseaudio] alsa-mixer.c: Profile output:analog-surround-40 supported.
Comment 14 Raymond 2013-11-24 14:49:49 UTC
are you using latest alsa driver since the best config does not support 4 channels



autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
   speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
   hp_outs=2 (0x15/0x1b/0x0/0x0/0x0)
   mono: mono_out=0x0
   inputs:
     Internal Mic=0x12
     Mic=0x18
     Dock Mic=0x19


==> lo_type=2, wired=1, mio=1, badness=0x112
multi_outs = 15/1b/0/0 : 2/3/0/0 (type HP)
  out path: depth=3 :02:0c:15
  out path: depth=3 :03:0d:1b
spk_outs = 14/0/0/0 : 2/0/0/0
  spk path: depth=3 :02:0c:14
==> lo_type=2, wired=1, mio=0, badness=0x112
multi_outs = 15/1b/0/0 : 2/3/0/0 (type HP)
  out path: depth=3 :02:0c:15
  out path: depth=3 :03:0d:1b
spk_outs = 14/0/0/0 : 2/0/0/0
  spk path: depth=3 :02:0c:14
==> lo_type=2, wired=0, mio=1, badness=0x112
multi_outs = 15/1b/0/0 : 2/3/0/0 (type HP)
  out path: depth=3 :02:0c:15
  out path: depth=3 :03:0d:1b
spk_outs = 14/0/0/0 : 2/0/0/0
  spk path: depth=3 :02:0c:14
==> lo_type=2, wired=0, mio=0, badness=0x112
multi_outs = 15/1b/0/0 : 2/3/0/0 (type HP)
  out path: depth=3 :02:0c:15
  out path: depth=3 :03:0d:1b
spk_outs = 14/0/0/0 : 2/0/0/0
  spk path: depth=3 :02:0c:14
==> lo_type=1, wired=1, mio=1, badness=0x20
multi_outs = 14/0/0/0 : 2/0/0/0 (type SP)
  out path: depth=3 :02:0c:14
hp_outs = 15/1b/0/0 : 3/3/0/0
  hp  path: depth=3 :03:0d:15
  hp  path: depth=3 :03:0d:1b
==> lo_type=1, wired=1, mio=0, badness=0x20
multi_outs = 14/0/0/0 : 2/0/0/0 (type SP)
  out path: depth=3 :02:0c:14
hp_outs = 15/1b/0/0 : 3/3/0/0
  hp  path: depth=3 :03:0d:15
  hp  path: depth=3 :03:0d:1b
==> lo_type=1, wired=0, mio=1, badness=0x20
multi_outs = 14/0/0/0 : 2/0/0/0 (type SP)
  out path: depth=3 :02:0c:14
hp_outs = 15/1b/0/0 : 3/3/0/0
  hp  path: depth=3 :03:0d:15
  hp  path: depth=3 :03:0d:1b
==> lo_type=1, wired=0, mio=0, badness=0x20
multi_outs = 14/0/0/0 : 2/0/0/0 (type SP)
  out path: depth=3 :02:0c:14
hp_outs = 15/1b/0/0 : 3/3/0/0
  hp  path: depth=3 :03:0d:15
  hp  path: depth=3 :03:0d:1b
==> restoring best_cfg
==> Best config: lo_type=1, wired=1, mio=1
multi_outs = 14/0/0/0 : 2/0/0/0 (type SP)
  out path: depth=3 :02:0c:14
hp_outs = 15/1b/0/0 : 3/3/0/0
  hp  path: depth=3 :03:0d:15
  hp  path: depth=3 :03:0d:1b
Comment 15 Raymond 2013-11-25 02:18:11 UTC
does headphone and dock headphone really support 4 channels playback ?

hda_codec: ALC269: Apply fix-func for Thinkpad T530

> PCM 0 p 44100 2 16
Open PCM ALC269 Analog for play
Available PCM parameters:
  channels: 2/4
  formats: S16_LE S32_LE
  rates: 44100 48000 96000 192000
Prepare PCM, rate=44100, channels=2, format=16 bits
PCM format_val = 0x4011
hda_codec_setup_stream: NID=0x2, stream=0x1, channel=0, format=0x4011
send: NID=0x2, VERB=0xf06(get_channel_streamid), PARM=0x0
receive: 0x0
send: NID=0x2, VERB=0x706(set_channel_streamid), PARM=0x10
send: NID=0x2, VERB=0xa00(get_stream_format), PARM=0x0
receive: 0x0
send: NID=0x2, VERB=0x240(set_stream_format), PARM=0x11
hda_codec_setup_stream: NID=0x3, stream=0x1, channel=0, format=0x4011
send: NID=0x3, VERB=0xf06(get_channel_streamid), PARM=0x0
receive: 0x0
send: NID=0x3, VERB=0x706(set_channel_streamid), PARM=0x10
send: NID=0x3, VERB=0xa00(get_stream_format), PARM=0x0
receive: 0x0
send: NID=0x3, VERB=0x240(set_stream_format), PARM=0x11
hda_codec_setup_stream: NID=0x3, stream=0x1, channel=0, format=0x4011
PCM Clean up
hda_codec_cleanup_stream: NID=0x2
hda_codec_cleanup_stream: NID=0x3
hda_codec_cleanup_stream: NID=0x3
Close PCM
Comment 16 Raymond 2013-11-26 03:52:59 UTC
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_generic.c?id=a07a949be6eb1c9aab06adaadce72dbd27b7d9cb

+ if (cfg->line_out_type != AUTO_PIN_HP_OUT)
+ spec->const_channel_count = max(spec->const_channel_count,
+ cfg->hp_outs * 2);
+ spec->multiout.max_channels = max(spec->ext_channel_count,
+ spec->const_channel_count);

the driver should check whether each headphones should have different DACs when assign max_channels 



for those dual headphones jacks desktop, the two headphones are in multi_outs with retasked mic jack to support 5.1 



hda_codec: 92HD73C1X5: Apply fix-func for Dell Studio 1535

autoconfig: line_outs=1 (0xd/0x0/0x0/0x0/0x0) type:speaker
   speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
   hp_outs=2 (0xa/0xf/0x0/0x0/0x0)
   mono: mono_out=0x0
   inputs:
     Mic=0xe
     Internal Mic=0x13

==> lo_type=2, wired=1, mio=1, badness=0x0
multi_outs = a/f/0/0 : 15/16/0/0 (type HP)
  out path: depth=2 :15:0a
  out path: depth=2 :16:0f
spk_outs = d/0/0/0 : 17/0/0/0
  spk path: depth=2 :17:0d
  mix path: depth=5 :15:2b:1d:1e:0a
  mix path: depth=5 :15:2b:1d:1e:0d
==> Best config: lo_type=2, wired=1, mio=1
multi_outs = a/f/0/0 : 15/16/0/0 (type HP)
  out path: depth=2 :15:0a
  out path: depth=2 :16:0f
spk_outs = d/0/0/0 : 17/0/0/0
  spk path: depth=2 :17:0d
  mix path: depth=5 :15:2b:1d:1e:0a
  mix path: depth=5 :15:2b:1d:1e:0d
Comment 17 Maciej Piechotka 2014-02-15 14:03:02 UTC
(In reply to comment #14)
> are you using latest alsa driver since the best config does not support 4
> channels
> 
> 

Sorry - I haven't noticed the question along the comments. I'm using the in-kernel drivers (3.12.something currently).
Comment 18 Maciej Piechotka 2014-07-20 13:39:41 UTC
(In reply to comment #17)
> (In reply to comment #14)
> > are you using latest alsa driver since the best config does not support 4
> > channels
> > 
> > 
> 
> Sorry - I haven't noticed the question along the comments. I'm using the
> in-kernel drivers (3.12.something currently).

I still have the problem with 3.15. Should it be reported to alsa developers or is it he problem with pulseaudio?
Comment 19 Tanu Kaskinen 2014-07-21 06:57:36 UTC
(In reply to comment #18)
> I still have the problem with 3.15. Should it be reported to alsa developers
> or is it he problem with pulseaudio?

I believe this is a pulseaudio bug. This probably has the same root cause as bug 74609.
Comment 20 Tanu Kaskinen 2014-10-31 12:46:40 UTC
I believe this bug has been fixed in git master. If not, feel free to reopen this bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.