請問各位目前我在Win7 x86 上 使用setportval or getportval 都可以正確使用
但在win7 x64上確有問題
若是再進入windows 前 使用F8 disable signalnature 是可以正常使用的
我的driver 已經有過數字簽證 
不知道大家有沒有什麼建議?

解决方案 »

  1.   

    發現在initialize 時就傳回fail,應該是因為WinIO 沒有sign.
    有人知道如何過這種給AP用Driver的sign嗎?
      

  2.   

    是的,我用的是64位元的。
    應該是因為winIO.sys 沒有簽證的緣故
      

  3.   

    Driver Signing Requirements on 64-bit Systems
     
    64-bit versions of Windows only load device drivers that are signed by a code signing certificate issued by a public CA such as Verisign, Thawte, etc. WinIo64.sys must not be deployed on production machines unless a code signing certificate is obtained and used to sign this file. The bundled copy of WinIo64.sys is signed with a self-signed certificate and can only be used on development/test machines with Windows running in a special "test" mode. In order to use the bundled version of WinIo64.sys, you need to take the following steps:
     
    Open an elevated command window by right-clicking the icon and clicking "Run as Administrator". 
    Type the following command to enable test-signing:bcdedit.exe /set TESTSIGNING ON你说的是这个吗?这个winio中的帮助文档就说了,你要以管理员身份打开cmd 然后输入bcdedit.exe /set TESTSIGNING ON,再重启。不过我好像没有注册钱就解决了初始化的那步了