Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674816 - sys-fs/udev-240 breaks pulse udev card detection
Summary: sys-fs/udev-240 breaks pulse udev card detection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-07 20:42 UTC by faminebadger
Modified: 2019-07-30 14:49 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Emerge info (emerge.info,7.12 KB, text/plain)
2019-01-07 20:43 UTC, faminebadger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description faminebadger 2019-01-07 20:42:18 UTC
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.
Comment 1 faminebadger 2019-01-07 20:43:29 UTC
Created attachment 560260 [details]
Emerge info
Comment 2 Mike Gilbert gentoo-dev 2019-01-07 20:47:13 UTC
Please report the issue upstream.

https://github.com/systemd/systemd/issues
Comment 3 faminebadger 2019-01-07 20:52:34 UTC
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.
Comment 4 faminebadger 2019-01-07 20:53:11 UTC
(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..."
Comment 5 Anna Martynova 2019-01-13 20:18:30 UTC
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.
Comment 6 Anna Martynova 2019-01-21 14:11:05 UTC
Issue: https://github.com/systemd/systemd/issues/11496
It's recommended to update udev and apply fixes that were made after release 240.
Comment 7 Larry the Git Cow gentoo-dev 2019-01-24 14:59:07 UTC
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(+)
Comment 8 Anna Martynova 2019-01-25 20:26:21 UTC
Unfortunately this update didn't help me. Pulseaudio still says "module-udev-detect.c: Found 0 cards".
Comment 9 Mike Gilbert gentoo-dev 2019-01-26 16:54:28 UTC
Please re-test with 241-rc1.
Comment 10 Kristian 2019-01-26 18:44:22 UTC
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.
Comment 11 Anna Martynova 2019-01-26 21:09:43 UTC
Yes, the sound works now. Thanks!
Comment 12 jannis 2019-02-08 06:59:00 UTC
As an alternative to having sys-fs/udev, I am using sys-fs/eudev now. Works lika a charm