LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   laptop touchpad disable?? (http://www.linuxquestions.org/questions/slackware-14/laptop-touchpad-disable-300918/)

linuxhippy 03-12-2005 07:47 PM

laptop touchpad disable??
 
Is there a way to disable the touchpad in Slack 10 on laptop?

I'm using an external ps/2 3 button mouse all the time anyway. I didn't see anything in xorg.conf that referred to a touchpad. There's only one pointer device (a symbolic link to /dev/psaux).

There isn't an option for that in my laptop's setup.

artificialGekko 03-12-2005 11:21 PM

The touchpad seems to be referred to as "mouse" in the xorg.config as well as any regular mouse - the one on my laptop appears in the config-file like this:

Section "InputDevice"
Identifier "Alps GlidePoint PS/2"
Driver "mouse"
Option "Protocol" "GlidePointPS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
EndSection

You could perhaps try and comment out (#) those lines and see if it disables the touchpad. Eventually it'll instead crash the computer when you try to run XServer, so make sure to backup your original xorg.config and know how to revert the changes you made on console... :)

I hope this helps in any way.

artificialGekko 03-13-2005 09:37 AM

Ok, I tinkered around with it a bit more and found a way that works. Basically #ing out that device was ok with my system, when I first tried that out yesterday it'd crash my computer, but then I didn't have any other mouse set up yet so I guess it just crashed because it didn't have any pointer at all. Or whatever ;)

But now I have my xorg.config like this and it works fine, mouse complete with all buttons and scrollwheel works, touchpad not:

Code:

Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
#    InputDevice "Alps GlidePoint PS/2" "CorePointer"  ## TOUCHPAD DISABLED
    InputDevice "Mouse0" "AlwaysCore"
    InputDevice "Keyboard0" "CoreKeyboard"
EndSection
.
.
.
Section "InputDevice"      ## REGULAR MOUSE SUPPOSED TO WORK
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "dev/input/mice"
    Option "Buttons" "5"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "no"
EndSection

#Section "InputDevice"    ## TOUCHPAD #ED OUT
#    Identifier "Alps GlidePoint PS/2"
#    Driver "mouse"
#    Option "Protocol" "GlidePointPS/2"
#    Option "Device" "/dev/psaux"
#    Option "Emulate3Buttons"
#EndSection


dennisk 03-13-2005 02:46 PM

You can
Code:

startx
with different config files see the startx man page for details, so you can have one configuration that uses your external mouse and another that uses the touchpad. Nice way to test custom configs as well.

Dennisk

linuxhippy 03-13-2005 08:01 PM

artificialGekko, I cut & pasted your part of xorg.conf but got errors. I commented out lines to get my X session to work so I could get on the net. Touchpad and ps2 mouse still both work. Here's my input section of xorg.conf so you know that nothing will conflict:

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

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

Section "InputDevice"

Identifier "Keyboard1"
Driver "Keyboard"


EndSection


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

# Section "InputDevice"

Section "ServerLayout"
Identifier "X.org Configured"
Screen 1 "Screen1" 0 0
# InputDevice "Alps GlidePoint PS/2" "CorePointer" ## TOUCHPAD DISABLED
InputDevice "Mouse0" "AlwaysCore"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "InputDevice" ## REGULAR MOUSE SUPPOSED TO WORK
Identifier "Mouse0"
Driver "/dev/mouse"
Option "Protocol" "IMPS/2"
# Option "Device" "dev/input/mice"
# Option "Buttons" "5"
# Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

#Section "InputDevice" ## TOUCHPAD #ED OUT
# Identifier "Alps GlidePoint PS/2"
# Driver "mouse"
# Option "Protocol" "GlidePointPS/2"
# Option "Device" "/dev/psaux"
# Option "Emulate3Buttons"
#EndSection

# Protocol "PS/2"
# Device "/dev/psaux"
# Emulate3Buttons
# Emulate3Timeout 100
# EndSection


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

# Any number of monitor sections may be present

Section "Monitor"

Identifier "My Monitor"

HorizSync 31.5 - 50.0

VertRefresh 40-90

EndSection

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


Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection

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

Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"


Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection

EndSection

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


Section "ServerLayout"


Screen "Screen 1"

# InputDevice "Mouse1" "CorePointer"
# InputDevice "Keyboard1" "CoreKeyboard"

EndSection



All times are GMT -5. The time now is 07:13 PM.