Linux Kernel: Linus Torvalds is Mocking Hey Hi (AI) Hype, Peter Hutterer on HID and BPF
-
ZDNet ☛ Linus Torvalds takes on evil developers, hardware errors and 'hilarious' Hey Hi (AI) hype
While all is 'calm and steady and boring' with the next kernel, Linux creator Torvalds tells an Open Source Summit crowd exactly how he feels about almost everything else.
-
Peter Hutterer: udev-hid-bpf: quickstart tooling to fix your HID devices with eBPF
For the last few months, Benjamin Tissoires and I have been working on and polishing a little tool called udev-hid-bpf [1]. This is the scaffolding required quickly and easily write, test and eventually fix your HID input devices (mouse, keyboard, etc.) via a BPF program instead of a full-blown custom kernel driver or a semi-full-blown kernel patch. To understand how it works, you need to know two things: HID and BPF [2].
Why BPF for HID?
HID is the Human Interface Device standard and the most common way input devices communicate with the host (HID over USB, HID over Bluetooth, etc.). It has two core components: the "report descriptor" and "reports", both of which are byte arrays. The report descriptor is a fixed burnt-in-ROM byte array that (in rather convoluted terms) tells us what we'll find in the reports. Things like "bits 16 through to 24 is the delta x coordinate" or "bit 5 is the binary button state for button 3 in degrees celcius". The reports themselves are sent at (usually) regular intervals and contain the data in the described format, as the devices perceives reality. If you're interested in more details, see Understanding HID report descriptors.
Update
More on Torvalds:
-
Linus Torvalds Addresses Malicious Developers, Hardware Errors and More at Open Source Summit
At The 'Linux' Foundation's Open Source Summit North America , Linus Torvalds, the creator of Linux, discussed various topics related to GNU/Linux development and the challenges the open-source community faces. Torvalds addressed hardware errors, malicious developers, and the hype surrounding Artificial Intelligence (AI).