Bug 198159 - ES8316 soundcard not recognized
Summary: ES8316 soundcard not recognized
Status: RESOLVED WILL_NOT_FIX
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: 2017-12-13 20:58 UTC by Nerijus Baliūnas
Modified: 2020-04-25 22:49 UTC (History)
1 user (show)

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


Attachments
dmesg (63.59 KB, text/plain)
2017-12-13 20:58 UTC, Nerijus Baliūnas
Details
dmesg with the patch (65.94 KB, text/plain)
2017-12-13 21:00 UTC, Nerijus Baliūnas
Details
alsa-info (15.85 KB, text/plain)
2017-12-13 21:01 UTC, Nerijus Baliūnas
Details
dmesg 4.13.16-302.fc27.x86_64 (62.95 KB, text/plain)
2017-12-13 21:12 UTC, Nerijus Baliūnas
Details
dmesg with the patch (63.94 KB, text/plain)
2017-12-13 23:00 UTC, Nerijus Baliūnas
Details
alsa-info with the patch (15.02 KB, text/plain)
2017-12-13 23:01 UTC, Nerijus Baliūnas
Details

Description Nerijus Baliūnas 2017-12-13 20:58:41 UTC
Created attachment 261161 [details]
dmesg

Onda obook 20 plus Cherry Trail tablet, Fedora 27, kernel 4.14.3-300.fc27.x86_64.
Comment 1 Nerijus Baliūnas 2017-12-13 21:00:28 UTC
Created attachment 261163 [details]
dmesg with the patch

dmesg with the es8316-Audio-exported-gpio-controlling-SPK-analog-switch.patch (see bug 197073).
Comment 2 Nerijus Baliūnas 2017-12-13 21:01:30 UTC
Created attachment 261165 [details]
alsa-info
Comment 3 Nerijus Baliūnas 2017-12-13 21:11:48 UTC
With the original Fedora kernel modules snd_soc_es8316 and snd_soc_sst_byt_cht_es8316 are autoloaded, but not with patched kernel.
Comment 4 Nerijus Baliūnas 2017-12-13 21:12:40 UTC
Created attachment 261167 [details]
dmesg 4.13.16-302.fc27.x86_64
Comment 5 Pierre Bossart 2017-12-13 21:56:15 UTC
I can't figure out what you are reporting.
in the alas-info log, it shows you have a !0EC5645 device, which is a realtek codec( this was also shown in the dmesg shared on alsa-devel)

There is nothing remotely connected to the es8316 so I have no idea how this codec and machine driver are loaded.

Please recheck your results.
Comment 6 Nerijus Baliūnas 2017-12-13 22:43:29 UTC
On Windows device manager shows (similar to bug 197073):

sound, video and game controllers:
	- ES8316AudCodec device
		on intel serial IO i2c ES controller
		hardware lds:	ACPI\VEN_ESSX&DEV_8316
				ACPI\ESSX8316
		inf section : ESX9316AudioCodec_Device
		Matching device Id: acpi\essx8316
		Bios device name: \_SB.PCI0.I2C2.RTK1
		device 000069

	- intel SST Audio Device (WDM)
		hardware lds:	ACPI\VEN_8086&DEV_22A8
				ACPI\808622A8
		Matching device Id: acpi\808622a8
		Bios device name: \_SB.PCI0.LPEA
		device 00003c
Comment 7 Nerijus Baliūnas 2017-12-13 23:00:13 UTC
Created attachment 261169 [details]
dmesg with the patch

Ooops, the patch was adopted incorrectly for my tablet. Now corrected, 8316 modules are autoloaded.
Comment 8 Nerijus Baliūnas 2017-12-13 23:01:45 UTC
Created attachment 261171 [details]
alsa-info with the patch
Comment 9 Nerijus Baliūnas 2017-12-13 23:22:37 UTC
There is chip ES8316 on the board.
Comment 10 Pierre Bossart 2017-12-14 00:58:19 UTC
the codec driver doesn't load properly, you have an error due to a gpio configuration

[    8.564237] es8316 i2c-ESSX8316:01: Applying gpios quirk
[    8.564289] es8316 i2c-ESSX8316:01: Failed to get SPK-EN GPIO: -16
[    8.566190] es8316: probe of i2c-ESSX8316:01 failed with error -16

Can't really help on this one...

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