Fedora Linux Support Community & Resources Center
  #1  
Old 8th June 2004, 02:47 PM
Harryc's Avatar
Harryc Offline
Registered User
 
Join Date: Jun 2004
Posts: 715
MX700 Mouse in FC2 Final

Does anyone have all buttons working in FC2 final for this mouse? I have seen several howto:'s on the web for Xfree86 but nothing for Xorg. I am particularly interested in getting the thumb buttons working in Mozilla for forward and reverse browser history. I have IMwheel installed.
Reply With Quote
  #2  
Old 22nd June 2004, 01:29 AM
Harryc's Avatar
Harryc Offline
Registered User
 
Join Date: Jun 2004
Posts: 715
Bump

Any help?
Reply With Quote
  #3  
Old 27th June 2004, 01:59 AM
p0rnflake Offline
Registered User
 
Join Date: Jun 2004
Location: Denmark
Age: 34
Posts: 10
Looking for the same answers - got two MS mice hooked up both lacking the ability to use the thump button to go to the previous page in firefox :|
Reply With Quote
  #4  
Old 28th June 2004, 05:22 AM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
This is my MX-500 configuration... should work just fine with MX700.

1: Add these lines to your /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "no"
Option "SendCoreEvents" "yes"
Option "Resolution" "800"
Option "SampleRate" "800"
EndSection

2: Install a utility called imwheel (http://imwheel.sourceforge.net/) and create the /etc/X11/imwheel/imwheelrc:
".*"
None, Up, Page_Down
None, Down, Page_Up

(This will map the two thumb buttons as page up and page down.)

3: Add these lines to your X startup script:
xmodmap -e "pointer = 1 2 3 7 6 4 5"
imwheel -p -b "67"

Let me know if you need more help...
Cheers,
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
  #5  
Old 28th June 2004, 05:41 AM
Harryc's Avatar
Harryc Offline
Registered User
 
Join Date: Jun 2004
Posts: 715
golboa, thanks for the reply. Which version of IMWheel did you install...the latest is 1.0.0pre11 and where is the 'x startup script' ?
Reply With Quote
  #6  
Old 28th June 2004, 05:51 AM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
Any version above 0.9 will work. (Latest version works just nice)
As for the startup script, create a file name .xinitrc in your home directory.

Cheers,
Gilboa
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
  #7  
Old 28th June 2004, 04:00 PM
Harryc's Avatar
Harryc Offline
Registered User
 
Join Date: Jun 2004
Posts: 715
gilboa,
I followed your howto and the MX700 still does not work, in fact I lost the wheel. Here is what I did..any ideas? By the way, your MX500 is working in Fedora Core 2 final?

Here's my xorg.conf

# ************************************************** ********************
# Core Pointer's InputDevice section
# ************************************************** ********************

Section "InputDevice"

Identifier "mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "no"
Option "SendCoreEvents" "yes"
Option "Resolution" "800"
Option "SampleRate" "800"


# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

EndSection
================================================== =======

I added a file called .xinitrc in my home/harryc directory - here it is; (you mentioned in my 'home' directory. Did you mean my home/user directory?)

xmodmap -e "pointer = 1 2 3 7 6 4 5"
imwheel -p -b "67"
================================================== =======

I installed imwheel in init 3 - the make complained as follows;

configure: WARNING: You are not using XFree86, IMWheel may still work
configure: WARNING: provided your Xserver has the XTest extension built
configure: WARNING: and you choose you mouse drivers and method of wheel
configure: WARNING: input wisely. Other servers may not support the wheel.
configure: WARNING: In that case you should use the gpm or jam method of
configure: WARNING: input for wheel data to imwheel.
checking for XCreateWindow in -lX11... no
configure: error: IMWheel depends on the X11 libraries!

hmmm.....
================================================== ========

Evidently imwheel does not start on it's own, I had to start it as root...still no good.

================================================== ========
I edited the /etc/X11/imwheel/imwheelrc: I just added your entry to the end of it...is this right? It is a rather long file by default...did you erase the contents then just enter the below?

".*"
None, Up, Page_Down
None, Down, Page_Up
Reply With Quote
  #8  
Old 28th June 2004, 07:39 PM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
Weird... this was taken of a working FC2/MX500 configuration.
Try replacing "/dev/input/mice" with "/dev/input/mice"

BTW, I hope this isn't your full xorg.conf but the input device part of it, right?

As for the imwheelrc, delete most of the file and add these lines; the added lines will enable you to map the mouse thumb buttons differently for each application.

Oh... check that the imwheel is running by running ps -AH | grep imwheel

Cheers,
Gilboa
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.

Last edited by gilboa; 28th June 2004 at 07:42 PM.
Reply With Quote
  #9  
Old 29th June 2004, 02:52 AM
Harryc's Avatar
Harryc Offline
Registered User
 
Join Date: Jun 2004
Posts: 715
Quote:
Try replacing "/dev/input/mice" with "/dev/input/mice"
Same thing no?

That was not my full xorg.conf , just the mouse section. I can post it elsewhere if you'd think it would help to see it. It's too big to fit here.

Quote:
As for the imwheelrc, delete most of the file and add these lines; the added lines will enable you to map the mouse thumb buttons differently for each application.
Ok, I deleted most of the file, here it is -

# IMWheel Configuration file ($HOME/.imwheelrc or /etc/imwheelrc)
# (GPL)Jon Atkins <jcatki@jonatkins.org>
# Please read the README and/or imwheel(1) manpage for info
# and this is best operated on using vim (as I said: It's crunchy)

#
# This is only for demonstration of the priority command...
# See the other global Exclude command below for the one you want to use!
# If this is activated it will only apps that have a lower priority
# priority is based first on the priority command, then the position in this
# file - the higher the line is in a file the higher in a priority class it is
# thus for a default priority you can see that the position in the file is
# important, but the priority command CAN appear anywahere in a window's list
# of translations, and the priority will be assigned to all translations below
# it until either a new window is defined or the priority is set again.
#
#".*"
#@Priority=-1000 #the default priority is zero, higher numbers take precedence
#@Exclude
#@Repeat

# want it to type something?
# this would type "Rofl" and press Return in any window
#".*"
#,Up,Shift_L|R|-R|-Shift_L|O|-O|F|-F|L|-L|Return



# This one rule can send button events, as if you used ZAxisMapping "4 5"
# Make sure your XF86Config allows for the max buttons needed...
# otherwise the events will NOT even be generated...
#".*"
#, Up, Button4
#, Down, Button5
#, Left, Button6
#, Right, Button7
#, Thumb1, Button6
#, Thumb2, Button7
# alternatively with Button numbers
#".*"
#, Button4, Button4
#, Button5, Button5
#, Button6, Button6
#, Button7, Button7
#, Button6, Button6
#, Button7, Button7
".*"
None, Up, Page_Down
None, Down, Page_Up
#
# Uncommment the following to exclude by default.
# Then you will have to add new apps all the time, but will retain any built-in
# wheel functionality contained in some KDE and other newer programs.
# This kinda defeats the original purpose of the program!
#
#".*"
#@Priority=-1000
#@Exclude
#@Repeat

#
# These are the defaults, but note that the defaults for the right side of the
# keyboard are still handled within the program, unless you add the
# combinations desired here. (except for the None modifier of course!)
# If this section is deleted then the hardcoded defaults will be used, which
# are the same thing.
# Modifying these has global effects, but doesn't override what is above.
#
#".*"
#@Priority=-1001
#, Up, Button4
#, Down, Button5
#None, Left, Left
#None, Right, Right
#None, Up, Page_Up
#None, Down, Page_Down
#Shift_L, Left, Left
#Shift_L, Right, Right
#Shift_L, Up, Up
#Shift_L, Down, Down
# Control_L, Left, Left, 2
# Control_L, Right, Right, 2
# Control_L, Up, Page_Up, 2
# Control_L, Down, Page_Down, 2
#Shift_L|Control_L, Left, Left, 5
#Shift_L|Control_L, Right, Right, 5
#Shift_L|Control_L, Up, Page_Up, 5
#Shift_L|Control_L, Down, Page_Down, 5
# Alt_L, Left, Left, 10
# Alt_L, Right, Right, 10
# Alt_L, Up, Left, 10
# Alt_L, Down, Right, 10
#Shift_L| Alt_L, Left, Left
#Shift_L| Alt_L, Right, Right
#Shift_L| Alt_L, Up, Left
#Shift_L| Alt_L, Down, Right
# Control_L|Alt_L, Left, Left. 20
# Control_L|Alt_L, Right, Right. 20
# Control_L|Alt_L, Up, Left. 20
# Control_L|Alt_L, Down, Right. 20
#Shift_L|Control_L|Alt_L, Left, Left, 50
#Shift_L|Control_L|Alt_L, Right, Right, 50
#Shift_L|Control_L|Alt_L, Up, Left, 50
#Shift_L|Control_L|Alt_L, Down, Right, 50
#, Thumb1, Home
#, Thumb2, End

# vim:ts=4:shiftwidth=4:syntax=sh

================================================== ========
Quote:
Oh... check that the imwheel is running by running ps -AH | grep imwheel
Ah...this is part of the problem, it is not running, which tells me that /home/harryc/.xinitrc is not being loaded on start of X...could this be a permissions problem? How to fix? Thanks again!
Reply With Quote
  #10  
Old 29th June 2004, 03:50 AM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
Try running it by hand: xterm -> imwheelrc
BTW, after the make, did you remember to do make install (as root?)

Cheers,
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
  #11  
Old 29th June 2004, 05:40 AM
Harryc's Avatar
Harryc Offline
Registered User
 
Join Date: Jun 2004
Posts: 715
Attempt to run imwheelrc

[root@localhost /]# cd etc/X11/imwheel
[root@localhost imwheel]# ./imwheelrc
-bash: ./imwheelrc: Permission Denied

Attempt to run .xinitrc -

[root@localhost harryc]# ./.xinitrc
-bash: ./.xinitrc: Permission denied


...and yes I did the make install.
Reply With Quote
  #12  
Old 29th June 2004, 06:29 AM
Harryc's Avatar
Harryc Offline
Registered User
 
Join Date: Jun 2004
Posts: 715
By the way, if I run

xmodmap -e "pointer = 1 2 3 7 6 4 5"
imwheel -p -b "67"

from xterm, it works.

Last edited by Harryc; 29th June 2004 at 09:57 AM.
Reply With Quote
  #13  
Old 23rd July 2004, 12:43 AM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
Sorry for the late replay.
Rename the file to .Xdefaults

Hope it helps,
Gilboa
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
  #14  
Old 23rd July 2004, 06:30 AM
Harryc's Avatar
Harryc Offline
Registered User
 
Join Date: Jun 2004
Posts: 715
Quote:
Originally Posted by gilboa
Sorry for the late replay.
Rename the file to .Xdefaults

Hope it helps,
Gilboa
Sorry I have been away from this problem for a bit. Which file should I rename?
Reply With Quote
  #15  
Old 23rd July 2004, 06:54 AM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
the .xinitrc
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
Reply

Tags
fc2, final, mouse, mx700

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
mouse hangs in fc2 final shan Hardware & Laptops 2 8th October 2004 02:07 PM


Current GMT-time: 06:16 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat