We mounted a 7-year-old Linux kernel bug — and it is now in kernel 6.19


We mounted a 7-year-old Linux kernel bug — and it is now in kernel 6.19 1

We simply contributed a bug repair to the Linux kernel — and it began with a scrolling downside on the UHK. Here is the story.

In 2024, scrolling on the UHK by way of modules and mouse keys already labored effectively, however then @rightaditya appeared on GitHub and submitted a pull request to implement high-resolution scrolling on the UHK 60.

Excessive-resolution scrolling is a generic HID characteristic developed by Microsoft, then ported to the Linux kernel. I did not learn about this characteristic. @benedekkupper, our USB/Bluetooth skilled, ported this characteristic to the UHK 80, bringing high-resolution scrolling to all UHK fashions.

After utilizing high-res scrolling, it turned instantly apparent how jarring strange scrolling felt by comparability. I exploit the trackpoint module all day, and scrolling turned buttery clean and a pleasure to make use of. As a desktop person, it makes an enormous distinction when scrolling by way of internet pages within the browser or supply recordsdata in an editor.

However then I seen that scrolling was extraordinarily gradual after I suspended and resumed my PC. At first, it appeared like a typical firmware bug till Benedek not solely realized it was a Linux kernel bug but in addition submitted a kernel bug repair. Benedek seen that though we had simply hit this bug, others have been dwelling with it for 7 years!

We did not count on the repair to be merged anytime quickly, assuming a sizeable backlog, however to our shock, it was merged, and is now a part of kernel 6.19!

Apparently, newer Home windows variations produce a near-identical error after droop or reboot, which is harder to treatment, however disabling Quick Startup has been a confirmed workaround for some.

We’re nonetheless a small firm, and the thought that we have contributed to Linux, which is working on billions of gadgets, blows my thoughts. We’re tremendous pleased with Benedek.

A kernel patch from a keyboard firm. We’ll take it! And sure — we’re conscious of the irony {that a} mouse bug was mounted by a keyboard firm.

As all the time, tell us what you want to listen to about in subsequent month’s replace.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles