Click here to Skip to main content
15,881,882 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
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
Kimmy1019-Jul-16 23:45 
QuestionRe: How to write the program of single chip Microcomputer? Pin
ZurdoDev28-Nov-16 4:46
professionalZurdoDev28-Nov-16 4:46 
AnswerRe: How to write the program of single chip Microcomputer? Pin
Vaclav_28-Nov-16 6:23
Vaclav_28-Nov-16 6:23 
QuestionSmart card Pin
Umesh Ippar18-Jul-16 20:05
Umesh Ippar18-Jul-16 20:05 
QuestionRemote Dev Environment Setup Pin
StampedePress21-Jun-16 16:01
StampedePress21-Jun-16 16:01 
QuestionIf there is an Access point has timestamp resolution higher than 1µs Pin
mohammed qaid20-Jun-16 0:33
mohammed qaid20-Jun-16 0:33 
QuestionUnable to install VirtualSerial2 sample driver on Target Windows 7 PC Pin
amitrkcian30-May-16 8:16
amitrkcian30-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
__John_23-Feb-16 23:35 
AnswerRe: making use of BluetoothLEAdvertisementReceivedEventArgs Pin
__John_24-Feb-16 3:46
__John_24-Feb-16 3:46 
QuestionWDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal25-Jan-16 10:10
papagal25-Jan-16 10:10 
AnswerRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt31-Jan-16 22:07
Munchies_Matt31-Jan-16 22:07 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 0:19
papagal1-Feb-16 0:19 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 0:23
Munchies_Matt1-Feb-16 0:23 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 0:36
papagal1-Feb-16 0:36 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 0:40
Munchies_Matt1-Feb-16 0:40 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 1:47
papagal1-Feb-16 1:47 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 1:55
Munchies_Matt1-Feb-16 1:55 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 2:00
papagal1-Feb-16 2:00 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 2:00
papagal1-Feb-16 2:00 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
Munchies_Matt1-Feb-16 2:13
Munchies_Matt1-Feb-16 2:13 
GeneralRe: WDM upper filter STATUS DEVICE CONFIGURATION_ERROR Pin
papagal1-Feb-16 2:21
papagal1-Feb-16 2:21 
QuestionDuplicating SD cards consistently - alternatives to xcopy? Pin
charlieg6-Jan-16 11:08
charlieg6-Jan-16 11:08 
QuestionRe: Duplicating SD cards consistently - alternatives to xcopy? Pin
Richard MacCutchan6-Jan-16 23:57
mveRichard MacCutchan6-Jan-16 23:57 
AnswerRe: Duplicating SD cards consistently - alternatives to xcopy? Pin
charlieg7-Jan-16 3:21
charlieg7-Jan-16 3: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.