Re: ASUS T100TAM UCM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


Thanks Pierre. I'm aware of the work done previously on Asus T100. Not sure, if Asus T100TAM is any significantly different. Just tried your suggested commands as root user:

# alsaucm -c bytcr-rt5640 set _verb HiFi set _enadev Headphones
ALSA lib ucm_subs.c:215:(uc_mgr_get_substituted_value) variable '${CardComponents}' is not defined in this context!
ALSA lib main.c:960:(snd_use_case_mgr_open) error: failed to import bytcr-rt5640 use case configuration -22
alsaucm: error failed to open sound card bytcr-rt5640: Invalid argument

# alsaucm -c bytcr-rt5640 set _verb HiFi set _enadev Speaker
ALSA lib ucm_subs.c:215:(uc_mgr_get_substituted_value) variable '${CardComponents}' is not defined in this context!
ALSA lib main.c:960:(snd_use_case_mgr_open) error: failed to import bytcr-rt5640 use case configuration -22
alsaucm: error failed to open sound card bytcr-rt5640: Invalid argument

I also tried this:

# alsaucm listcards
ALSA lib utils.c:261:(uc_mgr_config_load) could not open configuration file /usr/share/alsa/ucm2/HDA Intel PCH/HDA Intel PCH.conf
alsaucm: error failed to get card list: No such file or directory

There really is no such file "HDA Intel PCH.conf" in HDA Intel PCH directory, but I do not see any such file in the alsa-ucm-conf package downloaded from origin Alsa site.

--
Michal Feix
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux