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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Kernel developer write a USB driver in 3h for Apple Xserve front-panel [video]

284 点作者 explosion-s12 个月前

13 条评论

dgellow12 个月前
I dreamed of that type of content since I’ve been a teenager. Thank you for sharing, it’s fantastic to see more and more programmers streaming themselves working on fairly advanced projects. That removes so much layers of magic and complexity once you can peek behind the curtain this way
评论 #40484531 未加载
评论 #40487491 未加载
评论 #40488201 未加载
dcan12 个月前
I wrote a USB host driver for the STM32F4 a couple months ago, and the most difficult part was the lack of good documentation - the peripheral had r&#x2F;w registers mapped as read-only in the SVD, there was a bit you had to set that wasn&#x27;t mentioned in the documentation, and then the whole USB bulk-only-transport pointing to a non-existent SCSI spec. I ended up finding a blog post stating that you have to basically copy what Windows does in order for USB drives to work.<p>Luckily I had an oscilloscope that could decode USB frames to save me a whole bunch of time to understand why things weren&#x27;t working.<p>USB seems to depend on a whole lot of tribal knowledge, which makes it impressive that it is so ubiquitous and works out of the box for the most part.
评论 #40486114 未加载
评论 #40486200 未加载
评论 #40485837 未加载
jonhohle12 个月前
I started contributing to a decompilation project and while I’m not the best decompiler by any stretch of the imagination I’ve thought about streaming while I’m working.<p>Is there interest in content like this? Are people curious about tells for when assembly is affected by variable sign, struct vs array access, the bonkers things even 30 year old compilers do with control structures, register reuse, etc. and how to coax code into byte equivalent assembly from classic consoles.
评论 #40485646 未加载
评论 #40488539 未加载
junon12 个月前
Making an OS and have thought about streaming my sessions a few times, maybe I&#x27;ll start doing that if this is indeed interesting to people.
评论 #40492042 未加载
debo_12 个月前
The loud sound of fans whirring in the background is the perfect ambiance for this video!
vdfs12 个月前
The most interesting thing to me is that font for a terminal&#x2F;coding
评论 #40484725 未加载
评论 #40485200 未加载
评论 #40485266 未加载
评论 #40484967 未加载
userbinator12 个月前
...after numerous more hours of understanding how things work.<p>Not mentioned in this title is that this is a USB <i>device</i> driver, for a relatively simple device, with existing code available. This is essentially a code-to-code &quot;translation&quot; task. I can see how this looks very impressive, but IMHO it&#x27;s like watching anyone else skilled at their profession.
评论 #40484984 未加载
评论 #40485889 未加载
GauntletWizard12 个月前
As much as I love this kind of video, a deep dive tutorial, &quot;from scratch&quot; is kind of a misnomer. &quot;From 10 years of experience doing exactly this&quot; doesn&#x27;t have the same ring
amelius12 个月前
The USB spec is like, what, 500 pages? That is impressive.
评论 #40484991 未加载
评论 #40484958 未加载
评论 #40485747 未加载
评论 #40492874 未加载
pxmpxm12 个月前
Why is this a video?
asadm12 个月前
Not sure why everyone is stuck on &quot;from scratch&quot; part. This is from scratch in all practical terms to me. They would be wasting their and viewer time if not done this way.
评论 #40485881 未加载
cm218712 个月前
Not quite from scratch...
评论 #40486040 未加载
评论 #40484345 未加载
评论 #40485254 未加载
khazhoux12 个月前
I wonder if this video is painful to watch for people who claim &quot;10x programmers are a myth!&quot;<p>As an eng manager who&#x27;s overseen teams at several top FAANGs, I can say without a doubt that most of those engineers would have taken 1-2 months to implement a driver.
评论 #40485426 未加载
评论 #40485703 未加载
评论 #40486796 未加载
评论 #40486037 未加载
评论 #40485547 未加载
评论 #40485498 未加载