Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41

Thread: Still can't get waltop/medion graphics tablet to work, can't build drivers in karmic

  1. #1
    Join Date
    Oct 2009
    Beans
    183
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Unhappy Still can't get waltop/medion graphics tablet to work, can't build drivers in karmic

    I have a medion (waltop) graphics tablet that worked fine in 9.04 (with no drivers at all), but when I upgraded, I can't use the buttons to click, or use the pressure-sensitive tip. I have tried the wacom and wizzard pen drivers, but I can't seem to compile them. There is always some error when I try to "make". I get a bunch of lines, and then two that say, "ERROR 1" and "ERROR 2" I have tried countless how-tos, but nothing works. One problem is that my tablet isn't a really common one. It is small, 12.1" , and you can't even buy it on the waltop site. I think only Aldi sells it around Christmas. Will this problem disappear when I upgrade to 10.4? Do I have a problem with the make command? I have done many karmic-designed how-tos on this, but I always get stuck on "make" or "make install" or "./configure". I am running these commands as root, under sudo bash.

    I have tried the waltop linux drivers, but the same problem.

  2. #2
    Join Date
    Oct 2009
    Beans
    183
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Still can't get waltop/medion graphics tablet to work, can't build drivers in kar

    What can I do????

  3. #3
    Join Date
    Nov 2009
    Location
    In the shed
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Still can't get waltop/medion graphics tablet to work, can't build drivers in kar

    I cant either and I give up on it now.
    [edit] Try again. (Missing data restored)

    Rather than start another thread. This one has Waltop in the title already.

    My unit is from Aldi and branded Medion, on the back sticker it says:
    6012
    MD 85637
    I've had it working in the past, in Kubuntu Intrepid it worked out of the box.
    But not the pen buttons correctly or the surrounding 29 buttons (around the pad) ever at all.
    The surrounding buttons are the least of our worries but would be grand to able to ues them so....

    We are gonna have to get this sorted. It's such a freakin pain to have hardware that can't be used. Windows users have all the fun... or do they.. anyway...

    I'll start.

    We got the driver file from:
    http://www.waltop.com.tw/download.asp?lv=0&id=2
    near the bottom of that page.

    This is the complete README inside the unzipped package. (Below, is a Ubuntu summary.)

    0 USB HID
    ------------

    0.1 Fedora

    0.1.1 Copy hid-xxxx.c to kernel source code directory
    For kernel 2.6.21:
    #cp drv/2.6.21/hid-core.c /usr/src/kernels/'uname -r'/drivers/usb/input

    For kernel 2.6.23:
    #cp drv/2.6.23/hid-quirks.c /usr/src/kernels/'uname -r'/drivers/hid/usbhid

    0.1.2 Rebuild Linux Kernel

    0.1.3 Reboot Linux

    0.2 Ubuntu

    0.2.1 Copy hid-xxx.c to kernel source code directory
    Consult 0.1.1

    0.2.2 Rebuild (usb)hid.ko
    #make

    0.2.3 Install (usb)hid.ko
    #make install
    #make modules_install

    Or Copy (usb)hid.ko to kernel module directory

    0.2.4 Reboot Linux

    1 Compile
    ------------

    #make

    2 Install Waltop Linux Driver (waltoptablet.ko)
    ------------

    Linux Kernel version 2.6.21:
    #cp .\waltoptablet.ko /lib/modules/$(shell uname -r)/kernel/drivers/input

    Linux Kernel version 2.6.23 and above:
    #cp .\waltoptablet.ko /lib/modules/$(shell uname -r)/kernel/drivers/input/tablet

    3 Register Linux kernel driver
    ------------

    #cd /lib/modules/'uname -r'/drivers/input
    #/sbin/insmod ./waltoptablet.ko
    #/sbin/depmod -e

    4 List the registered module
    ------------

    #/sbin/lsmod | grep waltop

    5 Plug-in the tablet device
    ------------

    6 Test tablet controller detection (waltoptablet.ko)
    ------------

    #more /proc/bus/usb/devices

    ...
    ... Driver=waltoptablet.ko
    ...

    6.1 If Driver=usbhid, add the waltop vendor id to the linux kernel
    6.2 If Driver=(none), install the waltop driver

    Or
    #more /proc/bus/input/devices

    I: Bus=xxxx Vendor=172f Product=0034 Version=1105
    N: Name="Slim Tablet"
    P:
    S: Sysfs=/class/input/input6
    H: Handlers=mouse2 event5
    B:
    B:

    /************************************************** ***************************
    ** The Tablet of X11 Driver
    ************************************************** **************************/


    1 Compile
    ------------

    #./configure
    #make



    2 Install Waltop X11 driver (waltoptablet_drv.so)
    ------------

    #cp .libs/waltoptablet_drv.so /usr/lib/xorg/modules/input



    3 Edit the Configuration file (xorg.conf)
    ------------

    3.0 Check Tablet device event number

    The event number will be used to xorg.conf "Device" option

    #more /proc/bus/input/devices

    I: Bus=xxxx Vendor=172f Product=0034 Version=1105
    N: Name="Slim Tablet"
    P:
    S: Sysfs=/class/input/input6
    H: Handlers=mouse2 event5
    B:
    B:


    3.1 Edit the xorg.conf


    3.1.0 Edit the xorg.conf

    #vi /etc/X11/xorg.conf


    3.1.1 Add InputDevice section

    Section "InputDevice"
    Identifier "WaltopStylus"
    Driver "waltoptablet"
    Option "Device" "/dev/input/eventX"
    Option "Type" "stylus"
    Option "Mode" "absolute"
    Option "USB" "on"
    Option "KeepShape" "off"
    Option "Pressure" "Soft"
    Option "debuglevel" "0"
    EndSection


    /*
    **Attention:
    ** 1 Option "Device" "/dev/input/eventX"
    ** X is the event number, consult 3.0
    **
    ** 2 Option "Pressure" "string"
    ** string value { "Soft" | "Hard" | "Linear" } .
    **
    ** 3 Option "debuglevel" "number"
    ** number "0 -12", 0 is Off.
    **
    */


    3.1.2 Edit ServerLayout

    Add below to ServerLayout:

    InputDevice "WaltopStylus" "SendCoreEvents"


    Example:

    Section "ServerLayout"
    Identifier "single head configuration"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    ...
    InputDevice "WaltopStylus" "SendCoreEvents"
    EndSection



    4 Restart X Window
    ------------

    $init 3

    $startx



    5 GIMP and Tablet
    ------------

    Configure Gimp for the new devices.

    Start Gimp.
    Edit -> Preferences

    Select "Input Devices"
    Select "Configure Extended Input Devices"

    pad -> Mode: Screen
    stylus -> Mode: Screen
    eraser -> Mode: Screen
    cursor -> Mode: Screen
    Linux input: Wacom Graphire3 6x8 -> Mode: Screen
    Wacom Graphire3 6x8 -> Mode: Screen

    Make sure to save. Exit and restart Gimp.
    Your Graphire tablet should be working with the Gimp.


    Config file in the path:
    http://www.gimp.org/man/gimp.html
    So to summarise just for me Ubuntu Karmic Koala, kernel
    Code:
    uname -r
    2.6.31-15-generic


    These are the questions that I/we need answers to please.

    0.2 Ubuntu
    Are we supposed to install something?
    Where is this supposed to go?
    0.2.1 Copy hid-xxx.c to kernel source code directory


    (Consult 0.1.1)
    4 x's here, again, where?
    0.1.1 Copy hid-xxxx.c to kernel source code directory

    Obviously change kernel version to suit yours!
    For kernel 2.6.21:
    #cp drv/2.6.21/hid-core.c /usr/src/kernels/'uname -r'/drivers/usb/input


    Where is this to be run from? And how?
    0.2.2 Rebuild (usb)hid.ko
    #make

    Same place as above?
    0.2.3 Install (usb)hid.ko
    #make install
    #make modules_install

    Which directory?
    Or Copy (usb)hid.ko to kernel module directory

    Ahha! I know this one.
    0.2.4 Reboot Linux[/quote]

    If some kind soul could answer the above questions I can at least make a start.
    The Waltop site is completely useless for help. And there is none that I can find searching the tubes.
    Thank you.
    Last edited by emaydubya; November 28th, 2009 at 03:26 AM. Reason: Restored removed text after reconsidering.

  4. #4
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Still can't get waltop/medion graphics tablet to work, can't build drivers in kar

    Hi emaydubya,

    Actually this may not be too bad. It seems more cryptic than it really is I think.
    Linux Kernel version 2.6.23 and above:
    #cp .\waltoptablet.ko /lib/modules/$(shell uname -r)/kernel/drivers/input/tablet
    I think they're saying thats where to copy to module waltoptablet.ko once it's compiled for that kernel (and up) including the Karmic one.

    HOW TO Compile the Waltop Linux Driver for Hardy and Intrepid
    Enter (copy and paste) each line in a terminal and hit enter. First change directory to the Desktop:
    Code:
    cd ./Desktop
    Then download the Waltop Linux Driver onto your Desktop:
    Code:
    wget http://www.waltop.com.tw/file/News4/News420090811001_b.zip
    Then make sure the build dependencies are installed:
    Code:
    sudo apt-get update
    
    sudo apt-get install build-essential automake xserver-xorg-dev x11proto-input-dev
    
    sudo apt-get upgrade
    Now unzip the source code and change directories into it:
    Code:
    unzip News420090811001_b.zip
    
    cd WaltopTablet_090325/WaltopTablet/Xdrv
    The "configure" file turns out not to be executable so make it so:
    Code:
    chmod +x configure
    And then probably:
    Code:
    ./configure
    [Aside: it may want something like: ./configure --prefix=/usr just depending. You can see it's available options by doing: ./configure --help | less To be honest I'm not sure how many of those are available.]
    Once configure is done the makefile should be ready so:
    Code:
    make
    Then install the make with:
    Code:
    sudo make install
    Now on to compiling the waltoptablet.ko. Change directory to util:
    Code:
    cd ..
    
    cd util
    Again the configure isn't executable:
    Code:
    chmod +x configure
    Then:
    Code:
    ./configure --enable-waltoptablet
    
    make
    [Aside: We may not need to do: sudo make install We may only need the compiled waltoptablet.ko.]
    Then copy the waltoptablet.ko (the usb kernel driver/module) into place:
    Code:
    sudo cp ./waltoptablet.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/waltoptablet.ko
    Then rebuild all the module dependencies:
    Code:
    sudo depmod -a
    Reboot.

    To check if it's in the correct location:
    Code:
    modinfo -n waltoptablet
    And to see if the kernel driver has loaded:
    Code:
    lsmod | grep waltoptablet
    Notes from README file:
    * There's a typo in the readme file, it should be like above not ".\waltoptablet.ko" and I'm pretty sure it needs a sudo in front.
    *Then they're telling you how to get the kernel module "active" with:
    Code:
    cd /lib/modules/'uname -r'/drivers/input
    
    /sbin/insmod ./waltoptablet.ko
    
    /sbin/depmod -e
    hard to tell if that works. Maybe rebooting (up to a few times) may get the module to auto-load too.


    HOW TO Compile the Waltop Linux Driver for Jaunty and Karmic

    cd ./Desktop
    Code:
    wget http://www.waltop.com.tw/file/News4/News420090811001_b.zip
    sudo apt-get update

    sudo apt-get install build-essential automake xserver-xorg-dev x11proto-input-dev

    sudo apt-get upgrade

    unzip News420090811001_b.zip

    Apply patches (really edits) in post #11

    cd WaltopTablet_090325/WaltopTablet/Xdrv

    chmod +x configure

    ./configure

    make

    sudo make install

    cd ..

    cd util

    chmod +x configure

    ./configure --enable-waltoptablet

    make

    sudo make install(?)

    sudo cp ./waltoptablet.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/waltoptablet.ko

    sudo depmod -a

    reboot
    Last edited by Favux; December 4th, 2009 at 02:45 AM.

  5. #5
    Join Date
    Nov 2009
    Location
    In the shed
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Still can't get waltop/medion graphics tablet to work, can't build drivers in kar

    Yeah, sorry about that. Truly. I get real flabbergasterated when I waste so much time working on these issues time and time again.
    But I can't really give up. I ALWAYS keep coming back for more, to try again, to see if I just CAN get things to work.

    So anyhow.... Lucky I saved a copy of that original post in Knotes. I replace it into Post#3 above to keep the sequence. And post my unsuccessful result below.
    I appreciate all the help I can get.

  6. #6
    Join Date
    Nov 2009
    Location
    In the shed
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Still can't get waltop/medion graphics tablet to work, can't build drivers in kar

    I changed directory to ./WaltopTablet/Xdrv
    Ran ./configure and said I had no permission
    After making it executable it completed without error.
    Then ran make and it did error...

    PHP Code:
    make  all-am
    make
    [1]: Entering directory `/home/maxie/MyDownloads/WaltopTablet_090325/WaltopTablet/Xdrv'
    /bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -DLINUX_INPUT -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1    -I./src -MT xf86Waltop.lo -MD -MP -MF .deps/xf86Waltop.Tpo -c -o xf86Waltop.lo xf86Waltop.c
     gcc -DHAVE_CONFIG_H -I. -DLINUX_INPUT -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I./src -MT xf86Waltop.lo -MD -MP -MF .deps/xf86Waltop.Tpo -c xf86Waltop.c  -fPIC -DPIC -o .libs/xf86Waltop.o
    In file included from xf86Waltop.c:16:
    xf86Waltop.h:43:25: error: xf86Version.h: No such file or directory
    xf86Waltop.c: In function 'WaltopDeviceControl':
    xf86Waltop.c:1468: warning: passing argument 3 of 'InitValuatorClassDeviceStruct' makes integer from pointer without a cast
    /usr/include/xorg/input.h:281: note: expected 'int' but argument is of type 'int (*)(struct _DeviceIntRec *, struct xTimecoord **, long unsigned int,  long unsigned int,  struct _Screen *, BOOL)'
    xf86Waltop.c:1468: error: too many arguments to function 'InitValuatorClassDeviceStruct'
    make[1]: *** [xf86Waltop.lo] Error 1
    make[1]: Leaving directory 
    `/home/maxie/MyDownloads/WaltopTablet_090325/WaltopTablet/Xdrv'
    make: *** [all] Error 2 
    So again, I'm stuck.
    Just sent an email to Waltop makers with this. Only my garden snail knows if it will help.
    Last edited by emaydubya; November 28th, 2009 at 04:34 AM.

  7. #7
    Join Date
    Nov 2009
    Location
    In the shed
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Still can't get waltop/medion graphics tablet to work, can't build drivers in kar

    Oh well. From their "Contact Us" pages' email address. The email bounced. So much for help from there.


    All right. I left a message through their contact enquiery form.
    Last edited by emaydubya; November 28th, 2009 at 04:46 AM.

  8. #8
    Join Date
    Nov 2009
    Location
    In the shed
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Still can't get waltop/medion graphics tablet to work, can't build drivers in kar

    I got a reply: Said to refer to this: lol
    [SOLVED] Tablet Buttons don't work (Genius GPEN F610)
    http://ubuntuforums.org/showthread.php?t=1326789

  9. #9
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Still can't get waltop/medion graphics tablet to work, can't build drivers in kar

    Hi emaydubya,

    Now that is funny! Self referential or what? Sort of a linux catch-22.


    Before I took off for the holiday I loaded the Waltop stuff on my Karmic partition in my Desktop. So I can try to compile it too. If we get lucky maybe we'll figure something out.

  10. #10
    Join Date
    Nov 2009
    Location
    In the shed
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Still can't get waltop/medion graphics tablet to work, can't build drivers in kar

    Thanks Favux.
    When it comes to errors compiling it's a real black zone for me.

Page 1 of 5 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •