Originally Posted by
drpjkurian
1.Execute the following command: lshal | less
2.Search the section with the name of your tablet, as obtained from Step 2 in the configuration step. The line should read something like: info.product = '[Name of your tablet]'
3.Scroll down until you find the following line: linux.device_file = '/dev/input/eventN' (N will a number)
I ran this, and did some searching. I found two devices for WP8060U
Code:
udi = '/org/freedesktop/Hal/devices/usb_device_5543_5_noserial_if0_logicaldev_input'
info.capabilities = {'input', 'input.mouse', 'input.touchpad'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_5543_5_noserial_if0' (string)
info.product = 'UC-LOGIC Tablet WP8060U' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_5543_5_noserial_if0_logicaldev_input' (string)
input.device = '/dev/input/event8' (string)
input.originating_device = '/org/freedesktop/Hal/devices/usb_device_5543_5_noserial_if0' (string)
input.product = 'UC-LOGIC Tablet WP8060U' (string)
input.x11_driver = 'wizardpen' (string)
input.x11_options.BottomX = '32371' (string)
input.x11_options.BottomY = '32634' (string)
input.x11_options.BottomZ = '511' (string)
input.x11_options.MaxX = '32371' (string)
input.x11_options.MaxY = '32364' (string)
input.x11_options.MaxZ = '511' (string)
input.x11_options.SendCoreEvents = 'true' (string)
input.x11_options.TopX = '0' (string)
input.x11_options.TopY = '150' (string)
input.x11_options.TopZ = '10' (string)
linux.device_file = '/dev/input/event8' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/class/input/input8/event8' (string)
udi = '/org/freedesktop/Hal/devices/usb_device_5543_5_noserial_if0_hiddev'
hiddev.application_pages = {'Unknown page 0xd0002', 'Generic Desktop Page', 'Generic Desktop Page'} (string list)
hiddev.device = '/dev/usb/hiddev0' (string)
hiddev.product = 'UC-LOGIC Tablet WP8060U' (string)
info.capabilities = {'hiddev'} (string list)
info.category = 'hiddev' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_5543_5_noserial_if0' (string)
info.product = 'UC-LOGIC Tablet WP8060U' (string)
info.subsystem = 'usb' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_5543_5_noserial_if0_hiddev' (string)
input.x11_driver = 'wizardpen' (string)
input.x11_options.BottomX = '32371' (string)
input.x11_options.BottomY = '32634' (string)
input.x11_options.BottomZ = '511' (string)
input.x11_options.MaxX = '32371' (string)
input.x11_options.MaxY = '32364' (string)
input.x11_options.MaxZ = '511' (string)
input.x11_options.SendCoreEvents = 'true' (string)
input.x11_options.TopX = '0' (string)
input.x11_options.TopY = '150' (string)
input.x11_options.TopZ = '10' (string)
linux.device_file = '/dev/usb/hiddev0' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'usb' (string)
linux.sysfs_path = '/sys/class/usb/hiddev0' (string)
I'm not sure which of these to use, also, will this 'event' or 'hiddev' always be the same numeric? IE will the tablet _always_ be /dev/input/event8 in this case (because I'm not sure it is) or will hiddev for this device always be hiddev0?
While I wait for your reply, I'm going to try both and see what I get.
Originally Posted by
drpjkurian
4.The source package contains a program called 'wizardpen-calibrate', which is in the 'calibrate' folder, which actually echoes the appropriate X11 calibration settings
5.Using a terminal/console, execute the calibration program: calibrate/wizardpen-calibrate /dev/input/eventN (*Note: Subtitute /dev/input/eventN with the one obtained from Step 3)
6.Follow the instructions issued by the program, which will ask you to touch the top-left corner and bottom-right corner. Once completed, the program will echo the corresponding xorg.conf setting
7.Edit the FDI file (/etc/hal/fdi/policy/99-x11-wizardpen.fdi) and subtitute the Top/Bottom/MaxX and Top/Bottom/MaxY values to the one obtained from the wizardpen-calibrate command
8.Once done, restart your computer and test your tablet (UPDATE: Noy noted in the comments that you don't have to restart, but rather unplug and replug the tablet for the new settings to take effect.
I did this previously (the make/make install), and got the same output you guys gave for the WP8060U when I did the calibration. I even tried to make the area larger than what had been given after calibration, it did not change.
Also, one last note, you need to 'make clean' before you 'make && sudo make install', it looks like it wasn't made clean before being packaged up for distribution, otherwise you get the error 'No target for "build"'
Thanks again.
Bookmarks