Dan Rashid is a front-end web software architect near New Orleans

He can be reached at dan@ this domain

What you see here is intentionally ugly

2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
VeriForce
Signal
Barcodes
Gorilla 76
Louisiana Outdoor Kitchens
Freelance
Werremeyer
Cohesion
McCann
Hughes
Wash U
Mandeville
New Orleans
Chicago
St. Louis
Baton Rouge
St. Louis
Detroit
St. Louis

📻 💾 🤫 https://github.com/danrashid/brownies

Separating the front (headphone) and back (line-in) jacks on an ALC892 audio chip in Linux

Specific, eh? Needed this for my MSI Z370-A-PRO motherboard, so my headphones and speakers could be treated as separate outputs. By default, having headphones plugged in (front) will disable the speakers (in back). I like to leave both plugged in and toggle them via software.

In /etc/udev/rules.d/jackdetect.rules, add:

ACTION=="add", SUBSYSTEM=="sound", ATTRS{chip_name}=="ALC892", ATTR{hints}="jack_detect=false"
ACTION=="add", SUBSYSTEM=="sound", ATTRS{chip_name}=="ALC892", ATTR{reconfig}="1"

In /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf, replace:

[Element Front]
-switch = mute
-volume = zero
+switch = off
+volume = off

Credits:

Installing KVM with a GUI on Linux Mint 19.3 Tricia

$ sudo apt install virt-manager \
  qemu-kvm \
  libvirt-bin \
  ebtables \
  dnsmasq \
  qemu-utils \
  gir1.2-spiceclientgtk-3.0 \
  ovmf

Reboot and make some VMs