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

Wacom Bamboo Grafiktablett

Hallo vox-critica,

ich bin seither nicht mehr dazugekommen, mich weiter mit diesem Problem zu beschäftigen.
Hast Du noch Fortschritte erzielt ?

Ich hab das ganz neue Paket installiert, irgendwie scheint der Treiber geladen, aber auch irgendwie nicht. So ganz versteh ich immer noch nicht so ganz genau was lsmod, modprobe usw. immer machen bzw. in welchem Logfile was steht/stehen muss. Ich hoffe mal, dass ich am nächsten WE dazu komme, mich wieder mit Bamboo zu befassen.

Tschau,
Marco
 
Hallo marbas13

ich war bis gestern auf Dienstreise. Somit konnte ich mich nicht weiter mit dem Problem beschäftigen. Aber ich bleibe dran.

@misiu
Ich bekomme folgende Ausgabe auf deinen Tip hin:
Code:
dhcppc1:~ # xidump -l
No protocol specified
Failed to connect to X server.

Bei dem Befehl
Code:
wacomcpl
öffnet sich ein Fenster wo ich theoretisch ein Device auswählen soll, aber praktisch nichts da ist, was ich auswählen könnte.


Der Befehl
Code:
xsetwacom
lässt sich zwar in der Konsole aufrufen. Wie ich aber mit dem Befehl umgehen soll, übersteigt momentan mein Kenntnisstand.
 
Bei dem Befehl
Code:
Code:
wacomcpl
öffnet sich ein Fenster wo ich theoretisch ein Device auswählen soll, aber praktisch nichts da ist, was ich auswählen könnte.

Ist bei mir genau das gleiche. Ich denke, der Treiber wird nicht geladen, daher gibt es dann auch kein Device zum Auswählen.

Mir ist immer noch nicht klar, welchen Schritt man in welchem Logfile durch welchen Eintrag auf Erfolg/Misserfolg prüfen kann.

Ich hoffe mal, Du kommst weiter, dann kann ich davon profitieren :D
Bei mir wird es erst am WE wieder was.
Viel Erfolg - ganz uneigennützig 8)
 
Ich komme absolut nicht weiter.

Ich habe nun unter /etc/udev/rules.d die Regel 10-wacom.rules erstellt:
Code:
KERNEL=="event*", SYSFS{idVendor}=="056a", NAME="input/%k", SYMLINK="input/wacom"

In der Datei xorg.conf habe ich die Pfade angepasst:
Code:
Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "stylus"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "eraser"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "cursor"
  Option        "USB"           "on"                  # USB ONLY
EndSection

# This section is for Intuos3, Cintiq 21UX, Graphire4, or Bamboo
Section "InputDevice"
  Driver        "wacom"
  Identifier    "pad"
  Option        "Device"        "/dev/input/wacom"   # USB ONLY
  Option        "Type"          "pad"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Jetzt sehe in der Xorg.0.log zwar das der Treiber geladen wird:
Code:
(II) LoadModule: "wacom"
(II) Loading /usr/lib64/xorg/modules//input/wacom_drv.so
(II) Module wacom: vendor="X.Org Foundation"
	compiled for 4.3.99.902, module version = 1.0.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.7
(II) Wacom driver level: 47-0.7.8 $

Aber dann erscheint zum Schluß:
Code:
(**) Option "Device" "/dev/input/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
	No such file or directory.
Error opening /dev/input/wacom : Success
(**) Option "Device" "/dev/input/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
	No such file or directory.
Error opening /dev/input/wacom : Success
(**) Option "Device" "/dev/input/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
	No such file or directory.
Error opening /dev/input/wacom : Success
(**) Option "Device" "/dev/input/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
	No such file or directory.
Error opening /dev/input/wacom : Success

Anscheinend wird unter /dev/input/ das device wacom nicht angelegt:
Code:
dhcppc1:~ # ls /dev/input
by-path  event0  event1  event2  event3  event4  mice  mouse0

Was läuft da schief?



Bevor ich eine Regel unter /etc/udev/rules.d erstellt hatte, waren in der xorg.conf die Pfade auf /dev/input/event0.

Aber dann bekam ich folgende Fehlermeldung in der Xorg.0.log:
Code:
(**) Option "Device" "/dev/input/event0"
stylus Wacom X driver grabbed event device
WACOM: unable to ioctl max values.
(**) Option "Device" "/dev/input/event0"
eraser Wacom X driver grabbed event device
WACOM: unable to ioctl max values.
(**) Option "Device" "/dev/input/event0"
cursor Wacom X driver grabbed event device
WACOM: unable to ioctl max values.
(**) Option "Device" "/dev/input/event0"
pad Wacom X driver grabbed event device
WACOM: unable to ioctl max values.

Ich habe anscheinend ein Problem damit das der richtige device nicht erkannt wird:
Code:
dhcppc1:~ # more /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=120013
B: KEY=402000000 3802078f840d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=40001
B: SND=6

I: Bus=0011 Vendor=0002 Product=0006 Version=0042
N: Name="ImExPS/2 Logitech MX Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=mouse0 event2
B: EV=7
B: KEY=ff0000 0 0 0 0
B: REL=143

I: Bus=0019 Vendor=0000 Product=0002 Version=0000
N: Name="Power Button (FF)"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/class/input/input3
U: Uniq=
H: Handlers=kbd event3
B: EV=3
B: KEY=10000000000000 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/class/input/input4
U: Uniq=
H: Handlers=kbd event4
B: EV=3
B: KEY=10000000000000 0

Der Befehl wacdump zeigt mir folgendes an:
Code:
wacdump v0.7.4

MODEL=Unknown                           ROM=-85.4-1
CLS=USB  VNDR=Unknown  DEV=Unknown  SUB=UNKNOWN

AD C4 F6 47 00 00 00 00 5F 28 0C 00 00 00 00 00 00 00 00 00 ...G...._(..............



    LEFT=             MIDDLE=              RIGHT=              EXTRA=
    SIDE=              TOUCH=             STYLUS=            STYLUS2=
     BT0=                BT1=                BT2=                BT3=
     BT4=                BT5=                BT6=                BT7=
     BT8=                BT9=               BT10=               BT11=
    BT12=               BT13=               BT14=               BT15=
    BT16=               BT17=               BT18=               BT19=
    BT20=               BT21=               BT22=               BT23=

Auch bei den restlichen events 0-4 bekomme ich dieselbe Meldung von wacdump.


Am USB-Anschluß wird das Tablett erkannt:
Code:
dhcppc1:~ # lsusb
Bus 002 Device 003: ID 058f:6362 Alcor Micro Corp.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 056a:0065 Wacom Co., Ltd
Bus 001 Device 001: ID 0000:0000

Beim booten erscheint folgende message:
Code:
dhcppc1:~ # dmesg | grep wacom
usbcore: registered new interface driver wacom
drivers/input/tablet/wacom_sys.c: v1.46:USB Wacom Graphire and Wacom Intuos tablet driver

Der Treiber wird anscheinend geladen:
Code:
dhcppc1:~ # lsmod
Module                  Size  Used by
iptable_filter         19840  0
ip_tables              37848  1 iptable_filter
ip6_tables             31944  0
x_tables               37000  2 ip_tables,ip6_tables
wlan_tkip              28800  2
af_packet              57100  4
wacom                  33920  0
snd_pcm_oss            67456  0
snd_mixer_oss          34176  1 snd_pcm_oss
snd_seq                74992  0
snd_seq_device         25620  1 snd_seq
apparmor               58672  0
dm_crypt               30480  0
nls_utf8               18816  3
ntfs                  207440  3
loop                   36356  0
dm_mod                 77152  1 dm_crypt
wlan_scan_sta          30336  1
ath_rate_sample        29440  1
rtc_cmos               25016  0
rtc_core               38156  1 rtc_cmos
usbhid                 58160  0
hid                    43776  1 usbhid
floppy                 79624  0
rtc_lib                19968  1 rtc_core
ath_pci               111664  0
nvidia               8896388  24
forcedeth              65672  0
usb_storage           102944  0
sr_mod                 33444  0
cdrom                  52392  1 sr_mod
ff_memless             22536  1 usbhid
button                 26528  0
parport_pc             58456  0
parport                56588  1 parport_pc
k8temp                 22656  0
hwmon                  20232  1 k8temp
wlan                  218648  5 wlan_tkip,wlan_scan_sta,ath_rate_sample,ath_pci
i2c_nforce2            22784  0
i2c_core               43648  2 nvidia,i2c_nforce2
snd_hda_intel         369060  1
snd_pcm               108680  2 snd_pcm_oss,snd_hda_intel
snd_timer              42632  2 snd_seq,snd_pcm
snd                    84984  9 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer
soundcore              25360  1 snd
snd_page_alloc         28048  2 snd_hda_intel,snd_pcm
sg                     53304  0
ath_hal               234864  3 ath_rate_sample,ath_pci
sd_mod                 45824  10
ehci_hcd               50956  0
ohci_hcd               38020  0
usbcore               156456  6 wacom,usbhid,usb_storage,ehci_hcd,ohci_hcd
amd74xx                32176  0 [permanent]
ide_core              165648  2 usb_storage,amd74xx
edd                    26760  0
ext3                  156688  4
mbcache                26248  1 ext3
jbd                    89192  1 ext3
fan                    22792  0
sata_nv                38280  8
pata_amd               31876  0
libata                166800  2 sata_nv,pata_amd
scsi_mod              176536  5 usb_storage,sr_mod,sg,sd_mod,libata
thermal                36112  0
processor              59720  1 thermal


Hier zum Schluß meine komplette xorg.conf:
Code:
# /.../
# SaX generated X11 config file
# Created on: 2008-04-03T18:21:52+0200.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
EndSection

Section "Module"
  Load         "glx"
  Load         "type1"
  Load         "extmod"
  Load         "dbe"
  Load         "freetype"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "de"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "nodeadkeys"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "IMPS/2"
  Option       "Protocol" "imps/2"
  Option       "Vendor" "PS/2-Mouse"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/input/event0"   # USB ONLY
  Option        "Type"          "stylus"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/input/event0"   # USB ONLY
  Option        "Type"          "eraser"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/input/event0"   # USB ONLY
  Option        "Type"          "cursor"
  Option        "USB"           "on"                  # USB ONLY
EndSection

# This section is for Intuos3, Cintiq 21UX, Graphire4, or Bamboo
Section "InputDevice"
  Driver        "wacom"
  Identifier    "pad"
  Option        "Device"        "/dev/input/event0"   # USB ONLY
  Option        "Type"          "pad"
  Option        "USB"           "on"                  # USB ONLY
EndSection


Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  340 270
  HorizSync    31-64
  Identifier   "Monitor[0]"
  ModelName    "1280X1024@60HZ"
  Option       "DPMS"
  VendorName   "--> VESA"
  VertRefresh  50-60
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "GeForce 8600 GT"
  BusID        "6:0:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Screen       0
  VendorName   "NVIDIA"
EndSection



Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]"    "CorePointer"
  InputDevice  "stylus"      "SendCoreEvents"
  InputDevice  "eraser"      "SendCoreEvents"
  InputDevice  "cursor"      "SendCoreEvents"  	# For non-LCD tablets only
  InputDevice  "pad"				# For Intuos3/Cintiq 21UX/Graphire4/Bamboo tablets
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
EndSection

Ich benutze für die Konfiguration des Tabletts kein sax2, sondern benutze nur die xorg.conf.

Als Kernel benutze ich 2.6.22.17-0.1-default x86_64 unter openSUSE 10.3. Das X Window System ist in der Version 7.2.0.
Linuxwacom habe ich in der Version 0.7.8-3 mit Hilfe von YAST aus dem repo-oss-Verzeichnis von SUSE.
Neuere Linuxwacom-Treiber über YAST eingespielt funktionieren überhaupt nicht bzw. werden garnicht als Module geladen.

Mittlerweile weiß ich nicht mehr weiter.
 
Hallo zusammen,

es ist Wochenende, die Kinder schlafen (so fast zumindest...) also zurück zu Bamboo...

1. In meiner Xorg.0.log findet sich das, was vox-critica schon mal gepostet hat:

Code:
(II) LoadModule: "wacom"
(II) Loading /usr/lib/xorg/modules//input/wacom_drv.so
dlopen: /usr/lib/xorg/modules//input/wacom_drv.so: undefined symbol: GetMotionHistory
(EE) Failed to load /usr/lib/xorg/modules//input/wacom_drv.so
(II) UnloadModule: "wacom"
(EE) Failed to load module "wacom" (loader failed, 7)
Da stehen zwei Slashes im Pfad, kann das ein Fehler sein, oder ist das korrekt? Wenn korrekt, wenn ja, was bedeutet es ?

Weiter unten findet sich noch:
Code:
(EE) No Input driver matching `wacom'


2. Ein lsmod nach modprobe wacom liefert:
Code:
linux-mb:/media # modprobe wacom
linux-mb:/media # lsmod
Module                  Size  Used by
wacom                  19584  0
Heißt das, dass der Treiber jetzt geladen ist ?

dmesg liefert nach rmmod und modprobe:
Code:
usbcore: deregistering interface driver wacom
usbcore: registered new interface driver wacom
drivers/input/tablet/wacom_sys.c: v1.46:USB Wacom Graphire and Wacom Intuos tablet driver

udevmonitor liefert nach dem Anschließen des Tablets:
Code:
udevmonitor
udevmonitor will print the received events for:
UDEV the event which udev sends out after rule processing
UEVENT the kernel uevent

UEVENT[1207429877.712791] add      /devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3.1 (usb)
UEVENT[1207429877.712843] add      /devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3.1/usb_endpoint/usbdev4.11_ep00 (usb_endpoint)
UEVENT[1207429877.713125] add      /devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3.1/4-3.1:1.0 (usb)
UEVENT[1207429877.713140] add      /devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3.1/4-3.1:1.0/usb_endpoint/usbdev4.11_ep81 (usb_endpoint)
UDEV  [1207429877.717645] add      /devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3.1 (usb)
UDEV  [1207429877.718595] add      /devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3.1/usb_endpoint/usbdev4.11_ep00 (usb_endpoint)
UDEV  [1207429877.734103] add      /devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3.1/4-3.1:1.0 (usb)
UDEV  [1207429877.735057] add      /devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3.1/4-3.1:1.0/usb_endpoint/usbdev4.11_ep81 (usb_endpoint)

@misiu: Wie kann ich daran das device erkennen ?

Was kann dann noch fehlen ?

3. @vox-critica: Du schreibst, dass du eine
/etc/udev/rules.d die Regel 10-wacom.rules
angelegt hast.
Warum ?
Wie kommst Du auf den Inhalt ?


4. Auch ich habe kein wacom unter /dev/input.
Wodurch sollte dieses Device angelegt werden ? Durch das Laden des Treibers ?
 
Hallo marbas13 und alle anderen die mir helfen wollen ;-)

die udev-Regel wird hier beschrieben:

http://linuxwacom.sourceforge.net/index.php/howto/newwacom

Momentan gibt es unter
http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_10.3/
ständig neue Treiber. (Aktuell 0.7.9-40.1 für 32bit bzw 0.7.9-1.1 für 64bit)
Aber wenn ich die neuen Treiber per YAST installiere werden die Treiber überhaupt nicht von X11 geladen:
Code:
(II) Loading /usr/lib64/xorg/modules//input/wacom_drv.so
dlopen: /usr/lib64/xorg/modules//input/wacom_drv.so: undefined symbol: GetMotionHistory
(EE) Failed to load /usr/lib64/xorg/modules//input/wacom_drv.so
(II) UnloadModule: "wacom"

Die einzigen Treiber die überhaupt geladen werden sind die Orginal-Treiber 0.7.8-3 aus den SUSE repos.
Aber damit läuft das Tablett auch nicht. Siehe meine vorherigen Beiträge zu dem Thema.


Jetzt überlege ich den Treiber selber zu kompilieren. Nur welches Paket fehlt mir wenn ich folgende Ausgabe bekomme:
Code:
dhcppc1:/home/carsten/Files/linuxwacom-0.7.9-9 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 ANSI C... 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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-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 recognise 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... 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 f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... 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... 32768
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/x86_64-suse-linux/bin/ld -m elf_x86_64) 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 arch type... x86_64-suse-linux
checking for kernel type... Linux
checking for linux-based kernel... yes
checking for kernel source/headers... /lib/modules/2.6.22.17-0.1-default/source
checking kernel version... grep: /lib/modules/2.6.22.17-0.1-default/source/include/linux/version.h: No such file or directory
grep: /lib/modules/2.6.22.17-0.1-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... checking for X lib directory... found, /usr/lib64
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 SDK defines IsXExtensionPointer... yes
checking if Xorg SDK defines dixScreenOrigins... no
checking for X... no
checking for tclsh... /usr/bin/tclsh
checking for tcl version... 8.4
checking for tcl header files... found, /usr/include
checking for tk header files... found, /usr/include
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking if libwacomcfg should/can be built... yes
checking if libwacomxi should/can be built... yes
checking if wacdump should/can be built... yes
checking if xidump should/can be built... yes
checking if xsetwacom should be built... yes
checking for Wacom X driver module path... /usr/lib64/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.4/Makefile
config.status: creating src/2.4.22/Makefile
config.status: creating src/2.6.8/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/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 - x86_64-suse-linux
       linux kernel - yes
  module versioning - no
      kernel source - yes /lib/modules/2.6.22.17-0.1-default/source
     XFree86 source - no
           Xorg SDK - yes /usr/include/xorg
          XSERVER64 - yes
           dlloader - yes
               XLib - yes /usr/lib64
                TCL - yes /usr/include
                 TK - yes /usr/include
            ncurses - yes

  BUILD OPTIONS:
            wacom.o - no
            wacdump - yes
             xidump - yes
        libwacomcfg - yes
         libwacomxi - yes
          xsetwacom - yes
              hid.o - no
         usbmouse.o - no
            evdev.o - no
         mousedev.o - no
            input.o - no
       wacom_drv.so - yes /usr/lib64/xorg/modules/input
        wacom_drv.o - no
  wacom*_drv quirks - IsXExtensionPointer key-events
----------------------------------------

Unter XFree86 source und unter module versioning ist jeweils ein no.
Welche Pakete muß ich noch installieren?

Kann ich dann beim erstellen der Treiber mich an folgende Anleitung halten?
http://peters-linux-java.blogspot.com/

Wie haben den andere dieses Tablett zum laufen bekommen?
 
Hi,

ich hab gestern Nacht auch noch versucht, deb Treiber zu compilieren. Ich krieg den gleichen Fehler wie Du:
Code:
checking kernel version... grep: /lib/modules/2.6.22.17-0.1-default/source/include/linux/version.h: No such file or directory
grep: /lib/modules/2.6.22.17-0.1-default/source/include/linux/utsrelease.h: No such file or directory
configure: WARNING: unable to identify kernel version
Ich hab nur eine versiom.h unter usr/...
Die version.h dann noch an den Platz zu stellen, an der das Paket sie sucht, hab ich dann nicht mehr gemacht. Vielleicht heute...

Auch von mir die Frage: Gibt es denn niemand der diese Tablet unter Suse zum Laufen gebracht hat ???? :?:
 

misiu

Moderator
Teammitglied
Laut dem Link:
http://peters-linux-java.blogspot.com/2007/11/wacom-bamboo-on-opensuse-103.html
Liegt es am Teil des Kernel-Treibers, " wacom.o", der nicht erstellt wird, auch wenn die Option "--enable-wacom" angehängt wird.
Das resultiert wiederum aus fehlenden Verknüpfungen im
configure-Script. Dadurch werden die Kernelquellen nicht gefunden,
auch wenn diese Installiert sind. Wie das zu umgehen ist, beschreibt der Peter in seinem Blog.

MfG
misiu
 
Hi,

mal eine generelle Frage, bevor ich mir die Mühe machen, das compiliert zu kriegen: Wie steht die Chance, dass ich das Bamboo zum Laufen bekomme, wenn ich selbst compiliere, wenn das RPM nicht funktioniert ?
 
Hi,

anybody out there ? Was ist Eure Meinung: Macht es überhaupt Sinn, das Modul zu compilieren, wenn das Paket für 10.3 nicht funktioniert ?
 
Hallo marbas13,

da ich momentan sehr viel mit meiner Arbeit zu tun habe, werde ich mich erst am Wochenende an das kompilieren wagen.
Sobald ich neue Infos habe, werde ich diese hier kundtun.

Also bitte bis dahin sich in Geduld üben.
 
Hi, war nicht als Drängelei gedacht. Ich komm vielleicht heute abend dazu, wenn die Kids mitmachen, die große hör ich gerade, die schläft mal wieder noch nicht- doofe Sommerzeit. Ich wollte nur wissen, wie denn so generell die Chancen stehen, dass nach einem Compile der Treiber läuft. Weil wenn es doch schon ein Paket für 10.3 gibt, was kann dann Compiler-Lauf besser machen? Ich hab nix grundlegendes an meiner Installation verändert...
 
So, ich hab jetzt mal alle Links gesetzt, damit die notwendigen Dateien, die Suse so verstreut unter /usr/src/linux/include/linux gefunden werden.
Der Output von configure deckt sich mit dem von http://peters-linux-java.blogspot.com/2007/11/wacom-bamboo-on-opensuse-103.html. Es scheint auf
BUILD OPTIONS:
wacom.o - yes
anzukommen.

Leider bringt make immer noch Fehler der Art (und nur der Art!):
Code:
xf86Wacom.c:374:41: error: missing binary operator before token "("

An der Stelle 374:41 in der xf86Wacom.c findet sich dieser Code:
Code:
	if (InitValuatorClassDeviceStruct(local->dev, nbaxes,
#if defined WCM_XFREE86 || GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0
					  xf86GetMotionEvents,
					  local->history_size,
#else
					  GetMotionHistory,
					  GetMotionHistorySize(),
#endif
					  ((priv->flags & ABSOLUTE_FLAG) ?
					  Absolute : Relative) | 
					  OutOfProximity ) == FALSE)
	{
		ErrorF("unable to allocate Valuator class device\n");
		return FALSE;
	}

Es sieht so aus, dass das Problem an "GET_ABI_MAJOR(ABI_XINPUT_VERSION" liegt, betroffen ist noch die Datei wcmCommon.c. Auch hier steht an der entsprechenden Stelle immer GET_ABI_MAJOR(ABI_XINPUT_VERSION.

#if defined WCM_XFREE86 verstehe ich ja, aber ist denn in einer Präprozessor Anweisung sowas erlaubt wie ein Funktionsaufruf:
GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0

???

Hat jemand einen Tipp dazu ?
Da die zwei Bedingungen ja ODER verknüpft sind könnte ich den zweiten Teil ja auch rauswerfen, wenn WCM_XFREE86 gesetzt ist, aber es müsste wohl auch so gehen. Wie krieg ich raus, ob WCM_XFREE86 definiert ist ?
Ich hab schon lange kein C mehr programmiert und schon gar nicht mit gcc. :oops:
Ach ja, ich mach meine Versuche mit linuxwacom-0.7.9-8.
 
Hallo marbas13,

hast du alle benötigten Pakete instaliert? Irgendwo habe ich mal eine Auflistung gesehen.

Darüberhinaus habe ich gesehen das hier jemand das wohl geschafft haben soll, indem er die wacom.ko angepasst hat.
Man muß die Datei von dem User anfordern.

http://suseforums.net/index.php?showtopic=47758

Da du ja anscheinend auch in diesem Board angemeldet bist, könntest du ihn ja anschreiben und das mal ausprobieren.
 
Hi,
ich hatte das wacon-dev Paket nicht installiert, hab ich jetzt nachgeholt, komm aber noch nicht weiter. Beim Compilieren fehlt die Datei XF86Version.h. Muss ich jetzt mal suchen, ich hätte sie irgendwo unter usr/ erwartet, konnte sie aber bis jetzt nicht finden. Vielleicht fehlt noch ein Paket.
Die wacom.ko hab ich mal über den Link angefordert Mal sehen....

Ich finde das ziemlich nervig, auch weil ich nicht einfach sagen kann: ach lass es doch einfach. Früher hat ich mir da die Nächte um die Ohren gehauen, aber heute mit Job und Familie. Irgendwie sinnlos...boote ich halt W****, aber es lässt mich nicht los. Vielleicht erledigt sich auch alles mit Suse 11. ich hab auch schon überlegt mal Ubuntu 8.4 parallel zu installieren. Mal sehen...Bin aber dankbar, falls Du noch was rausbekommst.
 
Hallo marbas13,

für die Datei XF86Version.h musst du das Paket xorg-x11-devel mit allen seinen Abhängigkeiten installieren.

Aber bei dem Befehl make komme ich auch nicht weiter. Die kompilierung bricht mir hier ab (ähnlich wohl wie bei dir):

Code:
dhcppc1:/home/carsten/Files/linuxwacom-0.7.9-9 # make
Making all in src
make[1]: Entering directory `/home/carsten/Files/linuxwacom-0.7.9-9/src'
Making all in .
make[2]: Entering directory `/home/carsten/Files/linuxwacom-0.7.9-9/src'
make[2]: Für das Ziel »all-am« ist nichts zu tun.
make[2]: Leaving directory `/home/carsten/Files/linuxwacom-0.7.9-9/src'
Making all in wacomxi
make[2]: Entering directory `/home/carsten/Files/linuxwacom-0.7.9-9/src/wacomxi'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -g -O2 -D__amd64__ -I/usr/include -MT wacomxi.lo -MD -MP -MF ".deps/wacomxi.Tpo" -c -o wacomxi.lo wacomxi.c; \
        then mv -f ".deps/wacomxi.Tpo" ".deps/wacomxi.Plo"; else rm -f ".deps/wacomxi.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -g -O2 -D__amd64__ -I/usr/include -MT wacomxi.lo -MD -MP -MF .deps/wacomxi.Tpo -c wacomxi.c  -fPIC -DPIC -o .libs/wacomxi.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -g -O2 -D__amd64__ -I/usr/include -MT wacomxi.lo -MD -MP -MF .deps/wacomxi.Tpo -c wacomxi.c -o wacomxi.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -g -O2 -D__amd64__ -I/usr/include   -o libwacomxi.la -rpath /usr/local/lib/TkXInput -no-undefined wacomxi.lo -L/usr/lib64 -lX11 -lXi
gcc -shared  .libs/wacomxi.o  -L/usr/lib64 /usr/lib64/libX11.so /usr/lib64/libXi.so  -Wl,-soname -Wl,libwacomxi.so.0 -o .libs/libwacomxi.so.0.0.0
(cd .libs && rm -f libwacomxi.so.0 && ln -s libwacomxi.so.0.0.0 libwacomxi.so.0)
(cd .libs && rm -f libwacomxi.so && ln -s libwacomxi.so.0.0.0 libwacomxi.so)
ar cru .libs/libwacomxi.a  wacomxi.o
ranlib .libs/libwacomxi.a
creating libwacomxi.la
(cd .libs && rm -f libwacomxi.la && ln -s ../libwacomxi.la libwacomxi.la)
make[2]: Leaving directory `/home/carsten/Files/linuxwacom-0.7.9-9/src/wacomxi'
Making all in util
make[2]: Entering directory `/home/carsten/Files/linuxwacom-0.7.9-9/src/util'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -MT wacomcfg.lo -MD -MP -MF ".deps/wacomcfg.Tpo" -c -o wacomcfg.lo wacomcfg.c; \
        then mv -f ".deps/wacomcfg.Tpo" ".deps/wacomcfg.Plo"; else rm -f ".deps/wacomcfg.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -MT wacomcfg.lo -MD -MP -MF .deps/wacomcfg.Tpo -c wacomcfg.c  -fPIC -DPIC -o .libs/wacomcfg.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -MT wacomcfg.lo -MD -MP -MF .deps/wacomcfg.Tpo -c wacomcfg.c -o wacomcfg.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include   -o libwacomcfg.la -rpath /usr/local/lib -no-undefined -version-info 0:1:0 wacomcfg.lo -L/usr/lib64 -lX11 -lXi
gcc -shared  .libs/wacomcfg.o  -L/usr/lib64 /usr/lib64/libX11.so /usr/lib64/libXi.so  -Wl,-soname -Wl,libwacomcfg.so.0 -o .libs/libwacomcfg.so.0.0.1
(cd .libs && rm -f libwacomcfg.so.0 && ln -s libwacomcfg.so.0.0.1 libwacomcfg.so.0)
(cd .libs && rm -f libwacomcfg.so && ln -s libwacomcfg.so.0.0.1 libwacomcfg.so)
ar cru .libs/libwacomcfg.a  wacomcfg.o
ranlib .libs/libwacomcfg.a
creating libwacomcfg.la
(cd .libs && rm -f libwacomcfg.la && ln -s ../libwacomcfg.la libwacomcfg.la)
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -MT wacdump.o -MD -MP -MF ".deps/wacdump.Tpo" -c -o wacdump.o wacdump.c; \
        then mv -f ".deps/wacdump.Tpo" ".deps/wacdump.Po"; else rm -f ".deps/wacdump.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -MT wacscrn.o -MD -MP -MF ".deps/wacscrn.Tpo" -c -o wacscrn.o wacscrn.c; \
        then mv -f ".deps/wacscrn.Tpo" ".deps/wacscrn.Po"; else rm -f ".deps/wacscrn.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -MT wactablet.o -MD -MP -MF ".deps/wactablet.Tpo" -c -o wactablet.o wactablet.c; \
        then mv -f ".deps/wactablet.Tpo" ".deps/wactablet.Po"; else rm -f ".deps/wactablet.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -MT wacserial.o -MD -MP -MF ".deps/wacserial.Tpo" -c -o wacserial.o wacserial.c; \
        then mv -f ".deps/wacserial.Tpo" ".deps/wacserial.Po"; else rm -f ".deps/wacserial.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -MT wacusb.o -MD -MP -MF ".deps/wacusb.Tpo" -c -o wacusb.o wacusb.c; \
        then mv -f ".deps/wacusb.Tpo" ".deps/wacusb.Po"; else rm -f ".deps/wacusb.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include   -o wacdump  wacdump.o wacscrn.o wactablet.o wacserial.o wacusb.o -lncurses
gcc -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -o wacdump wacdump.o wacscrn.o wactablet.o wacserial.o wacusb.o  -lncurses
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -MT xidump.o -MD -MP -MF ".deps/xidump.Tpo" -c -o xidump.o xidump.c; \
        then mv -f ".deps/xidump.Tpo" ".deps/xidump.Po"; else rm -f ".deps/xidump.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include   -o xidump -L/usr/lib64 -lX11 -lXi -lm xidump.o wacscrn.o -lncurses
gcc -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -o xidump xidump.o wacscrn.o  -L/usr/lib64 /usr/lib64/libXi.so /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so -ldl /usr/lib64/libXau.so -lm -lncurses
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -MT xsetwacom.o -MD -MP -MF ".deps/xsetwacom.Tpo" -c -o xsetwacom.o xsetwacom.c; \
        then mv -f ".deps/xsetwacom.Tpo" ".deps/xsetwacom.Po"; else rm -f ".deps/xsetwacom.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include    -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -MT wcmAction.o -MD -MP -MF ".deps/wcmAction.Tpo" -c -o wcmAction.o wcmAction.c; \
        then mv -f ".deps/wcmAction.Tpo" ".deps/wcmAction.Po"; else rm -f ".deps/wcmAction.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include   -o xsetwacom  xsetwacom.o wcmAction.o libwacomcfg.la
gcc -Wall -pedantic -g -O2 -D__amd64__ -I/usr/include -o .libs/xsetwacom xsetwacom.o wcmAction.o  ./.libs/libwacomcfg.so -L/usr/lib64 /usr/lib64/libXi.so /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so -ldl /usr/lib64/libXau.so
creating xsetwacom
make[2]: Leaving directory `/home/carsten/Files/linuxwacom-0.7.9-9/src/util'
Making all in xdrv
make[2]: Entering directory `/home/carsten/Files/linuxwacom-0.7.9-9/src/xdrv'
gcc -MM -g -O2 -D__amd64__ -I/usr/include  -I../include -I/usr/include/xorg  ./xf86Wacom.c ./wcmSerial.c ./wcmUSB.c ./wcmISDV4.c ./wcmXCommand.c ./wcmCommon.c ./wcmCompat.c ./wcmConfig.c ./wcmFilter.c > .depend
./xf86Wacom.c:586:41: error: missing binary operator before token "("
./xf86Wacom.c:659:41: error: missing binary operator before token "("
./wcmCommon.c:79:41: error: missing binary operator before token "("
./wcmCommon.c:94:41: error: missing binary operator before token "("
./wcmCommon.c:514:41: error: missing binary operator before token "("
./wcmCommon.c:534:41: error: missing binary operator before token "("
./wcmCommon.c:626:41: error: missing binary operator before token "("
./wcmCommon.c:644:41: error: missing binary operator before token "("
./wcmCommon.c:741:41: error: missing binary operator before token "("
./wcmCommon.c:768:41: error: missing binary operator before token "("
./wcmCommon.c:1458:41: error: missing binary operator before token "("
./wcmConfig.c:88:41: error: missing binary operator before token "("
make[2]: *** Keine Regel vorhanden, um das Target ».depend«,
  benötigt von »wacom_drv.so«, zu erstellen.  Schluss.
make[2]: Leaving directory `/home/carsten/Files/linuxwacom-0.7.9-9/src/xdrv'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/carsten/Files/linuxwacom-0.7.9-9/src'
make: *** [all-recursive] Fehler 1

Zuvor ergibt ./configure --enable-wacom folgendes:

Code:
dhcppc1:/home/carsten/Files/linuxwacom-0.7.9-9 # ./configure --enable-wacom
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 ANSI C... 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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-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 recognise 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... 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 f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... 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... 32768
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/x86_64-suse-linux/bin/ld -m elf_x86_64) 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 arch type... x86_64-suse-linux
checking for kernel type... Linux
checking for linux-based kernel... yes
checking for kernel source/headers... /usr/src/linux
checking kernel version... grep: /usr/src/linux/include/linux/version.h: No such file or directory
2.6.22.17-0.1-default
checking for kernel module support... yes
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 SDK defines IsXExtensionPointer... yes
checking if Xorg SDK defines dixScreenOrigins... no
checking for X... libraries /usr/lib64, headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for tclsh... /usr/bin/tclsh
checking for tcl version... 8.4
checking for tcl header files... found, /usr/include
checking for tk header files... found, /usr/include
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking if libwacomcfg should/can be built... yes
checking if libwacomxi should/can be built... yes
checking if wacdump should/can be built... yes
checking if xidump should/can be built... yes
checking if xsetwacom should be built... yes
checking for Wacom X driver module path... /usr/lib64/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.4/Makefile
config.status: creating src/2.4.22/Makefile
config.status: creating src/2.6.8/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/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 - x86_64-suse-linux
       linux kernel - yes 2.6.22
  module versioning - no
      kernel source - yes /usr/src/linux
     XFree86 source - no
           Xorg SDK - yes /usr/include/xorg
          XSERVER64 - yes
           dlloader - yes
               XLib - yes /usr/lib64
                TCL - yes /usr/include
                 TK - yes /usr/include
            ncurses - yes

  BUILD OPTIONS:
            wacom.o - yes
            wacdump - yes
             xidump - yes
        libwacomcfg - yes
         libwacomxi - yes
          xsetwacom - yes
              hid.o - no
         usbmouse.o - no
            evdev.o - no
         mousedev.o - no
            input.o - no
       wacom_drv.so - yes /usr/lib64/xorg/modules/input
        wacom_drv.o - no
  wacom*_drv quirks - IsXExtensionPointer key-events

Ich werde das Gefühl nicht los das ich irgendein Paket oder oder ein link vergessen habe.
 
So,

bei mir läuft es. Ich war die ganze Zeit mit den Entwicklern des linuxwacom Packets in Verbindung und sie konnten mir weiter helfen.

Was habe ich gemacht?

Als erstes habe ich mich an die Installationsanweisung von Peter's Blog gehalten:

http://peters-linux-java.blogspot.com/2007/11/wacom-bamboo-on-opensuse-103.html

Insbesondere der Teil wo die verschiedenen links gesetzt werden müssen und im Vorfeld diverse Packete installiert sein müssen (z.B. kernel-sources, ncurses, xorg-x11-server-sdk, libXiterm, libXiterm-devel)

Nachdem ich die aktuelleste Datei (0.7.9-11) von der Linux Wacom Project Seite heruntergeladen habe und entpackt habe, wechselte ich in das Verzeichnis /linuxwacom-0.7.9-11 und gab als root in einem Terminal
Code:
./configure ---enable-wacom
ein.

Die Ausgabe sollte in etwa so aussehen wie ich in meinen vorherigen Beitrag gezeigt habe.

Danach im Verzeichnis bleiben und
Code:
make
eingeben. Es kann dann sein dass das kompilieren mit der Fehlermeldung abbricht, wie ich in meiner vorherigen mail aufgezeigt habe.

Der Hintergrund der Fehlermeldung ist das bei
Code:
make
die Datei .depend erstellt wird. Dabei scheint irgendwas schief zu laufen.
Das ist ein bug und die Entwickler arbeiten daran diesen Fehler zu beheben.
Der Rat den die Entwickler mir gegeben haben ist nach dem Abbruch der kompilierung noch einmal
Code:
make
einzugeben. Und siehe da, es läuft durch.

Ein
Code:
rmmod wacom
insmod /linuxwacom-0.7.9-11/src/2.6.22/wacom.ko
lädt das Modul und das Tablett sollte funktionieren. Bei mir zumindestens.
Das Verzeichnis /2.6.22 ist mein aktueller Kernel und das Verzeichnis muss je nach installierten Kernel anders heißen.

Jetzt hatte ich aber das Problem das The Gimp mir trotzdem nicht das Tablett erkannt hat.
Hier habe ich dann mit Hilfe von YAST das linuxwacom Packet 0.7.8-3 installiert.
Danach habe ich nach der Datei wacom.ko gesucht (gefunden in /lib/modules/2.6.22.17-0.1-default/kernel/drivers/input/tablet bei mir. Bitte euer Kernel beachten!) und gegen die wacom.ko Datei aus /linuxwacom-0.7.9-11/src/2.6.22 ausgetauscht.

Desweiteren habe ich die Datei wacom_drv.so (gefunden in /usr/lib64/xorg/modules/input) gegen dieselbige Datei aus dem Verzeichnis /linuxwacom-0.7.9-11/src/xdrv ausgetauscht. Auch hier beachtet euer System und sucht einfach nach den Dateien.

Natürlich habe ich vorher Sicherungskopien von den Orginal-Dateien gemacht!

Bitte beachtet das ihr auch die Datei Xorg.conf gemäß der Anleitung von Peter's Blog oder dem Linux Wacom Project angepasst habt.
Danach habe ich den Rechner gebootet und ich konnte in The Gimp unter Datei/Einstellungen/Eingabegeräte/erweiterte Eingabegeräte mein Tablett konfigurieren.

Das war eine schwere Geburt, aber nun funktioniert es bei mir.

Vielleicht hilft ja dem einem oder anderen diese Anleitung.
 
Hi,
das klingt ja mal gut und macht mir Hoffnung, es auch noch zum Laufen zu bringen. Ich hatte wegen Schulung diese Woche keine Zeit, vielleicht komm ich morgen dazu, weiter zu machen. Mal sehen...vielen Dank für Deine detailierten Angaben, ich werde mich morgen noch mal versuchen.

Tschau
 
Hier mal mein kleiner Erfahrungsbericht zur Installation vom Wacom Bamboo.

Ich habe es zuerst auf meinem Laptop versucht, auf dem OpenSuSE 10.3 mit Kernel 2.6.22.13 läuft. Ich bin auf diesen Thread gestossen, und durch einen Link auch auf die Anleitung von Peters Blog, um den linuxwacom- Treiber zu installieren.

Per SaX ließ sich das Tablett nicht einrichten, tat keine Regung. Somit habe ich es mit der Anleitung versucht.

Ich habe alles versucht, um in der ausgabe des configure Skriptes die Ausgabe wacom.o - yes hinzubekommen, habe akribisch alle Links gesetzt und mehrmals überprüft. Nix zu machen. Die erforderlichen Pakete habe ich per Yast installiert.

Dann hab ich einfach mal 'make' ausgeführt, natürlich mit massenweise Fehlermeldungen.

Dann die Links per Skript gesetzt, und gehofft, daß mir "Punkt 3.5" nicht den Kernel "Bombt". Die angegebenen Ordner auf der Linux-Wacom Seite waren auf meinem System nicht zu finden, also war eine längere Suche angesagt, um den Treiber einzubinden, was natürlich nicht gelungen ist.

Nach Neustart des Grafiksystems tat sich immer noch nichts am Tablet, also hab ich es nochmal per SaX versucht, mit dem Graphire USB. Dies funktionierte zum Teil, die Bewegung des Pens auf dem Tablett, der Radierer und die Stifttasten funktionieren, nur halt die anderen Tasten nicht, was logisch erscheint, da ja ein anderer Treiber am Werk ist.

Da ich das Tablett auch zu Hause nutzen will, habe ich es auch auf meinem PC installiert. Hier läuft OpenSuSE 11.0. Trotz mehreren Versuchen mit linuxwacom sowie SaX tat sich hier gar nichts, außer daß mir SaX die xorg.conf dermaßen zerschossen hat, daß nichtmal mehr Tastatureingaben geschweige denn Mausbewegungen möglich waren. Das ganze hat einige Zeit gekostet, das System wieder ans laufen zu bekommen, also hab ich es weiterhin bleiben lassen.

Alles in allem: Die Installation des linuxwacom-Treibers erscheint mir als "Glückssache", mal geht es, mal einfach nicht. Vielleicht wird die Zeit ein Update mit sich bringen, oder das Tablett im Allgemeinen ins System integriert. Ich erwarte auf keinen Fall eine Plug-And Play-Lösung, aber der momentan vorliegende Treiber ist nicht mehr als ein haufen Schrott.

Vielleicht wird die Zeit es mit sich bringen, ich bleib am linuxwacom Projekt dran, mal sehen was kommt

Grüße

Roman
 
Oben