Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "ECE497 Notes on gpio-keys"

Jump to: navigation, search
m (Initial page)
m (Added Notes tag)
Line 1: Line 1:
[[Category:ECE497 |Notes]]

Revision as of 14:36, 18 July 2012

thumb‎ Embedded Linux Class by Mark A. Yoder

I'm trying to figure out how to access the USER button on the Beagle xM. It looks like the new versions of the SD image use gpio-keys to manage gpio 4 so you can't access it via

beagle$ cd /sys/class/gpio
beagle$ echo 4 > export
bash: echo: write error: Device or resource busy

You need to access it via evtest, but I don't see a way to do it via the shell.


  • Here Jason suggests looking at evtest.c to learn how to access the USER button.
  • Here are some details on evtest.

thumb‎ Embedded Linux Class by Mark A. Yoder