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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-04-2003, 04:22 PM
|
#1
|
Member
Registered: Feb 2002
Posts: 38
Rep:
|
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
|
|
|
07-04-2003, 04:24 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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..
|
|
|
07-04-2003, 05:28 PM
|
#3
|
Member
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752
Rep:
|
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.
|
|
|
07-05-2003, 12:54 PM
|
#4
|
Member
Registered: Feb 2002
Posts: 38
Original Poster
Rep:
|
I used the setup from that thread, but I still need to logout before I can switch mice.
|
|
|
07-05-2003, 05:59 PM
|
#5
|
Member
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752
Rep:
|
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
|
|
|
07-05-2003, 06:23 PM
|
#6
|
Member
Registered: Feb 2002
Posts: 38
Original Poster
Rep:
|
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
|
|
|
07-05-2003, 07:15 PM
|
#7
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
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?
|
|
|
07-05-2003, 07:41 PM
|
#8
|
Member
Registered: Feb 2002
Posts: 38
Original Poster
Rep:
|
It's a ps2 connector. What shoud the device be then?
BFK
|
|
|
07-05-2003, 10:29 PM
|
#9
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
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.
|
|
|
07-06-2003, 11:37 PM
|
#10
|
Member
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404
Rep:
|
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.
|
|
|
07-07-2003, 09:07 AM
|
#11
|
Member
Registered: Feb 2002
Posts: 38
Original Poster
Rep:
|
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
|
|
|
07-07-2003, 09:49 AM
|
#12
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|