UCM icon indicating copy to clipboard operation
UCM copied to clipboard

RDP Thinbook 1430 laptop (ES8316): Can't select between built-in speakers and headphone output

Open sundarnagarajan opened this issue 5 years ago • 3 comments

The laptop is the 14-inch RDP Thinbook 1430. It seems to be now called RDP 1430p. They also have a model 1430-EC-L sold with Linux pre-installed. I have the original 14-inch model (then called RDP Thinbook 1430) that had a 32-bit UEFI loader.

I have been working closely with this company to get the hardware working on Linux - mostly by writing a set of ISO-remastering scripts that can compile a recent kernel, and put in a few user-space scripts. You can find my github repo here.

Sound works, BUT:

  • GUI (Settings --> Sound) shows only one output
  • Even when a headphone jack is plugged in, you get sound over the headphone jack AS WELL AS the built-in speakers.

I am attaching the output of alsa-info rdp-1430-alsa-info.txt

I have also uploaded the output of alsa-info.

Attached are bytcht-es8316.conf and HiFi from /usr/share/alsa/usm/bytcht-es8316:

rdp-1430-HiFi.txt rdp-1430-bytcht-es8316.conf.txt

These files are from this github repo

When running alsa-info, I get the following error:

cat: '/sys/module/snd_soc_sst_byt_cht_es8316/parameters/*': No such file or directory

I am able and willing to perform various tests on this laptop. Please help me figure out what is worng and what needs to be done.

sundarnagarajan avatar Jul 09 '18 20:07 sundarnagarajan

The UCM file you are using gives the clue already: #Codec IC has only 1 analog out, switching SPK/HP is done externally, #probably by means of some analog switch controlled by gpio

There is nothing we can do at the UCM level, this has to be handled at a lower level (i.e. the kernel)

plbossart avatar Jul 09 '18 22:07 plbossart

OK. I get it (should have figured this out myself!). I guess my next step would be to file a kernel bug and / or reach out to es8316.c driver maintainer?

On Mon, Jul 9, 2018 at 3:39 PM Pierre Bossart [email protected] wrote:

The UCM file you are using gives the clue already: #Codec IC has only 1 analog out, switching SPK/HP is done externally, #probably by means of some analog switch controlled by gpio

There is nothing we can do at the UCM level, this has to be handled at a lower level (i.e. the kernel)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/plbossart/UCM/issues/42#issuecomment-403642315, or mute the thread https://github.com/notifications/unsubscribe-auth/ALaty8yPids9BzGrcGMf6oEKcqZUrRVJks5uE9uegaJpZM4VIWLs .

sundarnagarajan avatar Jul 09 '18 23:07 sundarnagarajan

This may answer your issue: https://github.com/plbossart/UCM/issues/41#issuecomment-508911991

srikantpatnaik avatar Jul 06 '19 09:07 srikantpatnaik