How to set up HDA quirk for new Laptop

view full story

http://askubuntu.com – I've got a Thinkpad X230 with a dock. The system uses a Realtek ALC269 codec. In order to make the audio output on the dock work I have to tweak a PIN config for the codec using HDAAnalyzer as mentioned in another question. In this case I need to unmute and enable output on node 0x1b. What is the best way to set this HDA pin config tweak to happen properly on boot? Note that this does not need to happen on dock/undock a it behaves fine when undocked with the tweaks made. My understanding is that these tweaks are usually made in the kernel sound drivers, but that since this is a source of per (HowTos)