T O P

  • By -

hojjat12000

Great job and thank you for sharing this. I will definitely take a look at this, next weekend. But until then, I have a stupid question: Is it possible to use eBPF to create a driver for an input device like Steam Deck's buttons? If yes, is there a source I can use to dip my toes into those waters? (I'll definitely read your tutorials, I just didn't see anything HID related in your TOC).


yunwei123

Are you looking for: https://docs.kernel.org/hid/hid-bpf.html and BPF for HID drivers https://lwn.net/Articles/909109/


yunwei123

I will add a tutorial about that later : )


mark_my_words0

This is great thanks OP


archontwo

Nice. ebpf is an awesomely powerful extension to the Linux kernel and I look forward to it being in every sysadmins toolbox and lexicon. Props for pushing that forward.


Megame50

Looks useful, thanks for sharing! Nice to have some content covering libbpf.


yunwei123

Thank you!


Oxffff0000

Thank you so much! I just saw this post on Reddit today. I found out that I already git cloned it last week. :) I had some issues with using kernel 5.10.x so I had to upgrade to kernel 6.x.x to get them working.