/dev/input/event* missing

From: Oystein Eftevaag <wintermute_at_geheb.com>
Date: Thu, 16 Feb 2006 00:52:17 +1000

Hiya guys!

For some reason the /dev/input/event* dev nodes aren't
created automatically when my system boots.

Kernel: Compiling my own, 2.6.15-hh0, from updated CVS.
Config is h2200_defconfig, with a few minor changes (framebuffer inbuilt
instead of
as a module, and changed the kernel command line to output console
messages to the screen instead of serial).

Root is GPE, the RC2 snapshot. Only modification is to load g_ether and
ifup usb0.

To get the touchscreen and buttons working I have to create the device
nodes manually at each boot (which works fine).

Just in case the solution will help someone:
Edit /etc/init.d/gpe-dm
Insert after the first line:

mkdir /dev/input
mknod /dev/input/event0 c 13 64
mknod /dev/input/event1 c 13 65
mknod /dev/input/event2 c 13 66

(You can also put in a 'ifup usb0' there to get the usb networking bit up).

Any reason why this is happening? I thought device nodes were created
automatically these days
as the drivers registered them. The only kernel error messages I've seen
have been
errors in loading firmware, doesn't seem related.

---
Oystein Eftevaag
Received on Wed Feb 15 2006 - 09:51:45 EST

This archive was generated by hypermail 2.2.0 : Wed Feb 15 2006 - 09:51:54 EST