Zach Into 2020

Author: zrl

How I got pulseaudio sound working with a ThinkPad X1 Carbon 7th Gen on Arch Linux

Update as of 2020-05-28: Ignore this all. It seems the best option is just simply installing pulseaudio-git on the latest Arch kernel (am running 5.6.14 as of now).


I tried following the instructions on the Arch Wiki and everywhere else I could find, but I kept having one of the following problems:

  • No sound would play at all
  • Sound only came out of the bottom two speakers
  • Sound came out from all four speakers, but sounded tinny

Here’s my setup and how I solved it. I’m running an X1 Carbon 7th Gen on Arch Linux.

$ uname -r
5.6.13-arch1-1

Install pulseaudio-git and sof-firmware.

Put the following in /etc/modprobe.d/sof.conf:

options snd slots=snd_soc_skl_hda_dsp

Put the following in /etc/pulse/default.pa:

load-module module-alsa-sink device=hw:0,0 channels=4
load-module module-alsa-source device=hw:0,7 channels=4

Restart and launch PulseAudio. Audio will play from all 4 speakers, but sound tinny. Solve this by doing the following:

Run alsamixer > F6 > Select sof-hda-dsp as Sound Card > Hit “M” over “Speaker” to mute it.

Sound will now play through all 4 speakers and no longer be tinny.

Foundation Series

During quarantine, I’ve been working my way through the Foundation series by Isaac Asimov.

  • Prelude to Foundation
  • Forward the Foundation
  • Foundation
  • Foundation and Empire (audiobook)
  • Second Foundation (audiobook)
  • Foundation’s Edge (in progress)

Great people of the series so far: Seldon, Hardin, Mallow, Devers, Meese, Arcadia, Arcadia’s dad (forget his name), the person Arcadia went to Calgan with (forget his name)

Second Foundation on Trantor? What about Star’s End? What happened there?

Moving to Raindrop.io for a bit

…for clipping. WordPress just takes too long to begin editing a new post.

Composing a new post should feel like water. The online editor is so great, but it just takes too long to load.

Groceries

Groceries list:

Essentials:

Olive oil
Butter
Garlic
Salt
Pepper
Hot sauce

Milk
Juice

Breakfast:

Breakfast tea
Milk or cream for tea

Bread (2x)
Eggs
Green onions

Fage yogurt
Granola
Fruit preserve
Banana
Berries
Dates
Honey
Pistachios

Lunch

Canned chickpeas
Cumin
Paprika
Parsley
Mint

Dinner

Gnocchi to pan fry
Sage
Potatoes

Tortillas
Beans
Canned tomatoes (crushed)
Ground beef
Avocado (or guacamole)
Salsa

Linguine
Pesto sauce
Chicken thighs

Snacks

Assorted nuts
Assorted cheeses
Assorted dried fruit
Grapes
Beer