This is a pretty USB specific question, I was redirected here from the technical stack exchange.
I am trying to figure out what the legislation is around the development by company A of a USB peripheral for use by hardware/software developed by company B, where company B developped a peripheral that A's device is a clone of (in term of functionality - they're not stealing the implementation/blueprints). Company B did not consent to anything.
Company B is having its hardware/software check the USB descriptor of the peripheral in various ways before accepting to use it. Vendor ID, Product ID, iManufacturer... Long story short, let's say the product will only function if its USB descriptor entirely mimicks company A's product's USB descriptor.
What does the law say about mimicking USB descriptors ? Is there a uniform law over countries on this subject ?
To give a concrete example, let's consider third party controllers for a video game console. Company B sells consoles, and special USB controllers that use a custom protocol to communicate with their console, which looks for a given VID/PID to try to communicate with the controllers. Company A wants to manufacture third party controllers and sell them. Doing so requires using company A's product's VID/PID, or they can't work. Can they proceed ? What is there to consider ? Are all companies currently doing this breaking the law ?