19th December 2016, 20:39
There is maybe an easier solution to this, the one I often use: whenever my headphones are not detected, I kill pulseaudio by hitting Alt+F2 a writting the following command
It restarts automatically in a second a when I check pavucontrol my headphones are always there after this. This way I don't have to fiddle with suspend unsuspend reboot etc.
Code:
pulseaudio -k
It restarts automatically in a second a when I check pavucontrol my headphones are always there after this. This way I don't have to fiddle with suspend unsuspend reboot etc.