LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-30-2004, 02:44 PM   #1
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
wacom in debian?


Anyone installed a wacom tablet in debian and could tell me where to start? thanks
 
Old 09-30-2004, 03:16 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,656

Rep: Reputation: 115Reputation: 115
Re: wacom in debian?

Quote:
Originally posted by bobbens
Anyone installed a wacom tablet in debian and could tell me where to start? thanks
Google linux is always a good place to start a quick search lead to this page with a how-to. BTW this took all of 10 seconds to find.
 
Old 09-30-2004, 04:57 PM   #3
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Doesn't mean it will work, the link you gave is for serial tablets. Full and complex coverage: http://linuxwacom.sourceforge.net/index.php/main
 
Old 09-30-2004, 05:18 PM   #4
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
My XFconfig-4:
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "dbe"
Load "ddc"
Load "extmod"
Load "glx"
Load "int10"
Load "record"
Load "vbe"
Load "wacom"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "altwin:meta_win"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/event3" # USB ONLY
Option "Type" "cursor"
Option "USB" "on" # USB ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/event3" # USB ONLY
Option "Type" "stylus"
Option "USB" "on" # USB ONLY
# Option "TopX" "0"
# Option "TopY" "0"
# Option "BottomX" "0"
# Option "BottomY" "0"
EndSection

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

Section "Device"
Identifier "MX440"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-86
VertRefresh 50-120
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "MX440"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "cursor" "SentCoreEvents"
InputDevice "stylus" "SentCoreEvents"
InputDevice "eraser" "SentCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
______________________________

On event3 it reports just fine, but it still doesn't work for me...perhaps you might find something I overlooked.

#tail -20 /var/log/XFree86.0.log
II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(**) Option "Device" "/dev/input/event3"
(==) Wacom Kernel Input device name: "Wacom Graphire2 4x5"
(==) Wacom tablet maximum X=10206 maximum Y=7422 X resolution=0 Y resolution=0 suppress=0
(==) Wacom tablet top X=0 top Y=0 bottom X=10206 bottom Y=7422
(==) Wacom tablet top X=0 top Y=0 bottom X=10206 bottom Y=7422
(==) Wacom tablet top X=0 top Y=0 bottom X=10206 bottom Y=7422

All seems well, but it isn't working! This is how far I got...
 
Old 09-30-2004, 06:12 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,656

Rep: Reputation: 115Reputation: 115
Quote:
Originally posted by Moloko
Doesn't mean it will work, the link you gave is for serial tablets. Full and complex coverage: http://linuxwacom.sourceforge.net/index.php/main
And just where was any interface mentioned the original post??? My point still remains as well no effort made to even search for something as easy to find as the link I did so you can at least have an intelligent question to ask.
 
Old 09-30-2004, 06:21 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,656

Rep: Reputation: 115Reputation: 115
Quote:
Originally posted by Moloko

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection


On event3 it reports just fine, but it still doesn't work for me...perhaps you might find something I overlooked.

#tail -20 /var/log/XFree86.0.log
II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(**) Option "Device" "/dev/input/event3"
(==) Wacom Kernel Input device name: "Wacom Graphire2 4x5"
(==) Wacom tablet maximum X=10206 maximum Y=7422 X resolution=0 Y resolution=0 suppress=0
(==) Wacom tablet top X=0 top Y=0 bottom X=10206 bottom Y=7422
(==) Wacom tablet top X=0 top Y=0 bottom X=10206 bottom Y=7422
(==) Wacom tablet top X=0 top Y=0 bottom X=10206 bottom Y=7422

All seems well, but it isn't working! This is how far I got... [/B]
This is a little better but you make no mentioned of how you compiled if you did and what kernel you are using or the type of mouse you have. From the reading I did at the site you link too I find this page page which says if you are using the /dev/input/mice and presumably mouse then you can run into problems, so if you have a regular PS/2 mouse try using /dev/psaux for the device for it in the X config and see how it goes. Also the author in a least two places reading in those pages specifically mentions to email him if you are having problems with the driver his address is listed on the FAQ page so you may want to drop him a line and see if he can help.
 
Old 10-01-2004, 06:27 AM   #7
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Well, thx to your post I kept tying to get it to work and it works now! I'll try to tell what I did, but it still seems more of a miracle to me.

@HappyTux> no offense meant, sorry for bashing you

Check if all modules needed are loaded:

Code:
$ lsmod | grep wacom
wacom                  12736  0
usbcore               107292  10 usbserial,wacom,usb_storage,usblp,uhci_hcd,ohci_hcd,ehci_hcd,usbhid
I also loaded usbserial and uinput, but I'm unsure whether or not I needed them:

Code:
$ lsmod | grep input
uinput                  6272  0

$ lsmod | grep usb
usbserial              30640  0
usb_storage            68416  0
usblp                  12864  0
usbhid                 32576  0
usbcore               107292  10 usbserial,wacom,usb_storage,usblp,uhci_hcd,ohci_hcd,ehci_hcd,usbhid
ide_core              148512  5 usb_storage,ide_cd,ide_disk,ide_generic,sis5513
scsi_mod              121868  3 usb_storage,sd_mod,libata
My XF86config-4 as it is working:
Code:
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86
Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
	Load	"dbe"
	Load	"ddc"
	Load	"extmod"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"vbe"
	Load	"wacom"
EndSection
Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
	Option		"XkbOptions"	"altwin:meta_win"
EndSection
Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mouse0"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/input/event3"   # USB ONLY
  Option        "Type"          "cursor"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/input/event3"   # USB ONLY
  Option        "Type"          "stylus"
  Option        "USB"           "on"                  # USB ONLY
#  Option	"TopX"		"0"
#  Option	"TopY"		"0"
#  Option	"BottomX"	"0"
#  Option	"BottomY"	"0"
EndSection

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

Section "Device"
	Identifier	"MX440"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
EndSection
Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	28-86
	VertRefresh	50-120
	Option		"DPMS"
EndSection
Section "Screen"
	Identifier	"Default Screen"
	Device		"MX440"
	Monitor		"Generic Monitor"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864"
	EndSubSection
EndSection
Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice    "cursor"    "SendCoreEvents"
        InputDevice    "stylus"    "SendCoreEvents"
        InputDevice    "eraser"    "SendCoreEvents"
EndSection
Section "DRI"
	Mode	0666
EndSection
I did make a typo before in stating "SentCoreEvents" instead of "SendCoreEvents"

Finally I used wacom_drv.o_4.3k2.6 from the driver 0.6.4 and replaced /usr/X11R6/lib/modules/input/wacom_drv.o with this one (backup first!). There are a few more versions of this file in the driver precompiled depending upon XFree version and kernel version. Get it here: http://linuxwacom.sourceforge.net/index.php/dl

The output:

Code:
# more /var/log/XFree86.0.log | grep wacom
(II) LoadModule: "wacom"
(II) Loading /usr/X11R6/lib/modules/input/wacom_drv.o
(II) Module wacom: vendor="The XFree86 Project"

# more /var/log/XFree86.0.log | grep Wacom
(II) Wacom driver level: 26-j0.6.4 $
(II) Wacom driver level: 26-j0.6.4 $
(II) XINPUT: Adding extended input device "eraser" (type: Wacom Eraser)
(II) XINPUT: Adding extended input device "stylus" (type: Wacom Stylus)
(II) XINPUT: Adding extended input device "cursor" (type: Wacom Cursor)
(==) Wacom Kernel Input driver version is 1.0.0
(==) Wacom using pressure threshold of 30 for button 1
(==) Wacom USB Graphire2 tablet speed=9600 maxX=10206 maxY=7422 maxZ=511 resX=1016 resY=1016 suppress=2 tilt=disabled
(==) Wacom device "cursor" top X=0 top Y=0 bottom X=10206 bottom Y=7422
(==) Wacom device "stylus" top X=0 top Y=0 bottom X=10206 bottom Y=7422
(==) Wacom device "eraser" top X=0 top Y=0 bottom X=10206 bottom Y=7422
(==) Wacom Kernel Input driver version is 1.0.0
(==) Wacom USB Graphire2 tablet speed=9600 maxX=10206 maxY=7422 maxZ=511 resX=1016 resY=1016 suppress=2 tilt=disabled
Last, I added the folowing to /etc/modutils/aliases and ran update-modules afterwards:

Code:
alias char-major-13 usbcore
I sincerely hope this will help you if you haven't succeeded yet. For me it has been a
frustrating experience, my IQ might not be high enough to make sense of the manuals...

Last edited by Moloko; 10-01-2004 at 07:26 AM.
 
Old 10-01-2004, 06:31 AM   #8
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Final remark, I used kernel modules present in the 2.6 kernel and did not compile anything myself. I downloaded only the wacom_drv.o ; everything else is present on the system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to use Wacom tablets in Linux Michaelclow Linux - Hardware 1 11-27-2005 09:25 AM
wacom not working properly spotty spot Linux - Hardware 0 11-14-2005 05:32 PM
Wacom Tablet felicehome Linux - Hardware 2 06-21-2004 05:59 PM
Wacom Graphire2 sfnitro230 Slackware 3 11-12-2003 01:13 AM
Wacom Tablet and wacom drivers Mallow005 Linux - General 1 12-27-2002 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration