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

讨论:视频驱动开发(7146)与一般的PCI驱动开发有何不同?

楼主#
更多 发布于:2002-03-20 16:10
[img]http://www.driverdevelop.com/forum/upload/Xman/2004-04-05_2004324183110706.jpg[/img]
peng-416
驱动小牛
驱动小牛
  • 注册日期2001-03-23
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分1分
  • 威望2点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-03-21 09:22
通常你用另一个显示器,连接到你的目标板上(若你的目标板是AGP,则你的主机用PCI,etc),你先将它当作一个普通的PCI来做,做完了再写那个GDI驱动程序了.
Xman
驱动大牛
驱动大牛
  • 注册日期2001-08-24
  • 最后登录2011-10-07
  • 粉丝0
  • 关注0
  • 积分343分
  • 威望127点
  • 贡献值0点
  • 好评度34点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-03-21 13:39
我看不懂!;--(
我现在有一块7146+7113的PCI video capture,
能送一份纯粹的(无其他封装)ddk2k(wdm)的通用的pci驱动程序源码
以及测试的应用程序,(如获得7146配置信息,对gpio端口读写等等)
THANK YOU PREVIOUSLY!
[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-21 18:25
pci桥用的是什么?
你这样的程序和一般的pci驱动驱动没什么区别
我就是我,没什么可说的。
Xman
驱动大牛
驱动大牛
  • 注册日期2001-08-24
  • 最后登录2011-10-07
  • 粉丝0
  • 关注0
  • 积分343分
  • 威望127点
  • 贡献值0点
  • 好评度34点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2002-03-21 19:52
saa7146本身就有pci桥
[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分
5楼#
发布于:2002-03-21 20:20
我发给你了,接收吧,给分吧:)
我就是我,没什么可说的。
Xman
驱动大牛
驱动大牛
  • 注册日期2001-08-24
  • 最后登录2011-10-07
  • 粉丝0
  • 关注0
  • 积分343分
  • 威望127点
  • 贡献值0点
  • 好评度34点
  • 原创分0分
  • 专家分0分
6楼#
发布于:2002-03-22 10:16
to snare:
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分
7楼#
发布于:2002-03-22 10:26
[Version]
Signature=$CHICAGO$
Class=Unknown
ClassGuid={894A7460-A033-11d2-821E-444553540000}
Provider=%MFGNAME%

[Manufacturer]
%MFGNAME%=DeviceList

[DestinationDirs]
DefaultDestDir=10,System32\\Drivers

[SourceDisksFiles]
pci42.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]
pci42.sys,,,2

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

[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\\system32\\drivers\\pci42.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,,pci42.sys

[DriverInstall.hw]
;AddReg=DriverHwAddReg

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

[Strings]
MFGNAME=\"Walter Oney Software\"
INSTDISK=\"WDM Book Companion Disc\"
DESCRIPTION=\"AMCC S5933 Development Board\"


然后吧所有pci42.sys改成你编译后的文件名
我就是我,没什么可说的。
peng-416
驱动小牛
驱动小牛
  • 注册日期2001-03-23
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分1分
  • 威望2点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
8楼#
发布于:2002-03-22 11:00
这要分成两部分来做,你先做第一部分了.
然后再做第二个部分,我不明白你的应用,因此没办法给更多的解释.
Xman
驱动大牛
驱动大牛
  • 注册日期2001-08-24
  • 最后登录2011-10-07
  • 粉丝0
  • 关注0
  • 积分343分
  • 威望127点
  • 贡献值0点
  • 好评度34点
  • 原创分0分
  • 专家分0分
9楼#
发布于:2002-03-22 16:46
To pen-416:
    my qq is 76138572!

TO snare:
    显然安装失败,卡的Class Code .......B 04 ‘多媒体
    而inf的Class=Unknown

[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分
10楼#
发布于:2002-03-22 16:54
To pen-416:
    my QQ is 76138572
    请联系,谢谢!

TO snare:
    显然安装失败,卡的Class Code .......B 04 ‘多媒体
    而inf的Class=Unknown


[img]http://www.driverdevelop.com/forum/upload/Xman/2004-04-05_2004324183110706.jpg[/img]
shenhd
驱动牛犊
驱动牛犊
  • 注册日期2001-09-09
  • 最后登录2005-04-14
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
11楼#
发布于:2002-03-23 17:28
能给我发一封吗?谢谢!!!
Snare
驱动小牛
驱动小牛
  • 注册日期2002-01-31
  • 最后登录2002-08-23
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
12楼#
发布于:2002-03-25 19:56
看这个INF,自己尝试着修改
附件名称/大小 下载次数 最后更新
2002-03-25_RealtekNETRTS5.INF (13KB)  7
我就是我,没什么可说的。
游客

返回顶部