s*****w 发帖数: 1527 | 1 msdn上很多是几年前的,那个driver digital sign我就没找到过统一整理出来的步骤。
你们网上下载的最新wdk里的toaster kmdf driver根本装不上64 bit win7,
wdm example倒还行。
反正被你们折腾死了。
有谁是那个组的请帮忙,我这里上有老下有小靠我养,周末也歇不成。
谢谢*1000 ! | e*H 发帖数: 16 | 2 如果你能在 win7 amd64 上成功安装 wdm 的 toaster 驱动程序,说明你的数字签名过
程已经正确了。
关于 kmdf 的错误,展开说说?把 \windows\setupact.log, \windows\inf\setupapi.
dev.log 打开看看?
或者你到 osr 的 ntdev 去问问,那里人多些 | s*****w 发帖数: 1527 | 3 兄弟,你得帮老哥一把,我是不行了。
对于wdm/kmdf toaster example,都是用 build -ceZ -amd64,因为64-bit win7。
wdm example has full instructions, so u have 3 files:
*.sys, *.inf, *.cat
for kmdf,
*.sys, *.inx, wdfcoinstaller01009_chk.dll,
installation complaining that this driver is not for this platform
(something like this)
the thing is i never find a clear doc tells me how to install kmdf
toaster driver.
i'm going to sleep, ttyl, thanks very much !
\windows\inf\setupapi.
【在 e*H 的大作中提到】 : 如果你能在 win7 amd64 上成功安装 wdm 的 toaster 驱动程序,说明你的数字签名过 : 程已经正确了。 : 关于 kmdf 的错误,展开说说?把 \windows\setupact.log, \windows\inf\setupapi. : dev.log 打开看看? : 或者你到 osr 的 ntdev 去问问,那里人多些
| e*H 发帖数: 16 | 4 you need inf (not inx), sys, and wdfcoinstaller01009.dll (not chk one), and
of course cat file.
no need to pass -amd parameter to build.exe (is there really such a
parameter? the setenv.bat should already specified your target architecture)
toaster contains several drivers (bus/func/etc). which one were you trying
to install? and detailed steps / error messages. this way we can try to help
you | s*****w 发帖数: 1527 | 5 兄弟,我这里一堆问题,麻烦你有空的时候看看,有空来波士顿我请你吃饭。
ok, these are my questions, i'm using 64-bit win7,
wdk 7600.16385.1
1. for kernel develop, any big difference between win7 enterprise and
win7 ultimate ? i installed win7 enterprise
2. what's the simplest kmdf and wmd driver example in the winddk\src ?
3. the kmdf example i tried is
...\src\general\toaster\kmdf\func\featured\
in the install dir, i have
toaster.cat (from ...\src\general\toaster\wdm\inf\amd64)
wdfcoinstaller01009.dll
wdffeat
【在 e*H 的大作中提到】 : you need inf (not inx), sys, and wdfcoinstaller01009.dll (not chk one), and : of course cat file. : no need to pass -amd parameter to build.exe (is there really such a : parameter? the setenv.bat should already specified your target architecture) : toaster contains several drivers (bus/func/etc). which one were you trying : to install? and detailed steps / error messages. this way we can try to help : you
| e*H 发帖数: 16 | 6 1. there is no difference between win7 enterprise and ultimate
2. the simplest kmdf driver might be winddk\src\general\echo\kmdf\AutoSync
3. you can use "\winddk\tools\devcon\arch\devcon.exe" install wdfsimple.inf
{b85b7c50-6a01-11d2-b841-00c04fad5171}\MsToaster
4. The build type of the co-installer must match that of the Windows version
on which the driver will be installed. You cannot use the checked build of
a co-installer to install a driver on a free build of Windows. http://www.microsoft. | s*****w 发帖数: 1527 | 7 2 works now, except you have to remember install it as admin.
3 also works now, but the question is why install from hdwwiz.exe using
toaster.cat doesn't work ? every time i do net start, it's asking for
digital sign.
also i can install
...\src\general\toaster\wdm\bus, from hdwwiz (basically i need to use
the cat file to get around digital sign)
but not
...\src\general\toaster\wdm\func\incomplete1,
same error as the kmdf sample.
thanks very much for the help !
winddk\src\general\echo\kmdf\AutoS
【在 e*H 的大作中提到】 : 1. there is no difference between win7 enterprise and ultimate : 2. the simplest kmdf driver might be winddk\src\general\echo\kmdf\AutoSync : 3. you can use "\winddk\tools\devcon\arch\devcon.exe" install wdfsimple.inf : {b85b7c50-6a01-11d2-b841-00c04fad5171}\MsToaster : 4. The build type of the co-installer must match that of the Windows version : on which the driver will be installed. You cannot use the checked build of : a co-installer to install a driver on a free build of Windows. http://www.microsoft.
| s*****w 发帖数: 1527 | 8 BTW,
winddk\src\general\echo\kmdf\AutoSync
doesn't have a cat file i can use ?
winddk\src\general\echo\kmdf\AutoSync
wdfsimple.inf
version
build of
http://www.microsoft.com/whdc/driver/wdf/kmdf-build.mspx
http://msdn.microsoft.com/en-us/library/ff546236(v=VS.85).aspx. you
should create a test cert yourself with makecert.exe, then inf2cat to
generate a cat file, then signtool to sign the cat file. It may not be a
good idea to use your production cert for test sign
【在 e*H 的大作中提到】 : 1. there is no difference between win7 enterprise and ultimate : 2. the simplest kmdf driver might be winddk\src\general\echo\kmdf\AutoSync : 3. you can use "\winddk\tools\devcon\arch\devcon.exe" install wdfsimple.inf : {b85b7c50-6a01-11d2-b841-00c04fad5171}\MsToaster : 4. The build type of the co-installer must match that of the Windows version : on which the driver will be installed. You cannot use the checked build of : a co-installer to install a driver on a free build of Windows. http://www.microsoft.
| e*H 发帖数: 16 | 9 the cat file name should match the one in inf file [Versions] section. for
various kmdf samples in wdk, the cat file should be KmdfSamples.cat (instead
of toaster.cat)
you should not use 'net start' to start a pnp driver. instead, for root-
enumerated driver, 'devcon install' and the device will start automatically
for any sample (including echo\kmdf\autosync), the cat file should be
generated by yourself with inf2cat. The cat file is then signed by yourself
(for testing purpose) or by whql (for | s*****w 发帖数: 1527 | 10 Hi eGH,
i'll try it out today, thanks very much for all the help and hope i
won't bother you too much in the future, :)
generally speaking, i'm looking for very basic step by step
instructions. Too many docs will just cause confusing.
Hope you can be a manager soon (if not yet) so can take care of MS
developers better.
section. for
(instead
root-
automatically
be
yourself
【在 e*H 的大作中提到】 : the cat file name should match the one in inf file [Versions] section. for : various kmdf samples in wdk, the cat file should be KmdfSamples.cat (instead : of toaster.cat) : you should not use 'net start' to start a pnp driver. instead, for root- : enumerated driver, 'devcon install' and the device will start automatically : for any sample (including echo\kmdf\autosync), the cat file should be : generated by yourself with inf2cat. The cat file is then signed by yourself : (for testing purpose) or by whql (for
| s*****w 发帖数: 1527 | 11 BTW, what's the best way to contact your team support
to get the correct instructions to install
...\src\general\toaster\wdm\func\incomplete1
from the readme in wdk, sounds like i can use the existing cat.
for the kmdf driver, it just says to follow the wdm instructions, :)
never mentioned to create a cat file etc.
thanks !
section. for
(instead
root-
automatically
be
yourself
【在 e*H 的大作中提到】 : the cat file name should match the one in inf file [Versions] section. for : various kmdf samples in wdk, the cat file should be KmdfSamples.cat (instead : of toaster.cat) : you should not use 'net start' to start a pnp driver. instead, for root- : enumerated driver, 'devcon install' and the device will start automatically : for any sample (including echo\kmdf\autosync), the cat file should be : generated by yourself with inf2cat. The cat file is then signed by yourself : (for testing purpose) or by whql (for
| s*****w 发帖数: 1527 | 12 Hi eGH and other brothers,
接着问,
1。test my driver, so i use the testsigning.
if build, make the test cert, sign, then install works.
but if build, sign, then install fails.
is this the official way or i did sth. wrong.
Before you want to try your new driver, just build and copy over the old
file, then you can start testing.
But now i have to sign it each time ? what a waste of time ?
Is there any other way around ?
2. if i don't sign, during install it'll show the red warning sa |
|