Xman
驱动大牛
驱动大牛
  • 注册日期2001-08-24
  • 最后登录2011-10-07
  • 粉丝0
  • 关注0
  • 积分343分
  • 威望127点
  • 贡献值0点
  • 好评度34点
  • 原创分0分
  • 专家分0分
阅读:1975回复:7

急:关于pci的*.inf文件?

楼主#
更多 发布于:2002-03-22 10:12
有这样一块pci的视频扑捉卡,配置信息如下:
Type:      Multi-Media Device
Bus:       1
Device:    3
Function:  0
Revision:  1

Vendor ID ................   0   1131
Device ID ................   2   7146
Command ..................   4   0006
Status ...................   6   0280
Revision ID ..............   8   01
Prog. I/F ................   9   00
Sub Class Code ...........   A   80
Class Code ...............   B   04
Cache Line Size ..........   C   00
Latency Timer ............   D   20
Header Type ..............   E   00
BIST .....................   F   00
Base Address 0 ...........  10   D500 0000
Base Address 1 ...........  14   0000 0000
Base Address 2 ...........  18   0000 0000
Base Address 3 ...........  1C   0000 0000
Base Address 4 ...........  20   0000 0000
Base Address 5 ...........  24   0000 0000
Cardbus CIS Pointer ......  28   0000 0000
Subsystem Vendor ID ......  2C   0000
Subsystem ID .............  2E   0000
Expansion ROM Base Address  30   0000 0000
Reserved .................  34   0000 0000
Reserved .................  38   0000 0000
Interrupt Line ...........  3C   0B
Interrupt Pin ............  3D   01
Min_Gnt ..................  3E   0F
Max_Lat ..................  3F   26
Device Dependent .........  40   0000 0000
Device Dependent .........  44   0000 0000
Device Dependent .........  48   0000 0000
Device Dependent .........  4C   0000 0000
Device Dependent .........  50   0000 0000
Device Dependent .........  54   0000 0000
Device Dependent .........  58   0000 0000
Device Dependent .........  5C   0000 0000
Device Dependent .........  60   0000 0000
Device Dependent .........  64   0000 0000
Device Dependent .........  68   0000 0000
Device Dependent .........  6C   0000 0000
Device Dependent .........  70   0000 0000
Device Dependent .........  74   0000 0000
Device Dependent .........  78   0000 0000
Device Dependent .........  7C   0000 0000

Device Dependent .........  80   8000 0000
Device Dependent .........  84   8000 0000
Device Dependent .........  88   8000 0000
Device Dependent .........  8C   8000 0000
Device Dependent .........  90   8000 0000
Device Dependent .........  94   8000 0000
Device Dependent .........  98   8000 0000
Device Dependent .........  9C   8000 0000
Device Dependent .........  A0   8000 0000
Device Dependent .........  A4   8000 0000
Device Dependent .........  A8   8000 0000
Device Dependent .........  AC   8000 0000
Device Dependent .........  B0   8000 0000
Device Dependent .........  B4   8000 0000
Device Dependent .........  B8   8000 0000
Device Dependent .........  BC   8000 0000
Device Dependent .........  C0   8000 0000
Device Dependent .........  C4   8000 0000
Device Dependent .........  C8   8000 0000
Device Dependent .........  CC   8000 0000
Device Dependent .........  D0   8000 0000
Device Dependent .........  D4   8000 0000
Device Dependent .........  D8   8000 0000
Device Dependent .........  DC   8000 0000
Device Dependent .........  E0   8000 0000
Device Dependent .........  E4   8000 0000
Device Dependent .........  E8   8000 0000
Device Dependent .........  EC   8000 0000
Device Dependent .........  F0   8000 0000
Device Dependent .........  F4   8000 0000
Device Dependent .........  F8   8000 0000
Device Dependent .........  FC   8000 0000
------- End Of Log
请问如何写*.inf 文件以安装一个通用的pci driver?

[img]http://www.driverdevelop.com/forum/upload/Xman/2004-04-05_2004324183110706.jpg[/img]
Snare
驱动小牛
驱动小牛
  • 注册日期2002-01-31
  • 最后登录2002-08-23
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-03-22 18:43
给你的那个就可以,怎么着你也要适当的自己该一下丫
我就是我,没什么可说的。
Xman
驱动大牛
驱动大牛
  • 注册日期2001-08-24
  • 最后登录2011-10-07
  • 粉丝0
  • 关注0
  • 积分343分
  • 威望127点
  • 贡献值0点
  • 好评度34点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-03-23 10:24
除了将class=media外,还改什么??
[img]http://www.driverdevelop.com/forum/upload/Xman/2004-04-05_2004324183110706.jpg[/img]
Xman
驱动大牛
驱动大牛
  • 注册日期2001-08-24
  • 最后登录2011-10-07
  • 粉丝0
  • 关注0
  • 积分343分
  • 威望127点
  • 贡献值0点
  • 好评度34点
  • 原创分0分
  • 专家分0分
地板#
发布于:2002-03-25 09:42
help!
[img]http://www.driverdevelop.com/forum/upload/Xman/2004-04-05_2004324183110706.jpg[/img]
Tom.Cat
禁止发言
禁止发言
  • 注册日期2001-10-10
  • 最后登录2019-07-29
  • 粉丝1
  • 关注0
  • 积分-53792分
  • 威望197411点
  • 贡献值0点
  • 好评度5点
  • 原创分0分
  • 专家分0分
  • 社区居民
地下室#
发布于:2002-03-25 10:40
用户被禁言,该主题自动屏蔽!
Xman
驱动大牛
驱动大牛
  • 注册日期2001-08-24
  • 最后登录2011-10-07
  • 粉丝0
  • 关注0
  • 积分343分
  • 威望127点
  • 贡献值0点
  • 好评度34点
  • 原创分0分
  • 专家分0分
5楼#
发布于:2002-03-25 14:45
To: Tom.catpci
麻烦你指点一下,谢谢!
我有一块PCI的视频扑捉卡,想写*.inf 文件以安装成一个普通的pci卡,配置信息见上。
以下是我的inf文件:
[Version]
Signature=$CHICAGO$
Class=PCI
;ClassGuid={894A7460-A033-11d2-821E-444553540000}
Provider=%MFGNAME%

[Manufacturer]
%MFGNAME%=DeviceList

[DestinationDirs]
DefaultDestDir=10,System32\\Drivers

[SourceDisksFiles]
co_proc.sys=1


[DeviceList]
%DESCRIPTION%=DriverInstall,PCI\\VEN_1131&DEV_7146

;------------------------------------------------------------------------------
; Windows 2000 Sections
;------------------------------------------------------------------------------

[DriverInstall.NT]
CopyFiles=DriverCopyFiles
; TODO Add a LogConfig command and section if this is a legacy device

[DriverCopyFiles]
co_proc.sys,,,2

[DriverInstall.NT.Services]
AddService=co_proc,2,DriverService

[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\\system32\\drivers\\co_proc.sys

[DriverInstall.nt.hw]
;AddReg=DriverHwAddReg

;[DriverHwAddReg]

;------------------------------------------------------------------------------
; Windows 98 Sections
;------------------------------------------------------------------------------

[DriverInstall]
AddReg=DriverAddReg
CopyFiles=DriverCopyFiles
; TODO Add a LogConfig command and section if this is a legacy device

[DriverAddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,co_proc.sys

[DriverInstall.hw]
;AddReg=DriverHwAddReg

;------------------------------------------------------------------------------
; String Definitions
;------------------------------------------------------------------------------

[Strings]
MFGNAME=\"yk made\"
INSTDISK=\"video capture\"
DESCRIPTION=\"Philips Semi SAA7146 Multimedia Bridge Scal\"
[img]http://www.driverdevelop.com/forum/upload/Xman/2004-04-05_2004324183110706.jpg[/img]
Xman
驱动大牛
驱动大牛
  • 注册日期2001-08-24
  • 最后登录2011-10-07
  • 粉丝0
  • 关注0
  • 积分343分
  • 威望127点
  • 贡献值0点
  • 好评度34点
  • 原创分0分
  • 专家分0分
6楼#
发布于:2002-03-25 20:22
改为:
class=media
[DeviceList]
%DESCRIPTION%=DriverInstall,PCI\\VEN_1131&DEV_7146&SUBSYS_00000000&REV_01

报错:inf缺少区域!

[img]http://www.driverdevelop.com/forum/upload/Xman/2004-04-05_2004324183110706.jpg[/img]
Xman
驱动大牛
驱动大牛
  • 注册日期2001-08-24
  • 最后登录2011-10-07
  • 粉丝0
  • 关注0
  • 积分343分
  • 威望127点
  • 贡献值0点
  • 好评度34点
  • 原创分0分
  • 专家分0分
7楼#
发布于:2002-03-26 16:52
w2k下以解决!
谢谢各位,送分! :) :) :)
[img]http://www.driverdevelop.com/forum/upload/Xman/2004-04-05_2004324183110706.jpg[/img]
游客

返回顶部