Hmm, takze jsem zjistil, ze jedina moznost je zatim uprava zdrojaku a prekompilace kernelu.. Jelikoz nejsem pokrocily uzivatel linuxu, muze me nekdo nasmerovat, kde sehnat ty zdrojove kody a jakym zpusobem provest prekompilaci ? Nize uvadim postup, ktery resi problem:
Thanks for your answer, finally i solved the problem. I needed to do a little kernel hacking to make the touchpad work. The problemmatic file is the drivers/input/serio/i8042.c in the linux kernel source. The ps/2 port detection routine erroneously thinks that there is no ps/2 port for the touchpad in my hp500 notebook. This routine resides in function i8042_check_aux(). After I put a Code:
return 0;
line in the beginning of the body of this function the touchpad worked correctly.
If anybody has the same problem,here is the patch for 2.6.18 kernels to disable the erroneous port detection routine.
Code:
--- /usr/src/linux-2.6.18-gentoo-r4/drivers/input/serio/i8042.c 2006-12-19 13:25:35.000000000 +0100
+++ /usr/src/linux/drivers/input/serio/i8042.c 2007-01-03 23:12:21.000000000 +0100
@@ -604,6 +604,9 @@
unsigned char param;
static int i8042_check_aux_cookie;
+printk("eger detektalas megkerulese\n");
+return 0;
+
/*
* Check if AUX irq is available. If it isn't, then there is no point
* in trying to detect AUX presence.
@@ -628,7 +631,6 @@
param = 0x5a;
if (i8042_command(¶m, I8042_CMD_AUX_LOOP) || param != 0x5a) {
-
/*
* External connection test - filters out AT-soldered PS/2 i8042's
* 0x00 - no error, 0x01-0x03 - clock/data stuck, 0xff - general error