Slackware This Forum is for the discussion of Slackware Linux.
|
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.
|
|
06-07-2006, 11:12 PM
|
#1
|
LQ Newbie
Registered: Jun 2006
Location: Colorado, USA
Distribution: Debian
Posts: 13
Rep:
|
multiple mice
Hi,
I have a ps/2 pointer and want to add a USB mouse. I can get both to work separately via mouseconfig, but how can I configure such that both will work.
Mouse #1 is a generic 2 button mouse. Mouse #2 is a Logitech 3 button wheeled mouse.
Thanks,
Rich
|
|
|
06-08-2006, 01:41 AM
|
#2
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
Welcome to LQ!
This is what I have in /etc/X11/xorg.conf:
Code:
# Option "ChordMiddle"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
# The mouse device. The device is normally set to /dev/mouse,
Option "Device" "/dev/mouse"
# Option "Device" "/dev/psaux"
on my wife and daughter's Slackware box.
One PS/2 and one USB mouse working fine together.
|
|
|
06-08-2006, 02:44 AM
|
#3
|
Member
Registered: May 2006
Location: Canada
Distribution: Slackware 13.37; Ubuntu 12.04
Posts: 81
Rep:
|
For my xorg.conf I have separate sections for each mouse, then include them both in the layout section. So you could also try something like this:
Code:
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 0"
InputDevice "PS/2 Mouse" "CorePointer"
InputDevice "USB Mouse" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
|
|
|
06-08-2006, 11:07 PM
|
#4
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Notice the 'SendCoreEvents' and 'CorePointer'. VERY important for two to work together.
I always keep my touchpad as 'CorePointer', and my USB as 'SendCoreEvents'
|
|
|
06-08-2006, 11:12 PM
|
#5
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
Silly me, I'm not using the "SendCoreEvents":
Code:
anna@peter:~$ cat /etc/X11/xorg.conf | grep -i SendCoreEvents
# Option "SendCoreEvents"
# Option "SendCoreEvents"
# "SendCoreEvents".
anna@peter:~$ cat /etc/X11/xorg.conf | grep -i CorePointer
# used. Those options include "CorePointer", "CoreKeyboard" and
InputDevice "Mouse1" "CorePointer"
and they work just fine.
|
|
|
06-08-2006, 11:14 PM
|
#6
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
My touchpad requires it, and it's not a bad idea to do so anyways (Keeps me straight/honest about what is primary, what is added on...lol)
|
|
|
06-08-2006, 11:16 PM
|
#7
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
It's absolutely not necessary here..
|
|
|
06-08-2006, 11:22 PM
|
#8
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
From 'man xorg.conf'
Code:
Option "CorePointer"
When this is set, the input device is installed as the core
(primary) pointer device. There must be exactly one core
pointer. If this option is not set here, or in the ServerLayout
section, or from the -pointer command line option, then the
first input device that is capable of being used as a core
pointer will be selected as the core pointer. This option is
implicitly set when the obsolete Pointer section is used.
And
Code:
Option "SendCoreEvents" "boolean"
Both of these options are equivalent, and when enabled cause the
input device to always report core events. This can be used,
for example, to allow an additional pointer device to generate
core pointer events (like moving the cursor, etc).
While it may not be neccesary, it is good practice.
|
|
|
All times are GMT -5. The time now is 10:02 AM.
|
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
|
|