Hi,
where can I find an example of an .inf for pcmcia?
Thanks,
Michael
Michael Grimard
Concepteur Logiciel/Software Designer
MAX Technologies
xxxxx@maxt.com
tel:(450)443-3332 ext.524
Hi,
where can I find an example of an .inf for pcmcia?
Thanks,
Michael
Michael Grimard
Concepteur Logiciel/Software Designer
MAX Technologies
xxxxx@maxt.com
tel:(450)443-3332 ext.524
What information are you specifically looking for? The DDK has most of
the information related to the .inf files.
Guru
-----Original Message-----
From: Michael Grimard [mailto:xxxxx@maxt.com]
Sent: Tuesday, April 02, 2002 8:49 AM
To: NT Developers Interest List
Subject: [ntdev] Inf example for pcmcia
Hi,
where can I find an example of an .inf for pcmcia?
Thanks,
Michael
Michael Grimard
Concepteur Logiciel/Software Designer
MAX Technologies
xxxxx@maxt.com
tel:(450)443-3332 ext.524
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%
I’m trying to make my pcmcia card detected correctly by winXP (I always
have the exclamation mark in front of it in the Device Manager).
I made an inf for win95 and it doesn’t seem to work in XP (I got invalid
data error), so I made a new one with GenINF and now I’m getting error
code 10: This device cannot start.
In win95, in the Install section, I write a structure in the registry,
something like this:
HKR,Override,0000,1, \
;
; CONFIGMG_VERSION
;
00,04,00,00, \
;
; PRIORITY
;
00,00,00,00, \
;
; IRQ
;
14,00,00,00, \
04,00,00,00, \
00,00,00,00, \
20,8A,00,00, \
20,00,00,00, \
;
; MEM 1
; 16K 8-bit common memory window mapped to PCMCIA address 00000 (=0K)
;
34,00,00,00, \ ; Total length of Memory Resource Descriptor
01,00,00,00, \ ; ResType_Mem = 0x00000001
01,00, \ ; MD_Count;
14,00, \ ; MD_Type; // MType_Range = 0x0014
00,00,00,00, \ ; MD_Alloc_Base;
00,00,00,00, \ ; MD_Alloc_End;
00,00, \ ; MD_Flags;
00,00, \ ; MD_Reserved;
00,C0,FF,FF, \ ; MR_Align; // Mask for base alignment
00,40,00,00, \ ; MR_nBytes; // Count of bytes = 16K
00,00,0E,00, \ ; MR_Min; // Min Address
FF,FF,0F,00, \ ; MR_Max; // Max Address
00,00, \ ; MR_Flags; // Flags
00,00, \ ; MR_Reserved;
04,00,00,00, \ ; PCCARD flags // 0x02 = attribute mem
; // 0x04 = 8-bit common mem
(undocumented)
; // 0x08 = 16-bit common mem
00,00,00,00, \ ; Memory card address
;
;
; REQUEST_CONFIG_PKT
;
19,00,00,00, \
7C,89,00,00, \
00,00,02,00, \
32,32,32,02, \
00,08,00,00, \
00,00,00,01, \
03, \
;
; TERMINATOR
;
00,00,00,00
I was wondering if winXP needs this structure and how can I give it.
Michael
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurupurna Huchurao
Sent: Tuesday, April 02, 2002 11:57 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Inf example for pcmcia
What information are you specifically looking for? The DDK has most of
the information related to the .inf files. Guru
-----Original Message-----
From: Michael Grimard [mailto:xxxxx@maxt.com]
Sent: Tuesday, April 02, 2002 8:49 AM
To: NT Developers Interest List
Subject: [ntdev] Inf example for pcmcia
Hi,
where can I find an example of an .inf for pcmcia?
Thanks,
Michael
Michael Grimard
Concepteur Logiciel/Software Designer
MAX Technologies
xxxxx@maxt.com
tel:(450)443-3332 ext.524
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@maxt.com
To unsubscribe send a blank email to %%email.unsub%%
I believe you should study the inf directives in the XP DDK. It has all
the information. Also see the LogConfigOverride section which you could
use to override the resources. It has information on how to use
IoConfig, MemConfig, IRQConfig, PcCardConfig etc.
Regards,
Guru
-----Original Message-----
From: Michael Grimard [mailto:xxxxx@maxt.com]
Sent: Tuesday, April 02, 2002 9:26 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Inf example for pcmcia
I’m trying to make my pcmcia card detected correctly by winXP (I always
have the exclamation mark in front of it in the Device Manager).
I made an inf for win95 and it doesn’t seem to work in XP (I got invalid
data error), so I made a new one with GenINF and now I’m getting error
code 10: This device cannot start.
In win95, in the Install section, I write a structure in the registry,
something like this:
HKR,Override,0000,1, \
;
; CONFIGMG_VERSION
;
00,04,00,00, \
;
; PRIORITY
;
00,00,00,00, \
;
; IRQ
;
14,00,00,00, \
04,00,00,00, \
00,00,00,00, \
20,8A,00,00, \
20,00,00,00, \
;
; MEM 1
; 16K 8-bit common memory window mapped to PCMCIA address 00000 (=0K)
;
34,00,00,00, \ ; Total length of Memory Resource Descriptor
01,00,00,00, \ ; ResType_Mem = 0x00000001
01,00, \ ; MD_Count;
14,00, \ ; MD_Type; // MType_Range = 0x0014
00,00,00,00, \ ; MD_Alloc_Base;
00,00,00,00, \ ; MD_Alloc_End;
00,00, \ ; MD_Flags;
00,00, \ ; MD_Reserved;
00,C0,FF,FF, \ ; MR_Align; // Mask for base alignment
00,40,00,00, \ ; MR_nBytes; // Count of bytes = 16K
00,00,0E,00, \ ; MR_Min; // Min Address
FF,FF,0F,00, \ ; MR_Max; // Max Address
00,00, \ ; MR_Flags; // Flags
00,00, \ ; MR_Reserved;
04,00,00,00, \ ; PCCARD flags // 0x02 = attribute mem
; // 0x04 = 8-bit common mem
(undocumented)
; // 0x08 = 16-bit common mem
00,00,00,00, \ ; Memory card address
;
;
; REQUEST_CONFIG_PKT
;
19,00,00,00, \
7C,89,00,00, \
00,00,02,00, \
32,32,32,02, \
00,08,00,00, \
00,00,00,01, \
03, \
;
; TERMINATOR
;
00,00,00,00
I was wondering if winXP needs this structure and how can I give it.
Michael
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurupurna Huchurao
Sent: Tuesday, April 02, 2002 11:57 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Inf example for pcmcia
What information are you specifically looking for? The DDK has most of
the information related to the .inf files. Guru
-----Original Message-----
From: Michael Grimard [mailto:xxxxx@maxt.com]
Sent: Tuesday, April 02, 2002 8:49 AM
To: NT Developers Interest List
Subject: [ntdev] Inf example for pcmcia
Hi,
where can I find an example of an .inf for pcmcia?
Thanks,
Michael
Michael Grimard
Concepteur Logiciel/Software Designer
MAX Technologies
xxxxx@maxt.com
tel:(450)443-3332 ext.524
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@maxt.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%
I didn’t use LogConfigOverride because I think what the PnP manager
reports is correct. So my understanding is that I don’t need this for
winXP.
Since I’m using the pcmcia.sys driver, do I need an AddService section
or the os will figured out itself to use pcmcia.sys?
Michael
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurupurna Huchurao
Sent: Tuesday, April 02, 2002 12:38 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Inf example for pcmcia
I believe you should study the inf directives in the XP DDK. It has all
the information. Also see the LogConfigOverride section which you could
use to override the resources. It has information on how to use
IoConfig, MemConfig, IRQConfig, PcCardConfig etc. Regards, Guru
-----Original Message-----
From: Michael Grimard [mailto:xxxxx@maxt.com]
Sent: Tuesday, April 02, 2002 9:26 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Inf example for pcmcia
I’m trying to make my pcmcia card detected correctly by winXP (I always
have the exclamation mark in front of it in the Device Manager).
I made an inf for win95 and it doesn’t seem to work in XP (I got invalid
data error), so I made a new one with GenINF and now I’m getting error
code 10: This device cannot start.
In win95, in the Install section, I write a structure in the registry,
something like this:
HKR,Override,0000,1, \
;
; CONFIGMG_VERSION
;
00,04,00,00, \
;
; PRIORITY
;
00,00,00,00, \
;
; IRQ
;
14,00,00,00, \
04,00,00,00, \
00,00,00,00, \
20,8A,00,00, \
20,00,00,00, \
;
; MEM 1
; 16K 8-bit common memory window mapped to PCMCIA address 00000 (=0K) ;
34,00,00,00, \ ; Total length of Memory Resource Descriptor 01,00,00,00,
\ ; ResType_Mem = 0x00000001
01,00, \ ; MD_Count;
14,00, \ ; MD_Type; // MType_Range = 0x0014
00,00,00,00, \ ; MD_Alloc_Base;
00,00,00,00, \ ; MD_Alloc_End;
00,00, \ ; MD_Flags;
00,00, \ ; MD_Reserved;
00,C0,FF,FF, \ ; MR_Align; // Mask for base alignment
00,40,00,00, \ ; MR_nBytes; // Count of bytes = 16K
00,00,0E,00, \ ; MR_Min; // Min Address
FF,FF,0F,00, \ ; MR_Max; // Max Address
00,00, \ ; MR_Flags; // Flags
00,00, \ ; MR_Reserved;
04,00,00,00, \ ; PCCARD flags // 0x02 = attribute mem
; // 0x04 = 8-bit common mem
(undocumented)
; // 0x08 = 16-bit common mem
00,00,00,00, \ ; Memory card address
;
;
; REQUEST_CONFIG_PKT
;
19,00,00,00, \
7C,89,00,00, \
00,00,02,00, \
32,32,32,02, \
00,08,00,00, \
00,00,00,01, \
03, \
;
; TERMINATOR
;
00,00,00,00
I was wondering if winXP needs this structure and how can I give it.
Michael
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurupurna Huchurao
Sent: Tuesday, April 02, 2002 11:57 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Inf example for pcmcia
What information are you specifically looking for? The DDK has most of
the information related to the .inf files. Guru
-----Original Message-----
From: Michael Grimard [mailto:xxxxx@maxt.com]
Sent: Tuesday, April 02, 2002 8:49 AM
To: NT Developers Interest List
Subject: [ntdev] Inf example for pcmcia
Hi,
where can I find an example of an .inf for pcmcia?
Thanks,
Michael
Michael Grimard
Concepteur Logiciel/Software Designer
MAX Technologies
xxxxx@maxt.com
tel:(450)443-3332 ext.524
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@maxt.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@maxt.com
To unsubscribe send a blank email to %%email.unsub%%
Hello Michael,
You have problems with installing the pcmcia card. What error code does
the Device Manager report? It might help to turn on verbose debug trace
from Setupapi (see DDK under the “Using SetupAPI Logging” topic) to see
what problems you’re having while device installation.
Does your hardware correctly specify the resource requirements in its
tuples? If not, then either fix the hardware or use LogConfigOverride
section in the inf file and specify there all the resource requirements
of the hardware.
What kind of pcmcia card is this? An example of system-supplied inf file
for installation of memory cards is memcard.inf. For 3C589 Ethernet LAN
PC Card, see netsc589.inf, etc.
Pcmcia.sys is the system-supplied driver for the Cardbus and legacy
pcmcia adapters. Your hardware should have its own driver or maybe will
use some other system-supplied driver depending on the functionality of
your hardware.
Thanks
Khalid
This posting is provided “AS IS” with no warranties, and confers no
rights.
Get Secure. Visit http://www.microsoft.com/security for current
information on security.
-----Original Message-----
From: Michael Grimard [mailto:xxxxx@maxt.com]
Sent: Tuesday, April 02, 2002 10:15 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Inf example for pcmcia
I didn’t use LogConfigOverride because I think what the PnP manager
reports is correct. So my understanding is that I don’t need this for
winXP.
Since I’m using the pcmcia.sys driver, do I need an AddService section
or the os will figured out itself to use pcmcia.sys?
Michael
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurupurna Huchurao
Sent: Tuesday, April 02, 2002 12:38 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Inf example for pcmcia
I believe you should study the inf directives in the XP DDK. It has all
the information. Also see the LogConfigOverride section which you could
use to override the resources. It has information on how to use
IoConfig, MemConfig, IRQConfig, PcCardConfig etc. Regards, Guru
-----Original Message-----
From: Michael Grimard [mailto:xxxxx@maxt.com]
Sent: Tuesday, April 02, 2002 9:26 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Inf example for pcmcia
I’m trying to make my pcmcia card detected correctly by winXP (I always
have the exclamation mark in front of it in the Device Manager).
I made an inf for win95 and it doesn’t seem to work in XP (I got invalid
data error), so I made a new one with GenINF and now I’m getting error
code 10: This device cannot start.
In win95, in the Install section, I write a structure in the registry,
something like this:
HKR,Override,0000,1, \
;
; CONFIGMG_VERSION
;
00,04,00,00, \
;
; PRIORITY
;
00,00,00,00, \
;
; IRQ
;
14,00,00,00, \
04,00,00,00, \
00,00,00,00, \
20,8A,00,00, \
20,00,00,00, \
;
; MEM 1
; 16K 8-bit common memory window mapped to PCMCIA address 00000 (=0K) ;
34,00,00,00, \ ; Total length of Memory Resource Descriptor 01,00,00,00,
\ ; ResType_Mem = 0x00000001
01,00, \ ; MD_Count;
14,00, \ ; MD_Type; // MType_Range = 0x0014
00,00,00,00, \ ; MD_Alloc_Base;
00,00,00,00, \ ; MD_Alloc_End;
00,00, \ ; MD_Flags;
00,00, \ ; MD_Reserved;
00,C0,FF,FF, \ ; MR_Align; // Mask for base alignment
00,40,00,00, \ ; MR_nBytes; // Count of bytes = 16K
00,00,0E,00, \ ; MR_Min; // Min Address
FF,FF,0F,00, \ ; MR_Max; // Max Address
00,00, \ ; MR_Flags; // Flags
00,00, \ ; MR_Reserved;
04,00,00,00, \ ; PCCARD flags // 0x02 = attribute mem
; // 0x04 = 8-bit common mem
(undocumented)
; // 0x08 = 16-bit common mem
00,00,00,00, \ ; Memory card address
;
;
; REQUEST_CONFIG_PKT
;
19,00,00,00, \
7C,89,00,00, \
00,00,02,00, \
32,32,32,02, \
00,08,00,00, \
00,00,00,01, \
03, \
;
; TERMINATOR
;
00,00,00,00
I was wondering if winXP needs this structure and how can I give it.
Michael
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gurupurna Huchurao
Sent: Tuesday, April 02, 2002 11:57 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Inf example for pcmcia
What information are you specifically looking for? The DDK has most of
the information related to the .inf files. Guru
-----Original Message-----
From: Michael Grimard [mailto:xxxxx@maxt.com]
Sent: Tuesday, April 02, 2002 8:49 AM
To: NT Developers Interest List
Subject: [ntdev] Inf example for pcmcia
Hi,
where can I find an example of an .inf for pcmcia?
Thanks,
Michael
Michael Grimard
Concepteur Logiciel/Software Designer
MAX Technologies
xxxxx@maxt.com
tel:(450)443-3332 ext.524
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@maxt.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@maxt.com
To unsubscribe send a blank email to %%email.unsub%%
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%