Duncan Mac-Vicar P.


Genius tablet under Linux

with 16 comments

I just made a old Genius tablet I got from my grandfather to work under Linux.

Image Hosted by ImageShack.us

The Xorg driver is here. I packaged it for openSUSE in my personal repository in the build service (x11-input-wizardpen and x11-input-wizardpen-tools).

Add a udev rule so the device gets always the same file in /dev, you can find those attributes in /proc/bus/input/devices

duncan@linux:~> cat /etc/udev/rules.d/10-tablet.rules
KERNEL=="event*", SYSFS{idProduct}=="0003"
, SYSFS{idVendor}=="5543", SYMLINK+="input/tablet

Add to /etc/X11/xorg.conf

Section "InputDevice"
  Identifier      "WizardPen Tablet"
  Driver          "wizardpen"
  Option  "Device"        "/dev/input/tablet"
  Option  "TopX"          "0"
  Option  "TopY"          "2517"
  Option  "BottomX"       "31859"
  Option  "BottomY"       "32762"
  Option  "MaxX"          "31859"
  Option  "MaxY"          "32762"
EndSection

Then add to the ServerLayout section:

InputDevice    "Mouse[1]" "CorePointer"
InputDevice     "WizardPen Tablet"      "AlwaysCore"

Restart, drawing with Krita is really fun!

Written by duncan

January 24th, 2007 at 7:37 pm

Posted in uncategorized

Tagged with ,

16 Responses to 'Genius tablet under Linux'

Subscribe to comments with RSS or TrackBack to 'Genius tablet under Linux'.

  1. That’s really interesting because until now I assumed that Krita would only work with wacom pads (there’s a bug about a medion tablet) and only if the input device was called “pen” or “stylus”. It’s really good to have this bit of data: could we copy it into the Krita faq?

    Boudewijn Rempt

    25 Jan 07 at 3:22 am

  2. Duncan,

    Thank you for packaging the wizard pen drivers. I have installed the wizardpen packages from your build, but have some problems.

    Firstly, I get the following error in /var/log/Xorg.0.log

    (II) LoadModule: "wizardpen" (II) Loading /usr/lib/xorg/modules//input/wizardpendrv.so dlopen: /usr/lib/xorg/modules//input/wizardpendrv.so: undefined symbol: __stackchkfaillocal (EE) Failed to load /usr/lib/xorg/modules//input/wizardpendrv.so (II) UnloadModule: "wizardpen" (EE) Failed to load module "wizardpen" (loader failed, 7) (EE) No Input driver matching `wizardpen' allen@asus:/var/log> ls /usr/lib/xorg/modules/input/wizardpendrv.so /usr/lib/xorg/modules/input/wizardpendrv.so

    See the double // in the Failed to Load line.

    Also, I cannot get udev to give the device a unique name. It keeps defaulting back to mouse1. The entry under /proc/bus/input/devices is the same as yours except the product on mine is 0005 (not 0003).

    The tablet is found, and I can run the calibration, but ofcourse, without the driver, I can’t use it.

    Any help would be appreciated.

    Thanks,

    Allen

    Allen

    19 Jun 08 at 6:25 am

  3. [...] 10.2 at one point following mainly these links Genius Tablet In Opensuse 10.2 – openSUSE Forums Duncan Mac-Vicar P.

  4. It looks like that the double line has nothing to do with loading the driver becouse in the Xorg.x.log shows other drivers being loaded just fine even with the //. That is probably just a but and not the actual loading. But the problem is when resolving a name for instance __stackchkfaillocal is not resolving in the driver. What is this __stackchkfaillocal? Is there something I need to install? Or does something have to be referenced?

    Thanks,

    Aaron

    Aaron

    9 Aug 08 at 10:14 pm

  5. [...] Genius MousePen 8×6 Best one is still Duncan Mac-Vicar P.

  6. I’ve purchased a MANHATTAN tablet (which is 5×4) with a mouse and a pen.

    running lsusb command on ksh I’ve gotten:

    linux-uaut:/var/log # lsusb Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 5543:0004 UC-Logic Technology Corp. Genius MousePen 5×4 Tablet Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 005: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader Bus 001 Device 004: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller

    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    I tried for first the wacom driver, it did not recognize anything.

    Then I found your driver, I could recognize similar features of my tablet by the vendor ID, so I’ve added the repository mentioned in the top of this page and installed: x11-input-wizardpen and x11-input-wizardpen-tools, and for sure updated xorg.conf for the above lines, but I got the same result, I am sure it will work, but I need help/directions what to do?

    Notes: I’ve installed SUSE 11.1 recently I am using an IBM – lenovo R61 thinkpad ( dual boot windows and linux), and it works without a driver on windows! I’ve installed from factory repository I am more interested of using it on linux because I am using only linux applications, windows is only for testing uses.

    Sanousy Howari

    29 Jan 09 at 4:45 pm

  7. I’ve forgotten to list the “/var/log/Xorg.0.log”

    which is as follows:

    (II) LoadModule: “wizardpen”

    (II) Loading /usr/lib64/xorg/modules//input/wizardpendrv.so dlopen: /usr/lib64/xorg/modules//input/wizardpendrv.so: undefined symbol: xf86errno (EE) Failed to load /usr/lib64/xorg/modules//input/wizardpen_drv.so (II) UnloadModule: “wizardpen”

    (EE) Failed to load module “wizardpen” (loader failed, 7)

    Sanousy Howari

    29 Jan 09 at 5:43 pm

  8. Hej! I have the same UC-Logic Technology Corp. Genius MousePen 5×4 Tablet and for me this here link did wonders:

    http://www.rainbowcyber.co.uk/html/modules.php?name=News&file=article&sid=745

    Works in Gimp and Inkscape, not for klicking on the desktop though. Haven’t tried anything else yet, still playing around with it happily.

    Best of luck!

    bert

    31 Jan 09 at 6:53 pm

  9. Dear Bert, actually the link you’ve provided to me is very good, at least the rule is defined in a very well way, so, once I connect the tablet to the computer, I get the wizardpen appears in /dev/ folder, and compilation worked well ( make install), but I am still getting exactly the same error, although I kept trying even formatting linux and re-installing!!, but it is still giving xf86errno problem in /var/log/Xorg.0.log!!

    Sorry to tell you that, but.. it happens, any way, I’ll keep trying once I get the solution, I’ll post it here even if code changes, I’ll send it to Duncan Mac-Vicar P. so others will get benefit, including my lovely openSUSE.

    Sanousy Howari

    4 Feb 09 at 9:59 pm

  10. Dears,

    I think it is ready now on opensuse.org follow me:

    1- go to http://software.opensuse.org/search 2- type wizardpen in the search box 3- select your suse version from the box below the search box 4- press Enter

    the result you will find all versions in addition to 1-click-install button, which is I consider a great feature in SUSE.

    Cheers,

    and a lot of thanks to Duncan the originator of it :)

    Sanousy Howari

    7 May 09 at 12:31 pm

  11. Thanks a lot Duncan :)

    Sanousy Howari

    7 May 09 at 2:12 pm

  12. oops,

    I got the same error again!!

    in /var/log/Xorg.0.log

    (II) LoadModule: “wizardpen”

    (II) Loading /usr/lib64/xorg/modules//input/wizardpendrv.so dlopen: /usr/lib64/xorg/modules//input/wizardpendrv.so: undefined symbol: xf86errno (EE) Failed to load /usr/lib64/xorg/modules//input/wizardpen_drv.so (II) UnloadModule: “wizardpen” (EE) Failed to load module “wizardpen” (loader failed, 7)

    /etc/udev/rules.d/10-local.rules

    KERNEL==”event*”, SYSFS{idVendor}==”5543″, NAME=”input/%k”, SYMLINK=”input/tablet”

    /etc/X11/xorg.conf

    Section “InputDevice” Identifier “WizardPen Tablet” Driver “wizardpen” Option “Device” “/dev/input/tablet” Option “TopX” “0″ Option “TopY” “2517″ Option “BottomX” “31859″ Option “BottomY” “32762″ Option “MaxX” “31859″ Option “MaxY” “32762″ EndSection

    Section “ServerLayout” Identifier “Layout[all]” InputDevice “WizardPen Tablet” “AlwaysCore” InputDevice “Keyboard[0]” “CoreKeyboard” InputDevice “Mouse[1]” “CorePointer” InputDevice “Mouse[3]” “SendCoreEvents” Option “Clone” “off” Option “Xinerama” “off” Screen “Screen[0]” EndSection

    I did some googling, I think it is related to the type:

    xf86errno, which is no longer there Xfree8x/xorg.

    this link is a hint about a general problem there. but my question is how some type/public identifier gets removed although hundreds of applications are using it?

    Sanousy Howari

    7 May 09 at 3:05 pm

  13. Hi,

    is it working for somebody? may be I have a problem, not the driver :P

    Sanousy Howari

    14 May 09 at 3:19 pm

  14. Hi,

    I solved the puzzle,

    1- I installed UBUNTU 9.04 2- I found my treasure in this link: https://help.ubuntu.com/community/TabletSetupWizardpen 3- I used the source from this link: http://digitalbluewave.blogspot.com/2008/11/updated-wizardpen-driver-070-alpha1-p.html 4- I found some error in compilation, I fixed the source in wizardpen.c 5- compilation went ok after my fixes. 6- I’ve updated my xorg.conf as shown in (2-) link. 7- it worked.

    Cheers,

    the updates I’ve done to the source code of wizardpen.c: (lines 86 – 97) was: float rz; int oldz; oldz = 0; int debugyn; debugyn = 0; int rotate90; rotate90 = 0; int screenmaxx, screenmaxy; int mousespeed; mousespeed = 30; int mouseaccel; mouseaccel = 1;

    became: … float rz; int oldz=0; //oldz = 0; int debugyn=0; //debugyn = 0; int rotate90=0; //rotate90 = 0; int screenmaxx, screenmaxy; int mousespeed=0; //mousespeed = 30; int mouseaccel=1; //mouseaccel = 1; …

    line 662 was: if (InitValuatorClassDeviceStruct (dev, 3, xf86GetMotionEvents ->historysize, ((priv->flags & ABSOLUTEFLAG)? Absolute: Relative)|OutOfProximity) == FALSE)

    became:

    //if (InitValuatorClassDeviceStruct (dev, 3, xf86GetMotionEvents ->history_size,
    if (InitValuatorClassDeviceStruct (dev, 3, local->history_size,
                ((priv->flags & ABSOLUTE_FLAG)? Absolute: Relative)|OutOfProximity)
            == FALSE)
    

    that’s all cheers again.

    Sanousy Howari.

    Sanousy Howari

    29 May 09 at 2:03 am

  15. Also I found the following might be interesting for GIMP sensitivity control (it makes it works):

    source link: http://www.nntp.it/comp-os-linux-iniziare/1578026-come-configurare-tablet-genius-pensketch-9×12-con-wizardpen-ubuntu-8-04-e-derivati.html —- quoted from the above link —— [FAQ - DRAFT] 1. Wireless mouse for Wizardpen is not working: From my understanding is that support for the wireless mouse that comes with Wizardpen is NOT IMPLEMENTED yet. Therefore it won’t work. 2. Pressure sensitivity not working in GIMP: Check your GIMP preferences at “Edit > Preferences”. Under the “Input Devices” menu item, click on “Configure Extended Input Devices…”. Choose the WizardPen device and MAKE SURE YOU SET THE MODE TO SCREEN/WINDOW (not “Disabled”). Without that setting, it won’t work ———-end of quoted text ———–

    cheers!!

    Sanousy Howari

    29 May 09 at 2:17 pm

  16. I have a wireless mouse comes with my tablet model, but it did not work yet, I am looking for the suitable xorg.conf configuration, or may be to black list something blocking it by hal.

    once I find the solution I’ll comeback here and pase the right config.

    cheers.

    Sanousy Howari

    29 May 09 at 2:19 pm

Leave a Reply