Click here to Skip to main content
14,387,840 members

Hardware & Devices

 
QuestionHow to write the program of single chip Microcomputer? Pin
Kimmy1020-Jul-16 0:45
MemberKimmy1020-Jul-16 0:45 
QuestionRe: How to write the program of single chip Microcomputer? Pin
ZurdoDev28-Nov-16 5:46
professionalZurdoDev28-Nov-16 5:46 
AnswerRe: How to write the program of single chip Microcomputer? Pin
Vaclav_28-Nov-16 7:23
MemberVaclav_28-Nov-16 7:23 
AnswerMessage Closed Pin
2-Jul-17 17:10
MemberSarah Bishop2-Jul-17 17:10 
QuestionSmart card Pin
Umesh Ippar18-Jul-16 21:05
MemberUmesh Ippar18-Jul-16 21:05 
QuestionRemote Dev Environment Setup Pin
StampedePress21-Jun-16 17:01
MemberStampedePress21-Jun-16 17:01 
QuestionIf there is an Access point has timestamp resolution higher than 1µs Pin
mohammed qaid20-Jun-16 1:33
Membermohammed qaid20-Jun-16 1:33 
QuestionUnable to install VirtualSerial2 sample driver on Target Windows 7 PC Pin
amitrkcian30-May-16 9:16
Memberamitrkcian30-May-16 9: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_24-Feb-16 0:35
Member__John_24-Feb-16 0:35 
AnswerRe: making use of BluetoothLEAdvertisementReceivedEventArgs Pin
__John_24-Feb-16 4:46
Member__John_24-Feb-16 4:46 
QuestionWDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal25-Jan-16 11:10
Memberpapagal25-Jan-16 11:10 
AnswerRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt31-Jan-16 23:07
MemberMunchies_Matt31-Jan-16 23:07 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 1:19
Memberpapagal1-Feb-16 1:19 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 1:23
MemberMunchies_Matt1-Feb-16 1:23 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 1:36
Memberpapagal1-Feb-16 1:36 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 1:40
MemberMunchies_Matt1-Feb-16 1:40 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 2:47
Memberpapagal1-Feb-16 2:47 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 2:55
MemberMunchies_Matt1-Feb-16 2:55 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 3:00
Memberpapagal1-Feb-16 3:00 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 3:00
Memberpapagal1-Feb-16 3:00 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 3:13
MemberMunchies_Matt1-Feb-16 3:13 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 3:21
Memberpapagal1-Feb-16 3:21 
QuestionDuplicating SD cards consistently - alternatives to xcopy? Pin
charlieg6-Jan-16 12:08
Membercharlieg6-Jan-16 12:08 
QuestionRe: Duplicating SD cards consistently - alternatives to xcopy? Pin
Richard MacCutchan7-Jan-16 0:57
mveRichard MacCutchan7-Jan-16 0:57 
AnswerRe: Duplicating SD cards consistently - alternatives to xcopy? Pin
charlieg7-Jan-16 4:21
Membercharlieg7-Jan-16 4:21 

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.