Summary: | media-sound/pulseaudio-5.0 module-switch-on-port-available causes failing of profile restore | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Till Schäfer <till2.schaefer> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lukas.schneiderbauer, philipplewe, sound |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.freedesktop.org/show_bug.cgi?id=73375 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Till Schäfer
2013-12-03 17:24:41 UTC
I mean channel restoring (by module-default-device-restore ?) in the last sentence. i looked a bit deeper into pulseaudios configuration and i can now say, that this is definitely a pulseaudio problem. if i disable the pulseaudio module module-switch-on-port-available everything works as expected. It seems that this module switches to hdmi after restoring everything correctly. seems that the following patch is not working anymore or maybe the state of the current port is unavailable at that time? http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/module-switch-on-port-available.c?id=1f97db720bd533a7b367a7d3123a493196125828 somehow the DELL monitor is also an available sink, which does not make sense since it has no sound output: $ pacmd Welcome to PulseAudio! Use "help" for usage information. >>> describe-module module-switch-on-port-available: Failed to open module. >>> list-cards 1 card(s) available. index: 0 name: <alsa_card.pci-0000_00_1b.0> driver: <module-alsa-card.c> owner module: 4 properties: alsa.card = "0" alsa.card_name = "HDA Intel PCH" alsa.long_card_name = "HDA Intel PCH at 0xf7c30000 irq 22" 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 (priority 60, available: unknown) output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown) output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown) output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown) output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown) output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown) output:hdmi-stereo-extra1: Digital Stereo (HDMI) Output (priority 5200, available: unknown) output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5260, available: unknown) off: Off (priority 0, available: unknown) active profile: <output:analog-stereo+input:analog-stereo> sinks: alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo sources: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo ports: analog-input-microphone-front: Front Microphone (priority 8500, latency offset 0 usec, available: no) properties: device.icon_name = "audio-input-microphone" analog-input-microphone-rear: Rear Microphone (priority 8200, latency offset 0 usec, available: no) properties: device.icon_name = "audio-input-microphone" analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no) properties: analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown) properties: analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no) properties: device.icon_name = "audio-speakers" analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes) properties: device.icon_name = "audio-headphones" hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no) properties: device.icon_name = "video-display" hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes) properties: device.icon_name = "video-display" device.product.name = "DELL U2713HM" Moving to pulseaudio maintainer then. is there anyway to blacklist a device in pulseaudio? hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes) properties: device.icon_name = "video-display" device.product.name = "DELL U2713HM" The DELL U2713HM has no audio or hdmi outputs. therefore this port should never be available. Please retry with 4.99.4 that includes some changes on this sry for the late reply: the bug is still present in pulseaudio-5.0 Please report to upstream and post the link here to allow us to track the issue: https://bugs.freedesktop.org i will do so as soon the pulseaudio.org website is up again :-/ They use bugzilla.freedesktop.org that, as far as I know, is independent of pulseaudio.org page ;) upstream bug from 2014 found: https://bugs.freedesktop.org/show_bug.cgi?id=73375 +*pulseaudio-5.0-r2 (12 Jun 2014) + + 12 Jun 2014; Pacho Ramos <pacho@gentoo.org> + +files/pulseaudio-5.0-crash-udp.patch, + +files/pulseaudio-5.0-module-switch.patch, +pulseaudio-5.0-r2.ebuild: + Fix CVE-2014-3970 (#512516), bash-completion dir (#509486 by poncho) and apply + a patch from upstream used in Fedora to fix the profiles switching. + |