Hi all,
I am using IMX8MM platform as slave USB device. I want to implement parallel ISR on USB detection interrupt. When USB is connected with host, slave USB driver would have generated some software interrupt. I want to use that interrupt as indication to top user application using custom ISR on it. I can see below interrupt in `/proc/interrupt`.
` 58: 0 0 0 0 GICv3 72 Level 32e40000.usb`
Please help me to achieve this.
Thanks,
Ajita
Solved! Go to Solution.
Hi @Dhruvit ,
I found a solution. `udevadm` is useful to get device driver's events. Just need to add a rule and run script when event occur.
Thanks for your help.
Ajita
Hi @ajita02,
I hope you are doing well.
Hi @Dhruvit ,
I found a solution. `udevadm` is useful to get device driver's events. Just need to add a rule and run script when event occur.
Thanks for your help.
Ajita
@Rita_Wang @asim_zaidi @weidong_sun @riteshmpatel
Please provide a lead.