I have not worked on kernel 4+ and not on Ubuntu but I am pretty sure its the same for Ubuntu as it is for Debian, so give it a shot!
Refer to this link : https://www.linux.com/learn/beaglebone-black-how-get-interrupts-through-linux-gpio This might help. Rathin On Monday, April 24, 2017 at 11:07:25 AM UTC+5:30, Madhu K wrote: > > Hi Rathin, > > Thank you so much for your response. > > Basically I am trying to enable interrupts of UART2 on beaglebone black, > what are all the register i have to configure to work interrupts work > properly. > > I am kernel newbie, I started "free-electrons device driver development" > course, as part of the course I have to enable interrupts on UART2, using > USB to serial cable connect the pins of UART2 open the piccom terminal and > if I sent some characters on the UART2 console( picocom) interrupt should > be triggered and ISR needs to be called. > > But I don't know what are the all the registered needs to be configured. > > I am not using debian OS, I downloaded latest 4.9.y kernel and compiled my > self and loaded that kernel. and I am using ubuntu 14.04 rootfs. > > Any help is appropriated. > > Thanks in advance. > > Regards, > Madhu > > On Monday, April 17, 2017 at 2:30:12 AM UTC+5:30, Rathin Dholakia wrote: >> >> Hello Madhu, >> >> Can you please elaborate over what you really want to do? and using what? >> are you using Debian OS - Sys/BIOS or StarterWare. >> >> I am still a rookie, but I can suggest the following link: >> >> >> https://www.linux.com/learn/beaglebone-black-how-get-interrupts-through-linux-gpio >> >> Hope it helps. >> >> Rathin >> >> On Saturday, April 15, 2017 at 2:37:08 PM UTC+5:30, Madhu K wrote: >>> >>> Hi All, >>> >>> can anybody help to enable interrupt receiver register. >>> >>> Thanks >>> Madhu >>> >> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/4519d37e-0818-4b27-8014-c54c67ac16e0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.