LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2006, 06:14 PM   #1
kcor
LQ Newbie
 
Registered: Sep 2006
Location: Small City
Distribution: Slackware 10.2, 14.1
Posts: 15

Rep: Reputation: 0
2 simulataneous mouse devices


Just a relatively easy thing I need here, I've just forgotten how I set it up:

I want to simultaneously use my touchpad mouse on my laptop AND my usb mouse...

I can get one working but not the other and vice versa. How can I set this up ?

Also, less of a problem but still annoying at times: My scroll region on my touchpad does not "scroll". It just moves the mouse cursor around. Anyone ever experienced something similar or know of a solution?

-Thanks in advance
 
Old 09-27-2006, 06:42 PM   #2
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
The answer is likely in /etc/X11/xorg.conf. You'll need to add the second mouse to your xorg.conf I'm guessing. It will look something like this.
Code:
#
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection
 
Old 09-27-2006, 07:07 PM   #3
chadl
Member
 
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
In my xorg.conf, as I have a laptop with both a trackball and touchpad, I have the following items for mice:
Code:
Section "InputDevice"
Identifier "Glidepoint"
Driver "synaptics"
Option "ZAxisMapping" "4 5"
Option "CorePointer" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "60"
Option "RightEdge" "830"
Option "TopEdge" "70"
Option "BottomEdge" "650"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "110"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "50"
Option "HorizScrollDelta" "50"
Option "MinSpeed" "0.2"
Option "MaxSpeed" "0.8"
Option "AccelFactor" "0.10"
Option "EdgeMotionSpeed" "40"
Option "UpDownScrolling" "1"
Option "TouchpadOff" "0"
EndSection

# Also allow USB mouse
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "SendCoreEvents"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
EndSection
This allows for the individual settings of the touchpad to be set. In addition to my trackball working, I can also have my graphics tablet, and gyro-mouse attached to my computer at the same time, and all will work.

I think the key to this setup working is to have CorePointer set on one of the devices, and then SendCoreEvents on the others, so that the other devices will send their events to the core device (you can only have once core device at a time, or else only the first one will do anything)

Last edited by chadl; 09-27-2006 at 07:09 PM.
 
Old 09-28-2006, 08:22 AM   #4
kcor
LQ Newbie
 
Registered: Sep 2006
Location: Small City
Distribution: Slackware 10.2, 14.1
Posts: 15

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks so much!!! That seemed to do the trick. I "thought" I had it set the way you do but it did not work back then (maybe had a small typo or something), but I tried your suggestion and everything is fine and dandy again...
 
  


Reply

Tags
mice, xorgconf



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
hp dv1427us usb mouse/devices not wokring chetty Linux - Laptop and Netbook 4 12-24-2005 12:54 AM
Disable mouse, keyboard or other input devices / drivers bastl Programming 0 05-15-2005 06:39 AM
Simulataneous Users kinus Linux - Software 2 04-18-2005 06:59 AM
2 Mouse Devices - with different setting same time Mike_Wagman Linux - Hardware 0 02-12-2005 06:35 AM
Two simulataneous X sessions Axion Linux - General 3 12-10-2003 05:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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