Re: hotplug headphone detection in pipewire? (was: Re: Fedora 34 Change: Route all Audio to PipeWire (System-Wide Change))

2021-01-14 Thread Tom Hughes via devel

On 14/01/2021 11:45, Felix Schwarz wrote:

I switched a desktop F33 machine from pulseaudio to pipewire and it 
seems to work fine at a quick glance:


$ sudo dnf swap pulseaudio pipewire-pulseaudio --allowerasing 
--enablerepo=updates-testing

$ systemctl --user enable pipewire pipewire-pulse

Now I have the problem when I re-plug my headphones (old-fashioned 
headphone jack) that I don't see the headphones as output device via 
"pactl list sinks" (neither via pavucontrol, gnome's audio settings, ...).


There's an upstream ticket that may be related:

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/533

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


hotplug headphone detection in pipewire? (was: Re: Fedora 34 Change: Route all Audio to PipeWire (System-Wide Change))

2021-01-14 Thread Felix Schwarz


I switched a desktop F33 machine from pulseaudio to pipewire and it seems to 
work fine at a quick glance:


$ sudo dnf swap pulseaudio pipewire-pulseaudio --allowerasing 
--enablerepo=updates-testing

$ systemctl --user enable pipewire pipewire-pulse

Now I have the problem when I re-plug my headphones (old-fashioned headphone 
jack) that I don't see the headphones as output device via "pactl list sinks" 
(neither via pavucontrol, gnome's audio settings, ...).



However the low-level alsa tools can see the headphone jacks (e.g. "alsamixer") 
and I can use "aplay" to get sound output one the headphone jacks.


With pulseaudio I had the same situation but
$ pacmd unload-module module-udev-detect && pacmd load-module module-udev-detect

fixed the situation for me (though I saw duplicated sinks via pulseaudio for the 
rest of the session).



-> Is there a way to force pipewire to rescan the available sinks? (Ideally 
there would be auto-detection of course)


I guess this is more a support question but I assumed that it might be on topic 
here as the main goal is to get some testing for pipewire in Fedora :-)


Felix
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org