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 Fri 24 Oct 2014, 09:44
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 19 of 24 Posts_count   Goto page: Previous 1, 2, 3, ..., 17, 18, 19, 20, 21, 22, 23, 24 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 3345
Location: Ontario

PostPosted: Mon 10 Dec 2012, 15:11    Post_subject:  

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

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



____________________________________________________
Back to top
View user's profile Send_private_message 
Hotdog


Joined: 29 Sep 2011
Posts: 109
Location: Georgia USA

PostPosted: Mon 10 Dec 2012, 16:43    Post_subject: Serial Wacom tablet on Puppy 5.2.8  

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.

_________________
Puppy 528, Full Install
Back to top
View user's profile Send_private_message 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: Thu 13 Dec 2012, 06:47    Post_subject: xf86-input-wacom-0.17.0 for k3.2.29 driver
Sub_title: wacom driver compiled on upup Precise
 

Hi,
here is xf86-input-wacom-0.17.0 for k3.2.29 driver
enjoy
charlie
xf86-input_k.3.2.29-upup-wacom-0.17.0.pet
Description 
pet

 Download 
Filename  xf86-input_k.3.2.29-upup-wacom-0.17.0.pet 
Filesize  266.2 KB 
Downloaded  360 Time(s) 
Back to top
View user's profile Send_private_message 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: Thu 13 Dec 2012, 08:26    Post_subject: Re: Serial Wacom tablet on Puppy 5.2.8  

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/wacom-0.10.8_xorg_driver.pet
Back to top
View user's profile Send_private_message 
Hotdog


Joined: 29 Sep 2011
Posts: 109
Location: Georgia USA

PostPosted: Thu 13 Dec 2012, 17:02    Post_subject:  

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?

_________________
Puppy 528, Full Install
Back to top
View user's profile Send_private_message 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: Fri 14 Dec 2012, 12:10    Post_subject:  

Hotdog,
are you serial tablets in the following list (picked up from linuxwacom «old» or «legacy» website)
Quote:
Supported Serial Devices
UD series & PenPartner
Graphire & Intuos series
Cintiq series
TabletPC (with/without touch)


- I have no serial tablet, then i can't perform any test.
- For having tried compiling some wacom kernel module, i can say it might be above my capabilities (i can just tell it needs the kernel headers in addition to the devx_xyz.sfs module).
- so i can't promise doing something.

sorry
charlie

Edited_time_total
Back to top
View user's profile Send_private_message 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: Fri 14 Dec 2012, 17:30    Post_subject:  

Hi hotdog,
all these written on lupu-528 + USB wacom volito tablet + 0.15.0 wacom.ko + xf-86-input-wacom_k2.6.33.2

hmm..given without warranty

attached pieces: just drop the .gz extension as also the «-0.15.0» version to read them as text files, and to get the .ko drivers.

I compiled the input-wacom-0.15.0 driver just to see ... what could happen as the linuxwacom-project website tells it is an USB-driver (...and i have here only USB-wacom tabets...i am not interested at all, am i Wink ? ).
IMHO, the drivers present with the lupu-5.2.8.iso might work with your serial tablets, if these have been included in the development of the driver.
So go to step 2. hereunder; for using the latest input-wacom-0.15.0 driver go to step 1. hereunder;
1. Compile went good and i found 2 drivers:
- wacom.ko driver compiled for USB use (42K against 32K for the one in lupu528's iso)
and something that mightinterest you ...
- wacom_w8001.ko driver compiled for SERIAL use (8492B against 6469B for the one in lupu528's iso)
Read «how to» in the attached piece «wacomdotko_readme.txt»
which are instructions for use of the driver, which come at the end of the make step.
2. I believe you should do in a console
Quote:
sh-4.1# depmod
sh-4.1# modprobe wacom_w8001

to activate the driver.
Now, if all went good, I assume your tablet could work as a mouse. (I am assuming the tablets behaviour to be indifferent whether USB or SERIAL pluging).
3. For full use of your tablet you need now the X driver i.e. xf86-input-wacom-0.17.0_k2.6.33.2 driver.
3.1. do install its pet (download hereunder);
3.2. then edit the xorg.conf
In order to know which are the options for serial tablets, go to the legacy linuxwacom-project:
http://linuxwacom.sourceforge.net/index_old.php/howto/inputdev
there you will find the complete bits to copy to xorg.conf for serial or USB ones. Just comment what is USB relevant, and uncomment what is SERIAL.
A tip: delete the comments beginning with # at the end of an option line (example «#for USB only» etc...).

attached is my xorg.conf for a USB tablet;
In the «Section "Input Device"» cursor, stylus and eraser, COMMENT the lines
Option "USB" "on"
and UNCOMMENT the lines having
# Serial Tablet PC ONLY

4. Option "CursorProx"
here have set the value of
Option "CursorProx" "5" for the stylus
Option "CursorProx" "100" for the cursor
cursors value has to be adjusted: if this line is commented, the cursor does not move, except if the mouse hovers about 5mm over the tablet.

5. before restarting X, make a copy of your new xorg.conf (for instance xorgdotconfwacom), to help recover it afterwards if X hangs up.
(if X don't start, you got the console mode; there you might edit xorg.conf using the mp command; or replacing the wrong xorg.conf by a previous made backup using the mv command ...but i believe your are already aware of this).

hope this helps
Charlie


To check if the tablet is recognized , just open
/proc/bus/input/devices
and look for a paragraph telling
Quote:
...
I: Bus=0003 Vendor=056a Product=0060 Version=0142
N: Name="Wacom your-tablet"
...


- compilation using the lupu_devx.sfs (ibiblio repo) and the linux-kernel-source.sfs (see smokey01 repo)
http://linuxwacom.sourceforge.net/index_old.php/howto/inputdev
xorg.conf.txt.gz
Description  the xorg.conf for USB tablet
gz

 Download 
Filename  xorg.conf.txt.gz 
Filesize  7.04 KB 
Downloaded  315 Time(s) 
wacomdotko_readme.txt.gz
Description  comments coming with compilation
gz

 Download 
Filename  wacomdotko_readme.txt.gz 
Filesize  1.9 KB 
Downloaded  312 Time(s) 
xf86-input-wacom-0.17.0_k2.6.33.2.txt.gz
Description  comments about it ...
gz

 Download 
Filename  xf86-input-wacom-0.17.0_k2.6.33.2.txt.gz 
Filesize  285 Bytes 
Downloaded  304 Time(s) 
xf86-input_k.2.6.33_lucid-wacom-0.17.0.pet
Description 
pet

 Download 
Filename  xf86-input_k.2.6.33_lucid-wacom-0.17.0.pet 
Filesize  248.27 KB 
Downloaded  328 Time(s) 
wacom_w8001-0.15.0.ko.gz
Description  SERIAL wacomw8001.ko version 0.15.0 driver
gz

 Download 
Filename  wacom_w8001-0.15.0.ko.gz 
Filesize  8.29 KB 
Downloaded  298 Time(s) 
wacom-0.15.0.ko.gz
Description  USB wacom.ko version 0.15.0 driver
gz

 Download 
Filename  wacom-0.15.0.ko.gz 
Filesize  48.29 KB 
Downloaded  315 Time(s) 
Back to top
View user's profile Send_private_message 
Hotdog


Joined: 29 Sep 2011
Posts: 109
Location: Georgia USA

PostPosted: Sat 15 Dec 2012, 20:26    Post_subject:  

Charlie6,

And you said that you did not know anything about compiling kernel modules! I'm impressed, not only with your success but your helpfulness, too. I appreciate being able to compare our Xorg configurations. That may be a big help when the kernel module is working. Unfortunately, the wacom_w8001-0.15.0.ko is for a touchscreen PC-type device and not related to the serial-connected Digitizer 2 (mine) or the Artz 2 (also called the UD series or protocol 4 series). However, I still tested it. The good news is that what you compiled was accepted without error on my machine.

Would you be so kind as to attempt compiling the attached file. Even if it did not compile, I would like to compare the errors it produces when you attempt compiling it against the 2.6.33.2 kernel. It has a short makefile included.

Thanks for your help!
wacom_test.tar.gz
Description  Wacom kernel driver for compiling
gz

 Download 
Filename  wacom_test.tar.gz 
Filesize  4.28 KB 
Downloaded  298 Time(s) 

_________________
Puppy 528, Full Install
Back to top
View user's profile Send_private_message 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: Sun 16 Dec 2012, 06:17    Post_subject:  

Hi hotdog,
I believe one should here ask for help to C programmers.

...in attachment the comments of a compilation attempt using the wacom_serial.c and makefile from your last post.; attempt performed on the same system as the driver compile above.

I am far from being a C programmer. I even had to google around to find out how to compile a C file ... as i ignore all about C programming language and the way compiling it...

The attached files might give you a rough idea about the kinds of errors encountered.

So, at this point, i am sorry not being in the possibility to help you more.

Chers, Charlie
wacom_serial_gcc_comments.txt.gz
Description  just drop down the «.gz» extension to read the txt file
gz

 Download 
Filename  wacom_serial_gcc_comments.txt.gz 
Filesize  70.2 KB 
Downloaded  299 Time(s) 
wacom_serial_make.txt.gz
Description 
gz

 Download 
Filename  wacom_serial_make.txt.gz 
Filesize  494 Bytes 
Downloaded  299 Time(s) 
Back to top
View user's profile Send_private_message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sun 16 Dec 2012, 06:30    Post_subject:  

Load devx sfs and kernel source sfs. Extract the content of tarball for example to the /usr/src/linux/drivers/input/touchscreen ie Makefile over existing one and wacom_serial.c

Cd to that directory and run in console:
make -C /lib/modules/`uname -r`/build M=`pwd` wacom_serial.ko

If the compile is succesfull, copy the created kernel module to appropriate directory in /lib/modules/....
Run depmod and load the module.
Might even work.

This kernel driver module was test compiled in dpup exprimo 3.4.2 kernel version
wacom_serial-k3.4.2-dpup-0.0.1.pet
Description 
pet

 Download 
Filename  wacom_serial-k3.4.2-dpup-0.0.1.pet 
Filesize  4.46 KB 
Downloaded  301 Time(s) 
Back to top
View user's profile Send_private_message 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: Sun 16 Dec 2012, 11:15    Post_subject:  

Hi pemasu!
thanks for helpîng !
i believe i have had a wrong understanding of how to understand 'uname -r' and 'pwd', as also having misinterpreted spaces. So have made a few cut-and-try replacing
'uname -r' by 2.6.33.2
and
'pwd' by
/usr/src/linux/drivers/input/touchscreen

Have also placed the Makefile and the wacom_serial.c in
/usr/src/linux/drivers/input/touchscreen.

here is what i get (an error...) doing:
Quote:
sh-4.1# make -C /lib/modules/2.6.33.2/build M=/usr/src/linux/drivers/input/touchscreen wacom_serial.ko
make: Entering directory `/usr/src/linux-2.6.33.2'
CC [M] /usr/src/linux/drivers/input/touchscreen/wacom_serial.o
/usr/src/linux/drivers/input/touchscreen/wacom_serial.c: In function ‘handle_model_response’:
/usr/src/linux/drivers/input/touchscreen/wacom_serial.c:144: error: implicit declaration of function ‘input_abs_set_res’
make[1]: *** [/usr/src/linux/drivers/input/touchscreen/wacom_serial.o] Error 1
make: *** [wacom_serial.ko] Error 2
make: Leaving directory `/usr/src/linux-2.6.33.2'
sh-4.1#
Back to top
View user's profile Send_private_message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sun 16 Dec 2012, 11:27    Post_subject:  

Charlie6. You dont have to even replace them. They are picked up, but I suppose it wont hurt to give exact kernel name and location of source directory.

But....It looks like the source is not compatible with 2.6.33.2 kernel. It probably is just too old.
Back to top
View user's profile Send_private_message 
charlie6


Joined: 30 Jun 2008
Posts: 1015
Location: South of Belgium

PostPosted: Sun 16 Dec 2012, 12:07    Post_subject:  

Quote:
But....It looks like the source is not compatible with 2.6.33.2 kernel. It probably is just too old.

i got the source here:http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux/pet_packages-lucid/kernel_src_L4-2.6.33.2-patched.sfs
Quote:
kernel_src_L4-2.6.33.2-patched.sfs 16-Nov-2010 07:53 83M

is there a more recent one?
Back to top
View user's profile Send_private_message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sun 16 Dec 2012, 13:20    Post_subject:  

I meant the driver source, lol. Not the kernel source. The Lucid Puppy kernel source is couple of years old, it sounds right. There has not been reason to update the source because there has not been any changes in the kernel. It has been the same all the time. But the problem is not the kernel source, it is incompatible driver source for that kernel version.

kernel_src_L4-2.6.33.2-patched.sfs is the one I seem to have in my own hdd repo.

EDIT. You can always make the safe side and prepare the kernel sources for module compiling.
in /usr/src/linux....type in console: make clean and.... make prepare
Back to top
View user's profile Send_private_message 
Hotdog


Joined: 29 Sep 2011
Posts: 109
Location: Georgia USA

PostPosted: Sun 16 Dec 2012, 15:27    Post_subject:  

Charlie6,

Thanks for doing the compile. The information that you returned is exactly what I am interested in. This bit of code came from one of the developers of the Linux Wacom Project. Once compiled it has to have patches applied. But it must be successfully compiled first. Your efforts yielded the same error that happened here. Now I know that it is not an anomaly in my setup and I can work on fixing the code.

Pemasu,

Thanks for joining in. I tested your compiled driver. Since I'm using Puppy 5.2.8 with the 2.6.33.2 kernel the versionmagic string mismatches and I get the "invalid module" error. However, your successful compile on the 3.4.2 kernel may mean that the driver code is intended for a newer kernel than mine. It may also be expecting a newer compiler. What version of gcc are you running? I have gcc 4.4.3 here.

_________________
Puppy 528, Full Install
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 19 of 24 Posts_count   Goto page: Previous 1, 2, 3, ..., 17, 18, 19, 20, 21, 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.1167s ][ Queries: 13 (0.0114s) ][ GZIP on ]