Created
November 21, 2019 19:57
-
-
Save elhenro/55f69a571ae05082b5ea0cd6976af01f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
how to fix sound archlinux asus c302ca | |
1. `dsp_fw_release.bin` has to point to `/lib/firmware/intel/dsp_fw_release_v969.bin` | |
2. in `/usr/share/alsa/ucm/sklnau8825max`: | |
## `HiFi.conf` | |
``` | |
SectionVerb { | |
EnableSequence [ | |
cdev "hw:sklnau8825max" | |
cset "name='codec1_out mo media0_in mi Switch' off" | |
cset "name='codec0_out mo media0_in mi Switch' on" | |
cset "name='DAC Oversampling Rate' 128" | |
cset "name='Headset Mic Switch' off" | |
cset "name='media0_out mo codec0_in mi Switch' off" | |
cset "name='media0_out mo dmic01_hifi_in mi Switch' on" | |
cset "name='Pin5-Port0 Mux' 1" | |
cset "name='Pin6-Port0 Mux' 2" | |
cset "name='Pin7-Port0 Mux' 3" | |
] | |
DisableSequence [ | |
cdev "hw:sklnau8825max" | |
] | |
Value { | |
TQ "HiFi" | |
CapturePCM "hw:sklnau8825max,1" | |
PlaybackPCM "hw:sklnau8825max,0" | |
} | |
} | |
SectionDevice."Speaker".0 { | |
Value { | |
CoupledMixers "Left Master,Right Master" | |
PlaybackChannels "2" | |
PlaybackPriority "1" | |
} | |
EnableSequence [ | |
] | |
DisableSequence [ | |
] | |
} | |
SectionDevice."Headphone".0 { | |
Value { | |
JackName "sklnau8825max Headset Jack" | |
PlaybackChannels "2" | |
PlaybackPriority "2" | |
} | |
EnableSequence [ | |
cdev "hw:sklnau8825max" | |
cset "name='codec0_out mo media0_in mi Switch' off" | |
cset "name='codec1_out mo media0_in mi Switch' on" | |
cset "name='Headphone Jack Switch' on" | |
] | |
DisableSequence [ | |
cdev "hw:sklnau8825max" | |
cset "name='codec0_out mo media0_in mi Switch' on" | |
cset "name='codec1_out mo media0_in mi Switch' off" | |
cset "name='Headphone Jack Switch' off" | |
] | |
} | |
SectionDevice."Mic".0 { | |
Value { | |
JackName "sklnau8825max Headset Jack" | |
} | |
EnableSequence [ | |
cdev "hw:sklnau8825max" | |
cset "name='Headset Mic Switch' on" | |
cset "name='media0_out mo codec0_in mi Switch' on" | |
cset "name='media0_out mo dmic01_hifi_in mi Switch' off" | |
] | |
DisableSequence [ | |
cdev "hw:sklnau8825max" | |
cset "name='Headset Mic Switch' off" | |
cset "name='media0_out mo codec0_in mi Switch' off" | |
cset "name='media0_out mo dmic01_hifi_in mi Switch' on" | |
] | |
} | |
``` | |
## `sklnau8825max.conf` | |
``` | |
Comment "Caroline internal card" | |
SectionUseCase."HiFi" { | |
File "HiFi.conf" | |
Comment "Default" | |
} | |
``` | |
3. in `/etc/modprobe.d/c302ca-audio.conf`: `blacklist snd_hda_intel` | |
4. in ` cat /etc/modprobe.d/skylake.conf` | |
``` | |
blacklist snd_hda_intel | |
options tpm_tis interrupts=0 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment