Shallow Thoughts : : Mar

Akkana's Musings on Open Source Computing and Technology, Science, and Nature.

Sun, 22 Mar 2026

Controlling Pipewire's Misconfigured Audio Output Sinks

One of the worst breakages from the *grade (I hesitate to call it an upgrade) to Debian Trixie was audio. The old PulseAudio setup — which had been working beautifully for the last several years — was replaced by a new sound system called Pipewire that sits on top of PulseAudio and, well, basically, breaks it.

Recently I decided it was finally time to figure out Pipewire's broken handling of audio output. The main problem: half the time, upon booting, my audio doesn't work, and if I run pavucontrol to see the configuration, I see three different HDMI audio devices as well as the laptop's built-in Intel audio chip. Most of the time my laptop is plugged in to an HDMI monitor, yes — but that monitor has no speakers or other audio hardware, so I basically never want HDMI audio. And in any case there's only one monitor connected, not three.

(And yes, there are occasionally times I might want HDMI sound, like if I want to give a presentation over a projector that uses sound. That has happened to me once in my life, so far.)

So every time I boot, there's a good chance that audio won't work and I'll have to fire up pavucontrol, go to the Output Devices tab, mute all three of the HDMI sinks, unmute the built-in speaker sink, and click the button to make the built-in speaker the default sink. (There's no way to tell what the previous default was: pavucontrol, although it has buttons to set a sink as default, doesn't show what the current default is.)

Read more ...

Tags: ,
[ 16:37 Mar 22, 2026    More linux | permalink to this entry | ]

Tue, 17 Mar 2026

USB Errors in dmesg, Solved

For many years, I've been annoyed at how my Linux computer (a Lenovo Carbon X1, gen 7) fills dmesg with errors every few seconds like:

usb usb3: root hub lost power or was reset
(sometimes it was usb4 rather than usb3, or different but obviously related messages).

It makes it hard to see real messages in dmesg. I thought (NOTE: this was a stupid assumption) that since it said "root hub", that meant it was some kind of bad hardware design in the hub that's built in to the laptop, so I just put up with it.

Recently I complained about it on #linux and someone challenged me to actually try unplugging things to figure out what was actually causing it.

Read more ...

Tags: , ,
[ 09:52 Mar 17, 2026    More linux/kernel | permalink to this entry | ]