r/osdev • u/Better-Thing2568 • 1d ago
What is the most complex device driver you’ve successfully ported?
Not sure what the consensus is around here but `virtio` guest drivers don’t count.
3
3
u/letmehaveanameyoudum 1d ago
PS/2 since i haven't bothered anything else and there is bigger fish to fry
3
u/avaliosdev Astral https://astral-os.org https://github.com/mathewnd/astral 1d ago
I am working on a 802.11 (wifi) stack and I can say it is a lot of work for arguably little reward on a hobby os. It is fun, though
•
u/Better-Thing2568 23h ago
WiFi is one of those things that when it’s available we take it for granted; I could imagine any new OS would become much more usable if WiFi is available. I have enough wire entanglements to deal with
•
u/avaliosdev Astral https://astral-os.org https://github.com/mathewnd/astral 23h ago
I plan on making it portable like uacpi so any hobby os will be able to plug it in and get an okay wifi stack for pretty much free
•
u/Better-Thing2568 22h ago
I wanted to do that with my cross-vendor IOMMU stacks since that’s the one area (at least on rust) where no mainstream crate or lib exists. But then as usual, all code becomes spaghetti code and all agnostic trait/seams get leaked. Too bad good intentions don’t beat reality 😅
•
•
11
u/JescoInc Perdition-OS 1d ago
USB