Results 1 to 10 of 15

Thread: Wacom DigitizerII 12x18 UD1218R Problems with Maverick Server

Hybrid View

  1. #1
    Join Date
    Dec 2010
    Beans
    48
    Distro
    Ubuntu 12.04 Precise Pangolin

    Wacom DigitizerII 12x18 UD1218R Problems with Maverick Server

    Hi,
    i'm having trouble with my Wacom tablet. Its attached over serial cable. I used this tutorial http://ubuntuforums.org/showpost.php...12&postcount=1 .

    wacdump /dev/ttyS0 sees the tablet and values are changing drawing on it:
    MODEL=Wacom DigitizerII 12x18 ROM=1.4-2
    CLS=Serial VNDR=Wacom DEV=Digitizer II SUB=UD-1218-R
    A0 51 5E 04 59 1C 00 25 08 .Q^.Y..%.
    TOOLTYPE=PEN IN_PROX=in

    /usr/share/X11/xorg.conf.d/50-wacom.conf
    Section "InputClass"
    Identifier "Wacom serial class"
    MatchProduct "Serial Wacom Tablet"
    Option "Device" "/dev/ttyS0" # SERIAL ONLY
    Driver "wacom"
    Option "ForceDevice" "ISDV4"
    EndSection

    Do I need the server section as described in http://linuxwacom.sourceforge.net/in...owto/srvlayout?

    Tried several different settings the mileage is between GDM ist starting up, keyboard and mouse is dead, ... every approach never brought up the tablet.

    xserver-xorg-input-wacom 10.8-ubuntu is installed
    xserver 1.9
    uname -r 2.6.35-23-server
    AMD SMP x86_64

    ty - dreh
    Last edited by dreh; December 20th, 2010 at 02:10 PM.

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

    Re: Wacom DigitizerII 12x18 UD1218R Problems with Maverick Server

    Hi dreh,

    Welcome to Ubuntu forums!

    It's not the "ServerLayout". See "Notice for Serial Graphics Tablet Users" in red near the top of the HOW TO you linked. It links to the patches and instructions you need.

    The serial patches only work up to and including xf86-input-wacom 0.10.6. As you see thorwil figured out how to get the patched 0.10.6 to compile in Maverick, overcoming the last obstacle.

    Meanwhile we hope someone will take up developing the serial patch further. Peter gave big hints and pointers as to what he would accept into xf86-input-wacom.

    Good luck!

  3. #3
    Join Date
    Dec 2010
    Beans
    48
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wacom DigitizerII 12x18 UD1218R Problems with Maverick Server

    Hi Favux,
    ty for your warm welcome and your fast answer.
    I tried the tutorial again. I can't get it run. This is what I did:

    1. uninstalled xserver-xorg-input-wacom via synaptic
    2. sudo rmmod wacom
    3. git clone git://linuxwacom.git.sourceforge.net/gitroot/linuxwacom/xf86-input-wacom. As far as I understood the patch is already integraded in wcmCommon.c. or am I wrong?
    4. ./autogen.sh --prefix=/usr
    5. make & sudo make install
    6. ./autogen.sh --prefix=/usr --libdir=/usr/lib64 I did this cause I have evdev_drv.so in both locations - just to be sure + make make install
    7. gksudo gedit /usr/share/X11/xorg.conf.d/50-wacom.conf
    Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/ttyS0"
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4"
    EndSection

    Is this right: The wacom.ko is not necessary for serial tablets? So I can ignore it?

    Which Syntax is the right one or what is the difference between Section "InputDevice" and Section "InputClass".

    The tutorial is a bit complicated, (English is not my mother language), so could you point me the right direction.
    Ty for your help !
    dreh

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

    Re: Wacom DigitizerII 12x18 UD1218R Problems with Maverick Server

    Hi dreh,

    1. uninstalled xserver-xorg-input-wacom via synaptic
    Don't, there is a new dependency xserver-xorg-input-all which will also be uninstalled and you need it installed. It's necessary. So reinstall.
    3. git clone git://linuxwacom.git.sourceforge.net/gitroot/linuxwacom/xf86-input-wacom. As far as I understood the patch is already integraded in wcmCommon.c. or am I wrong?
    The patch is not in xf86-input-wacom 0.10.10+. Peter declined to accept it, it needed more work. He gave a long, detailed critique/guideline of what was needed after the second patch attempt. The guy working on it stopped after his second attempt. Other things to do I guess. The second patch (the improved version) will only work on 0.10.6. So you have to download the tar: http://linuxwacom.sourceforge.net/ (all packages). Patch it. Then you have to do the patch so 0.10.6 will compile in Maverick.
    4. ./autogen.sh --prefix=/usr
    With the tar it'll be:
    Code:
    ./configure --prefix=/usr
    I don't know about the 64-bit flag on your system.
    Option "ForceDevice" "ISDV4"
    Remove, it's for tablet pc's. In fact in the recent versions of xf86 it's been deprecated for them too. If anything you'd need something like:
    Code:
    Option "ForceDevice" "Serial"
    So it should look something like:
    Code:
    Section "InputClass"
        Identifier "Wacom serial tablet class"
        MatchDevicePath "/dev/ttyS0"
        Driver "wacom"
    #    Option "ForceDevice" "Serial"  # ?
    EndSection
    "InputClass" is for .conf files. We'd have to see if there were any other matches we could do.
    Is this right: The wacom.ko is not necessary for serial tablets? So I can ignore it?
    Yes, the wacom.ko is the usb kernel driver. Your serial tablet does not need it.

  5. #5
    Join Date
    Dec 2010
    Beans
    48
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wacom DigitizerII 12x18 UD1218R Problems with Maverick Server

    Hi Favux,
    ty for your help.
    I patched and compiled .. installed. nice.

    Unfortunately its still not working:
    less /var/log/Xorg.0.log

    Code:
    My 18473.695] (II) LoadModule: "wacom"
    [ 18473.695] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
    [ 18473.695] (II) Module wacom: vendor="X.Org Foundation"
    [ 18473.695]    compiled for 1.8.99.905, module version = 0.10.8
    [ 18473.695]    Module class: X.Org XInput Driver
    [ 18473.695]    ABI class: X.Org XInput driver, version 11.0
    [...]
     18473.873] (**) Option "Device" "/dev/ttyS0"
    [ 18473.874] (**) Option "BaudRate" "38400"
    [ 18473.874] (**) Option "StopBits" "1"
    [ 18473.874] (**) Option "DataBits" "8"
    [ 18473.874] (**) Option "Parity" "None"
    [ 18473.874] (**) Option "Vmin" "1"
    [ 18473.874] (**) Option "Vtime" "10"
    [ 18473.874] (**) Option "FlowControl" "Xoff"
    [ 18473.874] (**) Option "SendCoreEvents"
    [ 18473.874] (**) stylus: always reports core events
    [ 18477.127] (WW) stylus: Waited too long for answer (failed after 3 tries).
    [ 18477.127] (WW) stylus: Query failed with 38400 baud. Trying 19200.
    [ 18480.381] (WW) stylus: Waited too long for answer (failed after 3 tries).
    [ 18483.634] (WW) stylus: Waited too long for answer (failed after 3 tries).
    [ 18483.634] (II) stylus: serial tablet id 0x90.
    [ 18483.635] (II) UnloadModule: "wacom"
    [ 18483.635] (EE) PreInit returned NULL for "stylus"
    [ 18483.635] (**) Option "Device" "/dev/input/wacom"
    [ 18483.635] (EE) xf86OpenSerial: Cannot open device /dev/input/wacom
            No such file or directory.
    [ 18483.635] (EE) eraser: Error opening /dev/input/wacom (No such file or directory)
    [ 18483.635] (II) UnloadModule: "wacom"
    This is my config:

    Code:
    Section "ServerLayout"
      Identifier    "Default Layout"
    ##  Screen        "Default Screen"0.10.
      InputDevice   "stylus"  "SendCoreEvents"
      InputDevice   "eraser"  "SendCoreEvents"
    EndSection
    
    Section "InputClass"
        Identifier "Wacom serial tablet class"
        MatchDevicePath "/dev/ttyS0"
        Driver "wacom"
        Option "ForceDevice" "Serial"  # ?
    EndSection
    
    Section "InputDevice"
      Driver        "wacom"0.10.
      Identifier    "stylus"
      Option        "Device"        "/dev/ttyS0"      # SERIAL ONLY
      Option        "Type"          "stylus"
      Option        "ForceDevice"   "SERIAL"           # Tablet PC ONLY
      Option	"BaudRate"	"38400"
    EndSection
    
    Section "InputDevice"
      Driver        "wacom"
      Identifier    "eraser"
      Option        "Device"        "/dev/input/wacom"0.10.
      Option        "Device"        "/dev/ttyS0"      # SERIAL ONLY
      Option        "Type"          "eraser"
      Option        "ForceDevice"   "SERIAL"           # Tablet PC ONLY
      Option        "BaudRate"      "38400"
    EndSection
    
    Section "InputDevice"
      Driver        "wacom"
      Identifier    "cursor"
      Option        "Device"        "/dev/input/wacom"
      Option        "Device"        "/dev/ttyS0"      # SERIAL ONLY
      Option        "Type"          "cursor"
      Option        "ForceDevice"   "SERIAL"           # Tablet PC ONLY
      Option        "BaudRate"      "38400"
    EndSection
    Any clues why it's not working. I tested different Baud Rate didn't change anything. The module says its version 0.10.8 shouldn't it say 0.10.6 (patched driver)?
    Ty dreh

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

    Re: Wacom DigitizerII 12x18 UD1218R Problems with Maverick Server

    Good, progress!

    This would be a serial snippet for 50-wacom.conf in /usr/share/X11/xorg.conf.d/. I thought you were going to use it. If you are using xorg.conf you don't need to worry about it. I don't think any of the serial snippets will match your tablet so you don't have to deactivate them. You want to use either xorg.conf or 50-wacom.conf. Not both. So remove it from xorg.conf.
    Code:
    Section "InputClass"
        Identifier "Wacom serial tablet class"
        MatchDevicePath "/dev/ttyS0"
        Driver "wacom"
        Option "ForceDevice" "Serial"  # ?
    EndSection
    Also starting with X server 1.7 "SendCoreEvents" is deprecated (no longer used). And unless you have a Wacom tablet mouse you do not need the cursor section. So it would look something like:
    Code:
    Section "ServerLayout"
      Identifier    "Default Layout"
    ##  Screen        "Default Screen"0.10.
      InputDevice   "stylus"
      InputDevice   "eraser"
    EndSection
    
    Section "InputDevice"
      Driver        "wacom"
      Identifier    "stylus"
      Option        "Device"        "/dev/ttyS0"      # SERIAL ONLY
      Option        "Type"          "stylus"
      Option        "ForceDevice"   "SERIAL"           # Tablet PC ONLY
      Option	"BaudRate"	"38400"
    EndSection
    
    Section "InputDevice"
      Driver        "wacom"
      Identifier    "eraser"
      Option        "Device"        "/dev/input/wacom"0.10.
      Option        "Device"        "/dev/ttyS0"      # SERIAL ONLY
      Option        "Type"          "eraser"
      Option        "ForceDevice"   "SERIAL"           # Tablet PC ONLY
      Option        "BaudRate"      "38400"
    EndSection
    Do you know what the baudrate of the tablet is suppose to be? I vaguely remember reading the old serial code. I think the allowed baudrates were 2400, 4800, 9600, 14,400 ? and ? I guess I don't remember for sure. Also try without the Option:
    Code:
      Option        "ForceDevice"   "SERIAL"
    The module says its version 0.10.8 shouldn't it say 0.10.6 (patched driver)?
    That worries me too. Maybe something new to 0.10.8 that 0.10.6 didn't over write? I don't think thorwil mentioned it.
    Last edited by Favux; December 21st, 2010 at 07:55 AM.

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
  •