Hi Mark,
On 2017-08-07 04:24, Mark Kettenis wrote:
Date: Fri, 04 Aug 2017 11:48:19 -0400
From: Michael Reed <[email protected]>
My thinkpad x200, which runs libreboot (not sure if that's important),
uses the azalia(4) audio driver:
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev
0x03:
msi
azalia0: codecs: Conexant CX20561
audio0 at azalia0
Here's the issue:
> run "cat /dev/random > /dev/audio"
>> noise is now playing through laptop speakers
> plug headphones into headphone jack
>> noise is now playing through laptop speakers AND headphones
This is very likely to be self-inflicted, as in related to the fact
that you're running libreboot. It's the job of the BIOS to initialize
the audio codec to reflect the actual wiring of the hardware. The
headphone jack is probably connected to a gpio pin that needs to be
set up properly to trigger when you insert the headphones. It is not
inconceivable that the original BIOS handled this in SMM mode. Not
much that we can do about this in OpenBSD.
The best thing would be to look at the libreboot code and see if you
can fix it to set things up correctly.
Cheers,
Mark
It seems you are right: having just re-flashed the stock BIOS again,
headphone jack switching now works as expected.
Michael