Framework computers company has recently released new generation of their laptop.
Previously it was based on Intel Gen11th CPU. Now it's on Intel Gen12th CPU.
I got a Framework laptop v2 (Gen12th CPU) from Batch 2.
Sound didn't switch to headphones when connected. Fix it.
- Add new laptop support the same way it was done in D34596
- Add subvendor ID to existing FRAMEWORK_LAPTOP define
- Provide better user experience by default by enabling correct mic switch if headphones inserted.
Put the mic on external jack (nid11) and the embedded mic in one association.
I think this completes D34596, because with D34596 commit there are two pcm devices: one with internal mic and the other with headphones and sound output.
So you had to reconfigure sound input in the apps (for example, browser) to the second pcm (pcm1) device to use laptop's mic. Possible only in firefox as chromium uses only one default pcm unit without any ability to re-set it. Once headphones with mic connected sound input and output switches to the first pcm (pcm0).
With this addition you'll have just one pcm device where both input and output switches correctly once headphones connected/disconnected.