X301 audio: Difference between revisions
From TykWiki
Jump to navigationJump to search
(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...") |
No edit summary |
||
Line 1: | Line 1: | ||
I have a Lenovo X301 laptop with FreeBSD on it. | I have a Lenovo X301 laptop with FreeBSD on it. | ||
To get the speakers to stop playing | 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 <code>/boot/device.hints</boot>: | ||
<pre> | <pre> | ||
hint.hdac.0.cad0.nid22.config="as=1 seq=15 device=Headphones" | hint.hdac.0.cad0.nid22.config="as=1 seq=15 device=Headphones" |
Revision as of 22:26, 16 October 2011
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</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"