For experimentation purposes I have bought some pairs of wifi and bluetooth devices and I plan to get some more.
However when two or more of the same type are plugged in to the hub lsusb
lists multiple instances of the device.
Eg. a Realtek wifi adapter as the USB id 0bda:f179
. If there are 3 of them this id will appear 3 times.
What means of has Linux got for identifying them uniquely, not just when they are plugged in the same machine, but in other machines as well?
Network adapters for instance have their MAC address stamped on them, and USB disk drivers also have some IDs linked with them, but I don't know about these wireless dongles and bluetooth devices.
I would expect it to be their MAC addresses but in the wireless adapters it was always different when they connected to my access point, and even in the ifconfig
listing. I suspect Linux was giving them new MACs each time, unless it was the devices themselves.
Does the USB standard specify away for identifying each device uniquely, regardless of what type it is?