News for hackers. Stuff that matters.
Re:A kernel developer made my styluses work again on newer k... by jauntywundrkind on Sunday November 12, 2023 @06:33PM (#38245237)
Surprise eBPF post! Writing eBPF code to munge the kernel's input driver's state machine. Neat!
Re:A kernel developer made my styluses work again on newer k... by SushiHippie on Monday November 13, 2023 @05:50AM (#38248892)
Previously:

A kernel update broke my stylus | https://news.ycombinator.com/item?id=38102023

Re:A kernel developer made my styluses work again on newer k... by ta-195678 on Monday November 13, 2023 @07:07AM (#38249298)
Happy for you, but the most important think is: was it done using rust?
Re:A kernel developer made my styluses work again on newer k... by Encounter on Monday November 13, 2023 @07:25AM (#38249420)
Re:A kernel developer made my styluses work again on newer k... by darkwater on Monday November 13, 2023 @08:31AM (#38249904)
Benjamin Tissoires response is pretty awesome in style, tone, context, usefulness for both the layman and the expert. Kudos to him, and I really need to learn more about eBFF one of these days.
Re:A kernel developer made my styluses work again on newer k... by tentacleuno on Monday November 13, 2023 @10:25AM (#38251230)
I love how he basically just explained what eBPF was, where I wasn't really sure beforehand. What a brilliant teacher; really inspires me to do some more kernel hacking, too.
Re:A kernel developer made my styluses work again on newer k... by Arbortheus on Monday November 13, 2023 @07:45PM (#38257368)
eBPD seemed to be the only thing anyone was talking about at KubeCon and Cloud Native Con last week.

I hope people don’t get carried away and do too much kernel tomfoolery with their production kubernetes nodes. Not that it’s my problem, but they’re playing with fire.

Re:A kernel developer made my styluses work again on newer k... by gnu8 on Monday November 13, 2023 @09:16AM (#38250328)
Styli
Re:A kernel developer made my styluses work again on newer k... by MiguelX413 on Monday November 13, 2023 @12:55PM (#38252999)
Based
Re:A kernel developer made my styluses work again on newer k... by amelius on Monday November 13, 2023 @09:29AM (#38250467)
Reminds me of this issue people had (or still have?) with Wacom styluses:

https://www.reddit.com/r/wacom/comments/e96t1a/pen_has_a_wei...

"Agreed. I just bought one too and I'm sitting here practicing and I'm smelling a cat piss odor. Thought a cat had pissed on my clothes or something and then I smelled the pen."

"Yesterday, I was sure my cat pissed somewhere in my daughter's room. I literally spent hours trying to find the source of the stench, checked the whole feckin room and then I realised my hand stinks. The very last thing I checked was the bloody Wacom tablet pen that she got from us in the morning."

"Thank you! I thought I was going crazy! I was making everyone in my house smell the pen and they were like “yoooo that’s stinky.” I ended up returning it because the smell was making me gag. So weird."

Re:A kernel developer made my styluses work again on newer k... by amelius on Monday November 13, 2023 @11:34AM (#38252072)
PS: I covered my pen in nail polish to deal with the smell. It sorta works but doesn't get rid of the smell for the full 100%.
Re:A kernel developer made my styluses work again on newer k... by gumballindie on Monday November 13, 2023 @10:23AM (#38251208)
If Linux was a commercial project we would have had to wait for this to go through a team of product managers, managers, organise a few meetings to prepare meetings to discuss the feature and then maybe few months a year down line it would be approved for work to start.
Re:A kernel developer made my styluses work again on newer k... by deely3 on Monday November 13, 2023 @04:04PM (#38255367)
In your opinion how does Google, Microsoft, Apple able to accomplish anything?
Re:A kernel developer made my styluses work again on newer k... by brenns10 on Monday November 13, 2023 @11:30PM (#38259186)
To quote the very article you're commenting on:

> But plug and play often means for a hardware maker: "let's do trial and error until Windows seems to behave in a correct way".

It would seem that the Microsoft way, at least in this case, would be to let the hardware manufacturer fall over themselves changing their device's behavior in order to fit however Microsoft implemented the generic drivers. No matter whether it is a correct implementation of the relevant standards.

This is quite efficient, in that Microsoft never even needs to claim there was a bug in the first place, let alone fix it ;)

Re:A kernel developer made my styluses work again on newer k... by phendrenad2 on Monday November 13, 2023 @03:51PM (#38255218)
I dream of Linux someday having a stable driver API. Would be a lot of work to accomplish (and an ongoing headache for the kernel maintainers), but ultimately worth it to no longer have these embarrassing and frequent breakages.
Re:A kernel developer made my styluses work again on newer k... by biorach on Monday November 13, 2023 @06:10PM (#38256621)
That wasn't an API breakage. The maintainer reworked how HID events were handled.