--- Quote Start ---
originally posted by albertyong88@Nov 15 2006, 11:44 PM
hi,
what i have done now is included the altera_pio_button.c into the source tree locally, and change makefile and kconfig accordingly, and then compile by doing
make; make linux image;
all seems to be fine, but when i look at /proc/interrupts, there is no list of pio_buttons nor is there /dev/btn
any ideas what went wrong ?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19452)
--- quote end ---
--- Quote End ---
you need to open and read the char dev /dev/btn.
eg, cat /dev/btn
The nios2 patches (ver17) to uClinux-dist are updated to include button and lcd drivers now.