Jump to content

Installing an ISR without any framework


hjoe

Recommended Posts

Armbianmonitor:

  Hi, trying to install a char driver without any driver framework. The only thing I can not install is getting the Interrupt through to the interrupt servce routine

  err = request_irq(irq, handler,
        // IRQF_TRIGGER_RISING,
         IRQF_TRIGGER_HIGH,
        "can4linux", &can_minors[minor]);

irq is the Interrupt number of the CAN controller, it is fixed in the A20 to 58.

I do get no error messages, but the isr is not called. What I am missing?

 

Greetings Heinz
 

By the way, it worked  an Bananian 3.x

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines