X301 audio

From TykWiki
Jump to navigationJump to search

I have a Lenovo X301 laptop with FreeBSD on it.

To get the speakers to stop playing and the headphones to start playing when I plug in the headphones, I have the following bit in /boot/device.hints:

hint.hdac.0.cad0.nid22.config="as=1 seq=15 device=Headphones"
hint.hdac.0.cad0.nid26.config="as=1 seq=0 device=Speaker"
hint.hdac.0.cad0.nid24.config="as=2 seq=15"
hint.hdac.0.cad0.nid29.config="as=2 seq=0"