After a recent world update, I noticed I had no audio. Debugging it showed that ALSA detected my audio cards (1 Xonar sound card, 1 Radeon graphics card with HDMI audio) as normal, and could produce sound on both cards. Pulse however listed only the dummy sink. Further chasing let me to this line of debug output from pulse: > I: [pulseaudio] module-udev-detect.c: Found 0 cards. This isn't right. On downgrading udev from 240-r2 to 239, it magically starts working again: > I: [pulseaudio] module-udev-detect.c: Found 2 cards. And audio springs back to life. So, I'm blaming udev for not detecting the hardware any longer.
Created attachment 560260 [details] Emerge info
Please report the issue upstream. https://github.com/systemd/systemd/issues
May be related to https://bugs.gentoo.org/673902, which looks on first reading to be a problem bug, but may in fact be a udev problem.
(In reply to faminebadger from comment #3) > May be related to https://bugs.gentoo.org/673902, which looks on first > reading to be a problem bug, but may in fact be a udev problem. Sorry, typo - "...to be a systemd problem, but..."
The same bug appears for me, and i don't have systemd installed. I have no soundcards in pulseaudio with udev-240-r2, but downgrading to udev-239 definitely helps.
Issue: https://github.com/systemd/systemd/issues/11496 It's recommended to update udev and apply fixes that were made after release 240.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3b151ff2a468c62638ca87ac89bc1321e730fba commit d3b151ff2a468c62638ca87ac89bc1321e730fba Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-01-24 14:57:17 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-01-24 14:57:17 +0000 sys-fs/udev: patchset for 240 based on v240-stable branch upstream Bug: https://bugs.gentoo.org/676138 Bug: https://bugs.gentoo.org/674816 Bug: https://bugs.gentoo.org/674748 Package-Manager: Portage-2.3.56_p3, Repoman-2.3.12_p50 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-fs/udev/Manifest | 1 + sys-fs/udev/udev-240-r3.ebuild | 325 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 326 insertions(+)
Unfortunately this update didn't help me. Pulseaudio still says "module-udev-detect.c: Found 0 cards".
Please re-test with 241-rc1.
I can confirm, that pulseaudio started working again on my hardened system (openrc) with udev-241_rc1. With 240 /dev/snd/by-path was missing and /dev/snd/... permissions were wrong.
Yes, the sound works now. Thanks!
As an alternative to having sys-fs/udev, I am using sys-fs/eudev now. Works lika a charm