Parport and Linux-RT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am recieving a 'tick' from an electronic device, through the parallel
port pin-10. This pin generates an interrupt, so I am handling this
using the parport(_pc) generic module. This works flawlessly on a normal
linux, but using the -rt patches, the IRQ is not taken by the module.

Normal linux:
---
# modprobe parport 
# modprobe parport_pc
# cat /proc/interrupts 
        CPU0       
0:    5430087    XT-PIC-XT        timer
1:      13743    XT-PIC-XT        i8042
2:          0    XT-PIC-XT        cascade
7:      48100    XT-PIC-XT        parport0
...
---

Linux-rt:
---
# modprobe parport
# modprobe parport_pc
# cat /proc/interrupts 
        CPU0       
0:     382921    XT-PIC-XT        timer
1:          8    XT-PIC-XT        i8042
2:          0    XT-PIC-XT        cascade
7:          6    XT-PIC-XT      
...
---

In my own module I have tried to enable, request and wake the IRQ but 
with no success.

I've check the linux/drivers/parport/parport_pc.c in both kernels, and
they are identical. Also i've look at linux/kernel/irq/manage.c diffs and maybe
the parport module should ask for a IRQF_NODELAY interrupt?. 

I am not very sure how the interrupts are managed in RT_PREEMPT, so any
comment will be very helpfull.

Bye

-- 
Mauricio Araya L. 
ACS-UTFSM Team Leader, cel: 0-81564903
Est. Magister en Ciencias de la Informatica UTFSM, Valparaiso, Chile
counter.li.org: #249395, http://www.inf.utfsm.cl/~maray 
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux