Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old August 3rd, 2006   #1
daller
Fresh Brewed Ubuntu
 
daller's Avatar
 
Join Date: Aug 2005
Location: Århus, DenmarK
Beans: 1,521
Kubuntu 8.10 Intrepid Ibex
HOWTO: Setup a wizardpen-based tablet!

This HOWTO should help you setting up your tablet!

Known vendors:

* Genius Wizardpen
* Genius Mousepen
* Genius
* iBall
* QWare
* UC-LOGIC

Known tablets: (that works with this howto)

* Tablet W4030U
* Tablet WP5540U (lsusb: UC-Logic Technology Corp. Genius MousePen 5x4 Tablet)
* Tablet WP8060U (Genius MousePen 8x6 Tablet) - Genius MousePen 8x6 Tablet
* Tablet PF1209 (lsusb: UC-Logic Technology Corp.) - Genius PenSketch 9x12"

See this howto:

https://wiki.ubuntu.com/TabletSetupWizardpen

...and if your tablet is not using the wizardpen-driver:

https://wiki.ubuntu.com/TabletSetup

Last edited by daller; January 3rd, 2007 at 07:48 PM.. Reason: more tablets...
daller is offline  
Old August 22nd, 2006   #2
stepheny
5 Cups of Ubuntu
 
Join Date: Aug 2006
Beans: 37
Re: HOWTO: Setup a wizardpen-based tablet!

After typing xmkmf I get the following errors.

-desktop:~/Downloads/wizardpen-driver-0.5.0$ xmkmf
imake -DUseInstalled -I/etc/X11/config/cf
<stdin>:1:19: error: stdio.h: No such file or directory
<stdin>:2:19: error: ctype.h: No such file or directory
<stdin>: In function ‘main’:
<stdin>:18: error: ‘NULL’ undeclared (first use in this function)
<stdin>:18: error: (Each undeclared identifier is reported only once
<stdin>:18: error: for each function it appears in.)
<stdin>:45: warning: incompatible implicit declaration of built-in function ‘sscanf’
<stdin>:49: warning: incompatible implicit declaration of built-in function ‘printf’
/usr/bin/xmkmf: line 57: 10980 Aborted imake $imake_defines $args

Do you have any idea what is wrong?
stepheny is offline  
Old August 22nd, 2006   #3
daller
Fresh Brewed Ubuntu
 
daller's Avatar
 
Join Date: Aug 2005
Location: Århus, DenmarK
Beans: 1,521
Kubuntu 8.10 Intrepid Ibex
Re: HOWTO: Setup a wizardpen-based tablet!

Your problem is probably that you don't have libc6-dev and gcc installed.

The howto is NEW - Please reply with ANY problems whatsoever!

BTW: What model is the tablet? (run lsusb from console)

Last edited by daller; August 24th, 2006 at 07:34 PM..
daller is offline  
Old August 24th, 2006   #4
stepheny
5 Cups of Ubuntu
 
Join Date: Aug 2006
Beans: 37
Re: HOWTO: Setup a wizardpen-based tablet!

I found out what was wrong with xmkmf. The packet "build-essential" needed to be installed.
stepheny is offline  
Old August 24th, 2006   #5
daller
Fresh Brewed Ubuntu
 
daller's Avatar
 
Join Date: Aug 2005
Location: Århus, DenmarK
Beans: 1,521
Kubuntu 8.10 Intrepid Ibex
Re: HOWTO: Setup a wizardpen-based tablet!

If it's not a secret, I'm still interested in the tablet's make and model!

Did it all work as it should?

BTW: Build-essential is not a real package! - I simply depends on some other packages!

If you have one of the tablets that is already on the list, I'm also interested in how much you paid for it!

Last edited by daller; August 24th, 2006 at 07:35 PM..
daller is offline  
Old October 6th, 2006   #6
ashyanbhog
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 8
Re: HOWTO: Setup a wizardpen-based tablet!

Hi, I followed https://wiki.ubuntu.com/TabletSetupWizardpen guide to configure my new iBall tablet that identifies itself as WP8060,

The guide worked and the pen is detected and works to an extent,

However, the default setup considers the pen-tip contact with the board as left click and hence tries to window-pick objects on desktop. This is easily rectified in Windows with the vendor provided software that allows button action cutomization.

Is it possible to change the button-actions setup in Linux someplace. In the present state the tablet is pretty much unusable as it draws continuosly in Gimp when the pen is moved across the tablet
ashyanbhog is offline  
Old October 8th, 2006   #7
ashyanbhog
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 8
Re: HOWTO: Setup a wizardpen-based tablet!

ok, I think I found the way to confiure buttons,

$ sudo apt-get xinput
(if its not installed already)

$ xinput set-button-map "WizardPen Tablet" 0 1 2 3 4

my tablet is supposed to have 5 buttons, hence the five numbers, can also include no 5 and be in any order ur comfortable with.
ashyanbhog is offline  
Old October 8th, 2006   #8
daller
Fresh Brewed Ubuntu
 
daller's Avatar
 
Join Date: Aug 2005
Location: Århus, DenmarK
Beans: 1,521
Kubuntu 8.10 Intrepid Ibex
Re: HOWTO: Setup a wizardpen-based tablet!

Quote:
Originally Posted by ashyanbhog View Post
$ xinput set-button-map "WizardPen Tablet" 0 1 2 3 4
.
The command seems to have an effect on my pen.

(Now I CAN'T use it properly )

How do you manage the buttons after running this command?
daller is offline  
Old October 11th, 2006   #9
ashyanbhog
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 8
Re: HOWTO: Setup a wizardpen-based tablet!

$ xinput list

will give some details of your input devices, including the number of buttons on your pen

you can change the order of buttons and that'll rotate the function between buttons,

for example in my tablet, the pen tip contact with tablet is configured as left click by default, and this make the pen almost unusable, at least for me. I need to explicitly set it to 0 (no action)

on my pen, the number vs fuction is something like

0 : No action (only movement)
1 : Left button click
2 : Middle Button Click
3 : Right Button click
4 : Scroll up (one click equals one step of scroll wheel in my logitech mouse)
5 : Scroll down

I am yet to find time to see what other numbers do, but if you want help documenting them, I can check them out.

you need to assign some function for all the buttons one ur device, else xinput exits with some error,

The s/w provided on the driver CD for Windows allows one to see the function assigned to each button and choose a diff function from a drop down menu. Unfortunately, there does not seem to be a similar software available for Linux.

If u have been comfortable with the ur setup so far, ur device comes with a saner set of defaults than my cheeeeeep (but good) tablet.

maybe u can update the tutorial to indicate this option to users who may want to change their default button functions.

I have included the xinput command to my rc.local,

XORG_CONF=/etc/X11/xorg.conf
if [ -e /dev/tablet-event ]; then
sed -ie 's/^\(\s*\)\#\(\s*InputDevice\s\s*\"WizardPen\ Tablet\"\s\s*\"AlwaysCore\"\)\s*$/\1\2/' "$XORG_CONF"
echo "Udev created /dev/tablet-event, which means that the tablet is present! - Tablet-driver enabled"
xinput set-button-map "WizardPen Tablet" 0 1 3 4 5
else
sed -ie 's/\(^\s*InputDevice\s\s*\"WizardPen\ Tablet\"\s\s*\"AlwaysCore\"\)\s*$/\#&/' "$XORG_CONF"
echo "Udev did NOT create /dev/tablet-event, which means that the tablet is NOT present! - Tablet-driver disabled"
fi

exit 0

Last edited by ashyanbhog; October 11th, 2006 at 10:39 AM..
ashyanbhog is offline  
Old October 12th, 2006   #10
daller
Fresh Brewed Ubuntu
 
daller's Avatar
 
Join Date: Aug 2005
Location: Århus, DenmarK
Beans: 1,521
Kubuntu 8.10 Intrepid Ibex
Re: HOWTO: Setup a wizardpen-based tablet!

Hmm...

Afaict, the setup is only temporary?

I think i'll add a section to the guide about this issue.

Wouldn't it be correct to place the xinput command in the rc.local file? (along with detecting the tablet) - So that the command is run on every startup

EDIT: I just finished reading your post! - It seems that we are thinking the same about the rc.local file... NICE!

It'll pe a part of the guide very soon!

Last edited by daller; October 12th, 2006 at 11:52 AM..
daller is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:18 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry