The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
I have developed a Windows Virtual COM Port driver based on UMDF 2.15. I am able to open the COM port via some of the well known terminals like Putty, Hyperterminal, Tera-Term, CoolTerm, RealTerm and XCTU. But if I try to open the terminal through some of the terminals like SerialMon and YAT I will get the following error.
**The given port name does not start with COM/com or does not resolve to a valid serial port.
Parameter name: portName
I have also checked in Windows Registry Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ROOT\PORTS that whether the the Virtual COM port is registered properly or not. Under Device parameters I could able to see a key PortName **with COM port number. I checked for **SERIALCOMM key in Computer\HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM path. In this path also I found that the driver is registered. Also, I checked by installing the driver on COM10, COM11 etc which are more than COM port number 9. But still no success.
My questions are,
1) If other terminals are able to open the port then what is the problem with these terminals?
2) Is the port name key is case sensitive? The error I am getting in these terminals has** 'portName'** whereas the key registered on the windows registry has 'PortName' with **p **as upper case. Could it be a problem? I changed some code in driver after creating symbolic link to change the key name to lower case p. But It did not work.
3) Since it is a Virtual Port those terminals are not able to open it?? Do they support only physical port??
Please help me to solve this issue.
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!||Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||15 Jun 2020||LIVE ONLINE|
|Writing WDF Drivers||22 June 2020||LIVE ONLINE|
|Internals & Software Drivers||28 Sept 2020||Dulles, VA|