<div dir="ltr"><div>It would be nice to post the code when asking for debugging help. Looks like your interrupts are in masked state but when you unload the driver they are getting unmasked and hence you are receiving them on unload.<br>
<br></div>-Rajat<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 6, 2014 at 4:09 PM, Eric Fowler <span dir="ltr"><<a href="mailto:eric.fowler@gmail.com" target="_blank">eric.fowler@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.666666984558105px">I am trying to figure out interrupts by writing a shadow of Rubini's 'short' program. Recall that Rubini tells us to enable parallel port interrupts by wiring pins 9&10 together, then writing binary data to the parallel port's address. </span><div style="font-family:arial,sans-serif;font-size:12.666666984558105px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px">I am doing that, but: </div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px">- I don't see interrupts when I write to the port</div>
<div style="font-family:arial,sans-serif;font-size:12.666666984558105px">- I do see one interrupt when I unload the driver (in the fop's .release method)</div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px">
- This happens whether or not the pins are wired up. </div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px"><br></div><div style="font-family:arial,sans-serif;font-size:12.666666984558105px">What is going on here?</div>
<div><br></div><div dir="ltr"><br></div>
</div>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br></div>