Hacker News new | past | comments | ask | show | jobs | submit login

Oddly (for how detailed it is in other places) this skips the actual wire protocol side of enumeration -- reset device, read descriptors, assign address, etc.

Enumeration is an interesting process -- newly reset devices accept transfers to address zero, until the host assigns a non-zero addres. Then the next device (if their are additional devices detected on a hub, or if the just-enumerated device is a hub with devices below it) can be enumerated (initially responding at 0 after reset), walking the entire tree of hubs and devices (and revisiting it as necessary when hubs report connections and disconnections).




(original author here)

Yeah, it was done after I was asked to run a short course on writing drivers, so the focus was on understanding that sort of layer.

But you want to know how old this is? I actually used the word "palmtop" :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: