Dock sounds are working again
This commit is contained in:
		
							parent
							
								
									80cd0beec4
								
							
						
					
					
						commit
						64e878f67c
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		|  | @ -1,6 +1,6 @@ | |||
| #!/bin/sh | ||||
| #card="$(aplay -l | sed -n 's/^card [0-9]*: \(\w*\).*/\1/p' | tail -1)" | ||||
| card=PCH | ||||
| card="$(aplay -l | sed -n 's/^card [0-9]*: \(\w*\).*/\1/p' | tail -1)" | ||||
| #card=PCH | ||||
| control="$(amixer -c "$card" scontrols | sed -n "1s/.*'\(.*\)'.*/\1/p")" | ||||
| 
 | ||||
| uplimit="$(amixer -c "$card" get "$control" | grep "Limits:" | tr -s ' ' | cut -d' ' -f6)" | ||||
|  |  | |||
							
								
								
									
										6
									
								
								profile
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								profile
									
										
									
									
									
								
							|  | @ -27,9 +27,9 @@ export LC_ALL=en_US.utf8 | |||
| 
 | ||||
| # Select Dock sound card if it's there | ||||
| #(it's broken) | ||||
| #if [ -e /proc/asound/Dock ]; then | ||||
| #	export ALSA_CARD=Dock | ||||
| #fi | ||||
| if [ -e /proc/asound/Dock ]; then | ||||
| 	export ALSA_CARD=Dock | ||||
| fi | ||||
| 
 | ||||
| #stty -ixon # disable <C-s> | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Van der Jeugt
						Felix Van der Jeugt