3 ms·
Yes you can. On Mac you can use userspace USB drivers by default so you can use any other method to identify your device. On Windows you can use WCID to get it
by IshKebab 8y ago
Yes you can. On Mac you can use userspace USB drivers by default so you can use any other method to identify your device. On Windows you can use WCID to get it to automatically install WinUSB (Windows' userspace USB driver) irrespective of the product / vendor ID. On Linux I believe you just have to set up some udev rule and then you can use libusb.
Once you have userspace access there's basically no downside to squatting. The only minor one is if you happen to squat on an ID that also happens to have a kernel driver. But just pick a long defunct vendor and that's pretty damn unlikely.
- cesarb 8y agoAs Raymond Chen would say, what if two devices did this? Suppose you have Widget A, which is squatting on ID 1234:5678, and Widget B, which is also squatting on ID 1234:5678. You plug both on the same computer. How would the driver, no matter whether kernel or userspace, know a newly plugged device with that ID is Widget A and not Widget B?
- Kliment 8y agoThat's an argument for coordination between squatters, not against squatting.
- otterlicious 8y agoMaybe they should start some sort of USB Implementers Forum to coordinate or something...