LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Genius MousePen 8x6 (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/genius-mousepen-8x6-688607/)

Jordan&&&& 12-05-2008 03:11 PM

Genius MousePen 8x6
 
Hi,

I have tried to install a Genius MousePen tablet on OpenSuse 11.0. I followed this guide and this repository. What confuses me is that I cannot find wizardpen kernel module in the packages and /dev/input/tablet device is missing. The driver package consists of a shared lib - wizardpen_drv.so. On the other hand, the other tablets like wacom that are supported by opensuse do have both kernel modules and shared libs.

Code:

Section "InputDevice"
  Identifier      "WizardPen Tablet"
  Driver          "wizardpen"
...

Are the drivers listed in xorg.conf kernel ones or some other drivers. I noticed that wacom kernel module is loaded everytime xorg is restarted.

I will greatly appreciate any help on that.

Jordan&&&& 11-08-2009 02:40 PM

I found out how to install this device on openSuse 11.1 so I decided to share the solution.

First you need to add some lines in your xorg.conf file:

Code:

Section "ServerLayout"
...
    InputDevice    "stylus" "SendCoreEvents"
...
EndSection

... and

Code:

Section "InputDevice"
      Identifier  "stylus"
      Driver      "wizardpen"
      Option "Name" "UC-LOGIC Tablet WP8060U"
      Option "SendCoreEvents" "true"
      Option      "Type" "stylus"
      Option      "USB" "on"
      Option      "Button1" "1"
      Option      "Button2" "1"
      Option      "Device" "/dev/input/event5"     
      Option      "TopX"          "2650"
      Option      "TopY"          "3563"
      Option      "TopZ"          "10"
      Option      "BottomX"      "30733"
      Option      "BottomY"      "29715"
      Option      "BottomZ"      "1023"
      Option      "MaxX"          "30733"
      Option      "MaxY"          "29715"
      Option      "MaxZ"          "1023"
      Option      "Mode"          "Absolute"
  #  Option            "debugyn"      "true"
EndSection

The options Name and Device are specific to your wizardpen device. You can check them using the following command:

Code:

cat /proc/bus/input/devices
For example:

Code:

I: Bus=0003 Vendor=5543 Product=0005 Version=0100
N: Name="UC-LOGIC Tablet WP8060U"
P: Phys=usb-0000:00:02.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb1/1-1/1-1:1.0/input/input6
U: Uniq=
H: Handlers=mouse1 event5
B: EV=1f
B: KEY=c01 3f0001 0 0 0 0
B: REL=303
B: ABS=100000f
B: MSC=10

You need to copy the Name e.g. UC-LOGIC Tablet WP8060U, and use the Handlers entry for the path to the right event device: e.g. /dev/input/event5

Then install the driver from source code http://code.google.com/p/linuxgenius/. Your driver version has to be compatible with the version of xorg, for example if you get the following error in Xorg log file (/var/log/Xorg.0.log) usr/lib64/xorg/modules//input/wizardpendrv.so: undefined symbol, you need a newer driver.

Read the INSTALL file included with the source. If you are using a 64bit OS you need to replace the string /usr/lib/xorg/modules with /usr/lib64/xorg/modules in the instructions.

Restart xorg and it should work.

You can use the calibration tool to change the values for the coordinates in the xorg.conf.


All times are GMT -5. The time now is 12:57 PM.