• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Wacom Pen & Touch unter OpenSuse 11.2

Hallo,

ich hab im Betreff genanntes Wacom-Grafiktablet, welches ich ganz gerne unter OpenSuse 11.2 einsetzen würde.
In einem Ubuntu-Forum hab ich nun herausgefunden, dass es mit diversen Patches zu dem Treiber 0.8.5-9 von Linuxwacom zur Mitarbeit zu bewegen ist.
Ich hab mir die gepatchte Version besorgt und wollte die nun installieren. Leider bricht configure bereits mit einem Fehler ab und ich weiss nun nicht weiter. Vielleicht kann mir mal jemand auf die Sprünge helfen. Dies sind die Meldungen von configure:
Code:
checking for a BSD-compatible install... /usr/bin/install -c                                                               
checking whether build environment is sane... yes                                                                          
checking for a thread-safe mkdir -p... /bin/mkdir -p                                                                       
checking for gawk... gawk                                                                                                  
checking whether make sets $(MAKE)... yes                                                                                  
checking whether to enable maintainer-specific portions of Makefiles... no                                                 
checking for gcc... gcc                                                                                                    
checking for C compiler default output file name... a.out                                                                  
checking whether the C compiler works... yes                                                                               
checking whether we are cross compiling... no                                                                              
checking for suffix of executables...                                                                                      
checking for suffix of object files... o                                                                                   
checking whether we are using the GNU C compiler... yes                                                                    
checking whether gcc accepts -g... yes                                                                                     
checking for gcc option to accept ISO C89... none needed                                                                   
checking for style of include used by make... GNU                                                                          
checking dependency style of gcc... gcc3                                                                                   
checking for gawk... (cached) gawk                                                                                         
checking build system type... i686-pc-linux-gnu                                                                            
checking host system type... i686-pc-linux-gnu                                                                             
checking for a sed that does not truncate output... /usr/bin/sed                                                           
checking for grep that handles long lines and -e... /usr/bin/grep                                                          
checking for egrep... /usr/bin/grep -E                                                                                     
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld                                                                 
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes                                                      
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r                                               
checking for BSD-compatible nm... /usr/bin/nm -B                                                                           
checking whether ln -s works... yes                                                                                        
checking how to recognize dependent libraries... pass_all                                                                  
checking how to run the C preprocessor... gcc -E                                                                           
checking for ANSI C header files... yes                                                                                    
checking for sys/types.h... yes                                                                                            
checking for sys/stat.h... yes                                                                                             
checking for stdlib.h... yes                                                                                               
checking for string.h... yes                                                                                               
checking for memory.h... yes                                                                                               
checking for strings.h... yes                                                                                              
checking for inttypes.h... yes                                                                                             
checking for stdint.h... yes                                                                                               
checking for unistd.h... yes                                                                                               
checking dlfcn.h usability... yes                                                                                          
checking dlfcn.h presence... yes                                                                                           
checking for dlfcn.h... yes                                                                                                
checking for g++... no                                                                                                     
checking for c++... no                                                                                                     
checking for gpp... no                                                                                                     
checking for aCC... no                                                                                                     
checking for CC... no                                                                                                      
checking for cxx... no                                                                                                     
checking for cc++... no                                                                                                    
checking for cl.exe... no                                                                                                  
checking for FCC... no                                                                                                     
checking for KCC... no                                                                                                     
checking for RCC... no                                                                                                     
checking for xlC_r... no                                                                                                   
checking for xlC... no                                                                                                     
checking whether we are using the GNU C++ compiler... no                                                                   
checking whether g++ accepts -g... no                                                                                      
checking dependency style of g++... none                                                                                   
checking for g77... no                                                                                                     
checking for xlf... no                                                                                                     
checking for f77... no                                                                                                     
checking for frt... no                                                                                                     
checking for pgf77... no                                                                                                   
checking for cf77... no                                                                                                    
checking for fort77... no                                                                                                  
checking for fl32... no                                                                                                    
checking for af77... no                                                                                                    
checking for xlf90... no                                                                                                   
checking for f90... no                                                                                                     
checking for pgf90... no                                                                                                   
checking for pghpf... no                                                                                                   
checking for epcf90... no                                                                                                  
checking for gfortran... no                                                                                                
checking for g95... no                                                                                                     
checking for xlf95... no                                                                                                   
checking for f95... no                                                                                                     
checking for fort... no                                                                                                    
checking for ifort... no                                                                                                   
checking for ifc... no                                                                                                     
checking for efc... no                                                                                                     
checking for pgf95... no                                                                                                   
checking for lf95... no                                                                                                    
checking for ftn... no                                                                                                     
checking whether we are using the GNU Fortran 77 compiler... no                                                            
checking whether  accepts -g... no                                                                                         
checking the maximum length of command line arguments... 1572864                                                           
checking command to parse /usr/bin/nm -B output from gcc object... ok                                                      
checking for objdir... .libs                                                                                               
checking for ar... ar                                                                                                      
checking for ranlib... ranlib                                                                                              
checking for strip... strip                                                                                                
checking if gcc supports -fno-rtti -fno-exceptions... no                                                                   
checking for gcc option to produce PIC... -fPIC                                                                            
checking if gcc PIC flag -fPIC works... yes                                                                                
checking if gcc static flag -static works... yes                                                                           
checking if gcc supports -c -o file.o... yes                                                                               
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes                             
checking whether -lc should be explicitly linked in... no                                                                  
checking dynamic linker characteristics... GNU/Linux ld.so                                                                 
checking how to hardcode library paths into programs... immediate                                                          
checking whether stripping libraries is possible... yes                                                                    
checking if libtool supports shared libraries... yes                                                                       
checking whether to build shared libraries... yes                                                                          
checking whether to build static libraries... yes                                                                          
configure: creating libtool                                                                                                
appending configuration tag "CXX" to libtool                                                                               
appending configuration tag "F77" to libtool                                                                               
checking for pkg-config... /usr/bin/pkg-config                                                                             
checking pkg-config is at least version 0.9.0... yes                                                                       
checking for HAL... no                                                                                                     
checking for arch type... i586-suse-linux                                                                                  
checking for kernel type... Linux                                                                                          
checking for linux-based kernel... yes                                                                                     
checking for kernel source/headers... /lib/modules/2.6.31.8-0.14-default/source                                            
checking kernel version... grep: /lib/modules/2.6.31.8-0.14-default/source/include/linux/version.h: No such file or directory                                                                                                                         
grep: /lib/modules/2.6.31.8-0.14-default/source/include/linux/utsrelease.h: No such file or directory                      
configure: WARNING: unable to identify kernel version                                                                      
checking for kernel module support... no                                                                                   
checking for Xlib... yes                                                                                                   
checking for XSERVER... yes                                                                                                
checking for xserver libc-wrapper header-files... no                                                                       
checking if scaling tablet to screen size is needed... no                                                                  
checking if Xorg server is version 1.4 or later... yes                                                                     
checking if Xorg is 7.3 or earlier... no                                                                                   
checking if Xorg server is version 1.5.2 or later... yes                                                                   
checking if Xorg server is version 1.6 or later... yes                                                                     
checking if Xorg SDK defined IsXExtensionPointer... yes                                                                    
checking if Xorg SDK defines dixScreenOrigins... yes                                                                       
checking XInput extension version... >= 2.0                                                                                
checking for lib xf86config... found, /usr/include/xorg                                                                    
checking for X... no                                                                                                       
checking for tclsh... /usr/bin/tclsh                                                                                       
checking for tcl version... 8.5                                                                                            
checking for tcl header files... configure: WARNING: not found; tried /usr/include, tcl, and tcl8.5;                       
***                                                                                                                        
*** The tcl development environment can not be found.                                                                      
*** The header file tcl.h does not appear at the normal                                                                    
*** (or provided) include path. Some build features                                                                        
*** will be unavailable.                                                                                                   
***                                                                                                                        
checking for tk header files... configure: WARNING: not found; tried /tk.h and /usr/include/tk.h                           
***                                                                                                                        
*** The tk development environment can not be found.                                                                       
*** The header file tk.h does not appear at the normal                                                                     
*** (or provided) include path. Some build features                                                                        
*** will be unavailable.                                                                                                   
***                                                                                                                        
checking ncurses.h usability... no                                                                                         
checking ncurses.h presence... no                                                                                          
checking for ncurses.h... no                                                                                               
checking ncurses/ncurses.h usability... no                                                                                 
checking ncurses/ncurses.h presence... no                                                                                  
checking for ncurses/ncurses.h... no                                                                                       
configure: WARNING: ncurses not available, ncurses UI disabled                                                             
checking if libwacomcfg should/can be built... yes                                                                         
checking if libwacomxi should/can be built... configure: WARNING: tcl environment missing, libwacomxi not built            
checking if wacdump should/can be built... configure: WARNING: ncurses environment missing, wacdump not built              
checking if xidump should/can be built... yes, no ncurses                                                                  
checking if xsetwacom should be built... yes                                                                               
checking for Wacom X driver module path... /usr/lib/xorg/modules/input                                                     
checking for dynamic driver loading support... yes                                                                         
checking if wacom_drv.{o,so} should be compiled... yes                                                                     
checking if gcc accepts -fno-merge-constants... yes                                                                        
checking if gcc accepts -fno-stack-protector... yes                                                                        

configure: creating ./config.status
config.status: creating Makefile   
config.status: creating mkxincludes
config.status: creating src/Makefile
config.status: creating src/util/Makefile
config.status: creating src/xdrv/Makefile
config.status: creating src/2.6.9/Makefile
config.status: creating src/2.6.10/Makefile
config.status: creating src/2.6.11/Makefile
config.status: creating src/2.6.13/Makefile
config.status: creating src/2.6.14/Makefile
config.status: creating src/2.6.15/Makefile
config.status: creating src/2.6.16/Makefile
config.status: creating src/2.6.18/Makefile
config.status: creating src/2.6.19/Makefile
config.status: creating src/2.6.22/Makefile
config.status: creating src/2.6.24/Makefile
config.status: creating src/2.6.26/Makefile
config.status: creating src/2.6.27/Makefile
config.status: creating src/wacomxi/Makefile
config.status: creating src/wacomxi/wacomcpl
config.status: creating src/include/xdrv-config.h
config.status: src/include/xdrv-config.h is unchanged
config.status: creating src/include/kernel-config.h  
config.status: src/include/kernel-config.h is unchanged
config.status: creating src/include/util-config.h      
config.status: src/include/util-config.h is unchanged  
config.status: executing depfiles commands             

----------------------------------------
  BUILD ENVIRONMENT:                    
       architecture - i586-suse-linux   
       linux kernel - yes               
  module versioning - no                
      kernel source - yes /lib/modules/2.6.31.8-0.14-default/source
     XFree86 source - no                                           
           Xorg SDK - yes /usr/include/xorg                        
          XSERVER64 - no                                           
           dlloader - yes                                          
               XLib - yes /usr/lib                                 
         xf86config - yes                                          
                TCL - no                                           
                 TK - no                                           
            ncurses - no                                           

  BUILD OPTIONS:
            wacom.o - no
            wacdump - no 
             xidump - yes (no ncurses)
        libwacomcfg - yes             
         libwacomxi - no              
          xsetwacom - yes             
              hid.o - no              
       wacom_drv.so - yes /usr/lib/xorg/modules/input 
        wacom_drv.o - no                              
  wacom*_drv quirks - IsXExtensionPointer key-events dixScreenOrigins
----------------------------------------                             
Making all in src                                                    
make[1]: Entering directory `/home/th.giese/linuxwacom-0.8.5-9-prepatch/src'
Making all in .                                                             
make[2]: Entering directory `/home/th.giese/linuxwacom-0.8.5-9-prepatch/src'
make[2]: Für das Ziel »all-am« ist nichts zu tun.                           
make[2]: Leaving directory `/home/th.giese/linuxwacom-0.8.5-9-prepatch/src' 
Making all in wacomxi                                                       
make[2]: Entering directory `/home/th.giese/linuxwacom-0.8.5-9-prepatch/src/wacomxi'
make[2]: Für das Ziel »all« ist nichts zu tun.                                      
make[2]: Leaving directory `/home/th.giese/linuxwacom-0.8.5-9-prepatch/src/wacomxi' 
Making all in util                                                                  
make[2]: Entering directory `/home/th.giese/linuxwacom-0.8.5-9-prepatch/src/util'   
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/include    -Wall -pedantic -I/usr/include/xorg   -g -O2 -MT wacomcfg.lo -MD -MP -MF .deps/wacomcfg.Tpo -c -o wacomcfg.lo wacomcfg.c                               
 gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wall -pedantic -I/usr/include/xorg -g -O2 -MT wacomcfg.lo -MD -MP -MF .deps/wacomcfg.Tpo -c wacomcfg.c  -fPIC -DPIC -o .libs/wacomcfg.o                                                                 
In file included from wacomcfg.c:36:                                                                                       
wacomcfg.h:27:35: error: X11/extensions/XInput.h: Datei oder Verzeichnis nicht gefunden                                    
In file included from wacomcfg.c:36:                                                                                       
wacomcfg.h:60: error: expected specifier-qualifier-list before ‘XDeviceInfo’                                               
wacomcfg.h:67: error: expected specifier-qualifier-list before ‘XDevice’                                                   
wacomcfg.c: In function ‘CfgGetDevs’:                                                                                      
wacomcfg.c:83: error: ‘WACOMCONFIG’ has no member named ‘pDevs’                                                            
wacomcfg.c:83: warning: implicit declaration of function ‘XListInputDevices’                                               
wacomcfg.c:84: error: ‘WACOMCONFIG’ has no member named ‘nDevCnt’                                                          
wacomcfg.c:86: error: ‘WACOMCONFIG’ has no member named ‘pDevs’                                                            
wacomcfg.c: In function ‘WacomConfigInit’:                                                                                 
wacomcfg.c:102: error: ‘INAME’ undeclared (first use in this function)                                                     
wacomcfg.c:102: error: (Each undeclared identifier is reported only once                                                   
wacomcfg.c:102: error: for each function it appears in.)                                                                   
wacomcfg.c: In function ‘WacomConfigListDevices’:                                                                          
wacomcfg.c:136: error: ‘XDeviceInfo’ undeclared (first use in this function)                                               
wacomcfg.c:136: error: ‘info’ undeclared (first use in this function)                                                      
wacomcfg.c:138: warning: ISO C90 forbids mixed declarations and code                                                       
wacomcfg.c:146: error: ‘WACOMCONFIG’ has no member named ‘pDevs’                                                           
wacomcfg.c:160: error: ‘WACOMCONFIG’ has no member named ‘nDevCnt’                                                         
wacomcfg.c:162: error: ‘WACOMCONFIG’ has no member named ‘pDevs’                                                           
wacomcfg.c:166: error: ‘IsXExtensionDevice’ undeclared (first use in this function)                                        
wacomcfg.c:166: error: ‘IsXExtensionPointer’ undeclared (first use in this function)                                       
wacomcfg.c:167: error: ‘IsXExtensionKeyboard’ undeclared (first use in this function)                                      
wacomcfg.c:186: error: ‘WACOMCONFIG’ has no member named ‘nDevCnt’                                                         
wacomcfg.c:188: error: ‘WACOMCONFIG’ has no member named ‘pDevs’                                                           
wacomcfg.c: In function ‘WacomConfigOpenDevice’:                                                                           
wacomcfg.c:294: error: ‘XDevice’ undeclared (first use in this function)                                                   
wacomcfg.c:294: error: ‘pDev’ undeclared (first use in this function)                                                      
wacomcfg.c:295: error: ‘XDeviceInfo’ undeclared (first use in this function)                                               
wacomcfg.c:295: error: ‘pDevInfo’ undeclared (first use in this function)                                                  
wacomcfg.c:295: error: ‘info’ undeclared (first use in this function)                                                      
wacomcfg.c:295: warning: left-hand operand of comma expression has no effect                                               
wacomcfg.c:296: warning: ISO C90 forbids mixed declarations and code                                                       
wacomcfg.c:302: error: ‘WACOMCONFIG’ has no member named ‘pDevs’                                                           
wacomcfg.c:306: error: ‘WACOMCONFIG’ has no member named ‘nDevCnt’                                                         
wacomcfg.c:308: error: ‘WACOMCONFIG’ has no member named ‘pDevs’                                                           
wacomcfg.c:332: warning: implicit declaration of function ‘XOpenDevice’                                                    
wacomcfg.c:344: error: ‘WACOMDEVICE’ has no member named ‘pDev’                                                            
wacomcfg.c: In function ‘WacomConfigCloseDevice’:                                                                          
wacomcfg.c:353: error: ‘WACOMDEVICE’ has no member named ‘pDev’                                                            
wacomcfg.c:354: error: ‘WACOMDEVICE’ has no member named ‘pDev’                                                            
wacomcfg.c: In function ‘WacomConfigSetRawParam’:                                                                          
wacomcfg.c:363: error: ‘XDeviceResolutionControl’ undeclared (first use in this function)                                  
wacomcfg.c:363: error: expected ‘;’ before ‘c’                                                                             
wacomcfg.c:364: error: ‘XDeviceControl’ undeclared (first use in this function)                                            
wacomcfg.c:364: error: ‘dc’ undeclared (first use in this function)                                                        
wacomcfg.c:364: error: expected expression before ‘)’ token                                                                
wacomcfg.c:364: error: ‘c’ undeclared (first use in this function)                                                         
wacomcfg.c:370: error: ‘DEVICE_RESOLUTION’ undeclared (first use in this function)
wacomcfg.c:376: warning: implicit declaration of function ‘XChangeDeviceControl’
wacomcfg.c:376: error: ‘WACOMDEVICE’ has no member named ‘pDev’
wacomcfg.c:390: error: ‘WACOMDEVICE’ has no member named ‘pDev’
wacomcfg.c:402: warning: implicit declaration of function ‘XSetDeviceMode’
wacomcfg.c:402: error: ‘WACOMDEVICE’ has no member named ‘pDev’
wacomcfg.c: In function ‘WacomConfigGetRawParam’:
wacomcfg.c:410: error: ‘XDeviceResolutionControl’ undeclared (first use in this function)
wacomcfg.c:410: error: expected ‘;’ before ‘c’
wacomcfg.c:411: error: ‘XDeviceResolutionState’ undeclared (first use in this function)
wacomcfg.c:411: error: ‘ds’ undeclared (first use in this function)
wacomcfg.c:412: warning: ISO C90 forbids mixed declarations and code
wacomcfg.c:418: error: ‘c’ undeclared (first use in this function)
wacomcfg.c:418: error: ‘DEVICE_RESOLUTION’ undeclared (first use in this function)
wacomcfg.c:424: error: ‘WACOMDEVICE’ has no member named ‘pDev’
wacomcfg.c:425: error: ‘XDeviceControl’ undeclared (first use in this function)
wacomcfg.c:425: error: expected expression before ‘)’ token
wacomcfg.c:433: error: expected expression before ‘)’ token
wacomcfg.c:449: error: ‘WACOMDEVICE’ has no member named ‘pDev’
wacomcfg.c:450: error: expected expression before ‘)’ token
wacomcfg.c:458: error: expected expression before ‘)’ token
wacomcfg.c:470: error: ‘WACOMDEVICE’ has no member named ‘pDev’
wacomcfg.c:471: error: expected expression before ‘)’ token
wacomcfg.c:473: warning: implicit declaration of function ‘XFreeDeviceControl’
wacomcfg.c:473: error: expected expression before ‘)’ token
make[2]: *** [wacomcfg.lo] Fehler 1
make[2]: Leaving directory `/home/th.giese/linuxwacom-0.8.5-9-prepatch/src/util'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/th.giese/linuxwacom-0.8.5-9-prepatch/src'
make: *** [all-recursive] Fehler 1
Mir sagt das alles irgendwie gar nix, dazu habe ich leider keinerlei programmiertechnischen Kenntnisse.
 
Hallo,

das Wacom Pen & Touch läuft nun einwandfrei! Leider kommt man nicht drumrum einige Konfigdateien zu ersetzen und einen Eintrag in Makefile hinzuzufügen.:/ Dann den Kernel neu kompilieren und installieren. Das erstellen eines Gerätemoduls reicht leider nicht. Wenn man sich aber an die Installationsanleitung auf Linuxwacom hält klappts denn doch recht gut.
Den Treiber der aktuellen Entwicklerversion (0.8.5-10) downloaden. Nach Anleitung Module erstellen.

OpenSuse geht in Teilbereichen offensichtlich immernoch eigene Wege. Im Gegensatz zu den Angaben auf der Linuxwacom-Page muss man folgende Dateien in /usr/src/linux/drivers/input/tablet umbenennen zu Sicherung:
  • wacom_wac.c
    wacom_wac.h
    wacom_sys.c
    wacom.h
Dann die obigen Dateien aus src/2.6.27 im linuxwacom-Ordner nach /usr/src/linux/drivers/input/tablet kopieren. Ab hier kann man man dann nach dem Hinzufügen von wacom-objs := wacom_sys.o wacom_wac.o ins Makefile des Kernels den Kernel kompilieren und wie im Howto beschrieben installieren. Nach einem Reboot lässt sich das wacom-Modul einbinden.
Diese Vorgehensweise ist für OpenSuse 11.2 zutreffend. Ob sich das 1:1 auf ältere OpenSuse-Versionen übertragen lässt weiss ich leider nicht.
 
Hallo
Ich probiere es gerade auch aber ich komme damit nicht klar "Hinzufügen von wacom-objs := wacom_sys.o wacom_wac.o ins Makefile des Kernels den Kernel kompilieren und wie im Howto beschrieben installieren" vielleicht kannst du mir ein paar Hinweise dazu geben.

Danke Piefke
 
Hi Piefke,

ich meine das Howto auf Lnuxwacom.

Hast du die Dateien wacom_wac.c, wacom_wac.h, wacom_sys.c, und wacom.h durch die neu erstellten ersetzt? Im Ordner "usr/src/linux" gibts eine Datei mit dem Namen "Makefile" diese zur Sicherheit erstmal sichern, dann die Datei mit einem Editor öffnen und einfach am Ende der Dateil "wacom-objs := wacom_sys.o wacom_wac.o" einfügen.
Danach wie im Howto beschrieben in /usr/src/linux folgendes ausführen:

make
make install
make modueles_install

mit make wird der Kernel neu kompiliert, das dauert ne Weile, make install installiert den Kernel, damit er gebootet werden kann und make modules_install installiert die Module neu.
Danach ein reboot durchführen, damit der neue Kernel auch geladen ist. Mit modprobe wacom den Treiber laden
und freuen :D
 
Oben