De logjes van de voorgaande stappen heb ik reeds geplaatst. Ik neem aan dat dit goed gegaan is?
Dit is inmiddels gelukt: Create a new file with the name /etc/hal/fdi/policy/99-x11-wizardpen.fdi
Ik heb gedit gestart vanuit de terminal d.m.v. sudo gedit, vervolgens heb ik de onderstaande tekst opgeslagen in /etc/hal/fdi/policy/ als 99-x11-wizardpen.fdi
<?xml version="1.0" encoding="ISO-8859-1" ?>
<deviceinfo version="0.2">
<device>
<!-- This MUST match with the name of your tablet -->
<match key="info.product" contains="Aiptek">
<merge key="input.x11_driver" type="string">wizardpen</merge>
<merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
<merge key="input.x11_options.TopX" type="string">5619</merge>
<merge key="input.x11_options.TopY" type="string">6554</merge>
<merge key="input.x11_options.BottomX" type="string">29405</merge>
<merge key="input.x11_options.BottomY" type="string">29671</merge>
<merge key="input.x11_options.MaxX" type="string">29405</merge>
<merge key="input.x11_options.MaxY" type="string">29671</merge>
</match>
</device>
</deviceinfo>
Vervolgens heb ik de computer opnieuw opgestart.
1. Execute the following command: lshal | less
- Wederom een gedeelte uit lshal | less :
udi = '/org/freedesktop/Hal/devices/usb_device_8ca_21_noserial_if0_logicaldev_input'
access_control.file = '/dev/input/event6' (string)
access_control.type = 'mouse' (string)
info.addons.singleton = {'hald-addon-input'} (string list)
info.callouts.add = {'debian-setup-keyboard', 'hal-acl-tool --add-device'} (string list)
info.callouts.remove = {'hal-acl-tool --remove-device'} (string list)
info.capabilities = {'input', 'input.keys', 'input.mouse', 'input.tablet', 'button', 'access_control'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_8ca_21_noserial_if0' (string)
info.product = 'Aiptek' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_8ca_21_noserial_if0_logicaldev_input' (string)
input.device = '/dev/input/event6' (string)
input.originating_device = '/org/freedesktop/Hal/devices/usb_device_8ca_21_noserial_if0' (string)
input.product = 'Aiptek' (string)
input.x11_driver = 'evdev' (string)
input.xkb.layout = 'us' (string)
input.xkb.model = 'logiclx300' (string)
input.xkb.options = 'grp:alts_toggle,compose:lwin' (string)
input.xkb.rules = 'evdev' (string)
input.xkb.variant = 'euro' (string)
linux.device_file = '/dev/input/event6' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input6/event6' (string)
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]'
- Dan vind ik dit: info.product = 'Aiptek' (string)
3. Scroll down until you find the following line: linux.device_file = '/dev/input/eventN' (N will a number)
- En ook dat is te vinden: linux.device_file = '/dev/input/event6' (string)
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)
In de terminal het volgende commando ingegeven: calibrate/wizardpen-calibrate /dev/input/event6
Het resultaat was:
robert@PCRWUBUNTU:~$ calibrate/wizardpen-calibrate /dev/input/event6
Please, press the stilus at ANY
corner of your desired working area: ok, got 37,33
Please, press the stilus at OPPOSITE
corner of your desired working area: ok, got 2994,2210
According to your input you may put following
lines into your XF86Config file:
Driver "wizardpen"
Option "Device" "/dev/input/event6"
Option "TopX" "37"
Option "TopY" "33"
Option "BottomX" "2994"
Option "BottomY" "2210"
Option "MaxX" "2994"
Option "MaxY" "2210"
robert@PCRWUBUNTU:~$
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
Ook dit heb ik uitgevoerd, het resultaat:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<deviceinfo version="0.2">
<device>
<!-- This MUST match with the name of your tablet -->
<match key="info.product" contains="Aiptek">
<merge key="input.x11_driver" type="string">wizardpen</merge>
<merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
<merge key="input.x11_options.TopX" type="string">37</merge>
<merge key="input.x11_options.TopY" type="string">33</merge>
<merge key="input.x11_options.BottomX" type="string">2994</merge>
<merge key="input.x11_options.BottomY" type="string">2210</merge>
<merge key="input.x11_options.MaxX" type="string">2994</merge>
<merge key="input.x11_options.MaxY" type="string">2210</merge>
</match>
</device>
</deviceinfo>
Na het opnieuw opstarten heeft hij de instellingen blijkbaar niet aangepast.
Wat kan er verkeerd zijn gegaan, zou iemand me hiermee kunnen helpen?