[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] lpt interrupt



Dear Cassidy,

The Instruction sequence is not true.
Change please such as below,
	outb(0x1C,0x37a);
	request_RTIrq(7,irqHandler);
Let's try.



<adolf@ratelindo.co.id>
OMC Switching Div
Wisma Bakrie Lt. 5,
Jl. HR. Rasuna Said Kav B1
Jakarta
Telp. 9101112 ext. 411

> ----------
> From: 	James Cassidy[SMTP:jcassidy@nova.genesoft.com]
> Sent: 	Thursday, June 11, 1998 1:33 AM
> To: 	rtl@rtlinux.cs.nmt.edu
> Subject: 	[rtl] lpt interrupt
> 
> 
> Has anyone tried using the lpt port interrupt (irq7) for testing
> rt-isr routines?  I've done what I think are the proper incantations,
> but no interrupts are generated.
> 
> request_RTirq( 7, irqHandler );	// install irq handler
> outb( 0x1c, 0x37a );			// enable int generation on lpt1
> 
> But when I pull pin 10 low to generate an irq, the service routine
> never gets called.  I do check that the request_RTirq doesn't return 
> an error.
> 
> I've checked the contents of /proc/interrupts.  It never contains
> any record of irq 7's use when the rt module is installed.  But I'm
> not certain that it will show up for rt type modules.
> 
> Any ideas?
> 
> Regards,
> Jim.
> 
> 
> --- [rtl] ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
> 
--- [rtl] ---
For more information on Real-Time Linux see:
http://www.rtlinux.org/