Начал сначала
gena@gena-desktop:~$ sudo -s
root@gena-desktop:~# sh setup.sh
(*) Linux driver installer for TouchKit controller
(I) Check user permission: root, you are the supervisor.
(I) Begin to setup the TouchKit driver.
(I) Extract TouchKit driver archive to /usr/local/TouchKit32.
(I) Create TouchKit utility shortcut in /usr/bin.
(I) Create TKCal tool shortcut in /usr/bin.
(I) Check X window version: 6.9.0 ~ 7.2.0
(I) Copy X module: x69/egalax_drv.so to /usr/lib/xorg/modules/input.
(Q) Which interface controller do you use?
(I) [1] RS232 [2] PS/2 [3] USB : 3
(I) Using interface: USB
(I) Found a non-HID compliant touch controller.
(I) Note that the option "Device" "/dev/input/mice" for mouse
should be changed to "Device" "/dev/input/mouseX" to prevent
the mouse driver from reading.
(I) For details, see the document "Driver Guide.pdf".
(I) Removed TouchKit driver archive from /usr/local/TouchKit32.
(I) Removed TouchKit utility shortcut.
(I) Removed TKCal tool shortcut.
(I) Removed X module.
(E) No X configuration file found.
root@gena-desktop:~# cd /home/gena/USBSrc
root@gena-desktop:~/USBSrc# make all
make -C /lib/modules/2.6.32-122-rtai/build SUBDIRS=/home/gena/USBSrc modules
make[1]: Вход в каталог `/usr/src/linux-headers-2.6.32-122-rtai'
CC [M] /home/gena/USBSrc/tkusb.o
In file included from /home/gena/USBSrc/tkusb.c:15:
/home/gena/USBSrc/tkusb.h:25:27: error: asm/semaphore.h: Нет такого файла или каталога
/home/gena/USBSrc/tkusb.c: In function ‘DoSendData’:
/home/gena/USBSrc/tkusb.c:47: warning: passing argument 7 of ‘usb_fill_control_urb’ from incompatible pointer type
include/linux/usb.h

note: expected ‘usb_complete_t’ but argument is of type ‘void (*)(struct urb *, struct pt_regs *)’
/home/gena/USBSrc/tkusb.c: In function ‘irq_tscreen’:
/home/gena/USBSrc/tkusb.c:146: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
include/linux/usb.h

note: expected ‘usb_complete_t’ but argument is of type ‘void (*)(struct urb *, struct pt_regs *)’
/home/gena/USBSrc/tkusb.c: In function ‘lauch_int_read’:
/home/gena/USBSrc/tkusb.c:180: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
include/linux/usb.h

note: expected ‘usb_complete_t’ but argument is of type ‘void (*)(struct urb *, struct pt_regs *)’
make[2]: *** [/home/gena/USBSrc/tkusb.o] Ошибка 1
make[1]: *** [_module_/home/gena/USBSrc] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-2.6.32-122-rtai'
make: *** [all] Ошибка 2
root@gena-desktop:~/USBSrc#