eudev-project / eudev

Repository for eudev development
GNU General Public License v2.0
525 stars 144 forks source link

Revert bad 78-sound-card.rules update causing path_id skip #190

Closed ydirson closed 3 years ago

ydirson commented 3 years ago

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@blade-group.com

blueness commented 3 years ago

Okay pushed.