Problem Recompile Kernel for TouchScreen eGalax

Bonsoir, http://forum.ubuntu-fr.org/img/smilies/big_smile.png Je suis sous OpenSuse-11.1.
ca fait un bout de temp que je cherche alors je tente ma chance.

J voudrais configurer ma dale tactile TouchScreen eGalax. Il y a un cd contenant le DRIVER et la doc (il fait 13 pages, je ne sai pas commen le joindre) nécessaire pour:

  • installer le DRIVER

  • callibrer la dalle
    Seulement, ce driver est prévu pour la version 9.2 de Suse.
    J’ai tout de même suivi la doc. elle décrit les étapes d’installation.

      * En suivant la doc, j'ai donc installé d'abord '**sharutils-4.2c-596.i586.rpm**',
      * j'ai ensuite installé (avec **zypper in 'nom_du_packet**') les packets suivants:  **make-3.81-128.9**, (**tcl-8.5.5-1.38** et** tk-8.5.5-1.14** etaient déja installés),** gcc-4.3-34.168**, (**XFree86-devel **étant apparement obsolète, le système m'a proposé une série de packets** xorg-X11-....** que j'ai installé) et **kernel-source-2.6.27.19-3.2.1**.
      * puis quand jexécute **./touchkit.setup.sh** **, ça ne marche pas...:**
    

./touchkit.setup.sh
() Extract files from ./touchkit.setup.sh] to [/tmp/touchkit]
(
) Start installer [/tmp/touchkit/setup]

=== TouchKit for Linux Installer ===

(Step 1) Check Packages Installed
[Common]
make OK (make-3.81-128.9)
tcl OK (tcl-8.5.5-1.38)
tk OK (tk-8.5.5-1.14)
[Required for Full Mode]
gcc OK (gcc-4.3-34.168)
glibc-devel OK (glibc-devel-2.9-2.11.1)
XFree86-devel not found
kernel-source OK (kernel-source-2.6.27.19-3.2.1)

(Step 2) Select Installation Mode
(Q) Which installation mode do you prefer?
(1) Compact Mode, (only RS232 and PS/2) or
(2) Full Mode (RS232, PS/2 and [USB])

2
(I) [Full Mode] selected

(Step 3) Rebuild TouchKit
for n in include driver utility xf86drv diag usb; do
make -C $n || exit 1;
done
make[1]: entrant dans le répertoire « /tmp/touchkit/include »
tcl …/utility/tcl2h.tcl configSTR.tcl > configSTR.h
tcl …/utility/tcl2h.tcl configINT.tcl > configINT.h
tcl …/utility/ini2tcl.tcl touch.ini > touch.tcl
make[1]: quittant le répertoire « /tmp/touchkit/include »
make[1]: entrant dans le répertoire « /tmp/touchkit/driver »
gcc -o tpaneld tpaneld.c -g -O -Wall -I. -I…/include
for t in tpaneld; do
if -f $t ]; then
cp -f $t bin;
fi;
done
make[1]: quittant le répertoire « /tmp/touchkit/driver »
make[1]: entrant dans le répertoire « /tmp/touchkit/utility »
gcc -o PanelInfo PanelInfo.c -g -O -Wall -I. -I…/include
strip PanelInfo
gcc -o WriteConf WriteConf.c -g -O -Wall -I. -I…/include
strip WriteConf
for t in PanelInfo WriteConf; do
if -f $t ]; then
cp -f $t bin;
fi;
done
make[1]: quittant le répertoire « /tmp/touchkit/utility »
make[1]: entrant dans le répertoire « /tmp/touchkit/xf86drv »
X version: 11
imake -DUseInstalled -I/usr/share/X11/config
make -s proceed
make[2]: entrant dans le répertoire « /tmp/touchkit/xf86drv »
###############################################################

XF86 src does NOT exist; use precompiled binary instead

###############################################################
make[2]: quittant le répertoire « /tmp/touchkit/xf86drv »
if 11 -gt 400 ]; then
if -f touchkit_drv.o ]; then
cp -f touchkit_drv.o bin;
fi;
else
if -f xf86TouchKit.so ]; then
cp -f xf86TouchKit.so bin;
fi;
fi
make[1]: quittant le répertoire « /tmp/touchkit/xf86drv »
make[1]: entrant dans le répertoire « /tmp/touchkit/diag »
echo ‘CFLAGS = -Wall -ggdb2 -I …/include’ > Imakefile
echo ‘COMMON_HEADER = …/include/eeprom.c’ >> Imakefile
echo ‘LOCAL_LIBRARIES = $(XLIB)’ >> Imakefile
for t in 4pcal 25pcal drawtest; do
echo “all:: $t” >> Imakefile;
echo ‘NormalProgramTarget(’$t,$t’.o,$(COMMON_HEADER),$(LOCAL_LIBRARIES),)’ >> Imakefile;
done
xmkmf
imake -DUseInstalled -I/usr/share/X11/config
echo ‘#!/bin/sh’ > rbutton.tcl
echo ‘# ’ >> rbutton.tcl
echo ‘exec wish “$0” “$@”’ >> rbutton.tcl
cat …/include/configINT.tcl >> rbutton.tcl
cat …/include/configSTR.tcl >> rbutton.tcl
cat …/include/touch.tcl >> rbutton.tcl
cat rbutton.base >> rbutton.tcl
chmod 755 rbutton.tcl
make -f Makefile
make[2]: entrant dans le répertoire « /tmp/touchkit/diag »
gcc -m32 -Wall -ggdb2 -I …/include -c -o 4pcal.o 4pcal.c
rm -f 4pcal
gcc -m32 -o 4pcal -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -L/usr/lib 4pcal.o -lXext -lX11
gcc -m32 -Wall -ggdb2 -I …/include -c -o 25pcal.o 25pcal.c
rm -f 25pcal
gcc -m32 -o 25pcal -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -L/usr/lib 25pcal.o -lXext -lX11
gcc -m32 -Wall -ggdb2 -I …/include -c -o drawtest.o drawtest.c
rm -f drawtest
gcc -m32 -o drawtest -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -L/usr/lib drawtest.o -lXext -lX11
make[2]: quittant le répertoire « /tmp/touchkit/diag »
for t in 4pcal 25pcal drawtest; do
if -f $t ]; then
strip $t;
fi;
done
for t in 4pcal 25pcal drawtest rbutton.tcl; do
if -f $t ]; then
cp -f $t bin;
fi;
done
make[1]: quittant le répertoire « /tmp/touchkit/diag »
make[1]: entrant dans le répertoire « /tmp/touchkit/usb »
echo gcc -o usbpnpd usbpnpd.c -Wall -O -pipe -I …/include
gcc -o usbpnpd usbpnpd.c -Wall -O -pipe -I …/include
gcc -o usbpnpd usbpnpd.c -Wall -O -pipe -I …/include
usbpnpd.c: In function `_is_dup’:
usbpnpd.c:74: attention : déclaration sasn effet
strip usbpnpd
make -C /lib/modules/2.6.27.7-9-default/build SUBDIRS=/tmp/touchkit/usb modules
make[2]: entrant dans le répertoire « /usr/src/linux-2.6.27.7-9-obj/i386/default »
make[2]: *** Pas de règle pour fabriquer la cible « modules ». Arrêt.
make[2]: quittant le répertoire « /usr/src/linux-2.6.27.7-9-obj/i386/default »
make[1]: *** [build_module] Erreur 2
make[1]: quittant le répertoire « /tmp/touchkit/usb »
make: *** [all] Erreur 1

Aidez moi SVP:/

kernel-source OK (kernel-source-**2.6.27.19-3.2.1**)

make -C /lib/modules/**2.6.27.7-9**-default/build SUBDIRS=/tmp/touchkit/usb modules

Packages kernel-default and kernel-source must have the SAME version.

Thank you for your answer. Indeed, it is asked, in the Doc to install kernel-source amongst other things. I did it.
So My ‘/lib/modules’ is as follows:

linux-e3h8: /lib/modules # ls
2.6.27.19-3.2-debug
2.6.27.19-3.2-default
2.6.27.19-3.2-pae
2.6.27.19-3.2-trace
2.6.27.19-3.2-vmi
2.6.27.19-3.2-xen
2.6.27.7-9-default

and my ‘/usr/src’ is as follows:

linux-e3h8: /lib/modules # ls /usr/src/
**linux
linux-2.6.27.19-3.2
linux-2.6.27.19-3.2-obj
linux-2.6.27.7-9-obj
linux-obj packages **

currently, I’m using the kernel ‘2.6.27.7-9-default’:

linux-e3h8: /lib/modules # uname -r
2.6.27.7-9-default

What do I have to do? do I owe recompile the kernel with new the kernel-source?

OMG

What do you need all those kernels for?

Uninstall all kernels except

2.6.27.19-3.2-default

and reboot your machine choosing that kernel.

Please, how can i uninstall them safely? I’m just a newbi in OpenSuse

The same way you installed them, with YaST.

Hello, my zypper did not work any more. So I had to reinstall my system (OpenSuse-11.1). I fear of removing old kernel so I made an update rather.

NOW I have:
linux-a4ru:/usr/src # ls
linux
linux-2.6.27.19-3.2
linux-2.6.27.19-3.2-obj
linux-obj
packages

and:
linux-a4ru:/lib/modules # ls
2.6.27.19-3.2-debug
2.6.27.19-3.2-default
2.6.27.19-3.2-pae
2.6.27.19-3.2-trace
2.6.27.19-3.2-vmi
2.6.27.19-3.2-xen

But another problem occurs:

linux-a4ru:~/Desktop/For Linux/SuSE(for x86)/9.2 # ./touchkit.setup.sh
() Extract files from ./touchkit.setup.sh] to [/tmp/touchkit]
(
) Start installer [/tmp/touchkit/setup]

=== TouchKit for Linux Installer ===

(Step 1) Check Packages Installed
[Common]
make OK (make-3.81-128.9)
tcl OK (tcl-8.5.5-1.38)
tk OK (tk-8.5.5-1.14)
[Required for Full Mode]
gcc OK (gcc-4.3-34.168)
glibc-devel OK (glibc-devel-2.9-2.11.1)
XFree86-devel not found
kernel-source OK (kernel-source-2.6.27.19-3.2.1)

(Step 2) Select Installation Mode
(Q) Which installation mode do you prefer?
(1) Compact Mode, (only RS232 and PS/2) or
(2) Full Mode (RS232, PS/2 and [USB])
2
(I) [Full Mode] selected

(Step 3) Rebuild TouchKit
for n in include driver utility xf86drv diag usb; do
make -C $n || exit 1;
done
make[1]: entrant dans le répertoire « /tmp/touchkit/include »
tcl …/utility/tcl2h.tcl configSTR.tcl > configSTR.h
tcl …/utility/tcl2h.tcl configINT.tcl > configINT.h
tcl …/utility/ini2tcl.tcl touch.ini > touch.tcl
make[1]: quittant le répertoire « /tmp/touchkit/include »
make[1]: entrant dans le répertoire « /tmp/touchkit/driver »
gcc -o tpaneld tpaneld.c -g -O -Wall -I. -I…/include
In file included from tpaneld.c:48:
…/include/device.c: In function ‘SendAndWait’:
…/include/device.c:148: warning: pointer targets in initialization differ in signedness
In file included from tpaneld.c:50:
…/include/eeprom.c: In function ‘_ReadEEPROM’:
…/include/eeprom.c:59: warning: pointer targets in initialization differ in signedness
for t in tpaneld; do
if -f $t ]; then
cp -f $t bin;
fi;
done
make[1]: quittant le répertoire « /tmp/touchkit/driver »
make[1]: entrant dans le répertoire « /tmp/touchkit/utility »
gcc -o PanelInfo PanelInfo.c -g -O -Wall -I. -I…/include
In file included from PanelInfo.c:11:
…/include/device.c: In function ‘SendAndWait’:
…/include/device.c:148: warning: pointer targets in initialization differ in signedness
In file included from PanelInfo.c:13:
…/include/eeprom.c: In function ‘_ReadEEPROM’:
…/include/eeprom.c:59: warning: pointer targets in initialization differ in signedness
strip PanelInfo
gcc -o WriteConf WriteConf.c -g -O -Wall -I. -I…/include
strip WriteConf
for t in PanelInfo WriteConf; do
if -f $t ]; then
cp -f $t bin;
fi;
done
make[1]: quittant le répertoire « /tmp/touchkit/utility »
make[1]: entrant dans le répertoire « /tmp/touchkit/xf86drv »
X version: 11
imake -DUseInstalled -I/usr/share/X11/config
make -s proceed
make[2]: entrant dans le répertoire « /tmp/touchkit/xf86drv »
###############################################################

XF86 src does NOT exist; use precompiled binary instead

###############################################################
make[2]: quittant le répertoire « /tmp/touchkit/xf86drv »
if 11 -gt 400 ]; then
if -f touchkit_drv.o ]; then
cp -f touchkit_drv.o bin;
fi;
else
if -f xf86TouchKit.so ]; then
cp -f xf86TouchKit.so bin;
fi;
fi
make[1]: quittant le répertoire « /tmp/touchkit/xf86drv »
make[1]: entrant dans le répertoire « /tmp/touchkit/diag »
echo ‘CFLAGS = -Wall -ggdb2 -I …/include’ > Imakefile
echo ‘COMMON_HEADER = …/include/eeprom.c’ >> Imakefile
echo ‘LOCAL_LIBRARIES = $(XLIB)’ >> Imakefile
for t in 4pcal 25pcal drawtest; do
echo “all:: $t” >> Imakefile;
echo ‘NormalProgramTarget(’$t,$t’.o,$(COMMON_HEADER),$(LOCAL_LIBRARIES),)’ >> Imakefile;
done
xmkmf
imake -DUseInstalled -I/usr/share/X11/config
echo ‘#!/bin/sh’ > rbutton.tcl
echo '# ’ >> rbutton.tcl
echo ‘exec wish “$0” “$@”’ >> rbutton.tcl
cat …/include/configINT.tcl >> rbutton.tcl
cat …/include/configSTR.tcl >> rbutton.tcl
cat …/include/touch.tcl >> rbutton.tcl
cat rbutton.base >> rbutton.tcl
chmod 755 rbutton.tcl
make -f Makefile
make[2]: entrant dans le répertoire « /tmp/touchkit/diag »
gcc -m32 -Wall -ggdb2 -I …/include -c -o 4pcal.o 4pcal.c
In file included from …/include/eeprom.c:18,
from 4pcal.c:74:
…/include/device.c: In function ‘SendAndWait’:
…/include/device.c:148: warning: pointer targets in initialization differ in signedness
In file included from 4pcal.c:74:
…/include/eeprom.c: In function ‘_ReadEEPROM’:
…/include/eeprom.c:59: warning: pointer targets in initialization differ in signedness
4pcal.c: In function ‘ProcessEvent’:
4pcal.c:332: warning: call to function ‘DrawGraphics’ without a real prototype
4pcal.c:224: note: ‘DrawGraphics’ was declared here
rm -f 4pcal
gcc -m32 -o 4pcal -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -L/usr/lib 4pcal.o -lXext -lX11
gcc -m32 -Wall -ggdb2 -I …/include -c -o 25pcal.o 25pcal.c
In file included from …/include/eeprom.c:18,
from 25pcal.c:84:
…/include/device.c: In function ‘SendAndWait’:
…/include/device.c:148: warning: pointer targets in initialization differ in signedness
In file included from 25pcal.c:84:
…/include/eeprom.c: In function ‘_ReadEEPROM’:
…/include/eeprom.c:59: warning: pointer targets in initialization differ in signedness
25pcal.c: In function ‘ProcessEvent’:
25pcal.c:296: warning: call to function ‘DrawGraphics’ without a real prototype
25pcal.c:188: note: ‘DrawGraphics’ was declared here
rm -f 25pcal
gcc -m32 -o 25pcal -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -L/usr/lib 25pcal.o -lXext -lX11
gcc -m32 -Wall -ggdb2 -I …/include -c -o drawtest.o drawtest.c
In file included from …/include/eeprom.c:18,
from drawtest.c:50:
…/include/device.c: In function ‘SendAndWait’:
…/include/device.c:148: warning: pointer targets in initialization differ in signedness
In file included from drawtest.c:50:
…/include/eeprom.c: In function ‘_ReadEEPROM’:
…/include/eeprom.c:59: warning: pointer targets in initialization differ in signedness
rm -f drawtest
gcc -m32 -o drawtest -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -L/usr/lib drawtest.o -lXext -lX11
make[2]: quittant le répertoire « /tmp/touchkit/diag »
for t in 4pcal 25pcal drawtest; do
if -f $t ]; then
strip $t;
fi;
done
for t in 4pcal 25pcal drawtest rbutton.tcl; do
if -f $t ]; then
cp -f $t bin;
fi;
done
make[1]: quittant le répertoire « /tmp/touchkit/diag »
make[1]: entrant dans le répertoire « /tmp/touchkit/usb »
echo gcc -o usbpnpd usbpnpd.c -Wall -O -pipe -I …/include
gcc -o usbpnpd usbpnpd.c -Wall -O -pipe -I …/include
gcc -o usbpnpd usbpnpd.c -Wall -O -pipe -I …/include
usbpnpd.c: In function ‘_is_dup’:
usbpnpd.c:74: warning: statement with no effect
strip usbpnpd
make -C /lib/modules/2.6.27.19-3.2-default/build SUBDIRS=/tmp/touchkit/usb modules
make[2]: entrant dans le répertoire « /usr/src/linux-2.6.27.19-3.2-obj/i386/default »
make -C …/…/…/linux-2.6.27.19-3.2 O=/usr/src/linux-2.6.27.19-3.2-obj/i386/default/. modules
CC [M] /tmp/touchkit/usb/tkusb.o
In file included from /tmp/touchkit/usb/tkusb.c:15:
/tmp/touchkit/usb/tkusb.h:25:27: error: asm/semaphore.h: Aucun fichier ou dossier de ce type
/tmp/touchkit/usb/tkusb.c: In function ‘DoSendData’:
/tmp/touchkit/usb/tkusb.c:47: warning: passing argument 7 of ‘usb_fill_control_urb’ from incompatible pointer type
/tmp/touchkit/usb/tkusb.c: In function ‘irq_tscreen’:
/tmp/touchkit/usb/tkusb.c:146: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
/tmp/touchkit/usb/tkusb.c: In function ‘lauch_int_read’:
/tmp/touchkit/usb/tkusb.c:180: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
/tmp/touchkit/usb/tkusb.c: In function ‘write_tscreen’:
/tmp/touchkit/usb/tkusb.c:359: error: implicit declaration of function ‘verify_area’
/tmp/touchkit/usb/tkusb.c: At top level:
/tmp/touchkit/usb/tkusb.c:593: error: unknown field ‘mode’ specified in initializer
/tmp/touchkit/usb/tkusb.c:774: error: unknown field ‘owner’ specified in initializer
/tmp/touchkit/usb/tkusb.c:774: warning: initialization from incompatible pointer type
make[5]: *** [/tmp/touchkit/usb/tkusb.o] Erreur 1
make[4]: *** [module/tmp/touchkit/usb] Erreur 2
make[3]: *** [sub-make] Erreur 2
make[2]: *** [all] Erreur 2
make[2]: quittant le répertoire « /usr/src/linux-2.6.27.19-3.2-obj/i386/default »
make[1]: *** [build_module] Erreur 2
make[1]: quittant le répertoire « /tmp/touchkit/usb »
make: *** [all] Erreur 1

I checked it, I don’t have the file asm/semaphore.h under /lib/modules:

linux-a4ru:/lib/modules # find . -name semaphore.h
linux-a4ru:/lib/modules #

but there is one under /usr/src

linux-a4ru:/usr/src # find . -name semaphore.h
./linux-2.6.27.19-3.2/include/linux/semaphore.h
linux-a4ru:/usr/src #

What can I do?

I replaced the line #include <asm/semaphore.h> in the /tmp/touchkit/usb/tkusb.h file by #include <linux/semaphore.h>, this first problem is solved but the continuation does not pass:


strip usbpnpd
make -C /lib/modules/2.6.27.19-3.2-default/build SUBDIRS=/tmp/touchkit/usb modules
make[2]: entrant dans le répertoire « /usr/src/linux-2.6.27.19-3.2-obj/i386/default »
make -C …/…/…/linux-2.6.27.19-3.2 O=/usr/src/linux-2.6.27.19-3.2-obj/i386/default/. modules
CC [M] /tmp/touchkit/usb/tkusb.o
/tmp/touchkit/usb/tkusb.c: In function ‘DoSendData’:
/tmp/touchkit/usb/tkusb.c:47: warning: passing argument 7 of ‘usb_fill_control_urb’ from incompatible pointer type
/tmp/touchkit/usb/tkusb.c: In function ‘irq_tscreen’:
/tmp/touchkit/usb/tkusb.c:146: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
/tmp/touchkit/usb/tkusb.c: In function ‘lauch_int_read’:
/tmp/touchkit/usb/tkusb.c:180: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
/tmp/touchkit/usb/tkusb.c: In function ‘write_tscreen’:
/tmp/touchkit/usb/tkusb.c:359: error: implicit declaration of function ‘verify_area’
/tmp/touchkit/usb/tkusb.c: At top level:
/tmp/touchkit/usb/tkusb.c:593: error: unknown field ‘mode’ specified in initializer
/tmp/touchkit/usb/tkusb.c:774: error: unknown field ‘owner’ specified in initializer
/tmp/touchkit/usb/tkusb.c:774: warning: initialization from incompatible pointer type
make[5]: *** [/tmp/touchkit/usb/tkusb.o] Erreur 1
make[4]: *** [module/tmp/touchkit/usb] Erreur 2
make[3]: *** [sub-make] Erreur 2
make[2]: *** [all] Erreur 2
make[2]: quittant le répertoire « /usr/src/linux-2.6.27.19-3.2-obj/i386/default »
make[1]: *** [build_module] Erreur 2
make[1]: quittant le répertoire « /tmp/touchkit/usb »
make: *** [all] Erreur 1

:(Please Help me…

/tmp/touchkit/usb/tkusb.c:359: error: implicit declaration of function ‘verify_area’
/tmp/touchkit/usb/tkusb.c: At top level:
/tmp/touchkit/usb/tkusb.c:593: error: unknown field ‘mode’ specified in initializer
/tmp/touchkit/usb/tkusb.c:774: error: unknown field ‘owner’ specified in initializer
/tmp/touchkit/usb/tkusb.c:774: warning: initialization from incompatible pointer type

Unless you don’t find a newer, compatible version (or how to patch it for 2.6.27) you can forget this.

thank you for your patience

:|I would have liked to install only kernel 2.6.27.19-3.2-default but

zypper in kernel-source

or YasT (Kernel-default) install all that at the same time.

linux-a4ru:/lib/modules # ls
2.6.27.19-3.2-debug
2.6.27.19-3.2-default
2.6.27.19-3.2-pae
2.6.27.19-3.2-trace
2.6.27.19-3.2-vmi
2.6.27.19-3.2-xen

How can I install only

kernel 2.6.27.19-3.2-default

?

:frowning: No patch available…


rpm -qa "kernel-*"
kernel-syms-2.6.27.19-3.2.1
kernel-default-extra-2.6.27.19-3.2.1
kernel-default-2.6.27.19-3.2.1
kernel-default-base-2.6.27.19-3.2.1
kernel-source-2.6.27.19-3.2.1

This is what you need and NOTHING more.

No patch? => Bad luck.

But as you don’t even tell us which device you have (PCI or USB ID instead of some name) and where you got the driver from, decent help is also impossible.

;)Excuse me, I had spoken about the tactile flagstone (eGalax TouchScreen) in my first message. But the message was in French.

So I’m trying to install driver for my tactile flagstone. It’s an USB Device.

It’s driver and how to configure it can be found at Welcome to ATouch

lsusb gives this:

linux-a4ru:~/Desktop # lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
**Bus 004 Device 002: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen**
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 04f3:0210 Elan Microelectronics Corp. AM-400 Hama Optical Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and lsmod | grep usb gives:

linux-a4ru:~/Desktop # lsmod | grep usb
usbtouchscreen          9052  0 
usb_storage            86620  0 
usbhid                 45828  0 
hid                    35784  1 usbhid
ff_memless              7244  1 usbhid
**usbcore               167276  6 usbtouchscreen,usb_storage,usbhid,uhci_hcd,ehci_hcd**
scsi_mod              149720  5 usb_storage,sr_mod,sg,sd_mod,libata

after I have connected it, tap on the flagstone are not precise. I need to calibrate it by using the provided Driver. That’s where my problem began…

Ask me all the necessary informations so that I can render comprehensible myself. :(I need to solve this problem

0eef:0001


modinfo usbtouchscreen
filename:       /lib/modules/2.6.27.19-3.2-default/kernel/drivers/input/touchscreen/usbtouchscreen.ko
alias:          mtouchusb
alias:          itmtouch
alias:          touchkitusb
license:        GPL
description:    USB Touchscreen Driver
author:         Daniel Ritz <daniel.ritz@gmx.ch>
srcversion:     A9AAFC083C5E25D1AB10645
alias:          usb:v08F2p00F4d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v08F2p00CEd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v08F2p007Fd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DFCp0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1391p1000d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v6615p0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v595Ap0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0AFAp03E8d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0637p0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1234p5678d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0403pF9E9d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0596p0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v134Cp0004d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v134Cp0003d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v134Cp0002d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v134Cp0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1234p0002d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1234p0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0EEFp0002d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0EEFp0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0123p0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v3823p0002d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v3823p0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0EEFp0002d*dc*dsc*dp*ic03isc*ip*
alias:          usb:v**0EEF**p**0001**d*dc*dsc*dp*ic03isc*ip*
depends:        usbcore
supported:      yes
vermagic:       2.6.27.19-3.2-default SMP mod_unload modversions
parm:           swap_xy:If set X and Y axes are swapped. (bool)
parm:           hwcalib_xy:If set hw-calibrated X/Y are used if available (bool)

So you already have a driver for your device, it’s even loaded.

For calibration you will most certainly need a user space tool instead of a kernel driver.

I sought in Yast, and I found a tool of configuration named “carte graphique et moniteur” (SaX2)

I followed the instructions. But after configuration:

  • clicks on the right of the screen are interpreted like clicks in top of the screen.
  • clicks on top of of screen are interpreted like clicks on the left of the screen.
    And so on
  • left -> bottom
  • bottom -> right

It’s the reason why I thought that the driver provided by default is not the good one. And that’s the reason why I had preferred to take that of Welcome to ATouch

Without wanting not to misuse your availability, how to make the configuration?

(;)My English Is bad, I’m just trying…)

Hi
I have an eGalax touchscreen here, did you download the drivers from;
<http://home.eeti.com.tw/web20/eGalaxTouchDriver/linuxDriver.htm&gt;
and run the setup program as well as read the documentation on how to
configure your xorg file and calibrate with the TochKit application?

I’m just in the process of re installing openSUSE 11.1 on the VIA pico
ITX that it normally runs on (changed the hard drive), so will also be
running through to install in due course.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel 2.6.27.19-3.2-pae
up 13:39, 2 users, load average: 0.08, 0.06, 0.08
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Thanks a lot!!!

I took the advice of ’ malcolmlewis’ ; I thus used the driver provided on
<http://home.eeti.com.tw/web20/eGalaxTouchDriver/linuxDriver.htm>](http://home.eeti.com.tw/web20/eGalaxTouchDriver/linuxDriver.htm)

instead of that by default included in the kernel.
:)that worked!