You are not logged in.

#1 2021-11-17 17:10:19

Razer(x)
Member
Registered: 2006-08-30
Posts: 109

Microphone changing device ID each boot

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

#2 2021-11-17 17:16:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: Microphone changing device ID each boot

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 -Ll

and 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

#3 2021-11-17 17:24:00

Razer(x)
Member
Registered: 2006-08-30
Posts: 109

Re: Microphone changing device ID each boot

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

#4 2021-11-17 17:37:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: Microphone changing device ID each boot

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-sources

ideally 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

Board footer

Powered by FluxBB