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 Wed 23 Jul 2014, 08:01
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 8 of 24 [349 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9, 10, ..., 22, 23, 24 Next
Author Message
Pizzasgood


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

PostPosted: Fri 02 Oct 2009, 16:07    Post subject:  

Done. I also updated the subtitle to match the current version of the .pet, which I forgot to do for a while.
_________________
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 poster's website 
blackthorn3d

Joined: 19 Feb 2009
Posts: 8

PostPosted: Sat 24 Oct 2009, 09:28    Post subject:
Subject description: wacom bamboo fun running on puppy 4.3.1
 

Hi and thanks Pizzasgood for the how to. I just setup my wacom bamboo fun on puppy 4.3.1 and it seems to be working good.

I only needed to use the wacom-0.8.2-2_xorg_driver.pet that you had listed on the first post and follow your instructions. wasn't sure I would get the xorg.conf file right the first time but I did thanks again.
Back to top
View user's profile Send private message 
starbright


Joined: 23 Nov 2009
Posts: 14
Location: Vienna, Austria

PostPosted: Tue 24 Nov 2009, 04:53    Post subject: Extreme caution
Subject description: Not for noobs!
 

Sometimes I should just leave well enough alone.

I downloaded the wacom-0.8.2-2_xorg_driver.pet and edited my xorg.conf
and now x is broken.
To a noob like me it just looks dead. Even when I reeboot I get a page full of red writing telling me x did not work, and no option to try anything else.
Oh Dear.

I'll try to create a new boot USB and see if I can fix this.
Here's hoping.

But if like me you don't really understand what you are editing in these files, then here is one user that had a real bad experience.

Pitty though, my Bamboo "just works" on the Windows lappy, and I do love it so.

Embarassed


**edit
Puppy boots from the USB stick, good job I kept that ISO on my bomb proof Windows machine. When I look at that xorg.conf file it seems to be OK, but when I try to boot without USB it fails with more errors than before.
That's very confusing for a noob like me. I think I've really messed up my system. It gets to the bit where it usually says this script will run x windows for you, but instead it just gives me a # prompt and no hints about what I should do with it.
I booted up with the USB to reinstall but universal installer is no longer giving me that option.
Argh,

Anyone know how I can fix this?
I want my Puppy back, I love it.
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 8023

PostPosted: Tue 24 Nov 2009, 08:44    Post subject:  

Hmm first suggestion would be to run xorgwizard from the command prompt...that should restore a working xorg.conf

If that does not work then your pup_save sounds a little screwed.

If it does work then perhaps post your xorg.conf here and someone could edit it for you.

A handy thing from the prompt is to
cd /etc/X11
then use
mv (old name) (new name)
to restore a working backup when testing
ls lists the folder contents

mike
Back to top
View user's profile Send private message 
starbright


Joined: 23 Nov 2009
Posts: 14
Location: Vienna, Austria

PostPosted: Tue 24 Nov 2009, 16:04    Post subject: Miracle!  

I went to work very down in the dumps, and when I came home and half heartedly booted, the dear old thing came to life.
It complained about two stale handles as it booted, but apart from the gimp icon being replaced on my desktop by the default grey binary page icon there doesn't seem to be any harm done.

I'm at a loss to describe it, but of course I'm very glad.

Is it possible for an OS to rest and heal?

Very Happy
Back to top
View user's profile Send private message Visit poster's website 
starbright


Joined: 23 Nov 2009
Posts: 14
Location: Vienna, Austria

PostPosted: Tue 24 Nov 2009, 16:07    Post subject:  

It's healed itself while I was at work.

Very Happy
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 8023

PostPosted: Tue 24 Nov 2009, 17:05    Post subject:  

The boot option pfix=fsck can help with such healing Smile

nike
Back to top
View user's profile Send private message 
Pizzasgood


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

PostPosted: Tue 24 Nov 2009, 20:59    Post subject: Re: Extreme caution
Subject description: Not for noobs!
 

starbright wrote:
To a noob like me it just looks dead. Even when I reeboot I get a page full of red writing telling me x did not work, and no option to try anything else.
Really? That red writing didn't happen to look like this, did it?
Quote:
It seems that last time X ran, the computer hung and you had to reboot.
Have now dropped down to the commandline. If you want to run the Xorg
Video Wizard, type "xorgwizard", and after configuring /etc/X11/xorg.conf
(hopefully correctly this time!) type "xwin" to start X.


Anyway, it's good to hear that you got it running again.

Friendly advice from somebody who has already been there and done that more times than is healthy: Make backups before trying new things. Wink


By the way, when you need to shutdown from the commandline, don't do it by reaching for the power button. That's how you get filesystem corruption. Instead, if X is not running, use one of these commands:
poweroff
reboot
If X is running, use one of these instead:
wmpoweroff
wmreboot

If those don't do it, then try CTRL-ALT-Delete. Note: In Linux, it typically only takes one (1) press of that before the computer will immediately start to reboot.

Only when that fails should you reach for the power button. (And in some distros or puplets with custom kernels, you might even have another option: Hold Shift-Ctrl-Alt-SysRq, sequentially press and release R E I S U B. That should work even after a kernel panic. But that isn't enabled in Puppy's default kernels.)

_________________
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 poster's website 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Fri 08 Jan 2010, 12:58    Post subject:  

I am trying to get a wacom bamboo pen working.
model CTL-460
usbid 0x56a 0xd4

I have download a patched version of the latest unstable release from http://ubuntuforums.org/showpost.php?p=8283168&postcount=1
http://linuxfans.keryxproject.org/packages/wacom/builds/linuxwacom-0.8.5-9-prepatch.tar.bz2
I cannot do a complete build of recent releases because the xorg driver will not build.
Code:
make[2]: Entering directory `/root/linuxwacom-0.8.5-9-prepatch/src/xdrv'
gcc -g -O2  -fPIC -pipe -ansi \
                -pedantic -Wall -Wpointer-arith -fno-merge-constants \
                -fno-stack-protector -I. -I../include -I -I/usr/X11R7/include  \
                 -I   \
                -o xf86Wacom.o -c ./xf86Wacom.c
gcc: xf86Wacom.o: No such file or directory
In file included from ./xf86Wacom.c:101:
./xf86Wacom.h:30:28: error: xf86Version.h: No such file or directory
I do have the kernel source installed and can do a full kernel build. I can cd into linuxwacom-0.8.5-9-prepatch/src/2.6.27 and build the latest kernel module fine.
Installing the new kernel module gets my stylus working and I get output from wacdump /dev/input/wacom. Currently it only works in relative mode and doesn't register mouse drag. I have tried using the prebuilt binary xorg driver supplied with the source but I am still seeing
No Input driver matching wacom
in /tmp/xerrs.txt

Can anyone offer me advice on getting the xorg driver to build?

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
Pizzasgood


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

PostPosted: Fri 08 Jan 2010, 13:46    Post subject:  

It isn't able to find the xf86Version.h file. That's in /usr/X11R7/include/xorg. You can prefix the ./configure command with a CFLAGS variable to specify that. I have to use something like this to compile it:
Code:
CFLAGS='-I/usr/X11/include -I/usr/X11R7/include/xorg' ./configure <OPTIONS>

But I still get some errors.
Code:
make[2]: Entering directory `/tmp/a/linuxwacom-0.8.5-9-prepatch/src/xdrv'
gcc -I/usr/X11/include -I/usr/X11R7/include/xorg  -fPIC -pipe -ansi \
                -pedantic -Wall -Wpointer-arith -fno-merge-constants \
                -fno-stack-protector -I. -I../include -I -I/usr/X11/include  \
                 -I   \
                -o xf86Wacom.o -c ./xf86Wacom.c
gcc: xf86Wacom.o: No such file or directory
In file included from /usr/X11R7/include/xorg/misc.h:80,
                 from ./xf86Wacom.h:83,
                 from ./xf86Wacom.c:101:
/usr/X11/include/X11/Xmd.h:155: warning: ISO C90 does not support 'long long'
make[2]: *** [xf86Wacom.o] Error 1
make[2]: Leaving directory `/tmp/a/linuxwacom-0.8.5-9-prepatch/src/xdrv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/a/linuxwacom-0.8.5-9-prepatch/src'
make: *** [all-recursive] Error 1

The weird thing is that the xf86Wacom.o file exists after this. And if I run make again, it gets farther, but dies at the next object file (which it does manage to create anyway). If I keep running make repeatedly, it will eventually build all the object files and then the final library file (the final time it runs with no errors). But I haven't tested whether the resulting library actually works or not. "make clean" doesn't remove these object files either. So I figure something is goofed up in the Makefile.

_________________
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 poster's website 
Pizzasgood


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

PostPosted: Fri 08 Jan 2010, 14:15    Post subject:  

Apparently, if you cd into the src/xdrv/ directory and run a command like this:
Code:
touch -t 8812121212 xf86Wacom.o wcmSerial.o wcmUSB.o wcmISDV4.o \
  wcmXCommand.o wcmCommon.o wcmCompat.o wcmConfig.o wcmFilter.o \
  wcmTilt2Rotation.o wcmTouchFilter.o wcmValidateDevice.o wcmMapping.o

it will then build, without you having to re-run make over and over. And it does still create all the object files (as opposed to using the empty files created by 'touch') because they're set to an old timestamp.

I still haven't tested the actual library though, so I can't guarantee that it will actually work in the end. Looks like it should though.

_________________
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 poster's website 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Fri 08 Jan 2010, 15:01    Post subject:  

Hmmm .....

Just tested this on p412 and the xorg sdk is not being picked up properly, the .pc file is kinda borked ... need to specify the xorg sdk and it will do the compile just fine :

./config --prefix=/usr/X11R7 --with-xorg-sdk=/usr/X11R7/include/xorg


Rgds
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Sat 09 Jan 2010, 15:35    Post subject:  

Thanks for the fast response guys. Patriot's configure line did the trick. It now works nicely.

In case anyone else wants it. This tar includes everything need to get a bamboo pen working on puppy 4.3 with 2.6.30.5 kernel. I compiled it using the patched source linked in my post above.
Code:
# find . -type f
./etc/udev/rules.d/65-wacom.rules
./etc/X11/xorg.conf.wacom-CTL-460
./lib/modules/2.6.30.5/kernel/drivers/input/tablet/wacom.ko
./usr/X11R7/bin/xidump
./usr/X11R7/bin/wacdump
./usr/X11R7/bin/xsetwacom
./usr/X11R7/share/man/man4/wacom.4x.gz
./usr/X11R7/lib/libwacomcfg.so.0
./usr/X11R7/lib/xorg/modules/input/wacom_drv.so
./usr/X11R7/lib/libwacomcfg.so.0.0.1
./usr/X11R7/lib/libwacomcfg.a
./usr/X11R7/lib/libwacomcfg.so.0.0
./usr/X11R7/lib/libwacomcfg.la
./usr/X11R7/include/wacomcfg/wacomcfg.h
#

install
fix your xorg.conf
make sure tablet is plugged in
rmmod wacom (in case the old module is loaded)
depmod
modprobe wacom
restart X
wacom-bins.tar.gz
Description 
gz

 Download 
Filename  wacom-bins.tar.gz 
Filesize  128.36 KB 
Downloaded  347 Time(s) 

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8023

PostPosted: Sat 09 Jan 2010, 17:38    Post subject:  

Just for reference does that mean that the wacom module in puppy 4.31 does not support bamboo tablets ...sorry for the dumb question
and a newer xorg driver needed?

In case anyone asks

mike
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Mon 11 Jan 2010, 01:05    Post subject:  

The 2.6.30.5 kernel used in Puppy 4.3 and 4.3.1 was released in August 2009. Looking on kerneltrap.org it looks like 2.6.25 added support for bamboo1 and bamboo fun so I would expect those to work. The linuxwacom project itself has only started adding support for the various bamboo pen and touch version in the last months. Development release changelog
Code:
2009-12-30  Ping Cheng <pingc@wacom.com>
   * Incorporated Ayuthia's Bamboo P&T patch -34
      - submitted by Favux <favux.is@gmail.com>
   * Fixed some kernel misplacement
   * Fixed a protocol4 mouse button click issue
   * Label 0.8.5-9

2009-12-22  Ping Cheng <pingc@wacom.com>
   * Added max and resolution for local tool
   * Use linuxwacom.fdi gathered from Ubuntu forum
      - modified by Kory Prince and cyberfish
      - submitted by Favux <favux.is@gmail.com>
   * Merged Nicholas Hirsch's Intuos4 OLED Support
      - Patch ID 2878608 at Tracker
   * Fixed tablet rotate bug reported by Favux
   * Label 0.8.5-8

2009-12-15  Ping Cheng <pingc@wacom.com>
   * Updated serial Tablet PCs support
   * Added 5 new Bamboo tablets support
      - kernel patch submitted by K Gingerich
      - xorg by Enrico Ros <enrico.ros@gmail.com>
   * Label 0.8.5-7

The last production linuxwacom release was 0.8.4-2 on 2009-09-16

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 8 of 24 [349 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9, 10, ..., 22, 23, 24 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1054s ][ Queries: 12 (0.0075s) ][ GZIP on ]