1, since still call HAL API to complete data reading and writing, the writing your own driver advantage in where? Or in the driver doesn't directly operating equipment, why write a driver?
2, associated with some question 1: the same USB driver, two different people write what is the difference between the driver? Whether can have a general USB driver?
3, still have associated with problem 1: the same USB device, two different vendors, if hard on business there are differences, the driver of the difference in where? Now the USB disk, for example, have Kongstone, Sandisk, seem do not need to install the driver can be used on Windows, is this why?
CodePudding user response:
The building Lord research stuff is too low, it is estimated that no one understand, I also make a sauce.Question 1 directly ignore it, ask yourself why write driver.
Question 2 is the usb communication, can only be similar device drivers and general, the kind of equipment that is close to a common agreement, gm drivers are mostly poor performance.
Equipment are classified, and a specific vendor ID and hardware ID, a dedicated driver to identify, provide specific advanced features.
Question 3 Windows because bring too much driving feeling letting a person many devices don't drive it is misunderstanding.