Hello All,
I have a point of curiosity that has annoyed me for a long time. I found this forum and it looks like exactly the place to have it solved.
I am an embedded software developer. However, I am not currently working on a USB project. Also, my question really applies to Windows and the driver, not an embedded application. As I said, it is just that this has been a point of curiosity for me for a long time.
I understand that there is a Windows class driver for USB-232 interfaces, usbser.sys, that conforms to the CDC specification.
However, I have used some USB to RS-232 converters in the past that required me to download the driver from the manufacturer. This definitely occurred on XP and I am pretty sure it occurred on Windows 7 as well.
One of those converters that required a manufacturer driver was the Targus PA088. Another was from Sewell where I downloaded the file "SW-1301_v1.2.1.zip" which when unzipped had the following executable inside: "PL2303_Prolific_DriverInstaller_v1210.exe," apparently from Prolific Semiconductor.
Also, I am curious if some of the manufacturer drivers aren't really just .INF files that somehow register the device to use the CDC drivers? But, this would not make much sense as it pretty much defeats the idea of a class driver.
I perused the "USB Complete 3rd Edition" book. And, while I did not read all of it, I did check the sections:
---> Device Classes 177
|--> Standard or Custom Driver? 226
|--> Converting from RS-232 227
Neither of these chapters really answers my questions thoroughly.
Standard or Custom Driver? 226:
Explains that special functions will not have a class driver, that I understand. It does not explain why a manufacturer would make a device, RS-232 in this case, yet still provide a custom driver and not use the class driver.
Converting from RS-232 227:
Provides an example how the FTDI chip can be used to create an RS-232 converter. It mentions that a modem should use a class driver and that pointing devices should be HIDs. But, it never states why the RS-232 should or should-not be made to utilize the class driver and what dictates that decision. Furthermore, why so many converters do NOT use the class driver.
Any light you can shed on this would be greatly appreciated.
Regards,
Jim