This is a really weird situation that I can't seem to find happening to anyone else. I'll see if I can explain it.
I built a Ryzen 3600 machine back when they first came out and everything worked great except for my USB DAC. For some reason upon resuming from sleep the machine just wouldn't see it. If I moved the plug to another port it would recognize the DAC. This never happened on my old Intel system. Assuming it was USB issue I switched to using the optical out on my motherboard. But then the weirdest thing happened. It would lose the built in sound card. I eventually found out that I could just run the following to reload the service.
pulseaudio -k && sudo alsa force-reload
Fortunately the problem happens less frequently than it used to. Not sure if it's due to driver updates or the move to optical instead of USB.
Recently I had to replace my old keyboard with a Das Keyboard Prime 13. Everything was going great except that the machine will stop recognizing the keyboard when it's asleep. Lately it's been much more frequent. The only way to get the machine to pick up the keyboard is to restart it. If I plug a different USB keyboard in that works but the Das Keyboard doesn't even if I unplug it and plug it back in. I've updated the BIOS to the latest version and looked through it for any related settings but I haven't found anything.
Any thoughts or ideas as to what would be causing this and how to fix it?
Thanks.
I built a Ryzen 3600 machine back when they first came out and everything worked great except for my USB DAC. For some reason upon resuming from sleep the machine just wouldn't see it. If I moved the plug to another port it would recognize the DAC. This never happened on my old Intel system. Assuming it was USB issue I switched to using the optical out on my motherboard. But then the weirdest thing happened. It would lose the built in sound card. I eventually found out that I could just run the following to reload the service.
pulseaudio -k && sudo alsa force-reload
Fortunately the problem happens less frequently than it used to. Not sure if it's due to driver updates or the move to optical instead of USB.
Recently I had to replace my old keyboard with a Das Keyboard Prime 13. Everything was going great except that the machine will stop recognizing the keyboard when it's asleep. Lately it's been much more frequent. The only way to get the machine to pick up the keyboard is to restart it. If I plug a different USB keyboard in that works but the Das Keyboard doesn't even if I unplug it and plug it back in. I've updated the BIOS to the latest version and looked through it for any related settings but I haven't found anything.
Any thoughts or ideas as to what would be causing this and how to fix it?
Thanks.