LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-04-2003, 04:22 PM   #1
bfkeats
Member
 
Registered: Feb 2002
Posts: 38

Rep: Reputation: 15
switch from 3-button ps2 to touchpad


Is there a way to switch from the touchpad mouse to a 3-button ps2 mouse and back without having to logout every time?

Thanks,

BFK
 
Old 07-04-2003, 04:24 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
i would think that that would be just like anything else....i personally don't think that is possible, i would have to relate that to the same question as, is there anyway to put a new video card in without shutting off the computer....the answer is no obviously...i think that would stand the same for a mouse....we'll see if someone will prove this wrong but i can't see it being possible, without at least logging out..
 
Old 07-04-2003, 05:28 PM   #3
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
here is the way to do it covered in a diff. thread:http://www.linuxquestions.org/questi...threadid=63577
for usb though but should give general idea

Last edited by Brain Drop; 07-04-2003 at 06:40 PM.
 
Old 07-05-2003, 12:54 PM   #4
bfkeats
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
I used the setup from that thread, but I still need to logout before I can switch mice.
 
Old 07-05-2003, 05:59 PM   #5
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
ok, can you put your distro, laptop make/model and your xf86config file and ill see what i can figure out, you may need to end up using usb mousr or usb adapter cause sometimes ps/2 switching doesnt work since touchpads generaly use ps/2 themselves
 
Old 07-05-2003, 06:23 PM   #6
bfkeats
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
I'm runing redhat 9.0 on a Dell latitude CSx. The external serial mouse is a 3-button ps2 (I believe). The touchpad seems to be a two button ps2.

Here's the relevant part of XF86config

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Touchpad"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice"
EndSection

Section "InputDevice"
Identifier "Touchpad"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
Identifier "DevInputMice"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Protocol" "ps/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Thanks,

BFK
 
Old 07-05-2003, 07:15 PM   #7
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Your PS2 mouse looks to be setup as a USB mouse (the /dev/input/mice is normally reserved for USB pointing devices). Does this mouse have a USB or PS/2 connector?
 
Old 07-05-2003, 07:41 PM   #8
bfkeats
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
It's a ps2 connector. What shoud the device be then?

BFK
 
Old 07-05-2003, 10:29 PM   #9
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
heh. Usually, it's /dev/psaux (or /dev/misc/psaux), the same as your integrated PS/2 pointer. As Brain Drop said, you're probably going to need to get a PS/2 to USB adaptor (or a true USB mouse) to get it to work correctly.
 
Old 07-06-2003, 11:37 PM   #10
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
Here are the few changes I can see that you can make and then your mice should both work at the same time all the time:

Quote:

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

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

Section "InputDevice"
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "ps/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Hope this helps I have highlighted the changes in red.

Let us know how it goes.
 
Old 07-07-2003, 09:07 AM   #11
bfkeats
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
Niether mouse works with this configuration, and it takes a while for the x server to startup again. I also tried it with /dev/psmouse

Thanks,

BKF
 
Old 07-07-2003, 09:49 AM   #12
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
My point was that you cannot have both PS2 mice running at the same time. The changes recommended by JayCnrs won't work. /dev/mouse is almost always a symbolic link to the /dev/psaux device, so you are trying to set two pointers to the same device. Setting the two devices to be the corepointer is also likely to confuse both.
I think the best option is to get a true USB mouse.
 
  


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
Need to kill touchpad click. (Synaptics Touchpad / FC4) sarysa Linux - Laptop and Netbook 4 02-19-2007 03:15 PM
SuSE 9.3 / Acer Travelmate 800... touchpad scroll button problems vinbob Linux - Laptop and Netbook 5 10-25-2006 10:14 AM
switch left a right mouse button gbarny Slackware 1 07-26-2004 11:38 PM
3-button mouse emulation with touchpad durvasa Linux - Laptop and Netbook 0 05-16-2004 03:54 PM
Using Touchpad + USB WLAN means touchpad and keyboard stops responding randomly ultrabeam16 Linux - Laptop and Netbook 0 03-21-2004 02:19 PM

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

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