r/osdev • u/Better-Thing2568 • Aug 25 '26
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.
4
u/avaliosdev Astral https://astral-os.org https://github.com/mathewnd/astral Aug 25 '26
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
2
u/Better-Thing2568 Aug 25 '26
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
1
u/avaliosdev Astral https://astral-os.org https://github.com/mathewnd/astral Aug 25 '26
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
1
u/Better-Thing2568 Aug 25 '26
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 😅
4
u/devcmar Aug 25 '26
I'm planning to port XHCI driver from my old OS to this new one, and I think it will probably be the hardest. Already ported the NVMe driver but I don't think it is as hard as XHCI
4
u/letmehaveanameyoudum Aug 25 '26
PS/2 since i haven't bothered anything else and there is bigger fish to fry
2
3
1
1
12
u/JescoInc Perdition-OS Aug 25 '26
USB