Good evening!
Notebook ASUS X555LJ on Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz
Installed FreeBSD 10.2 RELEASE amd64 and then update to 11-CURRENT amd64.
There is a need to switch the single jack from Headphones mode to Line-in mode or Mic. Need record sound from this jack.
	
	
	
		
No devices installed from userspace.
after
	
	
	
		
Change mode made by /boot/device.hints:
	
	
	
		
But this not work and device pcm2 disappear
Also not working are the following options:
	
	
	
		
Work only one variant, but mode continue headphones:
	
	
	
		
Detailed analysis of the snd_hda(4) did not give ready-made solutions.
It's all in as and seq, but how to choose correctly?
				
			Notebook ASUS X555LJ on Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz
Installed FreeBSD 10.2 RELEASE amd64 and then update to 11-CURRENT amd64.
There is a need to switch the single jack from Headphones mode to Line-in mode or Mic. Need record sound from this jack.
		Code:
	
	cat /dev/sndstat
FreeBSD Audio Driver (64bit 2009061500/amd64)
Installed devices:
pcm0: <Intel Haswell (HDMI/DP 8ch)> on hdaa0  (1p:1v/0r:0v)
pcm1: <Realtek (0x0233) (Internal Analog)> on hdaa1  (1p:4v/2r:4v) default
pcm2: <Realtek (0x0233) (Right Analog Headphones)> on hdaa1  (1p:1v/0r:0v)after
 sysctl hw.snd.verbose=1
		Code:
	
	sysctl dev.hdac.1.pindump=1 && dmesg
hdaa1: Dumping AFG pins:
hdaa1: nid  0x  as seq device  conn  jack  loc  color  misc
hdaa1: 18 40000000 0  0  Line-out  None  Unknown 0x00  Unknown 0 DISA
hdaa1:  Caps: IN   
hdaa1: 20 90170110 1  0  Speaker  Fixed Analog  Internal  Unknown 1
hdaa1:  Caps:  OUT  EAPD  Sense: 0x00000000 (disconnected)
hdaa1: 23 411111f0 15 0  Speaker  None  1/8  Rear  Black  1 DISA
hdaa1:  Caps:  OUT   
hdaa1: 24 411111f0 15 0  Speaker  None  1/8  Rear  Black  1 DISA
hdaa1:  Caps: IN  VREF Sense: 0x00000000 (disconnected)
hdaa1: 25 411111f0 15 0  Speaker  None  1/8  Rear  Black  1 DISA
hdaa1:  Caps: IN  VREF Sense: 0x00000000 (disconnected)
hdaa1: 26 411111f0 15 0  Speaker  None  1/8  Rear  Black  1 DISA
hdaa1:  Caps: IN  VREF Sense: 0x00000000 (disconnected)
hdaa1: 27 90a70130 3  0  Mic  Fixed Analog  Internal  Unknown 1
hdaa1:  Caps: IN OUT HP EAPD VREF Sense: 0x00000000 (disconnected)
hdaa1: 30 411111f0 15 0  Speaker  None  1/8  Rear  Black  1 DISA
hdaa1:  Caps:  OUT  Sense: 0x00000000 (disconnected)
hdaa1: [B]33[/B] 04211020 2  0  [B]Headphones[/B]  Jack  1/8  Right  Black  0
hdaa1:  Caps:  OUT HP EAPD  Sense: 0x00000000 (disconnected)
hdaa1: NumGPIO=3 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa1:  GPIO0: disabled
hdaa1:  GPIO1: disabled
hdaa1:  GPIO2: disabled
		Code:
	
	hint.hdac.1.cad0.nid33.config="as=2 seq=1 device=Line-in conn=Jack loc=Right color=Blue"But this not work and device pcm2 disappear
Also not working are the following options:
		Code:
	
	hint.hdac.1.cad0.nid33.config="as=2 seq=0 device=Line-in conn=Jack loc=Right color=Blue"
hint.hdac.1.cad0.nid33.config="as=2 seq=0 device=Mic"
hint.hdac.1.cad0.nid33.config="as=2 seq=0 device=Line-in conn=Jack loc=Rear color=Blue"
hint.hdac.1.cad0.nid33.config="as=2 seq=1 device=Line-in conn=Jack loc=Right color=Blue"
hint.hdac.1.cad0.nid33.config="as=3 seq=15 device=Line-in conn=Jack loc=Rear color=Blue"
hint.hdac.1.cad0.nid33.config="as=3 seq=1 device=Line-in"
hint.hdac.1.cad0.nid33.config="as=3 seq=1 device=Mic"
hint.hdac.1.cad0.nid33.config="as=4 seq=15 device=Line-in conn=Jack"
hint.hdac.1.cad0.nid33.config="as=4 seq=0 device=Line-in"
hint.hdac.1.cad0.nid33.config="as=5 seq=0 device=Line-in"
hint.hdac.1.cad0.nid33.config="as=6 seq=0 device=Line-in"
hint.hdac.1.cad0.nid33.config="as=7 seq=0 device=Line-in"
		Code:
	
	hint.hdac.1.cad0.nid33.config="as=2 seq=15"It's all in as and seq, but how to choose correctly?
 
			     
 
		 
			 
 
		
 please explain.
 please explain. 
 
		 
			