Received: by 2002:a05:6358:795:b0:dc:4c66:fc3e with SMTP id n21csp533697rwj; Sat, 29 Oct 2022 07:04:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM76Qm+Nc4qpy6EUoMzG1G0TEvZws/i2sxsSmlkKP7lVdiEe2FgaZ1o1dVLvqFth1iLyz8ab X-Received: by 2002:a17:907:72d6:b0:79b:8cce:112a with SMTP id du22-20020a17090772d600b0079b8cce112amr4036454ejc.118.1667052249752; Sat, 29 Oct 2022 07:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667052249; cv=none; d=google.com; s=arc-20160816; b=upw7/367Swol7f1J0sMXJ1+tyqmCq2BFZUjbHmyHPcbbNtRr+TOdMDAPmnjWWWYJX7 KovBK55LxwmBXGV7ogm4/XH5f2uySIi8xDsOO3WWSOk3CuSOiy/F/LScuJOQsf3Z++He nVUKXbqBAfJhGEbuBO25t0Sbs104BOZiYQ/pov60Dz2AVoMI1a6TXv2BsZqvjmHVKWth Fl1cyJTSWnP+r8RiB+OZMmKLFJfUAJPoQ3uR/2fuQMhvgQFug1mFthLUvg1rBimoYATN AH8b6yuGGZS/f3LXgXMp8pF4UTypxGkPj4mdm46i9+agFLlN8RsxT+8xz8Ct6F9elBYG 6NyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:references:in-reply-to:subject:cc:to:from:dkim-signature :date; bh=kUdiw4ahjwJwkABVSWcAn3AL0mmdeXZ3h2UHy5jAxlM=; b=uJug7YDLeYL+DS3l90Jb5SXHIHK7U1ScShDSsy9JnP/gDDv0End++Hz5crRYHHuPvF KK1I19PhNTbtfDD0DWG7uFV6c9DywR/5z2FS/g0aukjt1WOCNm+i3ZiSFTckHCjDlCmz +4yDzeB7Rdlw7237+VMI/QhVicv6MNY1Jz9AJrMWhIjhJlkXvS2Ssl5cd0Y25RPDi07I cK1Tq7hlZ8/lZ7uxp/yl3LJ05WNmHJPLHFpBTGbne1QNCSSNCZR1a+XHpSJBAgAHeB6q Viwg3yhGOOMa6E3lkbBCwt4M6K+GS2YXhcomiOr1dDMC9RiIyHDIFrJpvqW4tu3W9WYZ NrJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redpilled.dev header.s=mail header.b=EUjxdw4F; 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=redpilled.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t19-20020a170906179300b0073d581b0906si1605000eje.278.2022.10.29.07.03.33; Sat, 29 Oct 2022 07:04:09 -0700 (PDT) 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=@redpilled.dev header.s=mail header.b=EUjxdw4F; 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=redpilled.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229635AbiJ2Nza (ORCPT + 99 others); Sat, 29 Oct 2022 09:55:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbiJ2Nz2 (ORCPT ); Sat, 29 Oct 2022 09:55:28 -0400 X-Greylist: delayed 48431 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 29 Oct 2022 06:55:27 PDT Received: from redpilled.dev (redpilled.dev [195.201.122.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 771F532D95; Sat, 29 Oct 2022 06:55:27 -0700 (PDT) Date: Sat, 29 Oct 2022 16:55:21 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redpilled.dev; s=mail; t=1667051724; bh=kUdiw4ahjwJwkABVSWcAn3AL0mmdeXZ3h2UHy5jAxlM=; h=Date:From:To:CC:Subject:In-Reply-To:References; b=EUjxdw4FqDssq+J5Dd5ZMQ+slA3tgglJKCIb0pTR5+SXg+D3LmeQS7HhhmYcXkvYk rIGkytqO0BXqx/pdAqfwlUF6nrrkIti85Z0ie0Sd6fn9gcl+83uvOqoIspA4/mbFiv M2bbQWvfzs2VptPjWbQMrKxEZfhu2cxdjNo3Z1mE= From: Mia Kanashi To: =?ISO-8859-1?Q?Jos=E9_Exp=F3sito?= CC: jikos@kernel.org, benjamin.tissoires@redhat.com, spbnick@gmail.com, pobrn@protonmail.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Andreas Grosse Subject: Re: [PATCH v2] HID: uclogic: Add support for XP-PEN Deco LW In-Reply-To: <21CA0A00-1B9F-4E97-B942-A3B7CAA2B52E@redpilled.dev> References: <20221028082348.22386-1-jose.exposito89@gmail.com> <20221029075832.GA8790@elementary> <21CA0A00-1B9F-4E97-B942-A3B7CAA2B52E@redpilled.dev> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS 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 >>[1] Actually it should be set to discharging until this gets merged: >> https://lore=2Ekernel=2Eorg/linux-input/20221028181849=2E23157-1-jos= e=2Eexposito89@gmail=2Ecom/T/ > >But i also currently applied this ^ patch, i will try testing without it = and then report=2E Tested without it, same issue=2E So yeah it seems that hid-input driver can set supply status to dischargin= g before setting a battery capacity?=20