From: Mauro Carvalho Chehab <mchehab@kernel.org>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
Bard Liao <yung-chuan.liao@linux.intel.com>
Cc: tiwai@suse.de, alsa-devel@alsa-project.org, broonie@kernel.org,
Huajun Li <huajun.li@intel.com>,
Kai Vehmanen <kai.vehmanen@linux.intel.com>
Subject: Re: [PATCH 3/5] ASoC: Intel: add machine driver for SOF+ES8336
Date: Sun, 21 Nov 2021 19:00:35 +0000 [thread overview]
Message-ID: <20211121190035.2a5e3ad7@sal.lan> (raw)
In-Reply-To: <20211004213512.220836-4-pierre-louis.bossart@linux.intel.com>
Hi,
Em Mon, 4 Oct 2021 16:35:10 -0500
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> escreveu:
> Add machine driver to support APL/GLK/TGL platforms.
> The TGL platform supports DMIC, APL and GLK do not.
I just bought a Comet Lake notebook with ES8336, but I'm having a hard
time to make audio work on it.
some info about the system from dmidecode:
BIOS Information
Vendor: HUAWEI
Version: 1.35
Release Date: 06/23/2021
System Information
Manufacturer: HUAWEI
Product Name: BOHB-WAX9
Version: M1110
Base Board Information
Manufacturer: HUAWEI
Product Name: BOHB-WAX9-PCB-B2
Version: M1110
Some relevant data from DSDT:
* Original Table Header:
* Signature "DSDT"
* Length 0x00033D35 (212277)
* Revision 0x02
* Checksum 0x38
* OEM ID "HUAWEI"
* OEM Table ID "CML-ULT"
* OEM Revision 0x00000002 (2)
* Compiler ID " "
* Compiler Version 0x01000013 (16777235)
Device (ESSX)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "ESSX8336") // _HID: Hardware ID
Name (_CID, "ESSX8336") // _CID: Compatible ID
Name (_DDN, "ES8336") // _DDN: DOS Device Name
Name (_UID, One) // _UID: Unique ID
Name (SBUF, ResourceTemplate ()
{
I2cSerialBusV2 (0x0010, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.PCI0.I2C1",
0x00, ResourceConsumer, , Exclusive,
)
GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0000
}
GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0000
}
GpioInt (Edge, ActiveHigh, ExclusiveAndWake, PullDefault, 0x0000,
"\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0000
}
})
lpci output:
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Comet Lake PCH-LP cAVS [8086:02c8]
Subsystem: QUANTA Computer Inc Device [152d:125d]
Flags: bus master, fast devsel, latency 32, IRQ 149
Memory at b121c000 (64-bit, non-prefetchable) [size=16K]
Memory at b1000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: sof-audio-pci-intel-cnl
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl
So far I was unable to make speaker/mic to work on it on none of the
tree modes (SOF, SST, legacy). With SST, nothing is recognized.
With legacy mode, only HDMI works. With SOF, it says sound is disabled.
On SOF mode, sof-essx8336 doesn't load (it loads instead snd_soc_es8316).
While I never played with SOF, I suspect that it is because there's
no entry for ES8336 at soc-acpi-intel-cml-match.c nor there are any
firmwares for CML available at upstream sof-bin tree.
Also, it currently complains about different firmware ABIs:
[ 9.547277] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 1:9:0-fa857
[ 9.547313] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:19:0 Kernel ABI 3:18:0
[ 9.547316] sof-audio-pci-intel-cnl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[ 9.577525] sof-audio-pci-intel-cnl 0000:00:1f.3: Topology: ABI 3:19:0 Kernel ABI 3:18:0
[ 9.577536] sof-audio-pci-intel-cnl 0000:00:1f.3: warn: topology ABI is more recent than kernel
[ 9.617573] input: sof-hda-dsp HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input14
[ 9.622472] input: sof-hda-dsp HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input15
[ 9.623151] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input16
Any tips to make it start producing some sound?
More details at:
https://alsa-project.org/db/?f=29b323d31ab516c5683356f5af56a2a631085bf9
PS.: Tests were done against next-20211118.
Thanks!
Mauro
next prev parent reply other threads:[~2021-11-21 19:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-04 21:35 [PATCH 0/5] ASoC: Intel: machine driver updates for 5.16 Pierre-Louis Bossart
2021-10-04 21:35 ` [PATCH 1/5] ASoC: Intel: soc-acpi: apl/glk/tgl: add entry for devices based on ES8336 codec Pierre-Louis Bossart
2021-10-04 21:35 ` [PATCH 2/5] ALSA: intel-dsp-config: add quirk for APL/GLK/TGL " Pierre-Louis Bossart
2021-10-04 21:35 ` [PATCH 3/5] ASoC: Intel: add machine driver for SOF+ES8336 Pierre-Louis Bossart
2021-11-21 19:00 ` Mauro Carvalho Chehab [this message]
2021-11-22 16:45 ` Pierre-Louis Bossart
2021-12-23 11:45 ` Mauro Carvalho Chehab
2021-12-23 12:38 ` Mauro Carvalho Chehab
2021-10-04 21:35 ` [PATCH 4/5] ASoC: Intel: soc-acpi: add missing quirk for TGL SDCA single amp Pierre-Louis Bossart
2021-10-04 21:35 ` [PATCH 5/5] ASoC: Intel: sof_sdw: add missing quirk for Dell SKU 0A45 Pierre-Louis Bossart
2021-10-05 15:37 ` [PATCH 0/5] ASoC: Intel: machine driver updates for 5.16 Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211121190035.2a5e3ad7@sal.lan \
--to=mchehab@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=huajun.li@intel.com \
--cc=kai.vehmanen@linux.intel.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=tiwai@suse.de \
--cc=yung-chuan.liao@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.