LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-28-2006, 07:33 AM   #1
demiansan
LQ Newbie
 
Registered: Dec 2005
Location: Menorca
Distribution: Debian testing.
Posts: 8

Rep: Reputation: 0
wacom: change map buttons settings?


After looking a lot around the web (google, linuxwacom's website, ...) and here too... I've found that maybe i should try asking a bit

I've got a MacMini G4 with both "linux DebianPPC" and "Mac OS 10.4" installed, a "wacom Graphire2 USB", a "wireless Logitech keyboard and mouse", a more tecnojunk

Everything is working nice and smoth but my problem is that: I want to change the buttons settings from the wacom tablet that comes by default, to another setting, let me explain this a bit more visual: this is the pen (in asci art).

/_\ --> Button 4 (eraser)
| |
| |
| |
| |
| /\ --> Button 3 (middle click)
|| /
||/
||\
| \/ --> Button 2 (right click)
| |
\/ --> Button 1 (click)

Then, the thing is:
- button 1 leave as is
- set button 2 to "middle click"
- set button 3 to "right click"
- button 4 is broken in my pen, ignored.

The thing is simple but i didn't get any result.

Thanks in advance for any answer.

Last edited by demiansan; 04-28-2006 at 07:36 AM.
 
Old 04-28-2006, 08:19 AM   #2
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 30
Have a look here http://www.tldp.org/HOWTO/Wacom-Tablet-HOWTO.html and/or here http://www.tldp.org/HOWTO/Wacom-USB-mini-HOWTO.html
 
Old 04-30-2006, 03:49 AM   #3
demiansan
LQ Newbie
 
Registered: Dec 2005
Location: Menorca
Distribution: Debian testing.
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Have a look here...
Thanks, but that function is not permanent, if i reboot the system, the changes are gone and set to default again.

I would like it to be changed forever.
 
Old 04-30-2006, 04:32 AM   #4
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 30
Quote:
Thanks, but that function is not permanent,
I'm not sure what you mean by this. What function? The configuration should be in your xorg.conf, which is permanent.

Quote:
I would like it to be changed forever.
Forever? I think entropy may have something to say about that!!

Last edited by ioerror; 04-30-2006 at 05:41 AM.
 
Old 04-30-2006, 02:08 PM   #5
demiansan
LQ Newbie
 
Registered: Dec 2005
Location: Menorca
Distribution: Debian testing.
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ioerror
I'm not sure what you mean by this. What function? The configuration should be in your xorg.conf, which is permanent.
Woops! My fault, sorry :P
I should say that the only section that tells you how to change the buttons mapping (6.4 Button Mapping with xmodmap for Devices in Core Mode), is only for the actual session, if you log out or reboot, the changes are gone, and in the other side it disables any other mouse.

I also used this "options" for wacom in "stylus" section, inside xorg.conf (corrected thanks to lanjoe9):
Option "Buttons1" "1"
Option "Buttons2" "3"
Option "Buttons3" "2"
Option "Buttons4" "4"

And nothing.

Quote:
Forever? I think entropy may have something to say about that!!
YES, IT MUST BE FOREVER WUAHAHAHAHA.

Sorry again :P

Anyway thanks for your attention.

Last edited by demiansan; 10-22-2006 at 12:42 PM.
 
Old 04-30-2006, 04:26 PM   #6
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 30
I swapped the buttons on my old (serial) wacom, but I'm not at home at the moment so I don't have the config handy. I'll post the relevant bits when I get a chance, if you haven't figured it out in the mean time.
 
Old 05-20-2006, 09:30 AM   #7
demiansan
LQ Newbie
 
Registered: Dec 2005
Location: Menorca
Distribution: Debian testing.
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ioerror
I swapped the buttons on my old (serial) wacom, but I'm not at home at the moment so I don't have the config handy. I'll post the relevant bits when I get a chance, if you haven't figured it out in the mean time.
I'm still waiting.

In my side i didn't got any kind of new info about this.
 
Old 09-27-2006, 03:18 PM   #8
demiansan
LQ Newbie
 
Registered: Dec 2005
Location: Menorca
Distribution: Debian testing.
Posts: 8

Original Poster
Rep: Reputation: 0
Thumbs up Finally Works!!

Here are my "Sections"
Quote:
Section "InputDevice"
Identifier "L.mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mouse#"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Type" "stylus"
OptIon "Device" "/dev/input/event#"
Option "USB" "on"
Option "Mode" "Absolute"
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Type" "cursor"
Option "Device" "/dev/input/event#"
Option "USB" "on"
Option "Mode" "Relative"
EndSection
Quote:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Monitor"
InputDevice "Keyboard"
InputDevice "L.mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
EndSection
It's important to change # by the input number that is registered while the system boots or when the tablet is pluged, and also for the ps2/usb mouse (not the "wacom mouse") DO NOT LEAVE IT AS "dev/input/mice", change it to "dev/input/input#" or "/dev/input/mouse#".

For testing i recommend this steps:

1-Have installed a simple window manager if possible (fluxbox, enlightment, etc...), if not then its OK.

2-Start 2 console logins (don't login from xdm, gdm or kdm, close them becouse we don't want any X session running right now), one as a normal user, and the other as root.

3-As root start editing the /etc/X11/xorg.conf file with the editor you like more (vim, nvi, emacs, nano, pico...)

4-Add and/or change the appropriate lines and save, don't exit the editor.

5-As normal user type "startx" and press enter, check mouse and wacom pen, if something doesn't work, exit the X session and repeat step 4.


And that's it. YAY!!
Many thanks for ioerror, for his tips and answers.
Till next time, see ya.

Last edited by demiansan; 10-02-2006 at 01:06 PM.
 
Old 10-18-2006, 12:23 AM   #9
lanjoe9
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by demiansan

I also used this "options" for wacom in "stylus" section, inside xorg.conf:
"Option" "Buttons1" "1"
"Option" "Buttons2" "3"
"Option" "Buttons3" "2"
"Option" "Buttons4" "4"

And nothing.
.
I just found out a few minutes ago (after spending the whole afternoon searching for it, trying to compile the driver, several hundred modmap/xinput trials, etc..):

It should have been
Quote:
Option "Button2" "3"
Option "Button3" "2"
D'oh!
Oh well, at least it works the way I want it to, now.

I'm using FreeBSD 6.1, to see more info on how I got it working, see the linuxWacom post number 3965160, just concatenate the next strings (I can't post links to other sites, yet _*):

sourceforge
.net/forum/
message.php?msg_id=3965160
 
Old 10-22-2006, 12:40 PM   #10
demiansan
LQ Newbie
 
Registered: Dec 2005
Location: Menorca
Distribution: Debian testing.
Posts: 8

Original Poster
Rep: Reputation: 0
Lightbulb wops...

Quote:
Originally Posted by lanjoe9
I just found out a few minutes ago (after spending the whole afternoon searching for it, trying to compile the driver, several hundred modmap/xinput trials, etc..):

It should have been


D'oh!
Oh well, at least it works the way I want it to, now...
Yep, it was my error , must correct it now.

Thank you making me notice it
 
Old 10-22-2006, 11:24 PM   #11
lanjoe9
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
Xorg

I think we need better Xorg documentation... this should have taken like two seconds, but instead it took me several hours. Just because it's not documented..

The man page (at least in *BSD 6.1) is incomplete.. most of the things I've learnt have been just a few configuration lines from here and there... but most wikis I've found seem too technical: I end up knowing about the internal structure of the server, without knowing the specific option I want..
 
Old 01-14-2009, 12:45 PM   #12
bkorb
GNU Contributor
 
Registered: Sep 2006
Posts: 59

Rep: Reputation: 16
Only hours?

Quote:
Originally Posted by lanjoe9 View Post
I think we need better Xorg documentation... this should have taken like two seconds, but instead it took me several hours.
It took me days on end the first time. Things have been fine for 5 months now. Unfortunately, I rebooted my machine and now I cannot get button-2 any more. Oh, where is that page that told me how to see what is happening with the mouse interrupt data.....
 
Old 01-17-2009, 03:33 AM   #13
demiansan
LQ Newbie
 
Registered: Dec 2005
Location: Menorca
Distribution: Debian testing.
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bkorb View Post
It took me days on end the first time. Things have been fine for 5 months now. Unfortunately, I rebooted my machine and now I cannot get button-2 any more. Oh, where is that page that told me how to see what is happening with the mouse interrupt data.....
Maybe is the "xev" command? it's like a "X Event Tester" that reports any action you do inside the white window (typing and clicking).

I'm not quite sure if it is this what you are looking for.

In any case, google is a good friend
 
Old 01-17-2009, 11:43 PM   #14
bkorb
GNU Contributor
 
Registered: Sep 2006
Posts: 59

Rep: Reputation: 16
Thank you. I found that. I use Google. It's how I got here.

I determined that button-2 and button-8 are not being reported. If I stop the 2 and 8 button exchange, then button 2 is seen and I can paste again. As long as I don't accidentally scroll to the wrong place while pressing the scroll wheel. (A remarkably stupid design.) Anyway, more gory details are here:

http://www.linuxquestions.org/questi...ported-697312/

Last edited by bkorb; 01-17-2009 at 11:45 PM.
 
  


Reply

Tags
button, mapping, pen, usb, wacom


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change keyboard map in XFCE dasy2k1 Slackware 2 11-24-2006 01:38 PM
Wacom PenPartner buttons dont work in Mandiva 10.2 hcgrant Linux - Hardware 1 05-23-2005 03:32 PM
change amsn look (implement the gtk buttons?) thehundredthone Linux - Newbie 0 02-20-2004 03:36 PM
How change my intellimouse buttons in Mozilla? ACURA TL-S Linux - Newbie 1 08-13-2003 05:39 AM
Wacom Tablet and wacom drivers Mallow005 Linux - General 1 12-27-2002 02:26 AM


All times are GMT -5. The time now is 01:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration