⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 socketserialbt.inf

📁 pxa270的功能端口编写的块驱动linux
💻 INF
📖 第 1 页 / 共 2 页
字号:
02,00,00,00, \ ; ResType_IO = 0x00000002
01,00, \       ; IOD_Count;
0C,00, \       ; IOD_Type;         // IOType_Range = 0x000C
00,00, \       ; IOD_Alloc_Base;
00,00, \       ; IOD_Alloc_End;
00,00, \       ; IOD_DesFlags;
00, \          ; IOD_Alloc_Alias;
00, \          ; IOD_Alloc_Decode;
F8,FF, \       ; IOR_Align;        // Mask for base alignment
08,00, \       ; IOR_nPorts;       // Number of ports
00,01, \       ; IOR_Min;          // Min port address
FF,FF, \       ; IOR_Max;          // Max port address
00,00, \       ; IOR_RangeFlags;   // Flags
00, \          ; IOR_Alias;        // Alias offset
00, \          ; IOR_Decode;       // Address specified
40,00,00,00, \ ; PCCARD flags, 0x40 = 16-bit port

; IRQ Resource Descriptor
;
14,00,00,00, \ ; Total length of IRQ Resource Descriptor
04,00,00,00, \ ; ResType_IRQ = 0x00000004
00,00, \       ; IRQD_Flags;
00,00, \       ; IRQD_Alloc_Num;   // Allocated IRQ number
ff,ff, \       ; IRQD_Req_Mask;    // Mask of possible IRQs
00,00, \       ; IRQD_Reserved;
20,00,00,00, \ ; PCCARD flags, 0x20 = Level mode interrupts
;
; REQUEST_CONFIG_PKT Descriptor
; Same as PCMCIA Card Services RequestConfiguration argument structure.
; The Socket field in this structure does not need to be filled in.
;
19,00,00,00, \ ; Total length of REQUEST_CONFIG_PKT Descriptor
7C,89,00,00, \ ; (ResType_Ignored_Bit + PCCARD_DEVICE_ID) = 0x897C
00,00, \       ; Socket;
02,00, \       ; Attributes;
21, \          ; Vcc;
00, \          ; Vpp1
00, \          ; Vpp2
02, \          ; IntType;
00,04,00,00, \ ; ConfigBase;
00, \          ; Status;
00, \          ; Pin;
00, \          ; Copy;
2D, \          ; ConfigIndex;
03, \          ; Present;
;
; TERMINATOR
;
00,00,00,00
;
; OVERRIDE for (xxxx / xxxx)
;
HKR,Override,0001,1, \
;
; CONFIGMG_VERSION
;
00,04,00,00, \
;
; PRIORITY
;
00,00,00,00, \
;
; I/O Resource Descriptor 0:
;
24,00,00,00, \ ; Total length of I/O Resource Descriptor
02,00,00,00, \ ; ResType_IO = 0x00000002
01,00, \       ; IOD_Count;
0C,00, \       ; IOD_Type;         // IOType_Range = 0x000C
00,00, \       ; IOD_Alloc_Base;
00,00, \       ; IOD_Alloc_End;
00,00, \       ; IOD_DesFlags;
00, \          ; IOD_Alloc_Alias;
00, \          ; IOD_Alloc_Decode;
F8,FF, \       ; IOR_Align;        // Mask for base alignment
08,00, \       ; IOR_nPorts;       // Number of ports
00,01, \       ; IOR_Min;          // Min port address
FF,FF, \       ; IOR_Max;          // Max port address
00,00, \       ; IOR_RangeFlags;   // Flags
00, \          ; IOR_Alias;        // Alias offset
00, \          ; IOR_Decode;       // Address specified
40,00,00,00, \ ; PCCARD flags, 0x40 = 16-bit port

; IRQ Resource Descriptor
;
14,00,00,00, \ ; Total length of IRQ Resource Descriptor
04,00,00,00, \ ; ResType_IRQ = 0x00000004
00,00, \       ; IRQD_Flags;
00,00, \       ; IRQD_Alloc_Num;   // Allocated IRQ number
ff,ff, \       ; IRQD_Req_Mask;    // Mask of possible IRQs
00,00, \       ; IRQD_Reserved;
20,00,00,00, \ ; PCCARD flags, 0x20 = Level mode interrupts
;
; REQUEST_CONFIG_PKT Descriptor
; Same as PCMCIA Card Services RequestConfiguration argument structure.
; The Socket field in this structure does not need to be filled in.
;
19,00,00,00, \ ; Total length of REQUEST_CONFIG_PKT Descriptor
7C,89,00,00, \ ; (ResType_Ignored_Bit + PCCARD_DEVICE_ID) = 0x897C
00,00, \       ; Socket;
02,00, \       ; Attributes;
32, \          ; Vcc;
00, \          ; Vpp1
00, \          ; Vpp2
02, \          ; IntType;
00,04,00,00, \ ; ConfigBase;
00, \          ; Status;
00, \          ; Pin;
00, \          ; Copy;
2D, \          ; ConfigIndex;
03, \          ; Present;
;
; TERMINATOR
;
00,00,00,00

;
;--------------------------------------------------------------------------------
; Windows 2000/Xp Device Driver Section
;--------------------------------------------------------------------------------
;
[BtCOM.NT]
CopyFiles = CopyNtDriver

[CopyNtDriver]
%DeviceDriver%,,,2

;
;--------------------------------------------------------------------------------
; Windows 2000/Xp Device Driver Hardware Section
;--------------------------------------------------------------------------------
;
[BtCOM.NT.HW]
AddReg = SetupNtHw

[SetupNtHw]
HKR,,"UpperFilters",0x00010000,"serenum"
HKR,,"95xSpecific",0x00000001,01,00,00,00,00,00,c9,16,20,00,01,00,04,64,10,70,08,00,00,00,00,00,00,10
HKR,,"ClockRate",0x00010001, 1843200
HKR,,"EnablePowerManagement",0x00010001,0
; single serial port card
HKR,,"CardType",0x00010001, 1 
HKR,,"DriverName", 0x00000000,"%DeviceDriver%"
;HKR,,"DriverName", 0x00000000,"SktBt2k"
HKR,,SktIndex,0x00010001,1	           ; UART 1 
HKR,,"NoDisplayInUI",0x00010001, 0	   ; Display COM port assignment

;HKR,,FixBaudRate,0x00010001,0	           ; Fixed Baudrate Selections are 110 thru 921600
			                   ; Entry of 0 means override is disabled

;  %DeviceDriver%
;--------------------------------------------------------------------------------
; Windows 2000/XP Service Section 

;--------------------------------------------------------------------------------
;
[BtCOM.NT.Services]
AddService = SocketBtCOM, 0x00000002, Serial_Service_Inst, Serial_EventLog_Inst
AddService = Serenum,,Serenum_Service_Inst

[Serial_Service_Inst]
DisplayName    = %BT.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 0               ; SERVICE_ERROR_IGNORE
ServiceBinary  = %12%\%DeviceDriver%
LoadOrderGroup = Extended base

[Serenum_Service_Inst]
DisplayName    = %Serenum.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\serenum.sys
LoadOrderGroup = PNP Filter

[Serial_EventLog_Inst]
AddReg = Serial_EventLog_AddReg

[Serial_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%DeviceDriver%"
HKR,,TypesSupported,0x00010001,7

;
;--------------------------------------------------------------------------------
; Windows 2000 and XP OverRide Section
;--------------------------------------------------------------------------------
;
[ComPort.NT.LogConfigOverride]
LogConfig    =    Override0
LogConfig    =    Override1
LogConfig    =    Override2
LogConfig    =    Override3
LogConfig    =    Override4

;--------------------------------------------------------------------------------
; Windows 2000 and XP Override list
;--------------------------------------------------------------------------------
;
[Override0]
ConfigPriority=DESIRED
IOConfig     = 3E8-3EF                  ; COM3                 
IRQConfig    = 3,4,5,7,9,10,11,12,15     
MfCardConfig = 400:1D:0

[Override1]
ConfigPriority=DESIRED
IOConfig     = 2E8-2EF                  ; COM4               
IRQConfig    = 3,4,5,7,9,10,11,12,15     
MfCardConfig = 400:25:0

[Override2]
ConfigPriority=DESIRED
IOConfig     = 2F8-2FF                  ; COM2                 
IRQConfig    = 3,4,5,7,9,10,11,12,15     
MfCardConfig = 400:15:0

[Override3]
ConfigPriority=DESIRED
IOConfig     = 8@100-3F0%FFF8(FFFF::)  ; Any where between 100 and 3f0                
IRQConfig    = 3,4,5,7,9,10,11,12,15     
MfCardConfig = 400:2D:0

[Override4]
ConfigPriority = DESIRED
MemConfig    = 1000@00000000-FFFFFFFF%1000(RW)
IRQConfig    = 3,4,5,7,9,10,11,12,15     
MfCardConfig = 400:2D:0
PcCardConfig = 0:0(A)

;
;--------------------------------------------------------------------------------
; Strings Section
;--------------------------------------------------------------------------------
;
[Strings]
REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001

DiskId1           = "Socket Installation Disk #1"
PortsClassName    = "Ports (COM & LPT)"
Socket            = "Socket Communications, Inc."
Serenum.SVCDESC   = "Serenum Filter Driver"
BT.SVCDESC        = "Socket Bluetooth Port Driver"
BT.DeviceDesc	  = "Socket Bluetooth CF Card Adapter"
PowerMgr          =  "System\CurrentControlSet\Services\VXD\VCOMM"
DeviceDriver      = "SktBt2K.sys"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -