You are not logged in.
Original problem: when I plug my headset into my laptop, the input device doesn't change automatically to the headset mic.
Checking
pactl list sources
showed higher priority for the internal mic than for the headset mic. I increased the priority in
/usr/share/alsa-card-profile/mixer/paths/analog-input-headset-mic.conf
, which fixed the problem.
My issue now is that this prioriry resets back to the original value every couple weeks. I haven't been able to identify what causes this, it is definitely not on every reboot.
This is on Arch+KDE with pipewire and wireplumber.
Can someone help with this?
Last edited by DeinAlptraum (2024-10-10 10:39:43)
Offline
The file is part of the alsa-card-profiles package and is hence replaced every time said package updates.
The "canonical" way of doing this is making a copy of the file you want to manipulate, making your changes there and then making a new profile under /usr/share/alsa-card-profile/profiles/ referencing the new path configuration and creating an udev rule bending the profile loading logic for your device in question.
The "easier" way of doing this is adding the file to
NoUpgrade = usr/share/alsa-card-profile/mixer/paths/analog-input-headset-mic.conf
in your /etc/pacman.conf and then occasionally checking the resulting .pacnews on whether anything of notable relevance changed that needs to be merged.
Last edited by V1del (2024-10-10 10:32:18)
Offline
Thanks so much! That's great
Offline