Archive

Posts Tagged ‘Monoprice’

Monoprice 10x 6.25 Graphic Tablet on Ubuntu

June 1, 2015 Leave a comment

I recently purchased a 10×6.25 Monoprice Graphic tablet from Monoprice. (wasn’t at a spot to shell out the amount that Wacom was asking for it’s tablet). The tablet has lived upto my expectations so far but did not work as expected when I tried using it on Ubuntu 14.04.

Checking the output from lsusb shows that the graphic tablet is a rebranded UC Logic tablet. The following output shows on running lsusb on the terminal

Bus 005 Device 002: ID 5543:0781 UC-Logic Technology Corp.

Searching on Google showed me that UC Logic graphic tablets can be configured for Ubuntu by using the Wizardpen driver. The DIGImend drivers do not support it but they have a good article on how to configure these rebranded tablets. The steps below are just a summary of what I did based on the article found here (https://digimend.github.io/support/howto/drivers/wizardpen/)

  • Download the Wizardpen driver using the following command
wget https://launchpad.net/~doctormo/+archive/xorg-wizardpen/+files/xserver-xorg-input-wizardpen_0.8.1-0ubuntu3.tar.gz
  • Untar the driver that we downloaded above
tar xvzf xserver-xorg-input-wizardpen_0.8.1-0ubuntu3.tar.gz
  • Install the required dependencies from Wizardpen
sudo apt-get install build-essential xutils-dev xutils libx11-dev libxext-dev xautomation xinput xserver-xorg-dev autoconf libtool pkg-config
  • Go to the extracted Wizardpen dir above and run the following commands
$ ./autogen.sh --prefix=/usr
$ make
$ sudo make install
  • Go to the x.org.conf dir in usr/share/X11 and create the file 52-tablet.conf and add the following
Section "InputClass"
 Identifier "Tablet on WizardPen"
 #MatchIsTablet "on"
 MatchProduct "keyword"
 MatchDevicePath "/dev/input/event*"
 Driver "wizardpen"
 # Apply custom Options below.
EndSection
  • The keyword above needs to be replaced by the product id for your graphic tablet. In my case I ran the xinput list with the tablet plugged in and got the following in the output
↳ UC-LOGIC TWHA60 id=11 [slave pointer (2)]
⎜ ↳ UC-LOGIC TWHA60 id=12 [slave pointer (2)]
⎜ ↳ UC-LOGIC TWHA60 id=13 [slave pointer (2)]
  • Based on the output above, I changed the keyword in the conf and the conf now looked like this..
Section "InputClass"
 Identifier "Tablet on WizardPen"
 #MatchIsTablet "on"
 MatchProduct "UC-LOGIC TWHA60"
 MatchDevicePath "/dev/input/event*"
 Driver "wizardpen"
 # Apply custom Options below.
EndSection
  • After going through the above steps, my graphics tablet was detected but the stylus did not position itself correctly. I decided to try calibrating the tablet as suggested in the DIGImend pages. This requires to run a calibrate command for wizardpen from the “calibrate” dir in the downloaded wizardpen files. Before doing that we need to identify the tablet-event to be supplied to the command. In order to get it, run the following command in the terminal
ls /dev/input/by-id/
  • The output produced by the command above in my case was the following..
usb-UC-LOGIC_TWHA60-event-mouse
usb-UC-LOGIC_TWHA60-if01-event-mouse
usb-UC-LOGIC_TWHA60-if01-mouse
usb-UC-LOGIC_TWHA60-if02-event-kbd
usb-UC-LOGIC_TWHA60-mouse
  • Now run the following command to calibrate (needs to be run in the calibrate folder in wizardpen)
sudo ./wizardpen-calibrate /dev/input/by-id/usb-UC-LOGIC_TWHA60-if01-event-mouse

The command then prompts you to click on one of the corners on the graphic tablet using the stylus. Once clicked, it asks to click on the opposite end of the tablet. The full output after the clicks looks like follows.

Please, press the stilus at ANY
corner of your desired working area: ok, got 9,6

Please, press the stilus at OPPOSITE
corner of your desired working area: ok, got 2047,2047

According to your input you may put the following
lines into your XF86Config/X.Org configuration file:

 Driver "wizardpen"
 Option "Device" "/dev/input/by-id/usb-UC-LOGIC_TWHA60-event-mouse"
 Option "TopX" "9"
 Option "TopY" "6"
 Option "BottomX" "2047"
 Option "BottomY" "2047"
  • Apply this to the conf file created earlier. My conf file looked like this after the changes.
Section "InputClass"
 Identifier "Tablet on WizardPen"
 MatchIsTablet "on"
 MatchProduct "UC-LOGIC TWHA60"
 MatchDevicePath "/dev/input/event*"
 Driver "wizardpen"
 # Apply custom Options below.
 Option "Device" "/dev/input/by-id/usb-UC-LOGIC_TWHA60-event-mouse"
 Option "TopX" "7"
 Option "TopY" "18"
 Option "BottomX" "2047"
 Option "BottomY" "2047"
EndSection
  • Restarting the system should get the configuration in effect and the tablet should start working fine.
Advertisements