Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp796819rwb; Wed, 9 Nov 2022 08:43:13 -0800 (PST) X-Google-Smtp-Source: AMsMyM4lSUb4PlCBOHt0CRGUGoYUIW8HchBTVGaMqISYLziy9nr4lhvrnCakTgpvxHYywpa5FWjj X-Received: by 2002:a17:906:3a55:b0:78d:f796:c00d with SMTP id a21-20020a1709063a5500b0078df796c00dmr1346900ejf.251.1668012192984; Wed, 09 Nov 2022 08:43:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668012192; cv=none; d=google.com; s=arc-20160816; b=GUz0C0VPOHNJ1cwbY6mk2Xwpj5satBwo6wTUhEJ6nVpSDHU9i8F1cRoSCoDvvXpiwL 3yZyQncQOXqSHR/YF02vgHcRM216Pj5UVWAcMl9ilGXW7cLstq70B4Y/knQsFFCbK0dP proNwKGX+KU3MJixy7IaNHIRoSwyzbngiFSb7sdlM3AdPcKKTFiWwRUD3gQrXAb4Gigu 5sUuki4+qhsJLkXsWGf7Jm/XrV+E9IT43FFoovZ2a6XeoXaFYtLp4XMvF93qNjkaF+03 g1Jla5Ps9MjjFoNgXH6un/evPAfz1SxSs1cvsTQRMI1QyYTjvd3ZW+woB8mHZrqI/PTm KhpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=RakO7xvoptPhAzAI7Z/09/yTP105OR0vezqrM2s9nU0=; b=jC/Az4E7mc9cHhST/Z8AwhsxUKIeXFwHOFbbICtfE1ZlKpz0bRxGEb746Ryf3hexmw 5O7tbv3Cppes/C0YBWUSMJvgdZZ6E9C5WCnLSOLQ/s69ZqZaCiUeZufM6nCCWiOu+yl6 2R8qKYE1tMJO8kJEb8x50+F4ymW4D9PxveGs65OtlsnAMxe3LcyS8CLAGZbYAJcRkT6R mkBK2/+bLqQl8KRZU5PgNcqgYLPgTguaxUjKXJ667uWP5Muvn3923aNipPw3Mf28sGwB 0sjzBJ7YI1XSI10ELtluuUGcRR4ZA4D4OxJ3HqT5edEC8A1C/tLizIXGN/w0PGXn315C JfRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IUarMSbn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb6-20020a1709070a0600b007acbaeed9besi16845466ejc.398.2022.11.09.08.42.49; Wed, 09 Nov 2022 08:43:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IUarMSbn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229967AbiKIQjk (ORCPT + 92 others); Wed, 9 Nov 2022 11:39:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbiKIQjI (ORCPT ); Wed, 9 Nov 2022 11:39:08 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40AD81CFED for ; Wed, 9 Nov 2022 08:38:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668011891; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RakO7xvoptPhAzAI7Z/09/yTP105OR0vezqrM2s9nU0=; b=IUarMSbns2SXPaw4nANME3SepWHnKImt3W537SHMuM1x624L+BPVYAk8GZ8VOQTbzrQkjJ SwXxsHu14CzEV6OFdzFAQdNIYpxabDZdSMV/A5qVInADnvlTX2Ev+dU71wqg3e8ChoC0RH JQitLJ0H8FOVVkcqGSZCAL4M2B/J20Q= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-664-Jo1uINW_PkiZYfjeTQleAw-1; Wed, 09 Nov 2022 11:38:10 -0500 X-MC-Unique: Jo1uINW_PkiZYfjeTQleAw-1 Received: by mail-ej1-f70.google.com with SMTP id hb35-20020a170907162300b007ae6746f240so5528888ejc.12 for ; Wed, 09 Nov 2022 08:38:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RakO7xvoptPhAzAI7Z/09/yTP105OR0vezqrM2s9nU0=; b=dlWrQA33DCo80L3Ai/crekt21a0XSlvE4MCWbqGX0Ll6EM36YwPiyn3786ah5RNlvk pA+j7OkAKf4fmhSgOBsaEPngpck6dKCWpoLaeZzK9Typg9wRrOEZh3j+m5nNZetsGN88 We1l8BpEIODMLfyRb04o+evW/6CBOIBIykwmxU9mgyqbLOpXdXdonLGxLlA46F7ObBYt Dwap7Ih6dE5XsPFQ6FNaXCrBjK8k6U7gRz3TvCvo9X/qtc6PO6EHg65CjTC9xFD6qNXD 7AQ1T5IC+XJsaWRAqkU91ucNNpEjzMTwM1NcpITUf1hIYhAcSTXgMUhjNceSxmt5FIHY 4RBw== X-Gm-Message-State: ACrzQf3nzVlbnt7squGpY80Vv+wmh8ObcaOMxWrTH5Uhg1/XyMkHMBRu wSdf+2gZtDQwXFtni5Ip80hENH67ZomTHf0m7QRLM8UT1qa4uauYukqPy4Pjrgc+jBvmbZiXvre qDm4+h3MV0nrwwsp8SAGgQl5J X-Received: by 2002:a17:907:847:b0:77f:f489:cc25 with SMTP id ww7-20020a170907084700b0077ff489cc25mr56622687ejb.80.1668011888936; Wed, 09 Nov 2022 08:38:08 -0800 (PST) X-Received: by 2002:a17:907:847:b0:77f:f489:cc25 with SMTP id ww7-20020a170907084700b0077ff489cc25mr56622677ejb.80.1668011888742; Wed, 09 Nov 2022 08:38:08 -0800 (PST) Received: from ?IPV6:2001:1c00:c1e:bf00:d69d:5353:dba5:ee81? (2001-1c00-0c1e-bf00-d69d-5353-dba5-ee81.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:d69d:5353:dba5:ee81]) by smtp.gmail.com with ESMTPSA id a16-20020a170906369000b0078d9c2c8250sm6012273ejc.84.2022.11.09.08.38.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Nov 2022 08:38:08 -0800 (PST) Message-ID: <9e0074f8-4cbf-e390-6680-39fe3649bbc4@redhat.com> Date: Wed, 9 Nov 2022 17:38:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH v2 0/7] Add camera access keys, IdeaPad driver improvements Content-Language: en-US, nl To: =?UTF-8?Q?Eray_Or=c3=a7unus?= , ike.pan@canonical.com Cc: benjamin.tissoires@redhat.com, dmitry.torokhov@gmail.com, jikos@kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, mgross@linux.intel.com, platform-driver-x86@vger.kernel.org, pobrn@protonmail.com References: <20221029120311.11152-1-erayorcunus@gmail.com> <0b298830-47cc-bb94-0e73-493e4e9244f7@canonical.com> <20221109125820.14879-1-erayorcunus@gmail.com> From: Hans de Goede In-Reply-To: <20221109125820.14879-1-erayorcunus@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Eray, Sorry for the long silence, I have not done any pdx86 patch review the last 2 weeks due to personal circumstances. On 11/9/22 13:58, Eray Orçunus wrote: > On 11/08/22 06:56, Ike Panhc wrote: >> On 10/29/22 20:03, Eray Orçunus wrote: >>> Nowadays many laptops have camera access keys, yet there is no usage codes >>> mapped to them, even though it's introduced in HUTRR72. Start point of >>> this patch series was adding it and making IdeaPads send it to userspace. >>> But later I discovered that camera_power attribute of ideapad-laptop >>> driver on my IdeaPad 520-15IKB doesn't work, so I can't toggle it with >>> that. I managed to find a way to check whether an IdeaPad supports >>> camera_power attribute (which sends VPCCMD_W_CAMERA to EC), don't expose >>> it to sysfs so userspace will know that it can't toggle camera access via >>> camera_power, in my case, after receiving KEY_CAMERA_ACCESS_TOGGLE. >>> >>> Along the way I discovered that old IdeaPads, like S10-3, may not be able >>> to toggle their touchpad as a regression of a commit aimed for newer >>> IdeaPads, so I reverted it. >>> >>> Also I noticed that I can get/set the state of my keyboard light, >>> so one of the patches also adds supports for this kind of keyboard lights, >>> which I call "partially supported keyboard lights". I expect that commit >>> to add keyboard light support for 520-15IKB, 330-17ICH, 5 (15) and more. >>> Currently only tested on 520-15IKB. >> >> Thanks. Also test on my ideapad s410 and it looks good. >> >> Acked-by: Ike Panhc > > > Thank you :) > > I need some advice since I'm new in here, sadly another patch has been > merged to ideapad-laptop along the way and currently it's not possible to > merge patch #7, does that mean I should send v3 of my patch series? No that is not necessary, I can rework it to apply on top of the other patch. But TBH I think we really need to work on a different solution for the problem with the touchpad issues with ideapad-laptop we cannot just keep adding touchpad and/or DMI ids because the driver is breaking touchpad functionality left and right. I will send out an email after this one to all authors of recent patches which all do "priv->features.touchpad_ctrl_via_ec = 0" in some way. With a request to gather some more info of why exactly this is necessary and to see if we cannot come up with a more generic fix. > And whom should I wait for merge, x86 platform drivers maintainers? I'm the x86 platform drivers maintainer. I believe it makes sense to merge this series through the x86 platform drivers git tree. I need to coordinate the merging of patch 2/7 with wDmitry (the input subsystem maintainer) I'll send him an email about this. After that I can likely merge patches 2-6. For the touchpad patches I would first like to get a better handle on how to fix things more generic. Specifically patch 1/7 will cause priv->features.touchpad_ctrl_via_ec to get set to 1 on more models and since that is causing issues I don't think that is a good idea (even though the patch does make sense) and for 7/7 I hope to come up with something more generic. If you can run the tests from the touchpad mail soon that would really help! Note I do plan to send 7/7 out as a fix for 6.1 if we run out of time wrt coming up with a recent fix. Getting at least some fix out the door is also why I already merged the other patch using the DMI ids. > I think that is the only subsystem whose maintainers haven't replied yet. Correct, but I have replied now :) Regards, Hans