X301 audio

From TykWiki
Revision as of 22:25, 16 October 2011 by Tykling (talk | contribs) (Created page with "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 the headphones in, I have the following bit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 the headphones in, I have the following bit in /boot/device.hints</boot>:

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"