LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-26-2008, 05:54 AM   #1
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Question G-Pen 450 graphic tablet. Touching surface crashes X.


Hello.

I use G-Pen 450 graphic tablet on Slackware 12.1
Tablet works fine, but there is slight problem:
after *something* happens, tablets starts crashing X. I.e. I might use tablet for hour, left it alone, and several hours later when I'll try to use tablet again, touching surface with pen crashes X. Instantly. Unplugging it also crashes X (only one time. If I'll plug it back, and unplug again, X won't crash again). I'm not sure what makes tablet switch into "crash mode", but I think one of those conditions causes problem (not sure, which one):
1) it if computer was left working for 6+ hours.
2) rebooting to Windows and back

I'm not sure what is really the cause.

Additional info:
1) There is no error messages in /var/log/Xorg.0.log after crash. (i.e. no backtrace)
2) In dmesg there is only this error:
Code:
X[2978]: segfault at 1a4 ip 0818664a sp bf996770 error 4 in Xorg[8048000+188000]
3) The only way to cure this condition is to unplug tablet (this will crash X), plug in table and restart X (tablet won't work after simply plugging it in).

System configuration:
1) Slackware 12.1
2) kernel 2.6.25.7, custom built
3) X -version information:
Code:
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Slackware 12.1 Slackware Linux Project
Current Operating System: Linux admin 2.6.25.7-erv #4 SMP Mon Aug 4 13:04:33 MSD 2008 i686
Build Date: 14 December 2007  12:30:03PM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
4) Tablet uses wizardpen 0.6.0.2 driver, compiled from source
5) Xorg.conf section related to tablet:
Code:
...
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
#    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice	   "stylus" "SendCoreEvents"
EndSection
...
Section "InputDevice"
	Identifier      "stylus"
	driver          "wizardpen"
	Option		"Type"		"stylus"
        Option          "Device"        "/dev/tablet-event"
	Option          "TopX"          "157"
	Option          "TopY"          "85"
	Option          "BottomX"       "32739"
	Option          "BottomY"       "32745"
	Option          "MaxX"          "32739"
	Option          "MaxY"          "32745"
EndSection

...
Mouse is commented out to make gimp work with tablet. See this thread for details.
6) I've been using this and this HOWTOs to setup tablet.

How can I cure this problem?

Last edited by ErV; 08-26-2008 at 05:56 AM.
 
Old 09-01-2008, 04:37 PM   #2
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202

Original Poster
Blog Entries: 3

Rep: Reputation: 62
Problem appeared twice, and then mysteriously disappeared. Haven't experienced this for some time. Still have no idea what have caused this, but I guess it's solved somehow.
 
Old 09-19-2008, 01:43 AM   #3
Вячеслав
LQ Newbie
 
Registered: Jul 2008
Location: Россия
Distribution: Slackware Linux
Posts: 4
Blog Entries: 1

Rep: Reputation: Disabled
i/ii my tablet's detail

tablet: Genius WizardPen 4x3
status: working (Krita - freely, Gimp - with left button mouse)
os: Slackware Linux 12.1
guide: TabletSetupWizardpen

bash-3.1$ cat /proc/bus/input/devices*
I: Bus=0003 Vendor=5543 Product=0003 Version=0100
N: Name="UC-LOGIC Tablet WP4030U"
P: Phys=usb-0000:00:1d.1-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input2
U: Uniq=
H: Handlers=mouse1 event2
B: EV=1f
B: KEY=c01 0 3f0001 0 0 0 0 0 0 0 0
B: REL=303
B: ABS=100000f
B: MSC=10

file /etc/udev/rules.d/010_local.rules
---------
BUS=="usb", KERNEL=="event*", SYSFS{product}=="Tablet WP4030U", NAME="input/%k", SYMLINK+="tablet-event", MODE="0666"
---------

Last edited by Вячеслав; 09-19-2008 at 02:28 PM.
 
Old 09-19-2008, 02:34 AM   #4
Вячеслав
LQ Newbie
 
Registered: Jul 2008
Location: Россия
Distribution: Slackware Linux
Posts: 4
Blog Entries: 1

Rep: Reputation: Disabled
ii/ii part from file /etc/X11/xorg.conf
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "WizardPen" "AlwaysCore"
EndSection

Section "InputDevice"
Identifier "WizardPen"
Option "Name" "UC-LOGIC Tablet WP4030U"
Option "SendCoreEvents" "true"
Driver "wizardpen"
	Option		"TopX"		"3152"
	Option		"TopY"		"4811"
        Option          "TopZ"          "10"
	Option		"BottomX"	"30920"
	Option		"BottomY"	"30379"
        Option          "BottomZ"       "511"
	Option		"MaxX"		"30920"
	Option		"MaxY"		"30379"
        Option          "MaxZ"          "511"
EndSection

Last edited by Вячеслав; 09-19-2008 at 02:29 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressure control on gimp-2.4.7, slackware 12.1, G-Pen 450. ErV Linux - Software 1 08-22-2008 03:58 PM
PC Tablet pen sloppy control Legolas327 Linux - Hardware 0 08-05-2007 10:46 PM
pen not working on wp5540u tablet? db391 Linux - Hardware 2 12-15-2006 05:50 PM
Graphic tablet in Slackware 9.1 Eydan Linux - Hardware 6 01-18-2006 10:23 PM
Switch middle and right buttons on tablet pen bb002 Linux - Hardware 1 10-06-2005 12:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration