Dear Sir/Madam,
Sorry to bother you in your busy office hour.
I get a question of the WDK IR(smscir) sample code. After build the sample
in [D:\WinDDK\5483\src\ir\smscir] environment with WDK [5483], I try to use
the “Add Device” in Device Manager to add this sample driver in Windows
Vista Build [5456], however, it will failure.
I also found that its INF file[smscir.inf] needs IRCoInst.dll to complete
the installation, however, I can’t found this file in source file or in the
Windows Vista. Do you know where to get it?
If it is convenient to you, would you please give me the the hardware and
software requirements and instruction to show me how to install this sample
driver?
Thank you very much.
Dennis Huang
The sample BUILDS. You just can’t install it, is that right??
The SMSCIR driver is a Vista Media Center CIR driver that supports the SMSC SIO 1049 chip. You need to read this sample along with the Writing an MCE Port Driver document – which was available under NDA last time I checked.
IIRC, the 5456 WDK has an early, preliminary,version of the driver code.
In terms of installation, the way the final (production) version of the driver driver works is that the driver is automagically installed (and started along with the CIR Class Driver, if that driver is not already started) when an SIO1049 device is detected. The co-installer is part of Vista Media Center, and facilitates this process. The co-installer should be used by all MCE CIR port drivers.
Hope that helps,
Peter
OSR
Hi Peter, thanks for your kindly reply.
After getting failure in installing the SMSC IR driver from WDK, I try to
write a port-driver based on the context of the slide - “A Case Study On
Designing And Implementing IR And Remote Solutions For Windows Vista Media
Center Systems” form WinHEC 2006.
According to the slide,
Port-driver:
Registers GUID_DEVINTERFACE_IRPORT device interface
Enables device interface when ready to start processing requests
CIRClass:
Receives device interface notification
Sends IOCTL_IR_HANDSHAKE to port driver
After my own port driver registering the GUID_DEVINTERFACE_IRPORT interface,
my port-driver did *NOT* receive any IOCTL_IR_HANDSHAKE IOCTL from the
CIRClass.
Do you know why?
Is the CIRClass driver running?
-scott
–
Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com
“Alex Jian” wrote in message news:xxxxx@ntdev…
Hi Peter, thanks for your kindly reply.
After getting failure in installing the SMSC IR driver from WDK, I try to
write a port-driver based on the context of the slide - “A Case Study On
Designing And Implementing IR And Remote Solutions For Windows Vista Media
Center Systems” form WinHEC 2006.
According to the slide,
Port-driver:
Registers GUID_DEVINTERFACE_IRPORT device interface
Enables device interface when ready to start processing requests
CIRClass:
Receives device interface notification
Sends IOCTL_IR_HANDSHAKE to port driver
After my own port driver registering the GUID_DEVINTERFACE_IRPORT interface,
my port-driver did NOT receive any IOCTL_IR_HANDSHAKE IOCTL from the
CIRClass.
Do you know why?
I’d suggest that there is no way to write a working CIR Port Driver using the slides that I presented at WinHEC. The talk was a very short introduction to this topic, and (if you’ll recall) covers everything from hardware design to port drivers.
Don’t waste your time, it’s almost certainly impossible given the information that you have. Get the document I previously referred to.
Peter
OSR