Kernel 2.6.38.6

Jay
Hello,

I have successfully compiled the 2.6.38.6 Kernel for Mini2440. The uImage
(for U-Boot Bootloader) can be found here:
http://programmers-projects.de/node/17
It also contains the patch that the X-Server will work and the Backlight
won't turn off after starting (as I have seen that in many other Kernels
the Backlight will turn off in a short time after turning on the board).
The only thing that maybe isn't working is the touchscreen. Can someone
please try and give me some advice to get it working?


Greetings

Jay

open-nandra
Did you apply all patches for this kernel? At least:
http://friendlyarm.net/forum/topic/2575. Or use pengutronix BSP here:
http://friendlyarm.net/forum/topic/2737

marek

Jay
The patches from above I already applied on the source. But as I said: it
hasn't really fixed the touchscreen problem. The /dev/input/event0 device
is there but it seems to generate no signal when touching a location on the
screen.

open-nandra
Juergen from Pengutronix wrote me some time he also have some troubles.
Maybe it's fixed in BSP from Pengutronix. Please clone BSP and check
patches there or use BSP directly.

marek

davef
I had this same problem, with my own patched 2.6.38.5 kernel compilation. 
The work-around is to start up an application, a Qt one in my case, and
backlight stays on.

Did you check all /dev/input devices for touchscreen activity?

Dave

Jay
I already checked all /dev/input signals (there are only "event0" and
"mice"). No one of them gave a signal when touching the screen.

Jay

open-nandra
If I remember correctly it was /dev/input/event1 on my mini2440. Check if
you have touchscreen driver compiled correctly (by default it wasn't
selected).

marek

Juergen Beisert
Jay,
you should check with the tool "evtest" what kind of device the
"/dev/input/event0" is. I guess it is the gpio based keypad driver. In my
kernel two event devices occur: event0 is the keypad driver and event1 is
the touch. So it seems you do not have all patches applied. Your touch
device or driver is not registered. Check in /sys/bus/platform/device and
/sys/bus/platform/drivers what is missing.

Jay
Now I think I know what the mistake is. There is the touchscreen part
missing in the parameter parser... There is only screen type, backlight and
camera but no touchscreen part...
Nevertheless thank you for the hints!

Juergen Beisert
Maybe for the records. Prepare the bootloader to forward the following to
the kernel:

"mini2440" kernel parameter
- 0 .. 9 = screen type
- b = backlight enabled
- t = touch enabled
- c = camera enabled
Note: Can be "mini2440= " if neither of these components is connected

For example: Screen 0, touch+backlight+camera enabled:
"mini2440=0tbc"