Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 14:51
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to set up a Wacom Tablet
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 6 of 24 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 22, 23, 24 Next
Author Message
turbodig

Joined: 20 Feb 2009
Posts: 4

PostPosted: Fri 20 Feb 2009, 15:26    Post_subject:  

Resurrecting this thread a bit...

I've got a HP tc1100 tablet that I'm trying to get running under Puppy 4.12
(2.6.25.16 kernel)
There's a few places that have gotten this working under other distros:

http://math.bu.edu/people/kayeats/computers/tc1100.html

http://groundstate.ca/TC1100

They all appar to be using standard wacom drivers.

Anyway, modprobe seems to load the driver ok, but the links above seem to refer to a wacom_acpi module, which I don't have. Does anybody happen to have a prebuilt one for 2.6.25.16?
(I did install the proper .pets listed in the first post)

A 'cat /proc/bus/input/devices' lists no wacom or tablet devices of any sort.

My gut feel is that the wacom_acpi won't fix this, but I gotta start somewhere. Plan D is to recompile from the wacom project sources, but the puplet I'm running doesn't have sources or the dev stuff, so I'm kinda saving that as the last resort.
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1835
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 16 Apr 2009, 10:50    Post_subject: How to (hopefully) set up a Wacom Tablet...
Sub_title: ... running Puppy Linux 4.2 ?
 

Bonjour,

Quote:
Resurrecting this thread a bit..

... It must be so, necessary !

I just installed Puppy Linux 4.2 (full install) : wonderful but... As I did it with Puppy Linux 4.12 with success, I followed this topic to install my Wacom Graphire3 : unfortunately, it doesn't work anymore ! What's going wrong Doctor ?
Thank you for your kind attention
______________________________________________
cat /proc/bus/input/devices

.I: Bus=0003 Vendor=056a Product=0013 Version=0314
N: Name="Wacom Graphire3"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:10.1/usb6/6-2/6-2:1.0/input/input4
U: Uniq=
H: Handlers=mouse0 event4
B: EV=f
B: KEY=1c43 0 70000 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=100 3000003
______________________________________________
Back to top
View user's profile Send_private_message Visit_website 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 17 Apr 2009, 00:30    Post_subject:  

I haven't tried my tablet with 4.2 yet*. Maybe something got left out or modified. I'll try to test it this weekend. Maybe I'll also finally get around to taking a look at how to make udev set up a /dev/wacom to eliminate all those event number searches (very annoying - I use Gimp to do some of my VLSI homework, because it must be submitted electronically and I don't have a scanner, but my numbers keep changing on me, forcing a modification of xorg.conf and subsequent restart of X before I can get started. Grrrr).

*I haven't yet switched to 4.2 from 4.1.2 either. I won't be making the switch until the week after next, when I start prepping my laptop for the summer (normally use my desktop, but it is in storage over summer as I'm out of state for three months).

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
Argolance


Joined: 06 Jan 2008
Posts: 1835
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Fri 17 Apr 2009, 05:05    Post_subject:  

Quote:
Maybe I'll also finally get around to taking a look at how to make udev set up a /dev/wacom to eliminate all those event number searches

... very annoying indeed : This should really be great !
I'll be waiting for your test : thanks a lot...
(What a pity to have to reconfigure devices every time we upgrade...)
Best regards.

My xorg.conf :
_____________________________________________
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Nov 4 14:07:17 PST 2008

#Special base config file used in Puppy Linux.
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
# **********************************************************************
# Server flags section.
# **********************************************************************
#everything past here is auto-generated by Puppy's Xorg Wizard...
#PuppyHardwareProfile=NVIDIAMB24W

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents" # For non-LCD tablets only
EndSection

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# 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)
RgbPath "/usr/X11R7/lib/X11/rgb"
FontPath "/usr/X11R7/lib/X11/fonts/misc/"
FontPath "/usr/X11R7/lib/X11/fonts/Type1/"
FontPath "/usr/X11R7/lib/X11/fonts/TTF/"
EndSection

Section "Module"

# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the font modules
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
# This loads xtrap extension, used by xrandr
Load "xtrap"
# This loads the GLX module (if present)
Load "glx"
# This loads dri module (if present)
Load "wacom"
# This loads Wacom module (if present) added by me
EndSection

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"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "fr" #xkeymap0
EndSection

Section "InputDevice"

#Option "Emulate3Timeout" "50"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2" #mouse0protocol
Option "Device" "/dev/mouse"
#Option "Emulate3Buttons"
Option "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "Modes"

#modes0modeline0
Identifier "Modes0"
EndSection

Section "Monitor"

#UseModes "Modes0" #monitor0usemodes
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30.0 - 74.0
VertRefresh 50.0 - 61.0
Option "PreferredMode" "1920x1200"
EndSection

Section "Device"

### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Driver "vesa" #card0driver
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
SubSection "Display"
Depth 24
Modes "1920x1200"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
# Option "Device" "/dev/ttyS0" # SERIAL ONLY
Option "Device" "/dev/input/event4" # USB ONLY
Option "Type" "stylus"
Option "Mode" "absolute" # Position sur la tablette
Option "USB" "on" # USB ONLY
# Option "ForceDevice" "ISDV4" # Serial Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
# Option "Device" "/dev/ttyS0" # SERIAL ONLY
Option "Device" "/dev/input/event4" # USB ONLY
Option "Type" "eraser"
Option "Mode" "absolute" # Position sur la tablette
Option "USB" "on" # USB ONLY
# Option "ForceDevice" "ISDV4" # Serial Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
# Option "Device" "/dev/ttyS0" # SERIAL ONLY
Option "Device" "/dev/input/event4" # USB ONLY
Option "Type" "cursor"
Option "Mode" "absolute" # Position sur la tablette
Option "USB" "on" # USB ONLY
# Option "ForceDevice" "ISDV4" # Serial Tablet PC ONLY
EndSection
__________________________________________
Back to top
View user's profile Send_private_message Visit_website 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Mon 20 Apr 2009, 00:52    Post_subject:  

Well, turns out the whole udev thing was absurdly simple. I wish I'd looked into it ages ago. All I had to do was place a fie in /etc/udev/rules.d named '65-wacom.rules', containing this:
Code:
# udev rule for wacom tablets.

KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYMLINK+="wacom"


Unplugged my tablet, plugged it in, and presto: there was a /dev/wacom symlinked to /dev/event8. Changed my xorg.conf file to point to /dev/wacom, restarted X, and sat back and enjoyed a happy little glow for a while.


Hmm... I do wonder what happens if you don't have enough /dev/event* numbers... I also tested this in a fresh 4.2 without adding new events, and it worked, but I didn't think to look and see what it did about the missing /dev/event8 file. I suppose it just created one on the fly or something. I'll have to check and see next time I boot it.


Anyway, I've compiled the latest version of the Wacom driver (for 2.6.25.16 kernels), and added the udev rule. I also made a package with just the xorg driver and the udev rule. I'll do other kernel versions on request.

wacom-0.8.2-2_xorg_driver.pet
wacom-0.8.2-2-k2.6.25.16.pet <-- includes the xorg_driver



I want to hold off on updating the first post until I've had some feedback.

As for 4.2, I had no issues. It worked fine. Not sure what went wrong on your end. Try it again with this one.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
jamesbond

Joined: 26 Feb 2007
Posts: 2227
Location: The Blue Marble

PostPosted: Mon 20 Apr 2009, 11:07    Post_subject:  

pizzasgood, you're fast ! I was about to point you to this thread from ubuntu forums http://ubuntuforums.org/archive/index.php/t-369359.html.

Ubuntu uses /dev/input/by-path to do the same, and it uses a program called path_id which is available in udev. Haven't tried it in my system (tablet pc) but yours definitely look simpler.

In my case, however:
a) there are 2 wacom devices I need to setup - the tablet, and the touchscreen
b) sometimes the events can exceed single digit numbers.

Got to explore this further.

cheers!

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1835
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Mon 20 Apr 2009, 12:26    Post_subject:  

Bonjour !
... I succeed in installing my Wacom Graphire3 Tablet using the driver you compiled so kindly and quickly !
Bravo !
Thank you a lot.
Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8344

PostPosted: Mon 20 Apr 2009, 13:09    Post_subject:  

Quote:
Unplugged my tablet, plugged it in, and presto: there was a /dev/wacom symlinked to /dev/event8. Changed my xorg.conf file to point to /dev/wacom, restarted X, and sat back and enjoyed a happy little glow for a while.


I also read that having the xorg.conf include wacom setup without a tablet present was harmless..xorg would simply fail to install and carry on.....my thoughts are could puppy incorporate plug and play wacom support for the future?

mike
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2227
Location: The Blue Marble

PostPosted: Tue 21 Apr 2009, 11:04    Post_subject:    

After more testing and reading, I concluded that Pizzasgood's solution is simpler and better than that those pointed in the ubuntu forum.

For the benefit of other tablet pc users, here is my 65-wacom.rules:
Code:
ACTION=="add|change", KERNEL=="event[0-9]*", DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="00", SYMLINK+="wacom-stylus"
ACTION=="add|change", KERNEL=="event[0-9]*", DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="01", SYMLINK+="wacom-touch"


Then in xorg.conf refer to the stylus as /dev/wacom-stylus, eraser as /dev/wacom-eraser (actually they point to the same device), and touchscreen as /dev/wacom-touch.

Thanks Pizzasgood.

EDIT: stylus and eraser needs to point to the same device, i.e. /dev/wacom-stylus.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Sat 25 Apr 2009, 17:35    Post_subject:  

Okay, updated the first post.
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8344

PostPosted: Mon 18 May 2009, 16:50    Post_subject:  

Hello again...
the wacom kernel driver in puppy 4.12 (and others?) retro does not appear to support the bamboo tablet so I assume its an older version

regards

mike
Back to top
View user's profile Send_private_message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 22 May 2009, 13:46    Post_subject:  

Alrighty, I'm downloading Puppy 4.12 retro and its kernel source now. I should have some retro drivers out by tonight.
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8344

PostPosted: Fri 22 May 2009, 17:05    Post_subject:  

Quote:
Alrighty, I'm downloading Puppy 4.12 retro and its kernel source now. I should have some retro drivers out by tonight.


Once again you are pulling us from the fire Smile

Will your drivers end up in new puppy releases?

mike
Back to top
View user's profile Send_private_message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 22 May 2009, 19:11    Post_subject:  

Okay, done. Updated the first post, and am posting the link here as well:

http://www.browserloadofcoolness.com/software/puppy/PETget/wacom-0.8.2-2-k2.6.21.7.pet

For the record in case I disappear or something and somebody else needs to do this, all I'm doing is grabbing the appropriate devx and kernel .sfs files for whichever version of Puppy we need, booting up a pristine install (other than those .sfs files), and compiling the sources from the Linux-Wacom-Project. They come with a perfectly good binary for the Xorg driver in the 'prebuilt/' directory, so I only have to compile the kernel driver. I disable everything else when running ./configure and enable the kerneldriver with the --enable-wacom option. After running 'make' there will be a wacom.ko file somewhere in the 'src/' directory - they have a bunch of subdirectories for different sets of kernel versions. I either poke through the ones that are closest to the one I'm compiling for, or I use 'find . -name wacom.ko' to find it quick. Then I take one of the previous packages I made and use it as a template to drop the new files into (doublechecking the kernel driver path however, as that changes sometimes).

EDIT: And don't strip them. It breaks the driver. It's small anyway.

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8344

PostPosted: Fri 22 May 2009, 19:15    Post_subject:  

Cheers -- will test and report back.
Thanks for the info on compiling too..done some on puppy but no kernel modules ... yet

regards

mike
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 6 of 24 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 22, 23, 24 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1124s ][ Queries: 13 (0.0101s) ][ GZIP on ]