You are not logged in.
Hello, my microphone changes device ID very often, but i need it to be static because i'm running a program using it
Is there any way to do so?
Offline
Depends, what kind of mic exactly? You can generally enforce a certain device loading order via modprobe configs: https://wiki.archlinux.org/title/Advanc … le_options
You might want to elaborate a bit more on what it actually is you intend to do. What is detected right now? Post
arecord -Lland which program are you using exactly and how does it access the device that you are dependant on the random index nr order instead of being able to actually use the string id? Or does the string id change?
Last edited by V1del (2021-11-17 17:16:49)
Offline
It is a regular upnp microphone, nothing fancy. I need it to be static so i can autostart Noisetorch, background noise reduction software
Can i do the same if i use Pulseaudio?
(Not currenty at home, i'll post more info when i come back)
Offline
Pulseaudio does generally have a more stable and guaranteed (default) device selection that it will actually reapply properly on subsequent boots. Some potential detection bugs non-withstanding. However since this is apparently about noisetorch which only works with pipewire-/pulseaudio in the first place we definitely need more info, since these kinds of things should already normally happen correctly (assuming pipewire isn't buggy, I remember some mic detection issues not too long ago).
Post
pactl list-cards
pactl list-sourcesideally from a working and non working state. Seeing your upstream report you might need to add an ExecStartPre or so bending the correct profile.
Last edited by V1del (2021-11-17 17:39:14)
Offline