LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-26-2005, 04:40 PM   #1
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Rep: Reputation: 15
middle button doesn't work


I have an IBM thinkpad r50p. I have a trackpoint pointing device(the little red button). with the red button there are three buttons, like on a normal 3-button-mouse. but the middle button doesn't work. I have set in the mouse configuration my mouse to a generic 3 button mouse (PS/2).
I also tried other types of mouses but none worked. The "emulate 3 button click" is switched of.
Does anybody have a suggestion?

I use redhat9 with gnome
 
Old 05-26-2005, 05:45 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
post your xf86config or xorg.conf file
 
Old 05-27-2005, 02:43 AM   #3
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
I have no xorg.conf file and nothing similar.
I neither have a xf86config file, but I found a xf86conf.vim file.
here as some lines which are related with the mouse(or do you want the hole document)
Quote:
" Options
if b:xf86conf_xfree86_version >= 4
command -nargs=+ Xf86confdeclopt syn keyword xf86confOptionName <args> contained
else
command -nargs=+ Xf86confdeclopt syn keyword xf86confOptionName <args> contained nextgroup=xf86confValue,xf86confComment skipwhite
endif

Xf86confdeclopt 18bitBus Accel AllowMouseOpenFail AllowNonLocalModInDev AllowNonLocalXvidtune
Xf86confdeclopt AlwaysCore AutoRepeat BaudRate BeamTimeout Beep BlankTime BlockWrite
Xf86confdeclopt ButtonNumber Buttons ButtonThreshold CacheLines ChordMiddle ClearDTR
Xf86confdeclopt ClearDTS ClickMode ColorKey Composite CompositeSync CoreKeyboard CorePointer
Xf86confdeclopt CrtScreen CyberShadow Dac6Bit DacSpeed DataBits DDC Debug DeltaX DeltaY
Xf86confdeclopt Device DeviceName DisableModInDev DisableVidModeExtension DontZap DontZoom DoubleScan
Xf86confdeclopt DozeMode DozeScan DozeTime DPMS DualCount EarlyRasPrecharge Emulate3Buttons
Xf86confdeclopt Emulate3Timeout EnterCount EstimateSizesAggressively ExternDisp FastDram
Xf86confdeclopt FifoAggresive FifoConservative FifoModerate FireGL3000 FixPanelSize FlipXY
Xf86confdeclopt FlowControl FPClock16 FPClock24 FPClock32 FPClock8 FpmVRAM FrameBufferWC
Xf86confdeclopt HistorySize HWClocks HWCursor Interlace InternDisp LateRasPrecharge LcdCenter
Xf86confdeclopt LCDClock Linear MaxX MaxY MGASDRAM MinX MinY MMIO MMIOCache MTTR NoAccel
Xf86confdeclopt NoAllowMouseOpenFail NoAllowNonLocalModInDev NoAllowNonLocalXvidtune
Xf86confdeclopt NoBlockWrite NoCompositeSync NoCrtScreen NoCyberShadow NoDac6Bit NoDDC
Xf86confdeclopt NoDebug NoDisableModInDev NoDisableVidModeExtension NoDontZap NoDontZoom
Xf86confdeclopt NoFireGL3000 NoFixPanelSize NoFpmVRAM NoFrameBufferWC NoHWClocks NoHWCursor
Xf86confdeclopt NoLcdCenter NoLinear NoMGASDRAM NoMMIO NoMMIOCache NoOverClockMem NoOverlay
Xf86confdeclopt NoPC98 NoPciBurst NoPciRetry NoPM NoProbeClock NoShadowFb NoShowCache
Xf86confdeclopt NoSlowEDODRAM NoSTN NoStretch NoSuspendHack NoSWCursor NoTexturedVideo
Xf86confdeclopt NoTrapSignals NoUseFBDev NoUseModeline NoUseVclk1 NoVTSysReq NvAGP OffTime
Xf86confdeclopt Origin OverClockMem Overlay Parity PC98 PciBurst PCIBurst PciRetry Pixmap PM
Xf86confdeclopt PressDur PressPitch PressVol ProbeClocks Protocol PWMActive PWMSleep ReleaseDur
Xf86confdeclopt ReleasePitch ReportingMode Resolution RGBBits Rotate SampleRate ScreenNumber
Xf86confdeclopt SendCoreEvents SendDragEvents SetLcdClk SetMClk SetRefClk ShadowFb ShowCache
Xf86confdeclopt SleepMode SleepScan SleepTime SlowDram SlowEDODRAM StandbyTime STN StopBits
Xf86confdeclopt Stretch SuspendHack SuspendTime SWCursor SyncOnGreen TexturedVideo Tilt TouchTime
Xf86confdeclopt TopX TopY BottomX BottomY KeepShape Port DebugLevel Serial Threshold
Xf86confdeclopt TrapSignals USB UseBIOS UseFBDev UseModeline UseVclk1 VideoKey Vmin VTime VTInit
Xf86confdeclopt VTSysReq XaaNoScanlineCPUToScreenColorExpandFill XaaNoScanlineImageWriteRect
Xf86confdeclopt XkbCompat XkbDisable XkbGeometry XkbKeycodes XkbLayout XkbModel XkbOptions
Xf86confdeclopt XkbKeymap XkbRules XkbSymbols XkbTypes XkbVariant XLeds ZAxisMapping
Xf86confdeclopt LeftAlt RightAlt RightCtl ScrollLock ServerNumLock

delcommand Xf86confdeclopt
I am new with linux, so I don't know what to do with these files, and how I can get the xorg.conf file
 
Old 05-27-2005, 10:36 AM   #4
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
if you didn't have one of those 2 files your computer would only work in text mode (no X) try looking in /etc/X11/
 
Old 05-29-2005, 03:07 PM   #5
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
Here is the XF86Config file. I didn't find it, because I wrote everything with small letters
Quote:
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr_CH"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "IBM 9513 T55A TFT Monitor"
HorizSync 30.0 - 61.0
VertRefresh 56.0 - 75.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "vesa"
VendorName "Videocard vendor"
BoardName "VESA driver (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 05-29-2005, 03:53 PM   #6
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Option "Emulate3Buttons" "no"

This is part of your config file. Shouldn't it be a 'yes' in there instead of a 'no' ?
You could begin by editing it and replace the "no" by a "true" ?

Option "Emulate3Buttons" "true"

here is the relevant part of mine. I am giving
you mine in Debian, though. No warranty it should work for you.

cheers
 
Old 05-29-2005, 04:02 PM   #7
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
I thought that the emulate3buttons option, is there when you have a 2button mouse, and then you can push the 2buttons simulately to replace the third button?
 
Old 05-30-2005, 12:23 AM   #8
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
Unhappy

Replacing this Option with "Emulate3Buttons" "true" doensn't help.
 
Old 06-01-2005, 03:35 PM   #9
laurentwahl
Member
 
Registered: Nov 2004
Distribution: Fedora Core 4
Posts: 141

Original Poster
Rep: Reputation: 15
When I add:
Quote:
Option "Emulate3Buttons" "true"
now when I push the left and right button simultaneously I receive the effect of the middle button, but my middle button doesn't work.
with Option "Emulate3Buttons" "no", it doesn't work too. what can I do?
 
  


Reply



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
middle button Starch Linux - Newbie 5 06-29-2005 09:39 PM
FC3: Middle mouse button wont work TheJkWhoSaysNi Linux - Hardware 4 03-12-2005 04:30 PM
remap middle mouse button in x dr_mandarin Linux - Software 3 12-04-2004 04:22 PM
middle mouse button FLOODS Linux - Hardware 5 07-18-2004 05:54 AM
middle mouse button is paste.. but what if i dont have a mid mouse button? kublador Linux - Newbie 4 09-02-2003 08:59 AM

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

All times are GMT -5. The time now is 09:33 AM.

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