[alsa-devel] ASUS T100TAM UCM

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Thu Jan 23 14:55:42 CET 2020



On 1/23/20 6:49 AM, Michal Feix wrote:
> Hello,
> 
> there is no sound working via speakers or headphones jack on Asus 
> T100TAM. Sound works correctly via HDMI or Bluetooth headphones. The 
> chip on this Baytrail machine is correctly recognized as bytcr_rt5640. 
>  From dmesg:
> 
> bytcr_rt5640 bytcr_rt5640: quirk DMIC1_MAP enabled
> bytcr_rt5640 bytcr_rt5640: quirk realtek,jack-detect-source 3
> bytcr_rt5640 bytcr_rt5640: quirk realtek,over-current-threshold-microamp 
> 2000
> bytcr_rt5640 bytcr_rt5640: quirk realtek,over-current-scale-factor 1
> bytcr_rt5640 bytcr_rt5640: quirk MCLK_EN enabled
> bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
> bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> deepbuffer-cpu-dai 
> mapping ok
> bytcr_rt5640 bytcr_rt5640: rt5640-aif1 <-> ssp2-port mapping ok
> input: bytcr-rt5640 Headset as 
> /devices/platform/80860F28:00/bytcr_rt5640/sound/card0/input17
> 
> After bootup, kernel log is filled with: "Baytrail Audio Port: ASoC: no 
> backend DAIs enabled for Baytrail Audio Port" messages. I do understand 
> this is due to the missing UCM profile for the machine.

what do you mean with 'missing UCM profile'? It's been available for 
many moons, and we worked with Jaroslav/Hans to update for UCMv2.

You should be able to use alsa-ucm and configure things manually, e.g.

alsaucm -c bytcr-rt5640 set _verb HiFi set _enadev Headphones

alsaucm -c bytcr-rt5640 set _verb HiFi set _enadev Speaker

> 
> I've successfully uploaded the output of alsa-info.sh.
> 
> I'm on Arch linux, with latest alsa-ucm-conf 1.2.1.2 which seems not to 
> be sufficient to make sound working on this thing. Is there anything I 
> can provide to help smart Alsa people to help with this?

Can you try the command above and use speaker-test -Dhw:0,0 -c2 -r48000?


More information about the Alsa-devel mailing list