Ubuntu like 22.04 OSes are coming with pipewire instead of pulseaudio. On my machine, it has a bug and sometimes does not recognize new audio devices. In this case, I need to restart pipewire with the following command:

systemctl --user restart pipewire pipewire-pulse

Next - Previous