Page 52 of 56 FirstFirst ... 2425051525354 ... LastLast
Results 511 to 520 of 560

Thread: HOW TO Set Up a Wacom Serial Tablet in Ubuntu

  1. #511
    Join Date
    Aug 2008
    Location
    Detroit, MI
    Beans
    33
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOW TO Set Up a Wacom Serial Tablet in Ubuntu

    Ok, the new thread is here.

  2. #512
    Join Date
    Mar 2013
    Beans
    8

    Re: HOW TO Set Up a Wacom Serial Tablet in Ubuntu

    Hello,
    I am an archlinux user with a newly set up system running xfce, with kernel 3.8.4-1.
    I am trying to get a wacom artz2(UD-1212-R) tablet to work using a pl2303 usb-serial converter.

    1 I have downloaded wacom_serial-120327-1.tar.bz2.

    2 I have modified wacom_serial.c(changed #define SERIO_WACOM_IV 0x3d to #define SERIO_WACOM_IV 0x3e)
    and serio-ids.h(changed # define SERIO_WACOM_IV 0x3d to # define SERIO_WACOM_IV 0x3e)

    3 I then did these commands to make and install it:
    make all
    sudo cp inputattach /usr/bin
    sudo cp wacom_serial.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet
    sudo depmod -a

    4 I then started inputattach with the command:
    sudo inputattach --wacom_iv /dev/ttyUSB0

    dmesg shows the error:
    wacom_serial: probe of serio5 failed with error -5
    serio: Serial port ttyUSB0
    input (null): Timed out waiting for tablet to respond with model and version.
    This is repeated over and over again.
    If I touch the pen to the tablet dmesg shows:
    input (null): got a garbled response of length #.
    input (null): Timed out waiting for tablet to respond with configuration string. Continuing anyway.
    input (null): Timed out waiting for tablet to respond with coordinates string. Continuing anyway.
    input: Wacom protocol 4 serial tablet as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/ttyUSB0/tty/ttyUSB0/serio15/input/input14

    Xorg.0.log shows this:
    [ 175.135] (II) config/udev: Adding input device Wacom protocol 4 serial tablet (/dev/input/event14)
    [ 175.135] (**) Wacom protocol 4 serial tablet: Applying InputClass "Wacom class"
    [ 175.135] (II) LoadModule: "wacom"
    [ 175.135] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
    [ 175.182] (II) Module wacom: vendor="X.Org Foundation"
    [ 175.182] compiled for 1.14.0, module version = 0.20.0
    [ 175.182] Module class: X.Org XInput Driver
    [ 175.182] ABI class: X.Org XInput driver, version 19.1
    [ 175.182] (II) Using input driver 'wacom' for 'Wacom protocol 4 serial tablet'
    [ 175.182] (**) Wacom protocol 4 serial tablet: always reports core events
    [ 175.182] (**) Option "Device" "/dev/input/event14"
    [ 175.182] (II) Wacom protocol 4 serial tablet: type not specified, assuming 'stylus'.
    [ 175.182] (II) Wacom protocol 4 serial tablet: other types will be automatically added.
    [ 175.182] (EE) Wacom protocol 4 serial tablet stylus: unable to ioctl xmax value.
    [ 175.186] (EE) PreInit returned 8 for "Wacom protocol 4 serial tablet stylus"
    [ 175.186] (II) UnloadModule: "wacom"

    Any help would be appreciated.
    Cognuss

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

    Re: HOW TO Set Up a Wacom Serial Tablet in Ubuntu

    Hi Cognuss,

    Welcome to Ubuntu forums!


    Not sure what is going on. You're the first to report trying the 3.8 kernel as far as I am aware. What is the X Server?
    Code:
    Xorg -version
    I'm assuming:
    [ 175.182] (EE) Wacom protocol 4 serial tablet stylus: unable to ioctl xmax value.
    [ 175.186] (EE) PreInit returned 8 for "Wacom protocol 4 serial tablet stylus"
    [ 175.186] (II) UnloadModule: "wacom"
    is due the dmesg error.

    I'm trying to remember if the pl2303 usb-serial converter has the ioctl patch for xf86-input-wacom. I think it did last time I looked. Which was a long time ago admittedly. I have the impression most the the converter's kernel drivers had been updated. Discussed a bit in:
    "Configuring A Wacom Tablet In Lucid Lynx" thread: http://ubuntuforums.org/showthread.php?t=1462026&page=3 - setting up a serial Wacom ArtzII tablet using a Keyspan serial->USB adapter, posts #24 to #34 with HOW TO at #34. Kernel patch for the Keyspan serial-to-USB driver, adds a dummy TIOCGSERIAL ioctl, on post #30.
    Although it seems to me the ioctl grab was dropped in xf86-input-wacom a few releases ago and you now have to request it with a .conf option. What version do you have?
    Code:
    xsetwacom -V

  4. #514
    Join Date
    Mar 2013
    Beans
    8

    Re: HOW TO Set Up a Wacom Serial Tablet in Ubuntu

    The X Server is version: 1.14.0 and xsetwacom -V returns: 0.20.0.
    Also in case I wasn't clear nothing recognizes the tablet unless,
    the pen is being pressed onto the tablet like your drawing.

    I forgot to tell you that I added the 70-serial-wacom.rules to /etc/udev/rules.d and this is what it contains:
    ACTION=="add|change", SUBSYSTEM=="tty|pnp", ENV{NAME}="Wacom protocol IV serial tablet",
    SYMLINK+="input/wacom", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"

    Incase you need it, here is what 50-wacom.conf, for xorg, contains:

    Section "InputClass"
    Identifier "Wacom class"
    MatchProduct "Wacom|WACOM|Hanwang|PTK-540WL"
    MatchDevicePath "/dev/input/event*"
    Driver "wacom"
    EndSection

    Section "InputClass"
    Identifier "Wacom serial class"
    MatchProduct "Serial Wacom Tablet"
    Driver "wacom"
    EndSection

    Section "InputClass"
    Identifier "Wacom serial class identifiers"
    MatchProduct "WACf|FUJ02e5|FUJ02e7|FUJ02e9"
    Driver "wacom"
    EndSection

    # Waltop tablets
    Section "InputClass"
    Identifier "Waltop class"
    MatchProduct "WALTOP"
    MatchIsTablet "on"
    MatchDevicePath "/dev/input/event*"
    Driver "wacom"
    EndSection

    # N-Trig Duosense Electromagnetic Digitizer
    Section "InputClass"
    Identifier "Wacom N-Trig class"
    MatchProduct "HID 1b96:0001|N-Trig Pen"
    MatchDevicePath "/dev/input/event*"
    Driver "wacom"
    Option "Button2" "3"
    EndSection

    I do not have an xorg.conf file.
    I don't know anything about ioctl.
    Thank you for your help.
    Cognuss

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

    Re: HOW TO Set Up a Wacom Serial Tablet in Ubuntu

    You shouldn't need the udev rule. Go ahead and comment it out and see if it makes a difference.

    You appear to be the first person reporting trying the wacom_serial.ko on basically the latest kernel, X Server, and xf86-input-wacom. Perhaps that's where the problem is. If so we'd need tokenrove to take a look.

    When the serio driver is querying the tablet you are getting:
    Code:
    dmesg shows the error:
    wacom_serial: probe of serio5 failed with error -5
    serio: Serial port ttyUSB0
    input (null): Timed out waiting for tablet to respond with model and version.
    This is repeated over and over again.
    If I touch the pen to the tablet dmesg shows:
    input (null): got a garbled response of length #.
    input (null): Timed out waiting for tablet to respond with configuration string. Continuing anyway.
    input (null): Timed out waiting for tablet to respond with coordinates string. Continuing anyway.
    input: Wacom protocol 4 serial tablet as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/ttyUSB0/tty/ttyUSB0/serio15/input/input14
    So either the tablet is not responding in the expected time windows or it is garbling the protocol: http://sourceforge.net/apps/mediawik...al_Protocol_IV

    You need to establish communication with the tablet. Does the tablet work in another release or OS? That would rule out bad hardware.

    It is possible setting it up through xorg.conf might help initialize it.

  6. #516
    Join Date
    Mar 2013
    Beans
    8

    Re: HOW TO Set Up a Wacom Serial Tablet in Ubuntu

    Commenting out the udev rule doesn't appear to do anything. So I'll leave it commented out.
    I should clarify that I don't always get the configuration and coordinates string errors,
    sometimes it is just one or the other or none.
    No it isn't a hardware problem, it works on windows xp.
    What should I put in xorg.conf?
    Thanks again.
    Cognuss

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

    Re: HOW TO Set Up a Wacom Serial Tablet in Ubuntu

    Good, hardware ruled out.

    Be sure you are comfortable editing xorg.conf with nano from the command line using the Recovery Mode option in case you break X.

    The second part of the HOW TO post "Old serial tablet driver - for Lucid & Maverick" has a sample xorg.conf. Start with just the stylus section. If that doesn't break X with a restart then add the ServerLayout section. But you can comment out the eraser and pad lines for now since you haven't added those sections yet. Of course instead of:
    Code:
        Option        "Device"         "/dev/ttyS0"
    you would use:
    Code:
        Option        "Device"         "/dev/ttyUSB0"

  8. #518
    Join Date
    Mar 2013
    Beans
    8

    Re: HOW TO Set Up a Wacom Serial Tablet in Ubuntu

    Okay I added:

    Section "ServerLayout"
    Identifier "X.org Configured"
    InputDevice "stylus"
    EndSection

    and:

    Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/ttyUSB0"
    Option "Type" "stylus"
    Option "ForceDevice" "Serial"
    EndSection

    to the xorg.conf file created by nvidia.

    Then I started the computer with tablet plugged in, without the pen drawing on the tablet.
    xorg log shows this about the tablet:
    [ 14.289] (==) Using config file: "/etc/X11/xorg.conf"
    [ 14.289] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 14.393] (==) ServerLayout "X.org Configured"
    [ 14.393] (**) |-->Screen "Screen0" (0)
    [ 14.393] (**) | |-->Monitor "Monitor0"
    [ 14.393] (**) | |-->Device "Device0"
    [ 14.393] (**) |-->Input Device "stylus"
    [ 14.393] (==) Automatically adding devices
    [ 14.393] (==) Automatically enabling devices
    [ 14.393] (==) Automatically adding GPU devices

    [ 18.766] (II) Using input driver 'wacom' for 'stylus'
    [ 18.766] (**) stylus: always reports core events
    [ 18.766] (**) Option "Device" "/dev/ttyUSB0"
    [ 18.766] (**) Option "Type" "stylus"
    [ 18.767] (**) Option "StopBits" "1"
    [ 18.767] (**) Option "DataBits" "8"
    [ 18.767] (**) Option "Parity" "None"
    [ 18.767] (**) Option "Vmin" "1"
    [ 18.767] (**) Option "Vtime" "10"
    [ 18.767] (**) Option "FlowControl" "Xoff"
    [ 22.022] (WW) stylus: Waited too long for answer (failed after 3 tries).
    [ 22.022] (WW) stylus: Query failed with 19200 baud. Trying 38400.
    [ 25.276] (WW) stylus: Waited too long for answer (failed after 3 tries).
    [ 25.276] (II) stylus: serial tablet id 0x90.
    [ 25.373] (EE) PreInit returned 8 for "stylus"
    [ 25.373] (II) UnloadModule: "wacom"

    I then opened the terminal and typed sudo inputattach --wacom_iv /dev/ttyUSB0
    dmesg shows this:
    [ 182.536439] serio: Serial port ttyUSB0
    and xorg log doesn't show anything else.

    I started the computer with the tablet plugged in and with the pen drawing on the tablet.
    xorg log shows three different variants.
    it shows this:
    [ 13.910] (==) Using config file: "/etc/X11/xorg.conf"
    [ 13.910] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 14.031] (==) ServerLayout "X.org Configured"
    [ 14.031] (**) |-->Screen "Screen0" (0)
    [ 14.031] (**) | |-->Monitor "Monitor0"
    [ 14.031] (**) | |-->Device "Device0"
    [ 14.031] (**) |-->Input Device "stylus"
    [ 14.031] (==) Automatically adding devices
    [ 14.031] (==) Automatically enabling devices
    [ 14.031] (==) Automatically adding GPU devices

    [ 18.362] (II) Using input driver 'wacom' for 'stylus'
    [ 18.362] (**) stylus: always reports core events
    [ 18.362] (**) Option "Device" "/dev/ttyUSB0"
    [ 18.362] (**) Option "Type" "stylus"
    [ 18.363] (**) Option "StopBits" "1"
    [ 18.363] (**) Option "DataBits" "8"
    [ 18.363] (**) Option "Parity" "None"
    [ 18.363] (**) Option "Vmin" "1"
    [ 18.363] (**) Option "Vtime" "10"
    [ 18.364] (**) Option "FlowControl" "Xoff"
    [ 18.616] (II) stylus: serial tablet id 0x90.
    [ 18.616] (--) stylus: using pressure threshold of 27 for button 1
    [ 18.616] (--) stylus: Wacom General ISDV4 tablet maxX=51092 maxY=5116 maxZ=127 resX=100000 resY=100000 tilt=disabled
    [ 18.750] (II) XINPUT: Adding extended input device "stylus" (type: STYLUS, id 6)
    [ 18.750] (**) stylus: (accel) keeping acceleration scheme 1
    [ 18.750] (**) stylus: (accel) acceleration profile 0
    [ 18.750] (**) stylus: (accel) acceleration factor: 2.000
    [ 18.750] (**) stylus: (accel) acceleration threshold: 4
    [ 18.751] (**) Option "BaudRate" "19200"

    and then there are warnings through out the log like this:

    (WW) stylus: bad data at 1 v=fe l=9

    and at the end it goes on for ~4000 lines as I scrolled the pen on the tablet:
    (WW) stylus: bad data at 1 v=9e l=9
    (WW) stylus: bad data at 1 v=fe l=9
    (WW) stylus: bad data at 1 v=80 l=9
    (WW) stylus: bad data at 1 v=9e l=9
    (WW) stylus: bad data at 1 v=fe l=9
    (WW) stylus: bad data at 1 v=9e l=9
    (WW) stylus: bad data at 1 v=fe l=9
    (WW) stylus: bad data at 1 v=e0 l=9
    (WW) stylus: bad data at 1 v=fe l=9
    (WW) stylus: bad data at 1 v=80 l=9
    (WW) stylus: bad data at 1 v=e0 l=9
    (WW) stylus: bad data at 1 v=fe l=9
    (WW) stylus: bad data at 1 v=f8 l=9
    (WW) stylus: bad data at 1 v=fe l=9
    (WW) stylus: bad data at 1 v=f8 l=9
    (WW) stylus: bad data at 1 v=fe l=9

    or it shows this:
    [ 13.038] (==) Using config file: "/etc/X11/xorg.conf"
    [ 13.038] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 13.175] (==) ServerLayout "X.org Configured"
    [ 13.175] (**) |-->Screen "Screen0" (0)
    [ 13.175] (**) | |-->Monitor "Monitor0"
    [ 13.175] (**) | |-->Device "Device0"
    [ 13.175] (**) |-->Input Device "stylus"
    [ 13.175] (==) Automatically adding devices
    [ 13.175] (==) Automatically enabling devices
    [ 13.175] (==) Automatically adding GPU devices

    [ 18.769] (II) Using input driver 'wacom' for 'stylus'
    [ 18.769] (**) stylus: always reports core events
    [ 18.769] (**) Option "Device" "/dev/ttyUSB0"
    [ 18.769] (**) Option "Type" "stylus"
    [ 18.770] (**) Option "StopBits" "1"
    [ 18.770] (**) Option "DataBits" "8"
    [ 18.770] (**) Option "Parity" "None"
    [ 18.770] (**) Option "Vmin" "1"
    [ 18.770] (**) Option "Vtime" "10"
    [ 18.770] (**) Option "FlowControl" "Xoff"
    [ 19.026] (WW) stylus: Query failed with 19200 baud. Trying 38400.
    [ 19.278] (II) stylus: serial tablet id 0x90.
    [ 19.376] (EE) PreInit returned 8 for "stylus"
    [ 19.377] (II) UnloadModule: "wacom"

    or this:
    [ 19.252] (II) Using input driver 'wacom' for 'stylus'
    [ 19.253] (**) stylus: always reports core events
    [ 19.253] (**) Option "Device" "/dev/ttyUSB0"
    [ 19.253] (**) Option "Type" "stylus"
    [ 19.253] (**) Option "StopBits" "1"
    [ 19.253] (**) Option "DataBits" "8"
    [ 19.253] (**) Option "Parity" "None"
    [ 19.253] (**) Option "Vmin" "1"
    [ 19.253] (**) Option "Vtime" "10"
    [ 19.253] (**) Option "FlowControl" "Xoff"
    [ 19.505] (EE) stylus: Error while parsing ISDV4 query.
    [ 19.505]
    [ 19.636] (EE) PreInit returned 8 for "stylus"
    [ 19.637] (II) UnloadModule: "wacom"

    I opened the terminal and typed sudo inputattach --wacom_iv /dev/ttyUSB0
    dmesg shows this:
    [ 182.536439] serio: Serial port ttyUSB0
    and xorg log doesnt show anything else.

    I started the computer without the tablet plugged in.
    xorg log now shows this:
    [ 13.612] (==) Using config file: "/etc/X11/xorg.conf"
    [ 13.612] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 13.732] (==) ServerLayout "X.org Configured"
    [ 13.732] (**) |-->Screen "Screen0" (0)
    [ 13.732] (**) | |-->Monitor "Monitor0"
    [ 13.732] (**) | |-->Device "Device0"
    [ 13.732] (**) |-->Input Device "stylus"
    [ 13.732] (==) Automatically adding devices
    [ 13.732] (==) Automatically enabling devices
    [ 13.732] (==) Automatically adding GPU devices

    [ 18.689] (II) Using input driver 'wacom' for 'stylus'
    [ 18.689] (**) stylus: always reports core events
    [ 18.689] (**) Option "Device" "/dev/ttyUSB0"
    [ 18.689] (**) Option "Type" "stylus"
    [ 18.689] (EE) xf86OpenSerial: Cannot open device /dev/ttyUSB0
    No such file or directory.
    [ 18.689] (EE) stylus: Error opening /dev/ttyUSB0 (No such file or directory)
    [ 18.689] (EE) PreInit returned 8 for "stylus"
    [ 18.689] (II) UnloadModule: "wacom"

    then I plugged in and turned on the tablet.
    opened the terminal and typed sudo inputattach --wacom_iv /dev/ttyUSB0
    dmesg shows this:
    [ 377.974905] serio: Serial port ttyUSB0
    xorg log doesnt show anything else.
    Cognuss

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

    Re: HOW TO Set Up a Wacom Serial Tablet in Ubuntu

    Well it looks like the xorg.conf entries didn't end the initialization problem. Sometimes it does. The one time it initialized is when you got the "stylus bad data" entries. So sort of progress. Was the pointer arrow tracking the pen/stylus with that one?

    The one thing you could do is comment out Option "ForceDevice" "Serial". That was only needed with very early versions of xf86-input-wacom soon after the fork from linuxwacom. I'm dubious that will help though.

    I think you'll have to contact tokenrove for this. Hopefully he has some time available to take a look.
    Last edited by Favux; April 12th, 2013 at 05:17 AM.

  10. #520
    Join Date
    Mar 2013
    Beans
    8

    Re: HOW TO Set Up a Wacom Serial Tablet in Ubuntu

    No unfortunatly the pointer arrow doesn't track the pen.
    I commented out the Option "ForceDevice" "Serial" but it didn't make any difference.
    How should I contact tokenrove?
    Cognuss

Page 52 of 56 FirstFirst ... 2425051525354 ... 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
  •