TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to write a Linux device driver

161 点作者 rohshall将近 13 年前

5 条评论

codemac将近 13 年前
VFIO!<p>The I/O MMU!<p>Write your drivers in userspace, save your sanity. I realize it's hard to get a kernel that supports everything you need to accomplish this, but it's definitely "the future" when it comes to device drivers.<p>However, this is a decent beginning point for people completely unfamiliar with writing a driver. The table and the makefile parts are especially important for beginners to <i>just get freaking started</i>.
评论 #4403283 未加载
ChuckMcM将近 13 年前
They missed the part where you need documentation on how the chip used in the I/O device actually works. This is the 'tricky' bit way to often.
评论 #4403824 未加载
gte910h将近 13 年前
This isn't half bad. (From someone who did this for a living at one point)<p>Btw, if you're writing a USB driver, most of the time the device uses HID, even though that's for a completely different type of device then what HID is supposed to be specced for.
评论 #4404120 未加载
chris_wot将近 13 年前
Has much changed for 3.0?
评论 #4403035 未加载
Tequals0将近 13 年前
Thanks for the post. I tend to write python to talk to custom USB devices, but this looks like a nice alternative.
评论 #4403315 未加载