Hi all.
I have a laptop (Lenovo X220) plugged into a docking station and I would like to have sound played through the speakers which are plugged into the headphone port at the back of the docking station. At the moment, when I plug my speakers into the dock, I get nothing.
Generally the sound works well (as do all other functions of the dock). When my laptop is not in the dock, sound plays normally through the laptop speakers, and when I plug the speakers into the laptop (not dock) it plays normally through the speakers, over HDMI, etc...
But when the laptop is in the dock, I can use only either the built-in laptop speakers or my external speakers (if plugged into the headphone port on the laptop).
I'd really like to just plug my speakers into the dock, and not have to keep messing around with the cables.
Can anyone point me in the right direction?
When I plug the speakers into the laptop headphone port:
	
	
	
		
When I plug into the headphones port at the back of the dock:
	
	
	
		
	
	
	
		
	
	
	
		
	
	
	
		
				
			I have a laptop (Lenovo X220) plugged into a docking station and I would like to have sound played through the speakers which are plugged into the headphone port at the back of the docking station. At the moment, when I plug my speakers into the dock, I get nothing.
Generally the sound works well (as do all other functions of the dock). When my laptop is not in the dock, sound plays normally through the laptop speakers, and when I plug the speakers into the laptop (not dock) it plays normally through the speakers, over HDMI, etc...
But when the laptop is in the dock, I can use only either the built-in laptop speakers or my external speakers (if plugged into the headphone port on the laptop).
I'd really like to just plug my speakers into the dock, and not have to keep messing around with the cables.
Can anyone point me in the right direction?
When I plug the speakers into the laptop headphone port:
 dmesg
		Code:
	
	hdaa0: Pin sense: nid=25 sense=0xffffffff (connected)
pcm0: Redirect output to: headphones
pcm0: Playback channel set is: Front Left, Front Right,
pcm0: Playback channel matrix is: 2.0 (connected)When I plug into the headphones port at the back of the dock:
 dmesg
		Code:
	
	pcm0: Redirect output to: main
pcm0: Playback channel set is: Front Left, Front Right,
pcm0: Playback channel matrix is: 2.0 (unknown) sysctl dev.hdac.0.pindump=1 && dmesg
		Code:
	
	hdaa0: Dumping AFG pins:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0: 25 0421101f 1  15 Headphones    Jack  1/8     Right      Black   0
hdaa0:     Caps:    OUT HP           Sense: 0xffffffff (connected)
hdaa0: 26 61a19050 5  0  Mic           None  1/8     Ext-Rear   Pink    0 DISA
hdaa0:     Caps: IN             VREF Sense: 0x7fffffff (disconnected)
hdaa0: 27 04a1102f 2  15 Mic           Jack  1/8     Right      Black   0
hdaa0:     Caps: IN OUT    EAPD VREF Sense: 0x7fffffff (disconnected)
hdaa0: 28 6121401f 1  15 Headphones    None  1/8     Ext-Rear   Green   0 DISA
hdaa0:     Caps:    OUT              Sense: 0x7fffffff (disconnected)
hdaa0: 29 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0:     Caps: IN OUT    EAPD      Sense: 0xffffffff (connected)
hdaa0: 30 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0:     Caps: IN                  Sense: 0xffffffff (connected)
hdaa0: 31 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown 1
hdaa0:     Caps:    OUT             
hdaa0: 32 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0:     Caps:    OUT             
hdaa0: 34 40f001f0 15 0  Other         None  Unknown 0x00       Unknown 1 DISA
hdaa0:     Caps:    OUT             
hdaa0: 35 90a60120 2  0  Mic           Fixed Digital Internal   Unknown 1
hdaa0:     Caps: IN                 
hdaa0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa1: Dumping AFG pins:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  5 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1:     Caps:    OUT              Sense: 0x40000000 (disconnected, ELD valid)
hdaa1:  6 18560020 2  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1:     Caps:    OUT              Sense: 0x40000000 (disconnected, ELD valid)
hdaa1:  7 18560030 3  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa1:     Caps:    OUT              Sense: 0x40000000 (disconnected, ELD valid)
hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0 cat /dev/sndstat
		Code:
	
	Installed devices:
pcm0: <Conexant CX20590 (Analog 2.0+HP/2.0)> (play/rec) default
pcm1: <Intel Cougar Point (HDMI/DP 8ch)> (play)
pcm2: <Intel Cougar Point (HDMI/DP 8ch)> (play)
pcm3: <Intel Cougar Point (HDMI/DP 8ch)> (play)
No devices installed from userspace.  ls /dev/dsp*
		Code:
	
	/dev/dsp0.0 
			     
 
		 
 
		 
 
		