←back to thread

379 points sbt567 | 3 comments | | HN request time: 0.699s | source
1. bhasi ◴[] No.44384727[source]
The title was misleading because the author wrote a userspace Rust driver and not a Linux kernel driver in C.
replies(1): >>44385208 #
2. amelius ◴[] No.44385208[source]
Upon reading the title I thought this was going to be about how easy it is to write or modify a Linux driver when using a LLM even if you know nothing about the subject.
replies(1): >>44387120 #
3. Neywiny ◴[] No.44387120[source]
No LLM needed. Kernel driver code for simple things is usually copy-paste-modify. Find something that works with an HID interrupt based device, and modify that. If you want a /sys led, copy from that. It's only if you try to push to mainline you need to worry about understanding it, but they'd probably smell LLM trash from miles away.