Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: [OPGELOST] Installatie Trust Wireless Tablet TB-3100  (gelezen 2771 keer)

Offline Robertos

  • Lid
[OPGELOST] Installatie Trust Wireless Tablet TB-3100
« Gepost op: 2009/09/04, 22:15:39 »
Aan mijn PC is een Trust Wireless Tablet TB-3100 gekoppeld, en ik neem aan dat hiervoor drivers moeten worden geïnstalleerd.
Het enigste wat momenteel mogelijk is, is de muiscursor verplaatsen door de pen direct over het oppervlak te bewegen.
De knop op de pen, de klikfunctie van de stift van de pen zelf, en de twaalf extra functietoetsen werken niet.
Ik heb al wat gegoogled, maar ik kom er niet echt uit.
Weet iemand hoe ik deze kan installeren in Ubuntu 9.04 (ik ben een beginner op Linux gebied)?

« Laatst bewerkt op: 2009/09/09, 23:33:47 door Robertos »

Offline Willem_D

  • Lid
Re: Installatie Trust Wireless Tablet TB-3100
« Reactie #1 Gepost op: 2009/09/05, 13:50:02 »
Mogelijk dat hier de benodigde info te vinden is:

http://digitalbluewave.blogspot.com/2008/10/genius-wizardpen-with-intrepid-ibex.html .

(Maar voor een linux-beginner, misschien wel even schrikken.  :o .)


N.B.: De community-documentation voor dit tablet gaat niet verder dan 8.10:
https://help.ubuntu.com/community/TabletSetupWizardpen?highlight=%28%5CbCategoryHardware%5Cb%29 .
(Maar is misschien ook bruikbaar voor 9.04 .)
« Laatst bewerkt op: 2009/09/05, 14:01:23 door Willem_D »
Acer 5930G laptop met nVidia 9600M GT


"Je verschijnt niet in je lichaam, maar je lichaam verschijnt in Jou."
Francis Lucille

Offline Robertos

  • Lid
Re: Installatie Trust Wireless Tablet TB-3100
« Reactie #2 Gepost op: 2009/09/05, 20:41:06 »
Bedankt voor je reactie.

Ik heb deze handleiding aangehouden: http://digitalbluewave.blogspot.com/2008/10/genius-wizardpen-with-intrepid-ibex.html (Option 2: Building from source). Tevens heb ik de nieuwste driver gebruikt (0.7.0-alpha2).
De eerste keer ging het niet helemaal goed, maar ik ben nu tot het hoofdstuk "Configuring and using your Wizardpen" gekomen.


Logje van "Option 2: Building from source" (stap 1 t/m 6):

robert@PCRWUBUNTU:~$ cd Bureaublad
robert@PCRWUBUNTU:~/Bureaublad$ tar -zxvf wizardpen-0.7.0-alpha2.tar.gzwizardpen-0.7.0-alpha2/
wizardpen-0.7.0-alpha2/config.status
wizardpen-0.7.0-alpha2/config.guess
wizardpen-0.7.0-alpha2/aclocal.m4
wizardpen-0.7.0-alpha2/config.sub
wizardpen-0.7.0-alpha2/copying
wizardpen-0.7.0-alpha2/install-sh
wizardpen-0.7.0-alpha2/autogen.sh
wizardpen-0.7.0-alpha2/ltmain.sh
wizardpen-0.7.0-alpha2/Makefile
wizardpen-0.7.0-alpha2/config.h
wizardpen-0.7.0-alpha2/stamp-h1
wizardpen-0.7.0-alpha2/calibrate/
wizardpen-0.7.0-alpha2/calibrate/copying
wizardpen-0.7.0-alpha2/calibrate/Makefile
wizardpen-0.7.0-alpha2/calibrate/ChangeLog
wizardpen-0.7.0-alpha2/calibrate/install
wizardpen-0.7.0-alpha2/calibrate/wizardpen-calibrate
wizardpen-0.7.0-alpha2/calibrate/readme
wizardpen-0.7.0-alpha2/calibrate/wizardpen-calibrate.c
wizardpen-0.7.0-alpha2/libtool
wizardpen-0.7.0-alpha2/depcomp
wizardpen-0.7.0-alpha2/autom4te.cache/
wizardpen-0.7.0-alpha2/autom4te.cache/requests
wizardpen-0.7.0-alpha2/autom4te.cache/traces.0
wizardpen-0.7.0-alpha2/autom4te.cache/output.0
wizardpen-0.7.0-alpha2/src/
wizardpen-0.7.0-alpha2/src/wizardpen.c
wizardpen-0.7.0-alpha2/src/Makefile
wizardpen-0.7.0-alpha2/src/.deps/
wizardpen-0.7.0-alpha2/src/.deps/wizardpen.Plo
wizardpen-0.7.0-alpha2/src/Makefile.in
wizardpen-0.7.0-alpha2/src/Makefile.am
wizardpen-0.7.0-alpha2/src/wizardpen.h
wizardpen-0.7.0-alpha2/missing
wizardpen-0.7.0-alpha2/Makefile.in
wizardpen-0.7.0-alpha2/Makefile.am
wizardpen-0.7.0-alpha2/man/
wizardpen-0.7.0-alpha2/man/wizardpen.man
wizardpen-0.7.0-alpha2/man/Makefile
wizardpen-0.7.0-alpha2/man/Makefile.in
wizardpen-0.7.0-alpha2/man/Makefile.am
wizardpen-0.7.0-alpha2/configure
wizardpen-0.7.0-alpha2/configure.ac
wizardpen-0.7.0-alpha2/README-XOrgConfig
wizardpen-0.7.0-alpha2/config.h.in
wizardpen-0.7.0-alpha2/config.log
wizardpen-0.7.0-alpha2/INSTALL
robert@PCRWUBUNTU:~/Bureaublad$ sudo aptitude install xutils libx11-dev libxext-dev build-essential xautomation xinput xserver-xorg-dev
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd      
De status informatie wordt gelezen... Klaar
Uitgebreide statusinformatie aan het lezen      
Initialiseren van pakketstatussen... Klaar
Er zullen geen pakketten worden geïnstalleerd, opgewaardeerd of verwijderd.
0 pakketten opgewaardeerd, 0 nieuwe geïnstalleerd, 0 te verwijderen en 0 niet opwaarderen.
Heb 0B archieven nodig. Na uitpakken zal 0B worden gebruikt.
Schrijven van uitgebreide statusinformatie... Klaar
Pakketlijsten worden ingelezen... Klaar            
Boom van vereisten wordt opgebouwd      
De status informatie wordt gelezen... Klaar
Uitgebreide statusinformatie aan het lezen      
Initialiseren van pakketstatussen... Klaar

robert@PCRWUBUNTU:~/Bureaublad$ cd wizardpen-0.7.0-alpha2
robert@PCRWUBUNTU:~/Bureaublad/wizardpen-0.7.0-alpha2$ ./configure --with-xorg-module-dir=/usr/lib/xorg/modules && make && sudo make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if RANDR is defined... yes
checking if XINPUT is defined... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking sysfs/libsysfs.h usability... no
checking sysfs/libsysfs.h presence... no
checking for sysfs/libsysfs.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make  all-recursive
make[1]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2' wordt binnengegaan
Making all in src
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/src' wordt binnengegaan
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1    -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c -o wizardpen.lo wizardpen.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c wizardpen.c  -fPIC -DPIC -o .libs/wizardpen.o
mv -f .deps/wizardpen.Tpo .deps/wizardpen.Plo
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1    -I../src -module -avoid-version  -o wizardpen_drv.la -rpath /usr/lib/xorg/modules/input wizardpen.lo  
gcc -shared  .libs/wizardpen.o   -Wl,-soname -Wl,wizardpen_drv.so -o .libs/wizardpen_drv.so
creating wizardpen_drv.la
(cd .libs && rm -f wizardpen_drv.la && ln -s ../wizardpen_drv.la wizardpen_drv.la)
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/src' wordt verlaten
Making all in man
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/man' wordt binnengegaan
sed -e 's|__vendorversion__|"wizardpen 1.0.0" "X Version 11"|' -e 's|__xorgversion__|"wizardpen 1.0.0" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr/local|g' -e 's|__appmansuffix__|1|g' -e 's|__drivermansuffix__|4|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < wizardpen.man > wizardpen.4
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/man' wordt verlaten
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2' wordt binnengegaan
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2' wordt verlaten
make[1]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2' wordt verlaten
Making install in src
make[1]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/src' wordt binnengegaan
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/src' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
test -z "/usr/lib/xorg/modules/input" || /bin/mkdir -p "/usr/lib/xorg/modules/input"
 /bin/bash ../libtool --mode=install /usr/bin/install -c  'wizardpen_drv.la' '/usr/lib/xorg/modules/input/wizardpen_drv.la'
/usr/bin/install -c .libs/wizardpen_drv.so /usr/lib/xorg/modules/input/wizardpen_drv.so
/usr/bin/install -c .libs/wizardpen_drv.lai /usr/lib/xorg/modules/input/wizardpen_drv.la
PATH="$PATH:/sbin" ldconfig -n /usr/lib/xorg/modules/input
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/xorg/modules/input

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/src' wordt verlaten
make[1]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/src' wordt verlaten
Making install in man
make[1]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/man' wordt binnengegaan
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/man' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
test -z "/usr/local/share/man/man4" || /bin/mkdir -p "/usr/local/share/man/man4"
 /usr/bin/install -c -m 644 'wizardpen.4' '/usr/local/share/man/man4/wizardpen.4'
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/man' wordt verlaten
make[1]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2/man' wordt verlaten
make[1]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2' wordt binnengegaan
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2' wordt verlaten
make[1]: Map '/home/robert/Bureaublad/wizardpen-0.7.0-alpha2' wordt verlaten
robert@PCRWUBUNTU:~/Bureaublad/wizardpen-0.7.0-alpha2$ ls /usr/lib/xorg/modules/input/wizardpen_drv.*
/usr/lib/xorg/modules/input/wizardpen_drv.la
/usr/lib/xorg/modules/input/wizardpen_drv.so
robert@PCRWUBUNTU:~/Bureaublad/wizardpen-0.7.0-alpha2$

Logje van "Configuring and using your Wizardpen" (stap 2):
De naam van de tablet is naar alle waarschijnlijkheid Aiptek?

robert@PCRWUBUNTU:~$ grep -i name /proc/bus/input/devices
N: Name="Power Button (FF)"
N: Name="Power Button (CM)"
N: Name="Macintosh mouse button emulation"
N: Name="AT Translated Set 2 keyboard"
N: Name="PC Speaker"
N: Name="ImExPS/2 Logitech MX Mouse"
N: Name="Aiptek"
robert@PCRWUBUNTU:~$


Een gedeelte van het logje van "Configuring and using your Wizardpen" (stap 3):

udi = '/org/freedesktop/Hal/devices/usb_device_8ca_21_noserial'
  info.linux.driver = 'usb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0'  (string)
  info.product = 'APT-2 Tablet'  (string)
  info.subsystem = 'usb_device'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_8ca_21_noserial'  (string)
  info.vendor = 'Aiptek International, Inc.'  (string)
  linux.device_file = '/dev/bus/usb/002/002'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1'  (string)
  usb_device.bus_number = 2  (0x2)  (int)
  usb_device.can_wake_up = false  (bool)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.device_revision_bcd = 768  (0x300)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.linux.device_number = 2  (0x2)  (int)
  usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1'  (string)
  usb_device.max_power = 40  (0x28)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.num_interfaces = 1  (0x1)  (int)
  usb_device.num_ports = 0  (0x0)  (int)
  usb_device.product = 'APT-2 Tablet'  (string)
  usb_device.product_id = 33  (0x21)  (int)
  usb_device.speed = 1.5 (1.5) (double)
  usb_device.vendor = 'Aiptek International, Inc.'  (string)
  usb_device.vendor_id = 2250  (0x8ca)  (int)
  usb_device.version = 1.1 (1.1) (double)

udi = '/org/freedesktop/Hal/devices/usb_device_8ca_21_noserial_if0'
  info.linux.driver = 'aiptek'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_8ca_21_noserial'  (string)
  info.product = 'USB HID Interface'  (string)
  info.subsystem = 'usb'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_8ca_21_noserial_if0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0'  (string)
  usb.bus_number = 2  (0x2)  (int)
  usb.can_wake_up = false  (bool)
  usb.configuration_value = 1  (0x1)  (int)
  usb.device_class = 0  (0x0)  (int)
  usb.device_protocol = 0  (0x0)  (int)
  usb.device_revision_bcd = 768  (0x300)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.interface.class = 3  (0x3)  (int)
  usb.interface.number = 0  (0x0)  (int)
  usb.interface.protocol = 0  (0x0)  (int)
  usb.interface.subclass = 0  (0x0)  (int)
  usb.is_self_powered = false  (bool)
  usb.linux.device_number = 2  (0x2)  (int)
  usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0'  (string)
  usb.max_power = 40  (0x28)  (int)
  usb.num_configurations = 1  (0x1)  (int)
  usb.num_interfaces = 1  (0x1)  (int)
  usb.num_ports = 0  (0x0)  (int)
  usb.product = 'USB HID Interface'  (string)
  usb.product_id = 33  (0x21)  (int)
  usb.speed = 1.5 (1.5) (double)
  usb.vendor = 'Aiptek International, Inc.'  (string)
  usb.vendor_id = 2250  (0x8ca)  (int)
  usb.version = 1.1 (1.1) (double)

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)


Ik kan echter het bestand /etc/hal/fdi/policy/99-x11-wizardpen.fdi (stap 4) niet aanmaken?
Ik krijg dan de melding "schuine strepen zijn niet toegestaan in bestandsnamen.
In de map zelf kan ik wel komen, maar niets verrichten?

« Laatst bewerkt op: 2009/09/06, 00:35:12 door Robertos »

Offline Robertos

  • Lid
Re: Installatie Trust Wireless Tablet TB-3100
« Reactie #3 Gepost op: 2009/09/05, 21:19:59 »
Het bestand heb ik aangemaakt door in de terminal sudo nautilus te typen, en blijkbaar was dit niet zo slim.
Vervolgens kon ik in Nautilus in de betreffende map wel het bestand 99-x11-wizardpen.fdi maken en de tekst erin plakken.
Na het opnieuw opstarten van de PC functioneert Firefox echter niet meer, het start heel snel op met een blanco profiel en verdwijnt dan weer?
Ondertussen blijft na het sluiten van Firefox het venster van MediaPlayerConnectivity me om de oren vliegen.

Edit: Backup van het Firefox profiel teruggezet, en deze functioneert nu weer naar behoren.
Hoe kan ik nu het beste (en veiligste) verder gaan vanaf stap 4, en moet ik nog wat logjes laten zien of zo?
« Laatst bewerkt op: 2009/09/05, 23:14:35 door Robertos »

Offline Robertos

  • Lid
Re: Installatie Trust Wireless Tablet TB-3100
« Reactie #4 Gepost op: 2009/09/07, 19:35:40 »
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?





« Laatst bewerkt op: 2009/09/08, 00:55:10 door Robertos »

Offline Robertos

  • Lid
Re: Installatie Trust Wireless Tablet TB-3100
« Reactie #5 Gepost op: 2009/09/08, 19:39:18 »
Ik heb de Xorg.0.log eens bekeken, en het blijkt dat hij daar de evdev driver laadt ((II) LoadModule: "evdev").
Waarschijnlijk is dat dan ook de reden waarom de nieuwe instellingen niet werken. De wizardpen driver moet namelijk worden gebruikt.
Nu moet ik zorgen dat de nieuw geïnstalleerde driver standaard wordt geladen voor de tablet...de vraag is alleen hoe?


Een gedeelte van de Xorg.0.log:
(II) config/hal: Adding input device Aiptek
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.6.0, module version = 2.1.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 4.0
(**) Aiptek: always reports core events
(**) Aiptek: Device: "/dev/input/event6"
(II) Aiptek: Found 3 mouse buttons
(II) Aiptek: Found x and y relative axes
(II) Aiptek: Found x and y absolute axes
(II) Aiptek: Found absolute touchpad
(II) Aiptek: Found keys
(II) Aiptek: Configuring as mouse
(II) Aiptek: Configuring as keyboard
(**) Aiptek: YAxisMapping: buttons 4 and 5
(**) Aiptek: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Aiptek" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Aiptek: xkb_rules: "evdev"
(**) Option "xkb_model" "logiclx300"
(**) Aiptek: xkb_model: "logiclx300"
(**) Option "xkb_layout" "us"
(**) Aiptek: xkb_layout: "us"
(**) Option "xkb_variant" "euro"
(**) Aiptek: xkb_variant: "euro"
(**) Option "xkb_options" "grp:alts_toggle,compose:lwin"
(**) Aiptek: xkb_options: "grp:alts_toggle,compose:lwin"
(**) Aiptek: (accel) keeping acceleration scheme 1
(**) Aiptek: (accel) filter chain progression: 2.00
(**) Aiptek: (accel) filter stage 0: 20.00 ms
(**) Aiptek: (accel) set acceleration profile 0


Aangezien er weinig reactie kwam heb ik het probleem ook even hier voorgelegd: http://ubuntuforums.org/showthread.php?t=1262073
Inmiddels is het dus opgelost, en is de tablet weer goed te gebruiken.  :)
« Laatst bewerkt op: 2009/09/09, 23:32:33 door Robertos »