Difference between revisions of "Aiptek Tablet"

From ArchWiki
Jump to: navigation, search
(Created page with "This has been tested with an Aiptek HyperPen 12000U. I have no Idea if it works with a different Tablet. ==Installation== You need to install {{Pkg|xf86-input-aiptek}} pacm...")
 
(Installation: style fix https://wiki.archlinux.org/index.php/Help:Style#Official_packages)
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
This has been tested with an Aiptek HyperPen 12000U. I have no Idea if it works with a different Tablet.
+
[[Category:Input devices]]
 +
This has been tested with an Aiptek HyperPen 12000U. I have no idea if it works with a different tablet.
  
 
==Installation==
 
==Installation==
  
You need to install {{Pkg|xf86-input-aiptek}}
+
You need to install {{Pkg|xf86-input-aiptek}} from the [[Official Repositories]].
pacman -S xf86-input-aiptek
+
  
Create /etc/udev/rules.d/20-aiptek.rules with the following content:
+
Create {{Ic|/etc/udev/rules.d/20-aiptek.rules}} with the following content:
 
  ACTION!="add|change", GOTO="xorg_aiptek_end"
 
  ACTION!="add|change", GOTO="xorg_aiptek_end"
 
  KERNEL!="event[0-9]*", GOTO="xorg_aiptek_end"
 
  KERNEL!="event[0-9]*", GOTO="xorg_aiptek_end"
Line 14: Line 14:
 
  LABEL="xorg_aiptek_end"
 
  LABEL="xorg_aiptek_end"
  
Create /etc/X11/xorg.conf.d/20-aiptek.conf with the following content
+
Create {{Ic|/etc/X11/xorg.conf.d/20-aiptek.conf}} with the following content
 
  Section "InputClass"
 
  Section "InputClass"
 
         Identifier "pen"
 
         Identifier "pen"
        MatchProduct "Aiptek|AIPTEK|aiptek"
 
        MatchDevicePath "/dev/input/event*"
 
 
         Driver "aiptek"
 
         Driver "aiptek"
 +
        Option "Device" "/dev/input/aiptektablet"
 
         Option "SendCoreEvents" "true"
 
         Option "SendCoreEvents" "true"
 
         Option "USB" "on"
 
         Option "USB" "on"
Line 29: Line 28:
 
  Section "InputClass"
 
  Section "InputClass"
 
         Identifier "pen"
 
         Identifier "pen"
        MatchProduct "Aiptek|AIPTEK|aiptek"
 
        MatchDevicePath "/dev/input/event*"
 
 
         Driver "aiptek"
 
         Driver "aiptek"
 +
        Option "Device" "/dev/input/aiptektablet"
 
         Option "SendCoreEvents" "true"
 
         Option "SendCoreEvents" "true"
 
         Option "USB" "on"
 
         Option "USB" "on"
Line 41: Line 39:
 
  Section "InputClass"
 
  Section "InputClass"
 
         Identifier "pen"
 
         Identifier "pen"
        MatchProduct "Aiptek|AIPTEK|aiptek"
 
        MatchDevicePath "/dev/input/event*"
 
 
         Driver "aiptek"
 
         Driver "aiptek"
 +
        Option "Device" "/dev/input/aiptektablet"
 
         Option "SendCoreEvents" "true"
 
         Option "SendCoreEvents" "true"
 
         Option "USB" "on"
 
         Option "USB" "on"
Line 52: Line 49:
 
  EndSection
 
  EndSection
  
Then restart udev and X or your Display Manager (gdm, kdm, slim, ...)
+
Then restart udev and X or your display manager (gdm, kdm, slim, ...)
  
 
==Gimp==
 
==Gimp==

Revision as of 17:25, 4 November 2012

This has been tested with an Aiptek HyperPen 12000U. I have no idea if it works with a different tablet.

Installation

You need to install xf86-input-aiptek from the Official Repositories.

Create /etc/udev/rules.d/20-aiptek.rules with the following content:

ACTION!="add|change", GOTO="xorg_aiptek_end"
KERNEL!="event[0-9]*", GOTO="xorg_aiptek_end"

ATTRS{idVendor}=="08ca", ATTRS{idProduct}=="0010", ENV{x11_driver}="aiptek", SYMLINK+="input/aiptektablet"

LABEL="xorg_aiptek_end"

Create /etc/X11/xorg.conf.d/20-aiptek.conf with the following content

Section "InputClass"
       Identifier "pen"
       Driver "aiptek"
       Option "Device" "/dev/input/aiptektablet"
       Option "SendCoreEvents" "true"
       Option "USB" "on"
       Option "Type" "stylus"
       Option "Mode" "absolute"
       Option "zMin" "0"
       Option "zMax" "511"
EndSection
Section "InputClass"
       Identifier "pen"
       Driver "aiptek"
       Option "Device" "/dev/input/aiptektablet"
       Option "SendCoreEvents" "true"
       Option "USB" "on"
       Option "Type" "erasor"
       Option "Mode" "absolute"
       Option "zMin" "0"
       Option "zMax" "511"
EndSection
Section "InputClass"
       Identifier "pen"
       Driver "aiptek"
       Option "Device" "/dev/input/aiptektablet"
       Option "SendCoreEvents" "true"
       Option "USB" "on"
       Option "Type" "cursor"
       Option "Mode" "absolute"
       Option "zMin" "0"
       Option "zMax" "511"
EndSection

Then restart udev and X or your display manager (gdm, kdm, slim, ...)

Gimp

Should work right away. If not, those settings worked for me:

Edit -> Input Devices -> Aiptek

  • Mode: Screen
  • X: 1
  • Y: 2
  • Pressure: 3
  • X-Tilt, Y-Tilt and Wheel shouldn't matter