Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is wildly easier to get a mouse to tell the operating system first off that it is a mouse, than it is for the operating system to analyze the mouse and make that determination for itself.

Imagine scaling that up to GPUs! The device needs to describe itself because IT is unique.



In fact the mouse doesn't tell the operating system that it's a mouse. The operating system reads that off as part of the hardware USB handshake what the device is. USB is an example of a system done largely correctly as compared to all the other processors embedded into a SoC.


Based on USB descriptors filled out by the mouse vendor and sent by the mouse. Thanks for playing.


This is perhaps the first time I've heard "USB" and "correctly" in a clause without a negative.

I encourage you to spend more time with it. Meet your hero. Get to know it. Understanding will surely follow. 8)




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

Search: