How to set up a Wacom Tablet

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
bups
Posts: 27
Joined: Tue 05 Jun 2012, 18:54

#256 Post by bups »

lots of code!!. Intimidating for beginners like me! Thanks for the tutorial I'll give it a go some time.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

latest xf86-input-wacom-0.16.0 for k2.6.39.4 and k3.4.2

#257 Post by charlie6 »

Hi,
here are the latest xf86-input-wacom-0.16.0 for k2.6.39.4 and k3.4.2 drivers compiled on dpup exprimo 5X14 and 5X.3.4.2.9
thanks for testing and reporting
Charlie

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#258 Post by don570 »

I can report that k3.4.2 driver worked with Wacom Bamboo digital tablet
and Pemasu's latest Exprimo.

______________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#259 Post by don570 »

EDIT: I checked this on the final version of precise as well as beta versions

I was able to compile successfully for the oldyeller precise distribution.

It works for two kernels amazingly, perhaps because I don't put
wacom.ko inside the pet package. :lol:

____________________________________________________
____________________________________________________
Last edited by don570 on Sat 03 Nov 2012, 17:22, edited 1 time in total.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

xf86-input-wacom-0.17.0 for k3.4.2 driver

#260 Post by charlie6 »

Hi,
here are the latest xf86-input-wacom-0.17.0 for k3.4.2 drivers compiled on dpup exprimo 5X.3.4.2.12
thanks for testing and reporting
Charlie
ps: the one for k2.6.39.4 will follow within a few days ...

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

xf86-input-wacom-0.17.0 for k3.6.2 driver

#261 Post by charlie6 »

Hi,
here are the latest xf86-input-wacom-0.17.0 for k3.6.2 drivers compiled on dpup exprimo 5X.3.6.2.1
thanks for testing and reporting
Charlie

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#262 Post by don570 »

I tested xf86-input_k.3.6.2-dpup-wacom-0.17.0.pet driver
in latest exprimo and it worked well except that when I rebooted
my machine I had to set up mtpaint pressure preference again.

____________________________________________________

I noticed that in /etc/X11/ there is a file in charlie's pet package
that explains how to make xorg.conf file.
I made my server layout look like this...

Code: Select all

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
#from kernel 2.6.35 and later the "SendCoreEvents" after InputDevice is no longer required
	InputDevice    "stylus"
    InputDevice    "eraser"
    InputDevice    "cursor"
    InputDevice    "pad"		
EndSection


and then inserted the input device descriptions

Code: Select all


Section "InputDevice"
      Identifier    "stylus"
      Driver        "wacom"
      Option        "Device" "/dev/input/wacom"
      Option        "Type" "stylus"
	  Option        "USB" "on"
	  Option        "Mode" "Absolute"
      Option        "AlwaysCore" "on"
      Option        "Speed" "1.3"
      Option        "Threshold" "5" 
      Option        "CursorProx" "5"
#	  Option        "Speed" "5"
#	  # Option        "ForceDevice"   "ISDV4"               # Serial Tablet PC ONLY
EndSection

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

Section "InputDevice"
      Identifier    "cursor"
      Driver        "wacom"
	  Option        "Device" "/dev/input/wacom"
      Option        "Type" "cursor"
      Option        "USB" "on"
#	  Option        "CursorProx" "100"
	  Option        "Speed" "1.3"
EndSection

Section "InputDevice"
    Identifier     "pad"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "pad"
    Option         "USB" "on"
#	Option         "SendCoreEvents" "false"
    Option         "ButtonsOnly" "on"	
#    Option         "Button9" "2"
#    Option         "Button13" "3"
    Option         "Mode" "Absolute"	
EndSection

# if you have a touch pad just uncomment the next section

Section "InputDevice"
    Identifier     "touch"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "touch"
    Option         "USB" "on"
 EndSection





Last edited by don570 on Wed 22 May 2013, 00:01, edited 1 time in total.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#263 Post by greengeek »

don570 wrote:I noticed that in /etc/X11/ there is a file in charlie's pet package that explains how to make xorg.conf file.
Hi Don, I saw your comment about the xorg tutorial embedded in Charlies pet file and wondered if there is any chance of you posting just that info somewhere? (I don't yet know how to extract one component from a pet and I haven't trialled Exprimo yet)

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#264 Post by don570 »

I'll post it next week.

The official instructions to modify the xorg.conf file are HERE

I only mentioned this new file because it had some new instructions inside.

By the way you can get inside a pet package with this command
but it destroys the original pet package so use a copy.

Code: Select all

 pet2tgz  /path/to/package
I always drag the pet package to /root
so the command is

Code: Select all

pet2tgz  /root/xf86-input_k.3.6.2-dpup-wacom-0.17.0.pet
Then just click on the archive to open it.
Some puppies have a right-click option to do all this work automatically.




_____________________________________________

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#265 Post by greengeek »

Thanks Don - I just gave the pet2tgz a try and am happy to have learned a new trick. That will be useful. cheers.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#266 Post by don570 »

Here's the instructions. I used them for Exprimo.

Remove gz extension.

__________________________________________
Attachments
wacom_xorgdotconf_bits.txt.gz
Remove gz extension
(2.63 KiB) Downloaded 704 times

User avatar
Hotdog
Posts: 134
Joined: Fri 30 Sep 2011, 03:15
Location: Georgia USA

Wacom serial Digitizer II on Puppy 5.2.8 (Lucid)

#267 Post by Hotdog »

I have followed this thread with great interest, reading and rereading it. But, I still do not understand how to get a working edit into the xorg.conf. It does not have the ServerLayout section no matter how many times it is deleted and Puppy rebooted. When edited to include the ServerLayout and other items for the Wacom tablet, X refuses to use the file and will not start without running the Xorg wizard. xorg.conf always returns to this content:

Code: Select all

#Special base config file used in Puppy Linux.

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
#    Load        "freetype"

# This loads xtrap extension, used by xrandr
#   Load       "xtrap"

# This loads the GLX module (if present). xorg 7.4/5 need explicit disable to disable...
    Load    "glx" #LOADGLX

# This loads dri module (if present). 7.4 loads it by default, have to disable...
   Load       "dri" #LOADDRI
#    Disable "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font paths to be set
# **********************************************************************

Section "Files"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

    FontPath   "/usr/share/X11/fonts/misc/"
    FontPath   "/usr/share/X11/fonts/Type1/"
    FontPath   "/usr/share/X11/fonts/TTF/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Enables mode switching with xrandr
# There is a report that this can cause Xorg not to work on some
# video hardware, so default is commented-out...
# but i want to use it in xorgwizard so leave on...

    Option "RandR" "on"

# With this, Xorg won't talk to HAL to add evdev devices and you'll be back
# with the old Xorg behavior (pre-7.4)...

    Option "AutoAddDevices" "false"

# For no-Hal, kirk also suggests this...

#    Option "AllowMouseOpenFail" "true"

# Xorg 7.4, Ubuntu Jaunty, CTRL-ALT-BACKSPACE is disabled by default...

    Option "DontZap" "false"

EndSection

#everything past here is auto-generated by Puppy's Xorg Wizard...


	

#PuppyHardwareProfile=NVIDIAX193W
If anyone can clear my thinking on this, I would be so grateful.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#268 Post by don570 »

I'm reading your xorg.conf
# There is a report that this can cause Xorg not to work on some
# video hardware, so default is commented-out...
# but i want to use it in xorgwizard so leave on...

Option "RandR" "on"
Just a guess ---> try commenting out the line


I would try Barry Kauler's Wary or Racy distributions since they
are the most compatible with wacom
_________________________________________

User avatar
Hotdog
Posts: 134
Joined: Fri 30 Sep 2011, 03:15
Location: Georgia USA

#269 Post by Hotdog »

For anyone with a hard drive installation of Puppy 5.2.8 and a Wacom Digitizer II (also Artz II) serial graphics tablet and following this thread, here is an update.

The xorg.conf can be constructed with a ServerLayout section that will persist through rebooting. I have one working now. I also have wacdump and xsetwacom working. They show that all the functions of the tablet can be communicated with the computer running Puppy 5.2.8. The two Wacom kernel drivers included in Puppy 5.2.8 are: 1) for the USB connected graphics tablet and 2) for a tablet PC. Currently I'm working on compiling the kernel driver against the 2.6.33.2 kernel. The 'close-to' kernel versions that I've tried yield an "invalid module" response.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#270 Post by charlie6 »

Hi hotdog,
- about section ServerLayout:
maybe you have already found that you need (=must !) to run Xorgwizard for your PC + screen configuration to get that section made in xorg.conf.

- use of wacom tablet needs two drivers: a kernel one; + a Xorg one (sorry if you are already aware);

- does the kernels wacom driver need to be compiled?
So, as told in the old linux-wacom-project
website from kernel later than 2.6.35, and X server from version 1.7, only the xf86-input-wacom driver needs to be compiled.
- 1. does your distro comes with a wacom.ko kernel driver, doesn'it? Or maybe do you need a more up to date driver ...i don't know anything about it.
- 2. type in a console

Code: Select all

Xorg --version
if 1.7 or above you might only need compiling the Xorg xf86-input-wacom driver.

- for compiling the wacom Xorg input driver ( ! not the kernel driver), and making a pet do read don570's and shinobar's posts inside this thread (somewhere around page 14 and following; also prefer using «make install DESTDIR=path_to_directory_to _make_the_pet_from» to populate that directory - otherwise the pet comes with missing files which are actually installed in the system rather than in the pet)

- if reading across linuxwacom website pages, you will that version 0.18.0 of xf86-input-wacom needs a fix. So prefer another version.

hope this helps a bit

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#271 Post by don570 »

I discovered the fatdog 610 distro has wacom already pre-installed.

The applications just have to be set for pressure in their preferences :lol:
Porteus linux and Ubuntu are the same .



____________________________________________________

User avatar
Hotdog
Posts: 134
Joined: Fri 30 Sep 2011, 03:15
Location: Georgia USA

Serial Wacom tablet on Puppy 5.2.8

#272 Post by Hotdog »

Don570 and Charlie6,

Puppy 5.2.8 uses the 2.6.33.2 kernel and the 1.7.6 X server which turns out to be an in-between combination relating to the Linux Wacom project and its support for stand-alone serial tablets, specifically the Protocol 4 models. By 'in-between' I mean that their Xorg driver for v1.7.6 does not work with their kernel driver for v2.6.33.2 if the tablet is serial.

My first concern was trying to edit the Xorg.conf file. If deleted and Puppy rebooted or X restarted, Xorgwizard will always recreate the Xorg.conf file exactly as it was initially installed. The edit suggestions scattered through this 19-page thread will not "take" either. When those edits are put in exactly as given, X will fail and xorgwizard is necessary to get it going again. However, through much trial and error and by editing one line at a time and testing I have created a decent Xorg.conf that will persist through restarts and reboots. It contains the server section and the input device sections.

The Xorg portion of linuxwacom-0.8.8-11-k2.6.32.28-w5.tar.gz found in this thread seems to be what is needed for Puppy 5.2.8. Wacdump , xsetwacom and xidump all yield their expected results. The Xorg driver may be good to go. The kernel driver section is for a different kernel and does not work. The result is an "invalid module" error.

User Tokenrove from the Ubuntu forum http://ubuntuforums.org/showthread.php?t=1780154 has created a patched version of the Linux Wacom Project's kernel driver. It needs to be compiled against the 2.6.33.2 kernel and then have the patches applied. My attempts at compiling have been disappointing. I have worked with FORTRAN but never C. I'm so far behind the curve that it looks straight from here!

The combination of those two software items just mentioned plus the modified edits in the xorg.conf will probably yield a satisfactory solution to getting the Wacom Digitizer 2 and the Wacom Artz 2 serial tablets working in Puppy Linux 5.2.8.
[i]Puppy 5.2.8.7, Full Install[/i]

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

xf86-input-wacom-0.17.0 for k3.2.29 driver

#273 Post by charlie6 »

Hi,
here is xf86-input-wacom-0.17.0 for k3.2.29 driver
enjoy
charlie

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

Re: Serial Wacom tablet on Puppy 5.2.8

#274 Post by charlie6 »

Hi hotdog
Hotdog wrote:..Puppy 5.2.8 uses the 2.6.33.2 kernel and the 1.7.6 X server..
did you already try shinobar's k2.6.33 compiled xf86-input-wacom driver
wacom-0.10.8_xorg_driver.pet ?
here
http://101.143.162.62/puppy/lupq/opt/wa ... driver.pet

User avatar
Hotdog
Posts: 134
Joined: Fri 30 Sep 2011, 03:15
Location: Georgia USA

#275 Post by Hotdog »

Charlie6,

Thanks for the reply. Your suggestions apply to the xorg portion which as I posted is already working as expected. The current need is for a kernel module compiled against the 2.6.33.2 kernel and patched appropriately for the protocol 4 serial wacom tablets.

I would be overjoyed if you would like to attempt the compile just to see if you get the same errors that I get here. That would help show what I may be doing wrong. Can you compile against the 2.6.33.2 kernel?
[i]Puppy 5.2.8.7, Full Install[/i]

Post Reply