Re: KernelIoControl error 50

just to be sure: in your post you say that you want to call
Is it a typo...?

Anyway, which IRQ do you need for the parallel port? if you need the
'standard' IRQ5 or IRQ7 you do not need to associate to a SYSINTR since
they are statically mapped to SYSINTR_FIRMWARE+5 and SYSINTR_FIRMWARE+7
respectively (check %_WINCEROOT%\PLATFORM\COMMON\SRC\X86\COMMON\INTR\init.c)


Luca Calligaris

<vlatko.petkoski@xxxxxxxxxxx> ha scritto nel messaggio
Hi. I'm using windowsCE 6.0 and x86 platform.

I'm writing IST for parallel port. I'm using MSDN example for IST.

When I call KernelIoControl it fails with error code 50
sizeof( dwIrq ),
sizeof( g_dwSysInt ),
From the link above I modify oalioctl.cpp in C:\WINCE600\PUBLIC\COMMON
add IOCTL_HALL_REQUEST_SYSINTR and after that I build new OSDesign
I start my application and KernelIoControl() failed again with error
What I'm doing wrong?
My problem is to translate IRQ from parallel port to SYSINTR value.
Is there another way or should I use this way?
Please give me some example how to exactly call KernelIoControl().
Thanks in advance.
Regards Vlatko.


Relevant Pages

  • Re: 5.1-R-p2 crashes on SMP with AMI RAID and Intel 1000/Pro
    ... Most problems were caused by IRQ problems, I gues and I solved them by fiddling around ... :>Sadly, I can offer no help, but I do have a Thunder 2462 (SMP mobo), and I ... :>> Dependend on which devices are switched on or off by BIOS, the kernel ... :>> serial ports, the parallel port, sound and usb to get additional IRQs. ...
  • Re: XA1541 on AMD64 x2, further suggestions
    ... taken from the chip itself, ... parallel port, IRQ1, IRQ3 and IRQ12. ... IRQ in your BIOS. ... BIOS does not provide such a configuration option. ...
  • Re: Programming the parallel port irq on a shared irq?
    ... unshared parallel port for years. ... unshared irq. ... For shared interrupts you set for level triggered and the ISR loops until ... the parport driver is notified and it triggers a polling ...
  • Strange BIOS-self-reset and IRQ-conflicts
    ... For my application i dont need the ... parallel port, but many serial ports, so the kernel was built without ... which needs at least one IRQ. ... And the system has heavy communication over the serial ports ...
  • [PATCH] parport: Use the PCI IRQ if offered
    ... PCI parallel port devices can IRQ share so we should stop them hogging the ... printk (KERN_INFO ...