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 X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C530C433B4 for ; Fri, 16 Apr 2021 16:08:25 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8D34F611C2 for ; Fri, 16 Apr 2021 16:08:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8D34F611C2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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 F097D16C1; Fri, 16 Apr 2021 18:07:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz F097D16C1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1618589303; bh=7A74cTZdZAVgnxs5pu+uMSliznPVvJ9YpjHI6IT4YvI=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=SB0E12VSa4iItEiEDasDs6aqcAeU4djqyqyj4BXNbUDxO8cPGIYJ/mYBYy51xdwDJ l+j5TwbfERNB3TJhTLKpvZbMJQYHkrTQ2VH66oiczoztSt71qxbBSDUizI6SMdeTsM qYtQsx5QVu7PO1ld63G5Bd/ZcohVQte/6LXROc08= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 85D5EF80271; Fri, 16 Apr 2021 18:07:10 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D0D6FF80273; Fri, 16 Apr 2021 18:07:08 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 1318AF80269 for ; Fri, 16 Apr 2021 18:07:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1318AF80269 IronPort-SDR: vcVZuC5b2UwWAv6/Vki8MhO5dw2qwBsjkY7VPUAb6ZLegeCJSrjmu4/408O79pGTrdsABAwnUI 5C5FbAmtF+Jw== X-IronPort-AV: E=McAfee;i="6200,9189,9956"; a="280379376" X-IronPort-AV: E=Sophos;i="5.82,226,1613462400"; d="scan'208";a="280379376" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2021 09:06:02 -0700 IronPort-SDR: 6GtPivPQnFbNzuw33E38dhZAHiEJBJjC6VJoHI9uFNZHs3fWpHdG9/j7xP6M0Yv1JEmRc+MtZB JueIKLhPm1uA== X-IronPort-AV: E=Sophos;i="5.82,226,1613462400"; d="scan'208";a="615993218" Received: from jaolanlo-mobl.amr.corp.intel.com (HELO [10.212.2.231]) ([10.212.2.231]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2021 09:06:01 -0700 Subject: Re: [PATCH] ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740 To: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, Kailang Yang References: <20210416081211.20059-1-tiwai@suse.de> From: Pierre-Louis Bossart Message-ID: Date: Fri, 16 Apr 2021 11:05:17 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Cc: Ryan Prescott 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 4/16/21 3:47 AM, Jaroslav Kysela wrote: > Dne 16. 04. 21 v 10:12 Takashi Iwai napsal(a): >> Lenovo Ideapad S740 requires quite a few COEF setups to make its >> speakers working. The verb table was provided from Ryan Prescott as >> the result of investigation via qemu: >> https://github.com/ryanprescott/realtek-verb-tools/wiki/How-to-sniff-verbs-from-a-Windows-sound-driver > > [Cc: to Kailang / Realtek] > > I believe that this sequence contains I2C writes to amplifier chips. It would > be really helpful, if Realtek can provide more information for the I2C master > interface for their codecs (describe basic I2C I/O). The biggest problem is to figure what address/value pairs to write with I2C into the amplifiers, and here the catch is that those I2C/I2S amplifiers may or may not be sourced from Realtek, and it'd be difficult for Realtek to provide documentation on their competition, wouldn't it?