News for hackers. Stuff that matters.
Re:Get your own USB PID by nfoz on Saturday April 04, 2015 @03:44PM (#9321935)
> you need a USB Vendor ID and Product ID to uniquely identify your device to computers.

What's the technical reason why this is part of the USB spec? Why do devices need unique identifiers, or what benefit does this provide?

Re:Get your own USB PID by gizmo686 on Saturday April 04, 2015 @03:54PM (#9321965)
Drivers. When you plug a device into a computer, it uses the ID to determine what driver knows how to run it.
Re:Get your own USB PID by mdwrigh2 on Saturday April 04, 2015 @03:54PM (#9321964)
We use it for basic device recognition so we can do things like normalize keymappings on Android. See https://source.android.com/devices/input/key-layout-files.ht...
Re:Get your own USB PID by ricardobeat on Saturday April 04, 2015 @03:47PM (#9321943)
License fees.
Re:Get your own USB PID by zaroth on Saturday April 04, 2015 @04:07PM (#9322010)
IMO, this is the only right answer. Otherwise, the ID would be a 64-byte GUID and that would be the end of it.

  dd if=/dev/urandom of=~/guid bs=64 count=1
  od -t x1 ~/guid

  # the following step optional
  bitcoind sendtoaddress '1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt' '19.72'
Re:Get your own USB PID by TillE on Saturday April 04, 2015 @04:20PM (#9322061)
The USB spec was developed twenty years ago, when the computer industry looked very different and the internet barely existed for normal people. It's a suboptimal decision perpetuated by backwards compatibility, nothing more.