From: Dan Ellis <Dan.Ellis@ne...> - 2006-04-24 16:43:56
Tim Roberts wrote:
> Guessing here, but it may be that the "device number" is what the USB
> spec calls the "address". This is a 7-bit number assigned by the
> host controller when the device comes out of reset. It is unique to
> the bus and has no inherent meaning. Assigning a simple incrementing
> value is one way of ensuring uniqueness. =20
Linux allocates incrementing addresses (which obviously have to wrap at
127). Windows and BSD will reuse unused device addresses.
It's not strictly speaking assigned by the host controller but the USB
stack (i.e. it's very much under software control).