LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-21-2004, 04:02 PM   #1
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Rep: Reputation: 15
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
 
Old 04-25-2004, 07:25 AM   #2
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
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.
 
Old 04-25-2004, 03:39 PM   #3
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
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.
 
Old 04-25-2004, 03:41 PM   #4
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
Sorry about the loss of indentations in the last post Guess they were tabs.
 
Old 04-28-2004, 05:19 AM   #5
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
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
 
Old 04-28-2004, 09:45 AM   #6
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
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?
 
Old 04-28-2004, 10:59 AM   #7
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
dOESNT the 2.4.24 has it built in. even Downloaded synaptic Drivers & loaded them in the XF86Config but no Luck
 
Old 04-28-2004, 11:14 AM   #8
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
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
 
Old 04-28-2004, 12:20 PM   #9
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
u mean i sh'd MODPROBE it ?? if yes pls tell me how to do it for a Synaptic
 
Old 04-28-2004, 02:42 PM   #10
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
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.
 
Old 04-29-2004, 08:21 AM   #11
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
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.
 
Old 05-05-2004, 09:19 AM   #12
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Posts: 232

Rep: Reputation: 30
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.
 
Old 05-17-2004, 11:55 AM   #13
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
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 ==))
 
Old 08-01-2004, 11:09 AM   #14
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
laptop touchpad ok, USB mouse quits working PolarDog Linux - Laptop and Netbook 4 06-20-2005 09:35 PM
Unexplained USB mouse freeze up on Sarge... laptop touchpad not affected PolarDog Linux - Hardware 0 06-18-2005 09:28 PM
Slack 10, laptop, touchpad and usb mouse simultaneously? kersten78 Slackware - Installation 21 09-16-2004 11:13 PM
synaptics Touchpad & USB mouse in slack 10 mehargags Slackware 5 08-10-2004 06:19 PM
touchpad mouse + usb mouse on laptop guild Libranet 1 11-28-2003 09:42 AM

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

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