PDA

View Full Version : [all variants] Wacom Cintiq 12x



SadaraX
August 22nd, 2008, 03:24 PM
EDIT: The problem has been solved. USB cables from the cintiq device hub need to go DIRECTLY into the motherboard of computer. They cannot pass through any other devices, such as a monitor or USB hub. Running in Jaunty does not even require compilation of drivers. Simply plug the device in, and enable your video display to use the new display device (in my case, the Nvidia settings program).

I just bought myself a new Cintiq 12x, but I cannot get it to work under Linux. My cursor just goes up and down, scrolling as fast as it can when I most the pen tool. When I hold the button, it moves to the right when I move up or down. The behavior is the same no matter what I put in my xorg.conf.

I have tried several How-To's here on the forum. I also tried the official guide here:

http://linuxwacom.sourceforge.net/index.php/howto/toc

From stages 1 to 4 (which is a lot of steps). I successfully built and installed the module, but I failed at one step. The stage with 'wacdump.'

http://linuxwacom.sourceforge.net/index.php/howto/wacdump

The system does not detect any position changes from my pen tool, nor any button pushes.



MODEL=Wacom Cintiq 12WX ROM=1.0-2
CLS=USB VNDR=Wacom DEV=Cintiq (V5) SUB=DTZ-12wx

B9 CA AE 48 B3 1D 0F 00 00 00 00 00 00 00 00 00 ...H............


SERIAL=0x00000000 BUTTON=+00000 (+00000 .. +00000)
RELWHEEL=-00658 (-00001 .. +00001)

LEFT= MIDDLE= RIGHT= EXTRA=
SIDE= TOUCH= STYLUS= STYLUS2=
BT0= BT1= BT2= BT3=
BT4= BT5= BT6= BT7=
BT8= BT9= BT10= BT11=
BT12= BT13= BT14= BT15=
BT16= BT17= BT18= BT19=
BT20= BT21= BT22= BT23=



I have no idea what to do. Please help. Here is my xorg.conf:



# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@vernadsky) Thu Jun 5 09:26:53 UTC 2008


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL2407WFPHC"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "WAC Cintiq 12WX"
HorizSync 31.0 - 82.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GS"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GS"
BusID "PCI:5:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

tempo500
September 3rd, 2008, 11:40 PM
did you manage to get your cintiq running?

i got myself a cintiq 20wsx vers5, compiled latest wacom driver with success, buttons on pen and screen seem to work but no cursor movement. sudo wacdump -v /dev/input/wacom gives me full feedback - tooltype, x and y position, pressure etc...
xidump does not give me any feedback, - as far as i understand this prog, it reads the data out of the xorg...? which would tell me that something in the xorg is wrong...

http://linuxwacom.sourceforge.net/index.php/howto/mouse1

can someone translate this? does this apply to me? i am running ubuntu 8.04. thanks! phil

update:
i found out that the intuos3(another machine) and my tabletPC (wacom inside hp tx2000) don't report anything through wacdump just through xidump. - which is the exact opposite to the cintiq.... any ideas?


# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@yellow) Thu Jun 5 09:27:12 UTC 2008


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "Files"
RgbPath "/usr/lib/X11/rgb"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "USB" "on"
EndSection

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

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

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "WAC Cintiq 20WSX"
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 1500"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1680x1050_60_0 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

ceti331
September 4th, 2008, 10:00 PM
I get more success with Intuous (i.e. fully works) rather than the Cintiq(12WX) (only shows up on lsusb -l, and no where else)

I've read posts that claim their 12WX does work. Would be curious to know their xorg.conf's & so on.

related question,
Does anyone know what /dev/input/wacom vs /dev/input/eventX is about ?

gali98
September 4th, 2008, 10:52 PM
I can't help you with most of this, but I can tell you that last question :)

/dev/input/eventx is a linux device mapped to whatever input device (i.e. wacom tablet yada yada)
then the wacom driver will then make a file that creates /dev/input/wacom
This is actually just a link to whatever eventx the wacom input goes to.
Besides that I can't help you :(
I research a lot about wacom though, so I will try and find a howto.
Kory

gali98
September 4th, 2008, 10:58 PM
Okay I can try and help.

Please do these commands and paste the output here:

cd ~/Desktop

wget http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.1-4.tar.bz2

tar xjvf linuxwacom-0.8.1-4.tar.bz2

cd linuxwacom-0.8.1-4

./configure --enable-wacom

make

sudo make install

sudo rmmod wacom

sudo cp ./src/2.6.24/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko

sudo depmod -e

sudo modprobe wacom

ls -l /dev/input

ls -l /dev/input/by-path


If you will try that and I will try my best to get it working for you...

Kory

SadaraX
September 13th, 2008, 02:00 AM
Thanks for the replies everyone. I tried gali98's steps but unfortunately they had the same result.

I talked with the Linux-Wacom people and they said my problem was with try to load the compiled driver. In their step-by-step how-to,at this stage I have an error. (http://linuxwacom.sourceforge.net/index.php/howto/testwacom)



[root@linuxwacom]# cd src/2.4.22
[root@2.4.22]# /sbin/rmmod wacom
[root@2.4.22]# /sbin/insmod ./wacom.o


When I try to do sudo insmod ./wacom.o, I get the message:


insmod: error inserting 'wacom.o': -1 Invalid module format


Now, I have no problem doing insmod ./wacom.ko, but it fails at wacom.o. When I run sudo modprobe wacom, this is my /var/log/messages output:


Sep 12 17:57:16 kernel: [ 4832.711153] usbcore: registered new interface driver wacom
Sep 12 17:57:16 kernel: [ 4832.711161] /home/user/Desktop/linuxwacom-0.8.0-3/src/2.6.24/wacom_sys.c: v1.46-pc0.2:USB Wacom Graphire and Wacom Intuos tablet driver


According to the how-to docs:


The important detail is the version number. A version number like "1.46" is an original kernel version and not from the linuxwacom package. The correct version should also have the -j#.# or -pc#.# portion as well. This is to help differentiate between the stock kernel driver and those available from the Linux Wacom Project.


So I am not sure the compiled kernel is being loaded. I would love some help.

gali98
September 13th, 2008, 11:15 PM
hmmm....... okay I have a tablet pc.. as i already said :)

I ran the command and got the same error, so I think it is a typo.

Also don't worry right now if wacdump does not work.
It does not work on my machine. What should matter first is getting xidump to work.

first can you do

sudo modprobe wacom
lsmod|grep wacom

dmesg |grep wacom

ls -lR /dev/input

and post all the output of that....

also are you philip on the mailing lists?

Kory

edit:


also tell me how the tablet is plugged in...

Is it vga and usb?
or does it use usb?

That will be vital for me helping you.
Your symptoms look more like an xorg.conf problem than a module problem, but I'd have to look at it more..

SadaraX
September 15th, 2008, 02:39 AM
gali98: Thanks for your continued support.

The tablet uses a small device it connects to. The connecting device uses USB and connect to the VGA directly on my video card. My video card supports HDMI output to my main monitor and it uses the secondary VGA for the tablet.

I can see the video on the tablet just fine BTW. I hope this helps.



lsmod | grep wacom
wacom 18816 0
usbcore 146028 8 wacom,usbmouse,usb_storage,libusual,usbhid,ehci_hc d,ohci_hcd




ls -LR /dev/input
/dev/input:
by-id event0 event2 event4 event6 mouse0 mouse2 wacom
by-path event1 event3 event5 mice mouse1 tablet-cintiq12wx

/dev/input/by-id:
usb-Microsoft_Microsoft_3-Button_Mouse_with_IntelliEye_TM_-event-mouse
usb-Microsoft_Microsoft_3-Button_Mouse_with_IntelliEye_TM_-mouse
usb-Tablet_DTZ-1200W-event-mouse
usb-Tablet_DTZ-1200W-mouse

/dev/input/by-path:
pci-0000:00:02.0-usb-0:1:1.0-event-mouse
pci-0000:00:02.0-usb-0:1:1.0-mouse
pci-0000:00:02.1-usb-0:3.1.2:1.0-event-mouse
pci-0000:00:02.1-usb-0:3.1.2:1.0-mouse
platform-i8042-serio-0-event-kbd
platform-pcspkr-event-spkr


My xorg.conf is probably fairly screwed up. I tried a lot of things. Normally I just let my Nvidia card design the monitor resolution, which should be 1920x1200. Here is my xorg.conf:



# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@vernadsky) Thu Jun 5 09:26:53 UTC 2008


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "pad"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "USB" "on"
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "USB" "on"
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "USB" "on"
EndSection

Section "InputDevice"
Identifier "pad"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "pad"
Option "USB" "on"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL2407WFPHC"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "WAC Cintiq 12WX"
HorizSync 31.0 - 82.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GS"
BusID "PCI:5:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GS"
BusID "PCI:5:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "TwinView" "0"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

gali98
September 15th, 2008, 06:09 PM
Okay in each seaction of your xorg.conf related to wacom
(i.e. stylus, eraser,etc..)
change
Option "Device" "/dev/input/wacom"
to
Option "Device" "/dev/input/tablet-cintiq12wx"

and that should make some of it work.
See if anything works after that....
Kory

SadaraX
September 17th, 2008, 02:57 AM
gali98: I modified my xorg.conf file to use those lines that you suggested. There is no change.

I also did rmmod wacom and modprobe wacom.



Sep 16 18:55:16 kernel: [15424.630096] usbcore: deregistering interface driver wacom
Sep 16 18:55:24 kernel: [15432.472478] usbcore: registered new interface driver wacom
Sep 16 18:55:24 kernel: [15432.472490] /home/user/Desktop/linuxwacom-0.8.0-3/src/2.6.24/wacom_sys.c: v1.46-pc0.2:USB Wacom Graphire and Wacom Intuos tablet driver


I am not sure what else to tell you.

gali98
September 17th, 2008, 04:07 AM
Did you restart x?

If so change those same values to:

"/dev/input/by-id/usb-Tablet_DTZ-1200W-mouse"

Also can you do

ls -lR /dev/input

again... You did ls -LR and you need a lowercase l :)
We will get this working!

Kory

SadaraX
September 17th, 2008, 04:23 AM
Edit: Yes, I restart my X-session each time I do anything by pressing CTRL+ALT+BACKSPACE.

ls -lR /dev/input

:
/dev/input:
total 0
drwxr-xr-x 2 root root 120 2008-09-16 20:16 by-id
drwxr-xr-x 2 root root 160 2008-09-16 20:16 by-path
crw-rw---- 1 root root 13, 64 2008-09-16 14:39 event0
crw-rw---- 1 root root 13, 65 2008-09-16 14:39 event1
crw-rw---- 1 root root 13, 66 2008-09-16 14:39 event2
crw-rw---- 1 root root 13, 67 2008-09-16 14:39 event3
crw-rw---- 1 root root 13, 68 2008-09-16 14:39 event4
crw-rw---- 1 root root 13, 69 2008-09-16 14:39 event5
crw-rw---- 1 root root 13, 70 2008-09-16 20:16 event6
crw-rw---- 1 root root 13, 63 2008-09-16 14:38 mice
crw-rw---- 1 root root 13, 32 2008-09-16 14:38 mouse0
crw-rw---- 1 root root 13, 33 2008-09-16 14:38 mouse1
crw-rw---- 1 root root 13, 34 2008-09-16 20:16 mouse2
lrwxrwxrwx 1 root root 6 2008-09-16 20:16 tablet-cintiq12wx -> event6
lrwxrwxrwx 1 root root 6 2008-09-16 20:16 wacom -> event6

/dev/input/by-id:
total 0
lrwxrwxrwx 1 root root 9 2008-09-16 14:39 usb-Microsoft_Microsoft_3-Button_Mouse_with_IntelliEye_TM_-event-mouse -> ../event2
lrwxrwxrwx 1 root root 9 2008-09-16 14:39 usb-Microsoft_Microsoft_3-Button_Mouse_with_IntelliEye_TM_-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 2008-09-16 20:16 usb-Tablet_DTZ-1200W-event-mouse -> ../event6
lrwxrwxrwx 1 root root 9 2008-09-16 20:16 usb-Tablet_DTZ-1200W-mouse -> ../mouse2

/dev/input/by-path:
total 0
lrwxrwxrwx 1 root root 9 2008-09-16 14:39 pci-0000:00:02.0-usb-0:1:1.0-event-mouse -> ../event2
lrwxrwxrwx 1 root root 9 2008-09-16 14:39 pci-0000:00:02.0-usb-0:1:1.0-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 2008-09-16 20:16 pci-0000:00:02.1-usb-0:3.1.2:1.0-event-mouse -> ../event6
lrwxrwxrwx 1 root root 9 2008-09-16 20:16 pci-0000:00:02.1-usb-0:3.1.2:1.0-mouse -> ../mouse2
lrwxrwxrwx 1 root root 9 2008-09-16 14:39 platform-i8042-serio-0-event-kbd -> ../event1
lrwxrwxrwx 1 root root 9 2008-09-16 14:39 platform-pcspkr-event-spkr -> ../event5


I tried both:
/dev/input/usb-Tablet_DTZ-1200W-event-mouse
and
/dev/input/usb-Tablet_DTZ-1200W-mouse

But the result is the same. Thanks for the continued help.

gali98
September 17th, 2008, 10:37 PM
Have you considered compiling the new release?
The steps are relativly simple....
Note this was taken from a tutorial I have if it seems a bit noob proof...


cd ./Desktop

wget http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.1-4.tar.bz2

(all of the apt-get commands install the packages we need and updates the system to the latest packages)


sudo apt-get update

sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev tk8.4-dev tcl8.4-dev libncurses5-dev

sudo apt-get upgrade

sudo apt-get remove wacom-tools xserver-xorg-input-wacom

Okay now you need to add the kernel headers for your kernel. Most people will just do


sudo apt-get install linux-headers-generic

to check your kernel version do:


uname -r

Some people might have the rt kernel...


sudo apt-get install linux-headers-rt

If during any time you got a notice to restart or if you have a little restart icon in the top right system try (looks kinda like a blue recycle icon) then by goodness restart. If you are not sure, then go ahead and restart just to be safe. The reason is if you update to a newer kernel, then the module won't work on restart as the module is compiled for a specific kernel.

Okay now we get to the good stuff....


tar xjvf linuxwacom-0.8.1-4.tar.bz2

cd linuxwacom-0.8.1-4

./configure --enable-wacom

make

sudo make install

sudo rmmod wacom

If this returns an error saying "wacom" is not loaded, Do not worry. Just means you've never installed wacom before. Continue...


sudo cp ./src/2.6.24/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko

sudo depmod -e

sudo modprobe wacom

At this point just restart your xserver with ctrl alt backspace....

and see if it works. When it probably won't can you restart,
then log in and run these commands:

sudo rmmod wacom
sudo modprobe wacom

and post the output of

dmesg | grep wacom

Sorry this isn't working.... :(

Also could you further describe the error you are getting?
(I mean how does the stylus affect the onscreen cursor)

Kory

SadaraX
September 18th, 2008, 05:08 AM
dmesg output:


[ 167.985688] usbcore: deregistering interface driver wacom
[ 174.920185] usbcore: registered new interface driver wacom
[ 174.920196] /home/clifton/Desktop/linuxwacom-0.8.1-4/src/2.6.24/wacom_sys.c: v1.46-pc0.2:USB Wacom Graphire and Wacom Intuos tablet driver


My cursor just goes up and down, scrolling as fast as it can when I most the pen tool. When I hold the button, it moves to the right when I move up or down.

SadaraX
September 20th, 2008, 06:32 AM
I think I got it working. I will post more when I have confirmed it.

SadaraX
September 22nd, 2008, 10:57 AM
Well, I have some great news. I got my tablet working 90%. BUT there is a big problem left.

The cursor does not move when I hover the mouse over the tablet. It only moves if I press the eraser or the pen tip to the screen and drag the pen.

EDIT 1: I did the command: sudo xxd /dev/input/wacom and then moved the stylus pen over the tablet without touching it. I got tons of output to the console, so I know that Linux sees when style pen is near the tablet.

EDIT 2: I tried linuxwacom version 0.8.0-3 and 0.8.1-4. Version 0.8.1-4 did not respond at all to anything I tried. I have tried my xorg.conf with /dev/input/by-id and several other options from doing `ls -lR /dev/input`, but the result was the same. Doing /dev/input/wacom works the same as the rest.

Also, when testing the tablet using Gimp, there is another problem. Gimp only recognizes some firm pen taps, and does not recognize any dragging from the pen tip. Now, I have not configured the Gimp to use my tablet, but when I wonder to "Preferences -> Input Devices -> Configure Input Device" the only options for "Device" was 'Mouse0'.

Here is my xorg.conf:



# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@vernadsky) Thu Jun 5 09:26:53 UTC 2008


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 1280 0
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "USB" "on"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "USB" "on"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "USB" "on"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "pad"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "pad"
Option "USB" "on" # USB ONLY
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection


Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL2407WFPHC"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "WAC Cintiq 12WX"
HorizSync 31.0 - 82.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GS"
BusID "PCI:5:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GS"
BusID "PCI:5:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

gali98
September 23rd, 2008, 01:00 AM
Okay Great! I think I know the problem. You don't have the wacom devices in the server layout.
You need to add these lines under InputDevice "Mouse0" "CorePointer" (line 10)

InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "pad"

Next if you are still having errors, try commenting out (#) the lines that force ISDV4.
If it still doesn't work, I saw your email at the lists. They can help you if this doesn't work, but I think it will.
Kory

SadaraX
September 23rd, 2008, 02:10 PM
Well, I have good news and a little bad news. Now the cursor hovers and tracks with the pen stylus very nicely.

But there is a weird error between my two screens. The tablet is on my left side (screen number 1) and my main monitor is on my right (screen number 0).

EDIT: The problem may be from KDE. I am not sure. Using normal applications on my tablet screen, even though the desktop is the correct resolution (1280x800), whenever I maximize an application the right hand side is well beyond the screen. I suspect something is misconfigured still.

First I tap the tablet to put the mouse focus there. Next I move the cursor by hovering with the stylus. The cursor follows the stylus, but when the cursor moves about 40% from the left border of the tablet (probably about 500 pixels), the mouse suddenly JUMPS to the main screen.

When I have the mouse in the main screen and hover over the tablet with the stylus but I do not touch the tablet or switch focus to the tablet, I can move the mouse normally with the stylus pen.

Another example: Using the mouse, I move the cursor into the tablet (thus switching focus to the tablet), placing the cursor very far from the tablet's left border beyond the "jump region." Next if I use the stylus pen at all, the mouse cursor immediately jumps back to the main screen.

My Xorg.conf. It took quite a while to get this working properly, since there were some horrible position errors from using the Nvidia settings, but now everything looks alright.


# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@vernadsky) Thu Jun 5 09:26:53 UTC 2008


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 1280 0
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "pad"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "USB" "on"
# Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "USB" "on"
# Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "USB" "on"
# Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"

# Option "ForceDevice" "ISDV4"# Tablet PC ONLY
Identifier "pad"
Driver "wacom"
Option "Device" "/dev/input/wacom" # USB ONLY
Option "Type" "pad"
Option "USB" "on" # USB ONLY
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL2407WFPHC"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Monitor"

# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "WAC Cintiq 12WX"
HorizSync 31.0 - 82.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GS"
BusID "PCI:5:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 GS"
BusID "PCI:5:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

gali98
September 23rd, 2008, 11:24 PM
Okay, we got that worked out. I do not have any experience with dual screen and wacom, but I have a couple things to try.
First try to comment off those Force ISDV4 lines and see if that does anything...
Next have you tried using wacomcpl to set up the screens?
just open a terminal and run

wacomcpl
try and play with that for a while. If you mess something up with wacomcpl, all you do is restart X and it will go back to normal.
When you get it how you like it (if it works) post back here and I can help you make it stay that way :)
Kory

SadaraX
September 24th, 2008, 01:11 AM
I will try wacomcpl, but I need to ask: If you are not using dual-screens for your main & monitor-tablet, what are you doing?

Also, I am not sure it is important but I am letting Nvidia's GUI program modify my xorg.conf, not KDE Control Center app.

gali98
September 24th, 2008, 03:03 PM
Oh... I don't have dual monitors.. I guess I could have written it better.
Also Having KDE may make a difference in how that is handled....
Kory

Skiri-ki
July 6th, 2009, 11:19 AM
Not sure whether you managed to solve this problem. If you did, I'll just give other users who stumble upon this thread the hint to the solution:

You'll need to add

Option "Twinview" "horizontal"
to all the wacom InputDevice Sections
as well as

Option "ScreenNo" "n"
In this case, since the cintiq is screen1 'n' schould be replaced by '1'

the option twinview also responds to different parameters than "horizontal"
for those take a look at the documentation for configuring X (http://linuxwacom.sourceforge.net/index.php/howto/inputdev).

SadaraX
July 6th, 2009, 11:53 AM
I resolved the problem a long time ago (and now I've updated the thread to reflect this).

I had misconfigured USB cables. The USB cables from the cintiq device hub need to go DIRECTLY into the motherboard of computer. They cannot pass through any other devices, such as a monitor or USB hub.

Running in Jaunty, this does not even require compilation of drivers. Simply plug the device in, and enable your video display to use the new display device (in my case, the Nvidia settings program).

However I have had some troubles with running two displays simultaneously. Using Xinerama has errors with the cursor jumping between the two screens (probably because the two display resolutions do not match each other exactly). I have never resolved this issue but I also have not pursued it very much. Perhaps there are more specific Xinerama xorg.conf configuration lines I could use, but I don't know them.