{"id":1926,"date":"2021-03-25T15:41:55","date_gmt":"2021-03-25T14:41:55","guid":{"rendered":"https:\/\/www.zarrelli.org\/blog\/?p=1926"},"modified":"2021-03-25T15:41:57","modified_gmt":"2021-03-25T14:41:57","slug":"ubuntu-studio-20-10-sound-card-not-picked-up","status":"publish","type":"post","link":"https:\/\/www.zarrelli.org\/blog\/ubuntu-studio-20-10-sound-card-not-picked-up\/","title":{"rendered":"Ubuntu Studio 20.10 sound card not picked up"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I got my PC hooked up to a kvm and I switch between my computers quite often. Connected to the kvm there are a bunch of peripherals: a keyboard, a mouse, a monitor and a Behringer U-Phoria sound card.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Every now and then, when I switch back to my Ubuntu PC, it fails to pick the sound card up and even restarting Pulseaudio does not solve the issue. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, I created a small script in my home directory and called it restart-pulse-audio.sh with the following content:<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><code>!\/bin\/sh<\/code><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\"><code>systemctl --user restart pulseaudio<br \/>systemctl --user restart pipewire<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Just run it whenever your card is not picked up as you switched it off\/on and it should get it alive and kicking.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got my PC hooked up to a kvm and I switch between my computers quite often. Connected to the kvm there are a bunch of peripherals: a keyboard, a mouse, a monitor and a Behringer U-Phoria sound card. Every now and then, when I switch back to my Ubuntu PC, it fails to pick &hellip;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[556,531,177,506,555],"class_list":["post-1926","post","type-post","status-publish","format-standard","hentry","category-ubuntu","tag-behringer","tag-pulseaudio","tag-script","tag-sound","tag-soundcard","without-featured-image"],"_links":{"self":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/1926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/comments?post=1926"}],"version-history":[{"count":0,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/posts\/1926\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/media?parent=1926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/categories?post=1926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zarrelli.org\/blog\/wp-json\/wp\/v2\/tags?post=1926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}