From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4EB4FC433EF for ; Tue, 25 Jan 2022 15:42:16 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B105A1B3B; Tue, 25 Jan 2022 16:41:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B105A1B3B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1643125333; bh=miMZOwd5bKC0Or0DykIpzXNDbiB3oXzAqUnhdMv8zcE=; h=Date:Subject:To:References:From:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=mSlqCPpAR/+IpvRuIXv+XXoAWVI5L/EBJRIfaFV8LRXU69F1TWR9n2NinXO4N4Ojd FcK26q4r6dUnWq0zGcJ84iDQcRLL7nZX5vm9qxr9MRlWeGHzPOldV+6Lj60TimPooD uNXLGtTDbB1GUEyS8nI78X3+70JkKzQXT1v5cRfo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 4413AF80169; Tue, 25 Jan 2022 16:41:23 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 95463F804C3; Tue, 25 Jan 2022 16:41:21 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CCEB9F800D1 for ; Tue, 25 Jan 2022 16:41:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CCEB9F800D1 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="GfXc78SH" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643125276; x=1674661276; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=miMZOwd5bKC0Or0DykIpzXNDbiB3oXzAqUnhdMv8zcE=; b=GfXc78SH9uOb/zp+M8nHJz8Y3Kxa4SUNQ3F3uipHcnmPBck6tZLh8ae7 d4egAOmFSJdWKdUBV6a+djjYEzIpcJjzV9AuZRsnvTRBxo9QzPNcCnBA9 zjFJPyw8KqVnaazi3FSLf5Rc4m6Hwtoicvz2MiBD2bsfvlxV065GuaoFU clkW5Rzy6hg1KRyIMbWVkNv3wt7Tt5mM3sLqU1AifhNWCYfAxBWcpkY5s OF2VzPEX7QdsEGqzM3761FGHekRGQ3dONt5QdsOxrFA5FS7Gh2GIRtanq MEX/qSwUKdL72V/PgE3MP3HW2Ghwk2qW08Wbz2DX5FwZM1QNdxR2F0Umy g==; X-IronPort-AV: E=McAfee;i="6200,9189,10237"; a="233702384" X-IronPort-AV: E=Sophos;i="5.88,315,1635231600"; d="scan'208";a="233702384" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 07:41:08 -0800 X-IronPort-AV: E=Sophos;i="5.88,315,1635231600"; d="scan'208";a="477147955" Received: from rchapman-mobl1.amr.corp.intel.com (HELO [10.212.41.185]) ([10.212.41.185]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 07:41:08 -0800 Message-ID: Date: Tue, 25 Jan 2022 09:41:07 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.5.0 Subject: Re: No sound on gpd pocket 3 Content-Language: en-US To: anthony tonitch References: <1164c015-46b3-1efc-b5ce-044cc3492b78@linux.intel.com> From: Pierre-Louis Bossart In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 1/25/22 03:07, anthony tonitch wrote: > Le lun. 24 janv. 2022 à 20:02, Pierre-Louis Bossart > a écrit : >> ah, now it's starting to make sense. >> >> I am afraid you have the ES8316 codec, or one of its variants. >> /sys/bus/acpi/devices/ESSX8326:00/status 15 >> >> so no you don't want to use options snd-intel-dspcfg dsp_driver=1 but >> >> options snd-intel-dspcfg dsp_driver=3 >> >> The auto-detection don't work because we use a different codec HID for >> the driver selection >> >> >> { >> .flags = FLAG_SOF, >> .device = 0x5a98, >> .codec_hid = "ESSX8336", >> }, >> >> as well as the machine driver selection >> >> { >> .id = "ESSX8336", >> .drv_name = "sof-essx8336", >> .sof_tplg_filename = "sof-glk-es8336.tplg", >> }, >> >> This is really a problematic set of devices, where absolutely all >> possible I2S links have been used, along with GPIO settings and DMICs. >> >> Please file a bug on https://github.com/thesofproject/linux/issues so >> that we can keep track of this and suggest solution. >> >> Thanks! > > I will file the bug issue later in the day but I have two question here, > > 1. does the dsp_driver=3 is supposed to work then because it doesn't > seems to ^^ maybe I did it wrong but here is the alsa info again if > you see anything > http://alsa-project.org/db/?f=847cdba9058170337515f57b460ed7bcae964af7 > > 2. Because it works for everyone else and not for me, does this mean > the chip is different and then that I have a "faulty one"? I will > obviously still try to make the sound work if I can but at least I can > contact gpd hk for an explaination > > Thanks a lot for your quick response! All the solutions we suggested will not work because of a change in your BIOS. We've only see "ESSX8336" so far and hard-coded this value, now the BIOS writers in their infinite wisdom chose a different HID (ESSX8326) which breaks all the existing matching. if you can install a new kernel, please try and provide feedback on https://github.com/thesofproject/linux/pull/3338, where I added support for more BIOS variations of the same device. I don't have any hardware to test so have to crowd-source the tests to the community, thanks for your understanding if this isn't a turn-key solution.