LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 10.1 and Wacom Graphire3 (https://www.linuxquestions.org/questions/slackware-14/slackware-10-1-and-wacom-graphire3-340997/)

LinuxLuvr 07-07-2005 12:56 PM

Slackware 10.1 and Wacom Graphire3
 
I have tried unsuccessfully to get this tablet working. Has anyone been able to get the Graphire3 tablet working under SW 10.1 using X.org?

rose_bud4201 07-07-2005 02:30 PM

I'm not positive, but it looks like the Linux Wacom Project may be of use? They list Slackware 10 with x.org under the Success Stories heading.

keefaz 07-07-2005 02:41 PM

I got my USB wacom tablet working just with enabling
it in kernel config, xorg.conf was ok without modification,
you connect the tablet and it works...

Features to enable in kernel 2.6.12.2 :
Device Drivers/USB support/Wacom Intuos/Graphire tablet support
Device Drivers/Input device support/Event interface
(all as module, I prefer)

Franklin 07-07-2005 06:20 PM

Keefaz,

Do you get pressure sensitivity in GIMP with that method?
I was under the impression that you needed to recompile the modules using the download from the linuxwacom site and replace the generic kernel modules.

I also have a rathe extensive xorg.conf as well.

This is what I did successfully, but I'm curious as to whether support for the wacom3 is better in the latest 2.6 kernel. I am running 2.4.31

Steve

keefaz 07-07-2005 06:36 PM

I confirm that I get the pressure sensitivity with gimp,
with the default Wacom kernel module ;)

Also I didn't edit xorg.conf, the tablet is recognised
and works as soon as I connect it

Franklin 07-07-2005 06:41 PM

Ah, the joys of 2.6.xx ...

Perhaps the time has come for me to join the rest of the world.

LinuxLuvr 07-08-2005 09:48 PM

I'm getting this error message:
Quote:

Unable to compile wacom_drv.o without XF86 build environment
Franklin: Did you get yours running under 2.4.x kernel? Did you have to change anything?

I can't seem to find XF86 build environment. Help!!!! Please.

Franklin 07-08-2005 11:08 PM

Don't worry. You just need to use the precompiled wacom_drv.o that you will find in the src directory (I believe). Read the directions on the linuxwacom site - I know they are a bit overwhelming, but it is not too terrible.

If your still stuck I'll be more specific in the AM.

Too tired now.

LinuxLuvr 07-09-2005 12:46 AM

Franklin: OK I'm still stuck. I've gone through this two more times; evidently I'm missing something here. Your help would be very much appreciated.

keefaz 07-09-2005 03:48 AM

LinuxLuvr, just a thought, did you install x11-devel package ?

Franklin 07-09-2005 08:37 AM

Below are the build options I used and the output.
You will need to replace the generic kernel modules with the newly compiled versions.
I also needed to make wacom.o into wacom.o.gz by gunzipping it for slack to see it as a module.
I used the supplied wacom_drv.o from the file with the corresponding kernel name.

Code:

bash-3.00$ ./configure --enable-wacom --enable-hid --enable-evdev --enable-mousedev --enable-usbmouse --enable-input
checking for a BSD-compatible install... /usr/bin/ginstall -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... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-slackware-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 dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -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 ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for processor type... i686
checking for kernel type... Linux
checking for linux-based kernel... yes
checking for kernel sources... /usr/src/linux
checking for kernel module versioning... yes
checking for gtk-config... yes
checking for pkg-config... yes
checking pkg-config for gtk+-2.0... yes
checking for GTK version... 2.6.4
checking for X lib directory... found
checking for tclsh... /usr/bin/tclsh
checking for tcl version... 8.4
checking for tcl header files... /usr/include/
checking for tk header files... found
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
***
*** WARNING:
*** Unable to compile wacom_drv.o without XF86 build environment
*** or Xorg SDK.
*** wacom_drv.o will not be built
***
checking for updated field names in hid-core.c... yes, using 2.4.20 or later
checking for HID_QUIRK... yes
checking if gcc accepts -fno-merge-constants... yes

configure: creating ./config.status
config.status: creating Makefile
config.status: creating mkxincludes
config.status: creating src/Makefile
config.status: creating src/2.4/Makefile
config.status: creating src/2.4.22/Makefile
config.status: creating src/2.6/Makefile
config.status: creating src/2.6.2/Makefile
config.status: creating src/2.6.3/Makefile
config.status: creating src/2.6.4/Makefile
config.status: creating src/2.6.5/Makefile
config.status: creating src/2.6.6/Makefile
config.status: creating src/2.6.7/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/wacomxi/Makefile
config.status: creating src/wacomxi/wacomcpl
config.status: creating config.h
config.status: executing depfiles commands

----------------------------------------
  BUILD ENVIRONMENT:
      architecture - i686
      linux kernel - yes 2.4.22
  module versioning - yes -DCONFIG_MODVERSIONS -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
      kernel source - yes /usr/src/linux
          Xorg SDK - no
          XSERVER64 - no
              XLib - yes /usr/X11R6/lib
                TCL - yes /usr/include/
                TK - yes /usr
            ncurses - yes
                GTK - 2.6.4

  BUILD OPTIONS:
            wacom.o - yes
            wacdump - yes
            xidump - yes
        libwacomcfg - yes
        libwacomxi - yes
          xsetwacom - yes
              hid.o - yes (value_patch)
        usbmouse.o - yes
            evdev.o - yes
        mousedev.o - yes
            input.o - yes
        tabletdev.o - no
        wacom_drv.o - no
----------------------------------------
bash-3.00$


gbonvehi 07-09-2005 09:25 AM

Try installing the x11-devel package.

LinuxLuvr 07-09-2005 07:05 PM

As it turns out, I did have everything, but was not understanding what I saw. Franklin thanks for including your output; it matched mine and shed light on where the problem lay. I'm well on my way to getting everything working from the HOWTO file. Thanks to everybody who shed light on this!

Franklin 07-09-2005 07:18 PM

I saved that output because it took me forever to figure this out as well. Once I got it, I realized it was fairly simple. The problem (for me) is that the howto at the linux wacom project page is just "information overload". People who write these things need to start with an "idiot" howto, followed by a more in-depth discussion.

This is an example of linux seeming difficult because people who know how don't know how to tell how.

Glad you're getting up to speed.

LinuxLuvr 07-09-2005 08:16 PM

Well, I'm not out of the woods yet. I can't seem to get either of the wacom_drv modules to load. When I try loading them I get:
Quote:

root@jupiter:/usr/X11R6/lib/modules/input# insmod ./wacom_drv.o
./wacom_drv.o: couldn't find the kernel version the module was compiled for
Any ideas? Did you have any problems with this step?


All times are GMT -5. The time now is 04:51 PM.