Difference between revisions of "Driver for i.MX GPIO controlled keypads"

From ArmadeusWiki
Jump to: navigation, search
(Test common to all kaypads so moved in parent page)
(beautifying)
Line 6: Line 6:
 
==Installation==
 
==Installation==
 
If not already done in standard Armadeus rootfs:
 
If not already done in standard Armadeus rootfs:
 +
<pre class="host">
 
  $ make linux-menuconfig
 
  $ make linux-menuconfig
 +
</pre>
 +
<pre class="config">
 
  Device Drivers  ---> Input device support  ---> [*]  Keyboards  ---> <*>  AT keyboard
 
  Device Drivers  ---> Input device support  ---> [*]  Keyboards  ---> <*>  AT keyboard
then
 
 
  Device Drivers  ---> Armadeus specific drivers  ---> <M>  Armadeus Keypad driver
 
  Device Drivers  ---> Armadeus specific drivers  ---> <M>  Armadeus Keypad driver
 +
</pre>
  
 +
==Usage==
 
Reflash rootfs then:
 
Reflash rootfs then:
 +
<pre class="apf">
 
  # modprobe imxkeypad
 
  # modprobe imxkeypad
 
  Initializing Armadeus keypad driver
 
  Initializing Armadeus keypad driver
 
  input: imxkeypad as /class/input/input0
 
  input: imxkeypad as /class/input/input0
 
+
</pre>
==Usage==
+

Revision as of 21:59, 4 December 2009

Page under construction... Construction.png Informations on this page are not guaranteed !!

Introduction

This driver is intented to control matrix keypads connected to i.MX GPIOs

Installation

If not already done in standard Armadeus rootfs:

 $ make linux-menuconfig
 Device Drivers  ---> Input device support  ---> [*]   Keyboards  ---> <*>   AT keyboard
 Device Drivers  ---> Armadeus specific drivers  ---> <M>   Armadeus Keypad driver

Usage

Reflash rootfs then:

 # modprobe imxkeypad
 Initializing Armadeus keypad driver
 input: imxkeypad as /class/input/input0