lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2212201530500.9000@cbobk.fhfr.pm>
Date:   Tue, 20 Dec 2022 15:31:20 +0100 (CET)
From:   Jiri Kosina <jikos@...nel.org>
To:     José Expósito <jose.exposito89@...il.com>
cc:     benjamin.tissoires@...hat.com, rydberg@...math.org,
        linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND 0/1] HID: input: map battery system charging

On Thu, 24 Nov 2022, José Expósito wrote:

> Hi everyone,
> 
> This patch adds support for reporting battery status (charging/discharging)
> for devices with a charging usage in their HID descriptor:
> 
> 	0x05, 0x85,         /*      Usage Page (Battery System),    */
> 	0x09, 0x44,         /*      Usage Page (Charging),          */
> 
> I tested it on Apple hardware (mouse, trackpad and keyboard) as well as
> on UCLogic tablets with battery [1].
> 
> On other hardware (HID_DC_BATTERYSTRENGTH or digitizers with battery)
> discharging should be reported for backwards compatibility.
> I did my best to keep the old behaviour by adding KUnit tests; However,
> I don't own any of those devices, so I'd appreciate any help testing
> the patch from someone with the actual hardware.

I have applied this to hid.git#for-6.3/hid-core so that we get early 
testing coverage in linux-next as soon as 6.2-rc1 is out.

Thanks,

-- 
Jiri Kosina
SUSE Labs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ