* [gentoo-commits] proj/eudev:master commit in: rules/
@ 2021-01-14 17:52 Anthony G. Basile
0 siblings, 0 replies; only message in thread
From: Anthony G. Basile @ 2021-01-14 17:52 UTC (permalink / raw
To: gentoo-commits
commit: 9a240b197b18ffdc3ca5da83ac45bcc9b82a1344
Author: Yann Dirson <yann <AT> blade-group <DOT> com>
AuthorDate: Thu Jan 7 09:30:08 2021 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Jan 14 17:52:26 2021 +0000
URL: https://gitweb.gentoo.org/proj/eudev.git/commit/?id=9a240b19
Revert bad 78-sound-card.rules update causing path_id skip
The following device properly got assigned ID_PATH with eudev 3.2.1,
but does not get it any more with recent versions:
P: /devices/platform/rt5651-sound/sound/card0
E: DEVPATH=/devices/platform/rt5651-sound/sound/card0
E: SOUND_FORM_FACTOR=internal
E: SOUND_INITIALIZED=1
E: SUBSYSTEM=sound
E: USEC_INITIALIZED=507638688065
This results in pulseaudio giving a non-stable card name by using a
device number.
I tracked the problem to commit
47367bc4df6f05a49cf4b5b0209153d77a9ade83, which changed (without
explaining why it does so) the rules for "internal" sound cards,
notably preventing `IMPORT{builtin}="path_id"` from being reached.
Signed-off-by: Yann Dirson <yann <AT> blade-group.com>
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
rules/78-sound-card.rules | 5 -----
1 file changed, 5 deletions(-)
diff --git a/rules/78-sound-card.rules b/rules/78-sound-card.rules
index f2fc27739..3a626e146 100644
--- a/rules/78-sound-card.rules
+++ b/rules/78-sound-card.rules
@@ -50,11 +50,6 @@ SUBSYSTEMS=="firewire", GOTO="skip_pci"
SUBSYSTEMS=="pci", ENV{ID_BUS}="pci", ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{device}"
SUBSYSTEMS=="pci", GOTO="skip_pci"
-# If we reach here, the device nor any of its parents are USB/PCI/firewire bus devices.
-# If we now find a parent that is a platform device, assume that we're working with
-# an internal sound card.
-SUBSYSTEMS=="platform", ENV{SOUND_FORM_FACTOR}="internal", GOTO="sound_end"
-
LABEL="skip_pci"
# Define ID_ID if ID_BUS and ID_SERIAL are set. This will work for both
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-14 17:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-14 17:52 [gentoo-commits] proj/eudev:master commit in: rules/ Anthony G. Basile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox