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 | #!/bin/sh | ||||||
| #card="$(aplay -l | sed -n 's/^card [0-9]*: \(\w*\).*/\1/p' | tail -1)" | card="$(aplay -l | sed -n 's/^card [0-9]*: \(\w*\).*/\1/p' | tail -1)" | ||||||
| card=PCH | #card=PCH | ||||||
| control="$(amixer -c "$card" scontrols | sed -n "1s/.*'\(.*\)'.*/\1/p")" | control="$(amixer -c "$card" scontrols | sed -n "1s/.*'\(.*\)'.*/\1/p")" | ||||||
| 
 | 
 | ||||||
| uplimit="$(amixer -c "$card" get "$control" | grep "Limits:" | tr -s ' ' | cut -d' ' -f6)" | 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 | # Select Dock sound card if it's there | ||||||
| #(it's broken) | #(it's broken) | ||||||
| #if [ -e /proc/asound/Dock ]; then | if [ -e /proc/asound/Dock ]; then | ||||||
| #	export ALSA_CARD=Dock | 	export ALSA_CARD=Dock | ||||||
| #fi | fi | ||||||
| 
 | 
 | ||||||
| #stty -ixon # disable <C-s> | #stty -ixon # disable <C-s> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Van der Jeugt
						Felix Van der Jeugt