Bug 100431 - rt5642 no sound / drivers for T100TAF
Summary: rt5642 no sound / drivers for T100TAF
Status: RESOLVED DUPLICATE of bug 86581
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-24 13:18 UTC by Luka Karinja
Modified: 2015-06-25 12:19 UTC (History)
4 users (show)

See Also:
Kernel Version: 4.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (63.80 KB, application/octet-stream)
2015-06-24 13:18 UTC, Luka Karinja
Details
DSDT (622.77 KB, text/x-dsl)
2015-06-24 13:19 UTC, Luka Karinja
Details
rt5642 patch (NOT WORKING) (9.92 KB, patch)
2015-06-24 13:20 UTC, Luka Karinja
Details | Diff

Description Luka Karinja 2015-06-24 13:18:33 UTC
Created attachment 180821 [details]
dmesg

Hello. I've been trying to get sound working on my asus T100TAF.
It has a BYT Z3735G and rt5642.

Based on the DSDT it uses SSP1 instead of SSP2 (T100TA uses that with rt5640)
I've been trying to modify the SST MFLD driver (i saw it supports SSP1 ?? ) but all i get is huge heat from the sound card and a few clicks.
The sound card shows in alsamixer

Is there a driver for the rt5642? I saw some bits and pieces in the kernel but nothing that works.

Attached my DSDT, dmesg, and my modification for rt5642 (not working)
Comment 1 Luka Karinja 2015-06-24 13:19:14 UTC
Created attachment 180831 [details]
DSDT
Comment 2 Luka Karinja 2015-06-24 13:20:05 UTC
Created attachment 180841 [details]
rt5642 patch (NOT WORKING)
Comment 3 Luka Karinja 2015-06-24 13:22:32 UTC
my amixer settings taken from T100TA:

amixer -c0 sset 'codec_out0 mix 0 pcm0_in' on
amixer -c0 sset 'media0_out mix 0 media1_in' on
amixer -c0 sset 'media1_in Gain 0' 50% 
amixer -c0 sset 'media1_in Gain 0 Ramp Delay' 50
amixer -c0 sset 'media1_in Gain 0' off
amixer -c0 sset 'pcm0_in Gain 0' 50% 
amixer -c0 sset 'pcm0_in Gain 0 Ramp Delay' 50
amixer -c0 sset 'pcm0_in Gain 0' off
amixer -c0 sset 'codec_out0 Gain 0' 50%
amixer -c0 sset 'codec_out0 Gain 0 Ramp Delay' 50
amixer -c0 sset 'codec_out0 Gain 0' off
amixer -c0 sset "DAC MIXL INF1" on
amixer -c0 sset "DAC MIXR INF1" on
amixer -c0 sset "Stereo DAC MIXL DAC L1" on
amixer -c0 sset "Stereo DAC MIXR DAC R1" on
amixer -c0 sset "SPK MIXL DAC L1" on
amixer -c0 sset "SPK MIXR DAC R1" on
amixer -c0 sset "SPOL MIX SPKVOL L" on
amixer -c0 sset "SPOR MIX SPKVOL R" on
amixer -c0 sset "SPOL MIX DAC L1" on
amixer -c0 sset "SPOR MIX DAC R1" on
amixer -c0 sset "Speaker L" on
amixer -c0 sset "Speaker R" on
amixer -c0 sset "Headphone" off
amixer -c0 sset "Ext Spk" on
Comment 4 Jarkko Nikula 2015-06-25 12:16:32 UTC
As far as I know RT5642 does have some features over RT5640 but are otherwise compatible between each other. Both are handled by sound/soc/codecs/rt5640.c.

Please change this as a duplicate of https://bugzilla.kernel.org/show_bug.cgi?id=86581. I wasn't able to change it. However that bug is not solved yet but as Vinod has released recently a new firmware for second SSP port it may make the T100TAF audio working finally.
Comment 5 Takashi Iwai 2015-06-25 12:19:59 UTC

*** This bug has been marked as a duplicate of bug 86581 ***

Note You need to log in before you can comment on or make changes to this bug.