LinuxQuestions.org
Review your favorite Linux distribution.
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 07-16-2006, 12:48 AM   #1
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Rep: Reputation: 16
tilt of clickwheel hassles: deviates from website


Going on this webpage, here:

http://katze-mit-wut.azundris.com/ar...and-x.org.html

I follow his instructions as best I can, and here is what I did:

I changed my xorg.conf mouse section to this:

Section "InputDevice"
Identifier "Mouse[1]"
Driver "evdev"
Option "Buttons" "11"
Option "ZAxisMapping" "6 7 5 4"
Option "Device" "/dev/input/event2"
Option "Dev Name" "Microsoft Microsoft Wireless Optical Mouse 1.0A"
Option "Dev Phys" "usb-0000:00:10.4-4.4/input0"
Option "Emulate3Buttons" "no"
EndSection

Then I put this in my xinitrc in /etc/X11/xinit:

imwheel -k -b "8967"

Then, in imwheelrc in my home directory, I addded these lines to the latest stable version of imwheel that I configured and installed:

"screen"
Control_L, Button5, Control_L|a|n
Control_L, Button4, Control_L|a|p
None, Left, Control_L|a|n
None, Right, Control_L|a|p

I *didn't* add these lines he instructed his readers to do, because I thought that it had to do with making the forward and back buttons 4 and 5 NOT work as forward and back, but as button 2, which I didn't want:

".*"
None, Button5, Button2
None, Button4, Button2
Control_L, Button5, Alt_L|Left
Control_L, Button4, Alt_L|Right
Shift_L, Button5, Button1|Home
Shift_L, Button4, Button1|End

Guys, do you think that I should have used some of those lines, say the bottom four?

Then I added the following lines to ~/.xemacs/init.el

;; mouse-wheel: scroll
(global-set-key 'button4 'scroll-down-command)
(global-set-key 'button5 'scroll-up-command)

;; tilt-wheel: go to previous/next buffer
;; ERC (emacs Internet Relay Chat) users may prefer binding
;; erc-track-switch-buffer
(global-set-key 'button6 'switch-to-previous-buffer)
(global-set-key 'button7 'switch-to-next-buffer)

at the end

then, finally, I added this to the end of imwheelrc:

"[Gg]aleon(-bin)?"
None, Left, Control_L|Page_Up
None, Right, Control_L|Page_Down

Plus I went into firefox and about:config and changed the mousewheel.horizscroll setting, only the
mousewheel.horizscroll.withcontrolkey.sysnumlines to true

Now, after doing those things, I can scroll but when I click the forward and back buttons (4 and 5 thumb buttons) it scolls up or down by a few lines with each depress, instead of going forward and back, and using the tilt function of the mousewheel makes Firefox go back and forward webpages I have browsed.

Can anyone suggest anything, I think I am getting closer here, but I am a bit confused, he talks about how:

So our thumb-buttons (8,9) are (4,5) inside imwheel

And,

Since 8,9 in X are 4,5 inside of imwheel, they're 6,7 inside of xemacs. Sure, we could make a special case for xemacs in ~/.imwheelrc, but just for practice, here goes (~/.xemacs/init.el snippet):

So I am under the impression that the different programs see the mouse buttons as being different numbers, and what I think is worse is that with SuSE 10.1 things got mixed up more, because I have to have my mouse.sh files in /home/bucky/.kde/Autostart reading as this:

xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7 10 11"

I am wondering if I should eliminate mouse.sh by temporarily renaming it and moving it to a non Autostart directory, and if I should add the lines ( in imwheelrc):

".*"
None, Button5, Button2 [NOT use this line]
None, Button4, Button2 [Not use this line]
Control_L, Button5, Alt_L|Left
Control_L, Button4, Alt_L|Right
Shift_L, Button5, Button1|Home
Shift_L, Button4, Button1|End

So I am going to try those things and then see what happens, if anyone has any ideas or knows of how I can figure out which mouse button is which for these programs, HELP, please!

What is happening now is that my thumb buttons do nothing, the scroll wheel scrolls normally, but the tilt of the scroll wheel moves me forward or backward to webpages I have browsed, so evidently, the tilt wheel is doing what the thumb buttons are supposed to do. I have been trying different things to no avail. Can someone talk me through this somehow, or give me ideas.

I ran xev, and my mouse, the first button is the left mouse button normal, the middle (tilt wheel) button is normal as button 2, and the right button is normal as button 3. xev shows the scroll part of the scroll wheel to be 4 and 5 for up and down, and the tilt part of the wheel as 6 and 7. xev shows the thumb buttons to be 8 and 9.

I tried putting 9 in the place of 5 and 8 in the place of 4 in the above and that changed nothing, which surprises the heck out of me. Can someone help me here, please?
 
Old 07-16-2006, 04:41 PM   #2
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
Can someone help with tilt wheel?

I should have posted here, but I posted in the SuSE forum and, of all of the forums I am posting in, I am not getting a response from folks so far and I am praying someone can help me through this. This is where my thread is in the SuSE section:

<merged link>

What I am trying to do is get the tilt of the tilt wheel working for side to side scrolling on an Microsft Wireless Intellimouse Explorer 2.0 mouse with 5 buttons and tilt wheel. Can anyone help, please?

Last edited by jtshaw; 07-17-2006 at 12:31 AM.
 
Old 07-16-2006, 05:45 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
What does your xorg.conf or XF86Config look like as a whole?

Did you run xev? If you did what keycodes does it show?

Did you try to use other mouse protocols besides what is being use now?

IMHO, it is better to have two seperate wheels instead of one wheel selecting from vertical to horziontal scrolling.
 
Old 07-16-2006, 06:20 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I posted in the SuSE forum and, of all of the forums I am posting in, I am not getting a response from folks so far
You posted that thread less than 24 hrs ago. Not all threads will be dealt with within that timeframe so please exercise patience instead of advertising your thread in another forum: that borders on crossposting. If you want to get attention for a thread please bump it instead by adding information or editing the post. If you want the thread moved: report it asking a moderator to move it.
 
Old 07-16-2006, 10:20 PM   #5
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
Will do, sorry for the cross post, I didn't realize there was a hardware forum.

Here is my xorg.conf, in entirety:

~~~

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Mon May 15 14:17:32 PDT 2006

# /.../
# SaX generated X11 config file
# Created on: 2006-06-29T00:18:59-0500.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (7.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "ServerLayout"
Identifier "Layout[all]"
Screen "Screen[0]" 0 0
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
EndSection

Section "Files"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "extmod"
Load "glx"
Load "v4l"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard[0]"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Identifier "Mouse[1]"
Driver "evdev"
Option "Resolution" "800"
Option "Buttons" "11"
Option "ZAxisMapping" "4 5 6 7"
Option "Device" "/dev/input/event2"
Option "Dev Name" "Microsoft Microsoft Wireless Optical Mouse 1.0A"
Option "Dev Phys" "usb-0000:00:10.4-4.4/input0"
Option "Emulate3Buttons" "no"
EndSection

Section "Modes"
Identifier "Modes[0]"
ModeLine "1600x1200" 211.7 1600 1720 1896 2192 1200 1201 1204 1254
ModeLine "1600x1200" 208.7 1600 1720 1896 2192 1200 1201 1204 1253
ModeLine "1600x1200" 206.0 1600 1720 1896 2192 1200 1201 1204 1253
ModeLine "1600x1024" 212.7 1600 1720 1896 2192 1024 1025 1028 1078
ModeLine "1600x1024" 210.3 1600 1720 1896 2192 1024 1025 1028 1078
ModeLine "1600x1024" 207.8 1600 1720 1896 2192 1024 1025 1028 1077
ModeLine "1600x1000" 212.6 1600 1720 1896 2192 1000 1001 1004 1054
ModeLine "1600x1000" 210.2 1600 1720 1896 2192 1000 1001 1004 1054
ModeLine "1600x1000" 207.7 1600 1720 1896 2192 1000 1001 1004 1053
ModeLine "1400x1050" 185.8 1400 1504 1656 1912 1050 1051 1054 1104
ModeLine "1400x1050" 183.6 1400 1504 1656 1912 1050 1051 1054 1104
ModeLine "1400x1050" 181.4 1400 1504 1656 1912 1050 1051 1054 1103
ModeLine "1280x1024" 169.2 1280 1376 1512 1744 1024 1025 1028 1078
ModeLine "1280x1024" 167.3 1280 1376 1512 1744 1024 1025 1028 1078
ModeLine "1280x1024" 165.3 1280 1376 1512 1744 1024 1025 1028 1077
ModeLine "1440x900" 191.7 1440 1544 1704 1968 900 901 904 955
ModeLine "1440x900" 189.6 1440 1544 1704 1968 900 901 904 954
ModeLine "1440x900" 187.6 1440 1544 1704 1968 900 901 904 953
ModeLine "1280x960" 169.9 1280 1376 1512 1744 960 961 964 1015
ModeLine "1280x960" 168.0 1280 1376 1512 1744 960 961 964 1014
ModeLine "1280x960" 166.1 1280 1376 1512 1744 960 961 964 1013
ModeLine "1366x768" 180.8 1368 1464 1616 1864 768 769 772 822
ModeLine "1366x768" 179.3 1368 1464 1616 1864 768 769 772 822
ModeLine "1366x768" 177.5 1368 1464 1616 1864 768 769 772 821
ModeLine "1280x800" 170.0 1280 1376 1512 1744 800 801 804 855
ModeLine "1280x800" 168.3 1280 1376 1512 1744 800 801 804 854
ModeLine "1280x800" 166.8 1280 1376 1512 1744 800 801 804 854
ModeLine "1152x864" 154.3 1152 1240 1368 1584 864 865 868 919
ModeLine "1152x864" 151.1 1152 1232 1360 1568 864 865 868 918
ModeLine "1152x864" 149.5 1152 1232 1360 1568 864 865 868 917
ModeLine "1280x768" 169.2 1280 1376 1512 1744 768 769 772 822
ModeLine "1280x768" 167.7 1280 1376 1512 1744 768 769 772 822
ModeLine "1280x768" 166.1 1280 1376 1512 1744 768 769 772 821
ModeLine "1024x768" 136.6 1024 1104 1216 1408 768 769 772 822
ModeLine "1024x768" 135.4 1024 1104 1216 1408 768 769 772 822
ModeLine "1024x768" 132.6 1024 1096 1208 1392 768 769 772 821
ModeLine "1280x600" 156.4 1280 1376 1512 1744 600 601 604 650
ModeLine "1280x600" 155.3 1280 1376 1512 1744 600 601 604 650
ModeLine "1280x600" 154.2 1280 1376 1512 1744 600 601 604 650
ModeLine "1024x600" 124.9 1024 1096 1208 1392 600 601 604 650
ModeLine "1024x600" 124.0 1024 1096 1208 1392 600 601 604 650
ModeLine "1024x600" 123.0 1024 1096 1208 1392 600 601 604 650
ModeLine "800x600" 97.6 800 856 944 1088 600 601 604 650
ModeLine "800x600" 96.9 800 856 944 1088 600 601 604 650
ModeLine "800x600" 96.2 800 856 944 1088 600 601 604 650
ModeLine "768x576" 89.6 768 824 904 1040 576 577 580 624
ModeLine "768x576" 88.9 768 824 904 1040 576 577 580 624
ModeLine "768x576" 88.3 768 824 904 1040 576 577 580 624
ModeLine "640x480" 62.1 640 680 752 864 480 481 484 521
ModeLine "640x480" 61.5 640 680 752 864 480 481 484 520
ModeLine "640x480" 61.1 640 680 752 864 480 481 484 520
EndSection

Section "Monitor"
Identifier "Monitor[0]"
VendorName "VSC"
ModelName "VIEWSONIC A95F"
UseModes "Modes[0]"
DisplaySize 350 270
HorizSync 30.0 - 97.0
VertRefresh 43.0 - 180.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device[0]"
Driver "nvidia"
VendorName "NVidia"
BoardName "GeForce 6800 GT"
EndSection

Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
EndSection

~~~

Running xev gives me:

Scroll up and down: button 4 and 5.
Tilt side to side: Button 6 and 7.
Thumb buttons: Button 8 and 9.

Electro: Please explain the two separate wheel thing. I don't understand.
 
Old 07-17-2006, 12:31 AM   #6
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I've merged your posts together and removed the link to the merged in post.
 
Old 07-17-2006, 10:47 AM   #7
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
Thank you, jtshaw. I still have had no luck. I sure hope someone somewhere has some ideas.
 
  


Reply


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
PS2 wheel mouse/wheel not working jayhel Linux - Hardware 2 06-18-2006 06:54 PM
Tilt mouse function. kponenation Slackware 4 01-05-2006 05:50 PM
Mouse with Tilt Wheel robe Linux - Hardware 22 12-21-2005 02:46 PM
4d wheel mouse - scroll wheel no worky CamelofCamelot Linux - Hardware 1 10-28-2004 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration