Live data from Hacker News

Writing a basic Linux device driver when you know nothing about Linux drivers

crescentro.se

1–10 of 72 posts

Re: Writing a basic Linux device driver when you know nothing about Linux drivers

#4
> I also thought I’d message the vendor and ask them if they could share any specifications or docs regarding their protocol. To my surprise, Nanoleaf tech support responded to me within 4 hours, with a full description of the protocol that’s used both by the Desk Dock as well as their RGB strips.

How cool is that? Too many vendors still think that they have valuable intellectual property in such relative trivialities. And that handing out the specs freely helps their competitors more than themselves.

Re: Writing a basic Linux device driver when you know nothing about Linux drivers

#6

> I also thought I’d message the vendor and ask them if they could share any specifications or docs regarding their protocol. To my surprise, Nanoleaf tech support responded to me within 4 hours, with a full description of the protocol that’s used both by the Desk Dock as well as their RGB strips. How cool is that? Too many vendors still think that they have valuable intellectual property in such relative trivialitie…

I had the same reaction. Nano leaf is extremely cool for that.

Re: Writing a basic Linux device driver when you know nothing about Linux drivers

#8
I enjoyed this post, but I'm eager to hear what the next step would be for a real "production" userspace driver. Are these typically just daemons that are configured to run at start up? And then some configuration GUI communicates with it over a socket or something?

Re: Writing a basic Linux device driver when you know nothing about Linux drivers

#10
I want to run FreeBSD on my laptop, but they don't have a [complete] driver for my wifi card. I've thought about diving into AI coding-assistant agents just to see if I could use one to finish throwing together a working driver... but figuring out the AI agents is frictiony enough that I'm leaving it be. (I'm not a VSCode user)
Post reply on HN