Handling Hardware interrupts in Linux -


i working on embedded linux platform running linux 2.6 . love know how following.

1) have hardware interrupt source irq7 shows in /proc/interrupts

cat /proc/interrupts | grep irq7

m547x_8x 71: 1916076 pci irq7

2) pci irq7, each time press button, 3rd value value changes

m547x_8x 71: 2177862 pci irq7

doesn't mean switch press recognized?

now want trigger user program sleep when press button. how write user space program using interrupts or signal?

should write driver program this?

can suggest resources should into?

you should take on gpio key on linux. after exporting interrupt /dev/input/eventxxx, can use evtest tool check user space.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -