Re: Install Wizardpen driver for Iball tablet
OK, so method 1, in other words the PPA?
Let's try to clean up your .conf files a bit. First remove the xorg.conf section with the coordinate options. Those can go in the wizardpen.conf. Or you could use a custom .conf file for them, called say 72-wizardpen.conf in the /etc/X11/xorg.conf.d directory.
Code:
#Section "InputDevice"
# Identifier "WizardPen Tablet"
# Driver "wizardpen"
# Option "Device" "/dev/input/by-id/usb-_TabletPF1209_-event-mouse"
# Option "TopX" "0"
# Option "TopY" "1553"
# Option "BottomX" "32541"
# Option "BottomY" "32762"
# Option "TopZ" "10"
# Option "BottomZ" "1024"
#EndSection
The original 0.7.4 wizardpen.conf file that comes from the PPA for Maverick reads:
Code:
Section "InputClass"
Identifier "wizardpen"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
MatchTag "wizardpen"
Driver "wizardpen"
EndSection
Section "InputClass"
Identifier "wizardpen ignore mouse dev"
MatchDevicePath "/dev/input/mouse*"
MatchTag "wizardpen"
Driver "mouse"
Option "MouseSpeed" "16"
Option "ignore" "true"
EndSection
And should work provided you have the 67-wizardpen.rules in /lib/udev/rules.d. But I believe I have run into it not working for the PF1209 before. Maybe the MatchTag line doesn't work.
Now the TabletPF1209 keyword can only be used in a MatchProduct line not a MatchVendor line. No need for the explicit MatchPath. The driver does not support a tablet mouse. You can use all of the coordinates in the wizardpen.conf, no need for the xorg.conf entry.
Code:
Section "InputClass"
Identifier "wizardpen"
# MatchIsTablet "on"
MatchProduct "TabletPF1209"
MatchDevicePath "/dev/input/event*"
Driver "wizardpen"
Option "TopX" "0"
Option "TopY" "1553"
Option "BottomX" "32541"
Option "BottomY" "32762"
Option "TopZ" "10"
Option "BottomZ" "1024"
EndSection
Section "InputClass"
Identifier "wizardpen ignore mouse dev"
MatchProduct "TabletPF1209"
MatchDevicePath "/dev/input/mouse*"
Option "ignore" "true"
EndSection
If you want to try MatchTablet and it works, fine.
Re: Install Wizardpen driver for Iball tablet
Dear Fauvx,
Thank you so much for helping me fix the jumping problem. The pointer doesn't get stuck anymore. There is one teensy problem.... the Tablet seems to be mapped to only a small rectangle area of the display. It isn't somehow reading in the Top and Bottom X&Y sizes put into any of the .conf files.
Here's what I've done.... I've commented out all the entries in the xorg.conf file. I've put them into 72-wizardpen.conf in the /etc/X11/xorg.conf.d.
Code:
Section "InputDevice" Identifier "WizardPen Tablet" Driver "wizardpen" Option "Device" "/dev/input/by-id/usb-_TabletPF1209_-event-mouse" Option "TopX" "0" Option "TopY" "1553" Option "BottomX" "32541" Option "BottomY" "32762" Option "TopZ" "10" Option "BottomZ" "1024" EndSection
And this is what is there in the 70-wizardpen.conf in /usr/share/X11/xorg.conf.d folder
Code:
Section "InputClass" Identifier "wizardpen" # MatchIsTablet "on" MatchProduct "TabletPF1209" MatchDevicePath "/dev/input/event*" Driver "wizardpen" Option "TopX" "0" Option "TopY" "1553" Option "BottomX" "32541" Option "BottomY" "32762" Option "TopZ" "10" Option "BottomZ" "1024" EndSection Section "InputClass" Identifier "wizardpen ignore mouse dev" MatchProduct "TabletPF1209" MatchDevicePath "/dev/input/mouse*" Option "ignore" "true" EndSection
Re: Install Wizardpen driver for Iball tablet
Good!
Quote:
the Tablet seems to be mapped to only a small rectangle area of the display
If I understand you correctly you do not need the 72-wizardpen.conf in the /etc/X11/xorg.conf.d because it is duplicating your 70-wizardpen.conf file in /usr/share/X11/xorg.conf.d. Besides matching to the specific mouse device path for coordinates wouldn't work, the coordinates have to apply to the pen not the unsupported mouse.
Let's make sure it is on the WizardPen driver. Enter the following command in a terminal:
Code:
xinput list-props 10
First check in xinput list that 10 is the ID number for the first TabletPF1209 line in the output. ID numbers can change. And post the output.
Or you could also look at the Xorg.0.log in /var/log.
But the coordinates you had in the xorg.conf don't look correct anyway. Try changing:
Code:
Option "TopY" "1553"
to.
and see where that gets you. You could also comment out the X and Y coordinates and see if the driver comes up with the correct ones on its own.
Another option is to use xinput_calibrator to determine the coordinates. It should be in the repositories.
Re: Install Wizardpen driver for Iball tablet
Here's the output:
Code:
xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ WizardPen Tablet id=6 [slave pointer (2)]
⎜ ↳ USB Optical Mouse id=10 [slave pointer (2)]
⎜ ↳ TabletPF1209 id=11 [slave pointer (2)]
⎜ ↳ TabletPF1209 id=12 [slave pointer (2)]
⎜ ↳ TabletPF1209 id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Dell Dell USB Keyboard id=9 [slave keyboard (3)]
barney@barney-OptiPlex-360:~$ xinput list-props 11
Device ' TabletPF1209':
Device Enabled (121): 1
Coordinate Transformation Matrix (123): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (239): 0
Device Accel Constant Deceleration (240): 1.000000
Device Accel Adaptive Deceleration (241): 1.000000
Device Accel Velocity Scaling (242): 10.000000
barney@barney-OptiPlex-360:~$ xinput list-props 12
Device ' TabletPF1209':
Device Enabled (121): 1
Coordinate Transformation Matrix (123): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (239): 0
Device Accel Constant Deceleration (240): 1.000000
Device Accel Adaptive Deceleration (241): 1.000000
Device Accel Velocity Scaling (242): 10.000000
barney@barney-OptiPlex-360:~$ xinput list-props 13
Device ' TabletPF1209':
Device Enabled (121): 1
Coordinate Transformation Matrix (123): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (239): 0
Device Accel Constant Deceleration (240): 1.000000
Device Accel Adaptive Deceleration (241): 1.000000
Device Accel Velocity Scaling (242): 10.000000
Re: Install Wizardpen driver for Iball tablet
And this is what is there inside Xorg.0.log:
Code:
[ 21.883] (II) config/udev: Adding input device TabletPF1209 (/dev/input/event4)
[ 21.883] (**) TabletPF1209: Applying InputClass "evdev tablet catchall"
[ 21.883] (**) TabletPF1209: Applying InputClass "wizardpen"
[ 21.883] (**) Option "Device" "/dev/input/event4"
[ 21.896] (--) TabletPF1209: MaxX:24000 MaxY:18000 MaxZ:1023
[ 21.896] (--) TabletPF1209: aspect ratio:2.00:1
[ 21.896] (**) TabletPF1209 is in absolute mode
[ 21.896] (II) TabletPF1209: ScreenX = 1024, ScreenY = 768
[ 21.896] (**) TabletPF1209: TopX = 0
[ 21.896] (**) TabletPF1209: TopY = 1553
[ 21.896] (**) TabletPF1209: BottomX = 32541
[ 21.896] (**) TabletPF1209: BottomY = 32762
[ 21.896] (**) TabletPF1209: TopZ (min pressure) = 10
[ 21.896] (**) TabletPF1209: BottomZ (max pressure) = 1024
[ 21.896] (**) TabletPF1209: always reports core events
[ 21.904] (II) XINPUT: Adding extended input device " TabletPF1209" (type: WizardPen Tablet)
[ 21.904] (II) TabletPF1209 Increment: 23
[ 21.920] (II) config/udev: Adding input device TabletPF1209 (/dev/input/mouse1)
[ 21.920] (**) TabletPF1209: Ignoring device from InputClass "wizardpen ignore mouse dev"
[ 21.920] (II) config/udev: Adding input device TabletPF1209 (/dev/input/event5)
[ 21.920] (**) TabletPF1209: Applying InputClass "evdev pointer catchall"
[ 21.920] (**) TabletPF1209: Applying InputClass "evdev tablet catchall"
[ 21.920] (**) TabletPF1209: Applying InputClass "wizardpen"
[ 21.920] (**) Option "Device" "/dev/input/event5"
[ 21.936] (--) TabletPF1209: MaxX:1904717 MaxY:2902599 MaxZ:0
[ 21.936] (--) TabletPF1209: aspect ratio:2.00:1
[ 21.936] (**) TabletPF1209 is in absolute mode
[ 21.936] (II) TabletPF1209: ScreenX = 1024, ScreenY = 768
[ 21.936] (**) TabletPF1209: TopX = 0
[ 21.936] (**) TabletPF1209: TopY = 1553
[ 21.936] (**) TabletPF1209: BottomX = 32541
[ 21.936] (**) TabletPF1209: BottomY = 32762
[ 21.936] (**) TabletPF1209: TopZ (min pressure) = 10
[ 21.936] (**) TabletPF1209: BottomZ (max pressure) = 1024
[ 21.936] (**) TabletPF1209: always reports core events
[ 21.952] (II) XINPUT: Adding extended input device " TabletPF1209" (type: WizardPen Tablet)
[ 21.952] (II) TabletPF1209 Increment: 1860
[ 21.968] (II) config/udev: Adding input device TabletPF1209 (/dev/input/mouse2)
[ 21.968] (**) TabletPF1209: Ignoring device from InputClass "wizardpen ignore mouse dev"
[ 21.968] (II) config/udev: Adding input device TabletPF1209 (/dev/input/event6)
[ 21.968] (**) TabletPF1209: Applying InputClass "evdev tablet catchall"
[ 21.968] (**) TabletPF1209: Applying InputClass "wizardpen"
[ 21.968] (**) Option "Device" "/dev/input/event6"
[ 21.984] (--) TabletPF1209: MaxX:24000 MaxY:18000 MaxZ:1023
[ 21.984] (--) TabletPF1209: aspect ratio:2.00:1
[ 21.984] (**) TabletPF1209 is in absolute mode
[ 21.984] (II) TabletPF1209: ScreenX = 1024, ScreenY = 768
[ 21.984] (**) TabletPF1209: TopX = 0
[ 21.984] (**) TabletPF1209: TopY = 1553
[ 21.984] (**) TabletPF1209: BottomX = 32541
[ 21.984] (**) TabletPF1209: BottomY = 32762
[ 21.984] (**) TabletPF1209: TopZ (min pressure) = 10
[ 21.984] (**) TabletPF1209: BottomZ (max pressure) = 1024
[ 21.984] (**) TabletPF1209: always reports core events
[ 22.000] (II) XINPUT: Adding extended input device " TabletPF1209" (type: WizardPen Tablet)
[ 22.000] (II) TabletPF1209 Increment: 23
[ 22.016] (II) config/udev: Adding input device TabletPF1209 (/dev/input/mouse3)
[ 22.016] (**) TabletPF1209: Ignoring device from InputClass "wizardpen ignore mouse dev"
Re: Install Wizardpen driver for Iball tablet
The list-props indicates it is on the WizardPen driver because the evdev driver would announce itself in the output while the WizardPen doesn't. Xorg.0.log confirms it.
Also from the Xorg.0.log it looks like the driver knows the coordinates and you probably don't need to specify them for X and Y.
Quote:
--) TabletPF1209: MaxX:24000 MaxY:18000 MaxZ:1023
However if you do this is what it is saying to use:
Code:
Option "TopX" "0"
Option "TopY" "0"
Option "BottomX" "24000"
Option "BottomY" "18000"
And you should change:
Code:
Option "BottomZ" "1024"
to.
Code:
Option "BottomZ" "1023"
Since 0 counts as a pressure level 0 to 1023 is 1024 levels whereas 0 to 1024 is 1025 levels. Sorry should have caught that before.
Re: Install Wizardpen driver for Iball tablet
[SOLVED]
Thanks a million times million. I eventually commented out all Top and Bottom X&Y values and set BottomZ to "1023"
That did the trick. The tablet works fine in File Explorer, Gimp and MyPaint.
Thanks once again Fauvx.
Check out my blog once in a while to see my artwork in clay and on the tablet. It all starts with my tablet :)
Regards,
Barney.
Re: Install Wizardpen driver for Iball tablet
Great. Nice work!
Thanks for the link to your blog. :)
Re: Install Wizardpen driver for Iball tablet
Re: Install Wizardpen driver for Iball tablet
I tried posting this question in the "Hardware" forum but I'm not getting any responses so I thought I'd try here.
Anyways, I purchased this Chinese made drawing tablet: http://www.huion-tablet.com/product/...t.php?sku=1004
It works excellent in Windows with the drivers they've provided and I managed to get it working in Linux almost perfectly by installing the wizardpen driver and using the following settings in the 52-tablet.conf file.
Code:
Code:
Section "InputClass"
Identifier "UC-Logic tablet"
MatchIsTablet "on"
MatchProduct "HUION H610"
MatchDevicePath "/dev/input/event*"
Driver "wizardpen"
# Apply custom Options below.
Option "TopX" "0"
Option "TopY" "0"
Option "BottomZ" "2047"
Option "BottomX" "2047"
Option "BottomY" "2047"
EndSection
Even after applying these settings I find that the native Windows drives seems to be a little smoother and the button mapping is all wrong on Linux side as well.
How can I modify these settings so that I get the best performance. I set BottomZ to 2047 because the tablet is advertised as having 2048 levels of pressure sensitivity. Am I doing this right? Another concern I have is that when pressure sensitivity is on line thickness, in Linux they look a little bit jagged, while in Windows they are perfect. Hope someone has some ideas. Thanks.