LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   use usb mouse & touchpad Together on laptop (https://www.linuxquestions.org/questions/slackware-14/use-usb-mouse-and-touchpad-together-on-laptop-173002/)

mehargags 04-21-2004 04:02 PM

use usb mouse & touchpad Together on laptop
 
I m on Slack 9.1
I have a Synaptic Touchpad & a usb Logitech mouse. I can use my mouse or Touchpad but one at a time. Can u pls tell me how to do that

datadriven 04-25-2004 07:25 AM

These are sections from my /etc/X11/XF86Config, I'm using slack 9.1 with the default kernel.

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
Identifier "UsbMouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection

This is the server layout section

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "UsbMouse" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

You can only have one CorePointer, the other device should be AlwaysCore. I chose the touchpad to be corepointer so my system still works if I forget to plug in my usb mouse.

coffeedrinker 04-25-2004 03:39 PM

I have a USB Intellimouse Optical with side buttons and my laptop has a synaptics touchpad. This is what I have in my XF86Config

Section "InputDevice"
Identifier "USB"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection
Section "InputDevice"
Driver "synaptics"
Identifier "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1900"
Option "BottomEdge" "4000"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
# Option "HorizScrollDelta" "100"
# Option "EdgeMotionSpeed" "10"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
# Option "UpDownScrolling" "off"
# Option "EmulateMidButtonTime" "10"
# Option "TouchPadOff" "off"
# Option "LockedDrags" "on"
# Option "SHMConfig" "on"
# Option "Repeater" "/dev/ps2mouse"
EndSection

And
InputDevice "USB" "CorePointer"
InputDevice "synaptics" "AlwaysCore"
in the server section (like the above post).

You should either compile the syaptics driver into your kernel or load it as a module.

Then get the package from

http://w1.894.telia.com/~u89404340/touchpad/index.html

and copy the file synaptics_drv.o (no compile needed) to

/usr/X11R6/lib/modules/input

This will get you the scroll features on your touchpad working.

To get the side buttons working on my USB mouse I use imwheel and these settings in whatever file you use to get your x running:

xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b 0067

and an .imwheelrc file in my home directory with

"Mozilla"
None, Left, Control_L|Page_Down
None, Right, Alt_R|Left

"Konqueror"
None, Left, Alt_L|Right
None, Right, Alt_L|Left

in it to use the right side button for "back" in Mozilla and Konqueror and the left side button for "next tab" in Mozilla.

coffeedrinker 04-25-2004 03:41 PM

Sorry about the loss of indentations in the last post :) Guess they were tabs.

mehargags 04-28-2004 05:19 AM

i have tried all that till now but with no Luck -- the USB mouse still works but the Touchpad isnt being activated even.

Pls tell me what can be the Problem. i'm on a 2.4 Kernel

coffeedrinker 04-28-2004 09:45 AM

That is about the end of my knowledge. One last idea (just guessing here): make sure your link to the mouse goes to USB and not ps/2 or something else.

And did you compile synaptics into the kernel?

mehargags 04-28-2004 10:59 AM

dOESNT the 2.4.24 has it built in. even Downloaded synaptic Drivers & loaded them in the XF86Config but no Luck

coffeedrinker 04-28-2004 11:14 AM

You have to config your kernel to have them. They are there but you have to "turn them on." Maybe they load as a module or somthing by default; I don't remember. I compile a monolithic kernel because my laptop doesn't change that much :)

mehargags 04-28-2004 12:20 PM

u mean i sh'd MODPROBE it ?? if yes pls tell me how to do it for a Synaptic

coffeedrinker 04-28-2004 02:42 PM

In my kernel I have compiled in:

device.drivers/input.devices/mice/ps2mouse

funny, because the kernel used to have a synaptic option?!?!

I am using 2.6.5 and don't see it anymore.

datadriven 04-29-2004 08:21 AM

AFAIK the 2.4.x kernel does not need the synaptics driver. You guys are trying way too hard. The "mouse" driver will work the touchpad with full functionality, as shown in my earlier post. I have a mouse and touchpad working together and I didn't install the synaptics driver or recompile my kernel.

Frank_Drebin 05-05-2004 09:19 AM

Thanks Datadriven

I added my usb mouse and had forgotten about the server section until I read your post. I added the line and it works perfect now.

mehargags 05-17-2004 11:55 AM

well i got it working too-- thx a million to DATADriven. just a Final post to Conclude the Thread.
after ur Fresh Install Do not RUN mouseconfig cos it can make TP not work again (just my experience). then just add

Section "InputDevice"
Identifier "UsbMouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection

then make an entry to the serverlayout

InputDevice "UsbMouse" "AlwaysCore"
Just restart X & plug in ur USB mouse ==))

mehargags 08-01-2004 11:09 AM

not working again with X.org
 
i recently installed the new Slack 10 & as all know it comes with the new X.org. the above configuration is again not Working with my laptop. the touchpad works Fine but when i Plug in my USB mouse ,the Light glows but it doesn't function..
can some one Suggest me how to make it Work with the New X


All times are GMT -5. The time now is 03:10 AM.