Linux Proposal Goals To Overcome Kernel Limitation Affecting Numerous Gaming Peripherals

This web page was created programmatically, to learn the article in its unique location you may go to the hyperlink bellow:
https://www.phoronix.com/news/Linux-Multi-Battery-HID-Devices
and if you wish to take away this text from our web site please contact us


HARDWARE

The Linux kernel’s Human Interface Devices (HID) subsystem has an current architectural limitation that there’s simply as much as one battery per HID system. But with trendy gadgets — particularly amongst numerous gaming peripherals — there may be multiple battery when contemplating earbuds with a battery for every earbud, multi-device wi-fi receivers, and many others. A proposal was raised at present to handle this limitation.

Lucas Zampieri of Red Hat despatched out the patch at present proposing help for a number of batteries per HID gadgets to beat this HID subsystem limitation of assuming as much as only one battery per system/

Logitech unifying receiver

Some of the multi-battery system eventualities thought of as a part of this proposal included:

“Multiple battery eventualities that can’t be correctly reported at present:

1. Gaming headsets with charging docks (e.g., SteelSeries Arctis Nova Pro Wireless) – headset battery reported, dock battery invisible

2. Graphics tablets with stylus batteries (Wacom) – requires driver-specific workarounds

3. Wireless earbuds with per-earbud batteries plus charging case

4. Multi-device receivers (Logitech Unifying) – requires proprietary HID++ protocol parsing

This forces producers to make use of proprietary protocols and vendor-specific software program. Community tasks parse USB packets instantly as a result of commonplace HID battery reporting can not deal with multi-battery eventualities.”

As for the proposal whereas retaining backwards compatibility:

“## Why This Matters

The present limitation creates a cycle: OS lacks help, so producers implement proprietary protocols, which makes vendor software program vital, which reduces stress to repair the OS limitation. Improving HID core help for a number of batteries would allow standardized reporting, cut back the necessity for vendor software program, enhance OS integration, cut back driver duplication, and supply a basis for future multi-battery gadgets.

## Proposed Solution

This patch introduces struct hid_battery to encapsulate particular person battery state, provides a batteries checklist to struct hid_device for monitoring a number of batteries, and makes use of report ID-based identification. The implementation maintains full backwards compatibility with current single-battery code.”

So assuming this proposal goes by means of, Linux HID drivers would be capable of correctly report a number of batteries independently per HID system.


This web page was created programmatically, to learn the article in its unique location you may go to the hyperlink bellow:
https://www.phoronix.com/news/Linux-Multi-Battery-HID-Devices
and if you wish to take away this text from our web site please contact us