LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-01-2004, 03:27 PM   #1
fastly
LQ Newbie
 
Registered: Mar 2004
Posts: 17

Rep: Reputation: 0
XF86 Configuration Mouse and Monitor issues..


Hi Guys...

Wondering is anyone knows the answer to this curious problem:

I have a Sony Vaio Z1 and all is working fine now with Gentoo 2004.0 and Kernel 2.6.5 (except hibernate but i'll leave that to another post ;-) )...

1) If I boot to KDE without my mouse plugged in (Logitech Cordless Mouseman Optical USB) I can use my touchpad... when I then put my mouse in it works straight away and so does the touchpad... However... if I boot with the mouse in the touchpad won't work.. even if I remove the mouse.

2) When I plug in another screen it defaults to this ridiculously large 1400x1050 resolution. How do I set this to less (i.e. 1280 x 1024).

Any suggestions are much appreciated..

Thanks

Alex


XF86Config
=====================

Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "speedo"
# Load "freetype"
# Load "xtt"

# This loads the GLX module
Load "glx"
# This loads the DRI module
Load "dri"
Load "record"
Load "drm"
Load "xtrap"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"

FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/share/fonts/corefonts"

# The module search path. The default path is shown here.

ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Option "NoTrapSignals"

# Option "DontVTSwitch"

# Option "DontZap"

# Option "Dont Zoom"

# Option "DisableVidModeExtension"

# Option "AllowNonLocalXvidtune"

# Option "DisableModInDev"

# Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard0"
Driver "Keyboard"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

# Option "Protocol" "Xqueue"

Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"

# 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"

# These are the default XKB settings for XFree86
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""

# Option "XkbDisable"

Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "uk"
Option "XkbVariant" ""

EndSection


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

Section "InputDevice"

# Identifier and driver

Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
#Option "Device" "/dev/psaux"

Option "Device" "/dev/mouse"

# Mouse-speed setting for PS/2 mouse.

# Option "Resolution" "256"

# 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" "off"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
# Option "ChordMiddle"

EndSection

Section "InputDevice"
Driver "synaptics"
Identifier "Mouse1"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "event"
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "BottomEdge" "1800"
Option "TopEdge" "3900"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"

EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Sony Vaio 1400x1050"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 31.5 - 90

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 59 - 75
Option "DPMS" "true"
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************


Section "Device"
Identifier "Card0"
VendorName "ATI Technologies Inc"
BoardName "Raedon Mobility M6 LY"
Driver "radeon"
VideoRam 16384
Option "DPMS" "true"
Option "AGPMode" "4"
# Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24

Subsection "Display"
Depth 8
EndSubsection
Subsection "Display"
Depth 16
EndSubsection
Subsection "Display"
Depth 24
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "XFree86 Configured"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen 0 "Screen0" 0 0

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

 
Old 05-03-2004, 04:11 AM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Quote:
1) If I boot to KDE without my mouse plugged in (Logitech Cordless Mouseman Optical USB) I can use my touchpad... when I then put my mouse in it works straight away and so does the touchpad... However... if I boot with the mouse in the touchpad won't work.. even if I remove the mouse.
Did you notice that you have two rodent-like input devices listed in your XF86Config file?

Quote:
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
#Option "Device" "/dev/psaux"

Option "Device" "/dev/mouse"
And,

Quote:
Section "InputDevice"
Driver "synaptics"
Identifier "Mouse1"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "event"
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "BottomEdge" "1800"
Option "TopEdge" "3900"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
Comment out the one that you don't want if you like, or just be sure to follow the proper plug-in routine


Quote:
2) When I plug in another screen it defaults to this ridiculously large 1400x1050 resolution. How do I set this to less (i.e. 1280 x 1024).
As for the resolution, this might be part of it

Quote:
Section "Monitor"

Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Sony Vaio 1400x1050"

Now before you take any advice from a like me, be sure to

a) Backup your XF86Config file first
b) Consider editing your inittab file to boot to the command line first and then run "startx" from there.


John
 
Old 05-03-2004, 05:02 AM   #3
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
I was a wee bit lazy before and should have added a comment about your screen section being rather bare. This is an example of what I would expect to see (someone correct me if I'm behind in the latest in configuring Xfree)


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0

EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0

EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0

EndSubsection
EndSection


Darn indents seem to disappear... Should be 4 & 8


John
 
Old 05-08-2004, 12:37 PM   #4
Itzac
Member
 
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
It seems both your pointing devices are set to be the core pointer. To quote the XF86Config man page, "There must be exactly one core pointer."

Quote:
Section "ServerLayout"

# The Identifier line must be present
Identifier "XFree86 Configured"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen 0 "Screen0" 0 0

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

EndSection
Try setting only one as the core pointer, toggle between the two until you get the desired behaviour.
 
  


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
swithching the XF86 file to support my new monitor jason.rohde Mandriva 7 09-23-2005 10:59 PM
kernel 2.6.7 configuration issues and mouse doesn't work Lord Zoltar Slackware 12 09-10-2004 05:11 PM
Slackware 10 mouse configuration issues libranikki Slackware 3 08-07-2004 07:41 PM
xf86 mouse problems Abe_the_Man Linux - Hardware 0 10-07-2003 11:57 AM
XF86 and mouse issues - Slackware 8.0 spanky Slackware 11 05-26-2002 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:44 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