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 April 11th, 2005   #1
benplaut
100% Pure Ubuntu
 
benplaut's Avatar
 
Join Date: Apr 2005
Location: Not-So-Sunny Hawaii
My beans are hidden!
Send a message via AIM to benplaut Send a message via MSN to benplaut Send a message via Yahoo to benplaut Send a message via Skype™ to benplaut
Question Middle Button Scroll

the title says it all (mostly)...

i have a Thinkpad T40, and want to be able to use the middle trackpoint button as a scroll button. any suggestions?
benplaut is offline  
Old April 11th, 2005   #2
Pierre T
First Cup of Ubuntu
 
Join Date: Apr 2005
Beans: 1
Re: Middle Button Scroll

I have a thinkpad t41p with middle trackpoint button as a scroll button. I have patch my kernel (2.6.11.7) to do this. This patch work perfectly (http://people.clarkson.edu/~evanchsa...1-rc3.patch-1).

$ cp trackpoint-2.6.11-rc3.patch-1 /usr/src/linux/
$ cd /usr/src/linux/
$ patch -p1 <trackpoint-2.6.11-rc3.patch-1

... and rebuild the kernel
Pierre T is offline  
Old April 11th, 2005   #3
jmcvey
5 Cups of Ubuntu
 
Join Date: Apr 2005
Beans: 15
Re: Middle Button Scroll

I have a R50p (1832-22U) and had the same issue. I saw a posting somewhere (can't remember the link at the moment), but basically you needed to add the last two lines under the mouse section of the xorg.conf file. Here's the snippet of that file that I run. Once you do that and restart X the middle scroll works fine and no kernel patching is needed.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
Option "EmulateWheel" "true" <== add this line
Option "EmulateWheelButton" "2" <== add this line
EndSection

Jer
jmcvey is offline  
Old April 12th, 2005   #4
benplaut
100% Pure Ubuntu
 
benplaut's Avatar
 
Join Date: Apr 2005
Location: Not-So-Sunny Hawaii
My beans are hidden!
Send a message via AIM to benplaut Send a message via MSN to benplaut Send a message via Yahoo to benplaut Send a message via Skype™ to benplaut
Cool Re: Middle Button Scroll

Quote:
Originally Posted by jmcvey
I have a R50p (1832-22U) and had the same issue. I saw a posting somewhere (can't remember the link at the moment), but basically you needed to add the last two lines under the mouse section of the xorg.conf file. Here's the snippet of that file that I run. Once you do that and restart X the middle scroll works fine and no kernel patching is needed.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
Option "EmulateWheel" "true" <== add this line
Option "EmulateWheelButton" "2" <== add this line
EndSection

Jer
thanks! works like a charm
benplaut is offline  
Old April 26th, 2005   #5
ernestoongaro
5 Cups of Ubuntu
 
ernestoongaro's Avatar
 
Join Date: Nov 2004
Location: TeXas
Beans: 14
Send a message via AIM to ernestoongaro Send a message via MSN to ernestoongaro
Re: Middle Button Scroll

Works really good for me too on a Thinkpad 600x - Thanks for the post, probably would of tried to recompile kernel : ( if u had not!
ernestoongaro is offline  
Old July 9th, 2005   #6
bpilgrim1979
Just Give Me the Beans!
 
Join Date: Mar 2005
Beans: 49
Exclamation Re: Middle Button Scroll

This worked for me too, although I don't see the pretty scroll cursor icon that I do in Windows. It stays an arrow.

HOWEVER, the xorg.conf file says the following

Code:
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

Be VERY careful if you follow this advice. I did and I was taken through Linux hardware configuration nightmare. This is exactly what I want to avoid with Ubuntu.

I accepted all the defaults and then finally just copied the original xorg.conf file back (plus the two additional lines) and rebooted. I got some conflict message and a backed up xorg.conf and just restored my own backup. I think everything's the same.

Don't run dpkg-reconfigure xserver-xorg unless you really know what you're doing!!!
bpilgrim1979 is offline  
Old July 22nd, 2005   #7
shizow
Gee! These Aren't Roasted!
 
Join Date: Jun 2005
Beans: 167
Kubuntu 9.10 Karmic Koala
Re: Middle Button Scroll

Quote:
Originally Posted by jmcvey
I have a R50p (1832-22U) and had the same issue. I saw a posting somewhere (can't remember the link at the moment), but basically you needed to add the last two lines under the mouse section of the xorg.conf file. Here's the snippet of that file that I run. Once you do that and restart X the middle scroll works fine and no kernel patching is needed.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
Option "EmulateWheel" "true" <== add this line
Option "EmulateWheelButton" "2" <== add this line
EndSection

Jer

this works but then the middle button is not working as PASTE anymore
any suggestions
shizow is offline  
Old August 12th, 2005   #8
mlambie
5 Cups of Ubuntu
 
Join Date: Mar 2005
Beans: 18
Re: Middle Button Scroll

The paste functionality has been removed for me also, and whilst I love scrolling, I can't live without paste. Can they both play together?
mlambie is offline  
Old August 14th, 2005   #9
transactionlogfiller
A Carafe of Ubuntu
 
Join Date: Aug 2005
Beans: 88
Ubuntu 8.04 Hardy Heron
Re: Middle Button Scroll

It seems you can get the middle button paste effect by pressing buttons 1 and 3 simultaneously.

I'm still looking into making the middle button click and scroll.
transactionlogfiller is offline  
Old August 25th, 2005   #10
shizow
Gee! These Aren't Roasted!
 
Join Date: Jun 2005
Beans: 167
Kubuntu 9.10 Karmic Koala
Re: Middle Button Scroll

Quote:
Originally Posted by jmcvey
I have a R50p (1832-22U) and had the same issue. I saw a posting somewhere (can't remember the link at the moment), but basically you needed to add the last two lines under the mouse section of the xorg.conf file. Here's the snippet of that file that I run. Once you do that and restart X the middle scroll works fine and no kernel patching is needed.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
Option "EmulateWheel" "true" <== add this line
Option "EmulateWheelButton" "2" <== add this line
EndSection

Jer

if you do this you get the scrolling, but the same time the paste functionality is removed!!
shizow 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 10:02 PM.


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