Share interrupts for multiple serial ports

G

Guest

I use several PC104 cards with two serial ports each. Each of these cards shall use two IRQs that are shared with all the other cards. With XP Pro I have no problem with it. With XPE SP1 I add the serial ports via "Add new hardware device" and I get error code 12 (The device cannot find enough free resources that it can use). The problem is that I can´t share the interrupts (without sharing it works, but I don´t have enough free IRQs).
So, how can I enable interrupt steering correctly in XPe. I enabled Interrupt steering in tab "Standard PC" and also in the registry HKLM..\Services\Serial\PermitShare. Did I miss any setting?

Thanks for your help.

Manfred

P.S.: My COM Settings:

COM3 --> IRQ 7
COM4 --> IRQ 5
COM5 --> IRQ 7
COM6 --> IRQ 5
........
 
S

Slobodan Brcin \(eMVP\)

Hi Manfred,

Check flag "Share System Interrupt".
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/serial/hh/s
erial/sseovr_4unb.asp

I have no idea what are physical limitation of your motherboard, but can you
tell us at least if you have tried to use Win XP on that MB with all cards
present?

IRQ lines are usually shared physically on PCB, so there are slot pairs that
share IRQ between them.
If drivers are written correctly then even if you had only one IRQ it should
not be a problem.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Manfred Konrad said:
I use several PC104 cards with two serial ports each. Each of these cards
shall use two IRQs that are shared with all the other cards. With XP Pro I
have no problem with it. With XPE SP1 I add the serial ports via "Add new
hardware device" and I get error code 12 (The device cannot find enough free
resources that it can use). The problem is that I can´t share the interrupts
(without sharing it works, but I don´t have enough free IRQs).
So, how can I enable interrupt steering correctly in XPe. I enabled
Interrupt steering in tab "Standard PC" and also in the registry
HKLM..\Services\Serial\PermitShare. Did I miss any setting?
 
G

Guest

Hi Slobodan

Thanks for your fast answer. Unfortunately it still doesn´t work. The flag PermitShare is set to 1, the flag "Share System Interrupt" is not in the registry. So I added this flag at the keys for the configuration of the serial port but this doesn´t change anything. Is it necessary to have this key or is "PermitShare=1" enough
There is another thing I wonder. I traced (InCtrl5) changing "Interrupt Steering" in tab "Standard PC" but there is no significant change in the registry. Shouldn´t this set/reset the flay "PermitShare"

Thanks for your help

Best regards
Manfred
 
S

Slobodan Brcin \(eMVP\)

I have no idea since I never used this I just mentioned it so you can check
documentation.

But you did not tell us if XP is working on this device. If it is then you
can read all values that you need from XP registry.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Manfred Konrad said:
Hi Slobodan!

Thanks for your fast answer. Unfortunately it still doesn´t work. The flag
PermitShare is set to 1, the flag "Share System Interrupt" is not in the
registry. So I added this flag at the keys for the configuration of the
serial port but this doesn´t change anything. Is it necessary to have this
key or is "PermitShare=1" enough.
There is another thing I wonder. I traced (InCtrl5) changing "Interrupt
Steering" in tab "Standard PC" but there is no significant change in the
registry. Shouldn´t this set/reset the flay "PermitShare"?
 
G

Guest

I found the solution: I have to configure the serial ports manually and add the ports directly as components to TD. Otherwise XP detects 2 ports as PnP and then the interrupts can´t be shared anymore. With the same settings, but without PnP, it works fine. It´s strange, but it works

Best regards
Manfre
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top