Ubuntu Studio 20.10 sound card not picked up

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 the sound card up and even restarting Pulseaudio does not solve the issue.

So, I created a small script in my home directory and called it restart-pulse-audio.sh with the following content:


systemctl --user restart pulseaudio
systemctl --user restart pipewire

Just run it whenever your card is not picked up as you switched it off/on and it should get it alive and kicking.

ATI dual head xorg.conf

Just to keep a record of a configuration working on my home box:


cat /etc/X11/xorg.conf

Section "Screen"
 Identifier "Default Screen"
 DefaultDepth 24
 Monitor "Monitor0"
 DefaultDepth 24
 SubSection "Display"
 Modes "1680x1050" "1680x1050"
 Virtual 3360 2100 
Section "Module"
 Load "glx"
Section "ServerLayout"
 Identifier "Default Layout"
 Screen "Default Screen" 0 0
 Option "AIGLX" "on"
Section "Device"
 Identifier "Default Device"
 Driver "fglrx"
 Option "UseFastTLS" "1"
 BusID "PCI:4:0:0"
 Option "Monitor-DVI-I-0" "Monitor0" 
 Option "Monitor-DVI-I-1" "Monitor1"
Section "Monitor"
 Identifier "Monitor0"
 Option "Primary" "True"
Section "Monitor"
 Identifier "Monitor1"
 Option "RightOf" "Monitor0" 
 Option "Primary" "False"

Logarithmic penalty

The reason we don't want it is that there's a logarithmic penalty for
adding things to the initramfs, because not only does it have to be
loaded from disk, but it has to be decompressed, unpacked and cleaned up

Scott James Remnant

Ubuntu Developer Manager

Aggiorna a Ubuntu 8.10 con apt-p2p

Ubuntu logo

Ma chi vi ha detto che BitTorrent serve solo a scaricare musica, film e programmi?
Date un’occhiata a questa guida e sfruttate l’indubbia velocità del p2p per aggiornare il vostro sistema da Hardy a Ibex, senza mettere sotto sforzo i mirror di Ubuntu.

[Via UnixCraft]

Shell history stats

root@salotto:/home/zarrelli# history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
70 ls
56 cd
40 apt-get
39 dig
22 dpkg
18 make
17 ssh
16 cat
16 apt-cache
15 vi

Giusto per non farci mancare un meme

[Via Planet Ubuntu]