I just installed Ubuntu 24.04 on a Levono Thinkpad E16. With earlier versions of Ubuntu on different machines I would have two audio output devices to choose from: The internal laptop speaker and headphones.
Now I have only one device shown: "Headphones - Family 17h/19h HD Audio Controller". With and without an actual headphone connected sound always plays through the laptop speaker. If I connect a headphone sound also plays through it. But I cannot silence the laptop speaker without silencing the headphone.
Is this a problem of Levono thinkpads or can I get back to a situation where I can choose between the laptop speaker and the actual headphone?
To make sure it's not a hardware problem I booted into Windows. There I can choose between laptop speaker and headphone.
I also think that I could listen to sound only on my headphone and not through the speaker for some time afte the first install of Ubuntu. Could a recent update of udev or clould-init have caused the problem?