Click here to Skip to main content
14,605,536 members

Hardware & Devices

 
GeneralRe: Dual Monitor Pin
Bassam Abdul-Baki5-Dec-16 0:05
professionalBassam Abdul-Baki5-Dec-16 0:05 
AnswerRe: Dual Monitor Pin
Peter_in_27804-Dec-16 23:00
professionalPeter_in_27804-Dec-16 23:00 
QuestionProactive Backup And Restore Pin
C-P-User-321-Oct-16 14:40
MemberC-P-User-321-Oct-16 14:40 
AnswerRe: Proactive Backup And Restore Pin
Gerry Schmitz28-Nov-16 6:08
mveGerry Schmitz28-Nov-16 6:08 
AnswerRe: Proactive Backup And Restore Pin
Johnathan Perry2-Feb-17 3:35
MemberJohnathan Perry2-Feb-17 3:35 
GeneralRe: Proactive Backup And Restore Pin
Rahul kumar2212-Mar-17 22:08
MemberRahul kumar2212-Mar-17 22:08 
QuestionRaspberry Pi device driver Pin
Member 1263426529-Jul-16 4:56
MemberMember 1263426529-Jul-16 4:56 
SuggestionRe: Raspberry Pi device driver Pin
Richard MacCutchan29-Jul-16 5:13
mveRichard MacCutchan29-Jul-16 5:13 
QuestionHow to write the program of single chip Microcomputer? Pin
Kimmy1019-Jul-16 23:45
MemberKimmy1019-Jul-16 23:45 
QuestionRe: How to write the program of single chip Microcomputer? Pin
ZurdoDev28-Nov-16 4:46
mveZurdoDev28-Nov-16 4:46 
AnswerRe: How to write the program of single chip Microcomputer? Pin
Vaclav_28-Nov-16 6:23
MemberVaclav_28-Nov-16 6:23 
QuestionSmart card Pin
Umesh Ippar18-Jul-16 20:05
MemberUmesh Ippar18-Jul-16 20:05 
QuestionRemote Dev Environment Setup Pin
StampedePress21-Jun-16 16:01
MemberStampedePress21-Jun-16 16:01 
QuestionIf there is an Access point has timestamp resolution higher than 1µs Pin
mohammed qaid20-Jun-16 0:33
Membermohammed qaid20-Jun-16 0:33 
QuestionUnable to install VirtualSerial2 sample driver on Target Windows 7 PC Pin
amitrkcian30-May-16 8:16
Memberamitrkcian30-May-16 8:16 
AS my development machine & my test machine are 64bit windows system with Windows 7 operating System So to give myself a head start I compiled the ComPort project under Windows-driver-samples-master/serial/VirtualSerial2 sample code provided by Microsoft, initial it flashed an error that said as follows "Provider cannot be "Microsoft", must be an organization who authored INF" so I changed the following line in .inx file MSFTUMDF=Microsoft to MSFTUMDF=Sample, then it compiled successfully.

Then I follow the following process to install the driver on the target machine.

1) I copied the VirtualSerial2um.cer file VirtualSerial2um.inf from Windows-driver-samples-master\serial\VirtualSerial2\ComPort\x64\Debug & devcon.exe from C:\Program Files\Windows Kits\10\Tools\x64 to a Sample folder in the C:\ drive of the Target device.

2) Then on target machine I open the internet explorer I went to Internet Options->content->Certificates->import then I selected the VirtualSerial2um.cer file & imported the Certificate.

3) Then on target machine I opened the command prompt as Administrator, browsed to the Sample folder & typed the following command.

<b>devcon install virtualSerial2um.inf UMDF\Virtual_1 </b>

Then on the command prompt it says:
<b>device tree entry created
devcon failed</b>

In the device manager Under Unknown Device COMn(n is com port number) appears but when I open my hyper terminal COMn doesn't show on the drop down list of COM ports.

Now I am unable to figure out why my devcon installation is failing & as t says that my driver is registered in the device tree then why It is showing in the Unknown device & why not is PORTS

This is the content of the VirtualSerial2um.inf file

;
; Copyright (C) Microsoft Corporation, All Rights Reserved.
;
; VirtualSerial.inf
;
;Installation Notes:
; Type "devcon install VirtualSerial2um.inf UMDF\VirtualSerial2um" to install

[Version]
Signature=&quot;$Windows NT$&quot;
<b>Class=Ports</b>
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MSFTUMDF%
CatalogFile=WUDF.cat
DriverVer=05/30/2016,19.7.52.160

[Manufacturer]
%MSFTUMDF%=Microsoft,NTx86

[Microsoft.NTx86]
%VirtualSerialDeviceName%=VirtualSerial_Install,UMDF\VirtualSerial2um

[SourceDisksFiles]
Virtualserial2um.dll=1

[SourceDisksNames]
1 = %MediaDescription%

; =================== UMDF VirtualSerial Device ==================================

[VirtualSerial_Install.NT]
CopyFiles=UMDriverCopy

[VirtualSerial_Install.NT.hw]
AddReg=SetDeviceType_AddReg

[VirtualSerial_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[VirtualSerial_Install.NT.Wdf]
UmdfService = VirtualSerial, VirtualSerial_Install
UmdfServiceOrder = VirtualSerial
UmdfKernelModeClientPolicy = AllowKernelModeClients
UmdfFileObjectPolicy = AllowNullAndUnknownFileObjects
UmdfFsContextUsePolicy = CannotUseFsContexts

[VirtualSerial_Install]
UmdfLibraryVersion=2.15.0
ServiceBinary=%12%\UMDF\Virtualserial2um.dll

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys

[SetDeviceType_AddReg]
HKR,,DeviceType,0x10001,0x0000001b ; 0x1b = FILE_DEVICE_SERIAL_PORT

[DestinationDirs]
UMDriverCopy=12,UMDF ; copy to drivers\UMDF

[UMDriverCopy]
Virtualserial2um.dll

; =================== Generic ==================================

[Strings]
MSFTUMDF="Sample"
MediaDescription="Microsoft Sample Driver Installation Media"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
VirtualSerialDeviceName="Microsoft VirtualSerial Sample (UMDF 2)

Could anyone please guide me in the correct direction
Questionmaking use of BluetoothLEAdvertisementReceivedEventArgs Pin
__John_23-Feb-16 23:35
Member__John_23-Feb-16 23:35 
AnswerRe: making use of BluetoothLEAdvertisementReceivedEventArgs Pin
__John_24-Feb-16 3:46
Member__John_24-Feb-16 3:46 
QuestionWDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal25-Jan-16 10:10
Memberpapagal25-Jan-16 10:10 
AnswerRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt31-Jan-16 22:07
MemberMunchies_Matt31-Jan-16 22:07 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 0:19
Memberpapagal1-Feb-16 0:19 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 0:23
MemberMunchies_Matt1-Feb-16 0:23 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 0:36
Memberpapagal1-Feb-16 0:36 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 0:40
MemberMunchies_Matt1-Feb-16 0:40 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 1:47
Memberpapagal1-Feb-16 1:47 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 1:55
MemberMunchies_Matt1-Feb-16 1:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.