Difference between revisions of "Talk:Linux driver for FPGA controlled keyboards"

From ArmadeusWiki
Jump to: navigation, search
m (New page: <pre class="apf"> # cat /sys/class/input/input0/event0/dev 13:64 If corresponding device node in /dev/input/ is not existing, then: # mkdir -p /dev/input # mknod /dev/input/event0 c ...)
 
 
Line 1: Line 1:
 +
==Installation==
 +
If not already done in standard Armadeus rootfs:
 +
$ make linux26-menuconfig
 +
Device Drivers  ---> Input device support  ---> [*]  Keyboards  ---> <*>  AT keyboard
 +
then
 +
Device Drivers  ---> Armadeus specific drivers  ---> <M>  Armadeus PS/2 driver
 +
 +
Reflash rootfs then:
 +
<pre class="apf">
 +
# modprobe apf9328ps2
 +
input: AT Raw Set 2 keyboard as /class/input/input0
 +
Armadeus PS/2: APF9328KBD AT adapter OK!
 +
</pre>
 +
 
<pre class="apf">  
 
<pre class="apf">  
 
# cat /sys/class/input/input0/event0/dev
 
# cat /sys/class/input/input0/event0/dev

Latest revision as of 20:21, 18 May 2009

Installation

If not already done in standard Armadeus rootfs:

$ make linux26-menuconfig
Device Drivers  ---> Input device support  ---> [*]   Keyboards  ---> <*>   AT keyboard

then

Device Drivers  ---> Armadeus specific drivers  ---> <M>   Armadeus PS/2 driver

Reflash rootfs then:

 # modprobe apf9328ps2
 input: AT Raw Set 2 keyboard as /class/input/input0
 Armadeus PS/2: APF9328KBD AT adapter OK!
 
# cat /sys/class/input/input0/event0/dev
 13:64

If corresponding device node in /dev/input/ is not existing, then:

 # mkdir -p /dev/input
 # mknod /dev/input/event0 c 13 64