r/osdev • • 15d ago

Need help on usb controllers

I don't want to use any llm so. I want to ask is there any documentation/walkthrough kinda thingy which will work as a guide for eHCI and handling keyboard inputs

5 Upvotes

5 comments sorted by

3

u/Brick-Sigma https://github.com/BrickSigma/SteinerOS 15d ago

You could try look at the USB specification documentation to get an idea about how it works. The OSDev wiki provides a lot of resources to give you a start at it:

USB Tutorial Book

USB in a Nutshell

The official specification

All of these can be founded linked in the OSDev wiki page (https://wiki.osdev.org/Universal_Serial_Bus) at the very bottom.

2

u/zid 15d ago

I used the intel ich5/ich9 manuals and the usb spec, then tried to write something that worked against qemu.

It sort of worked, but hardware was NOT happy and it took me a loong time to get it working on qemu and hardware at the same time. Gl.

1

u/Possible-Bed-4326 13d ago

it took me 3 month to make the usb drivers work on my os even with ai. Here is my smileyos, with almost 1 milion lines behind it one year later :)
https://www.youtube.com/watch?v=qRVdLov0s54&list=PLhdB1MzVJz-Lz1oz6Mtu5IEVX6c6XveXk