Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-27-2005, 07:31 PM   #1
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Rep: Reputation: 30
Setting up a USB mouse.


I have just installed Slackware 10.1 and have KDE up and running with my laptop's built in touchpad but I want to get my USB mouse working too.

I know that I need to add my second mouse in xorg.conf with something like:

Section "InputDevice"
Identifier "name"
Driver "inputdriver"
End Selection

But I have no idea what to put here to get my mouse working. I have a Logitech Trackball that has two button and a scroll wheel and the scroll wheel also works as a button.

Any help would be much appreciated.
Old 08-27-2005, 08:32 PM   #2
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45

here is just a sample from my XF86Config:

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"

Section "InputDevice"
  Driver  	"synaptics"
  Identifier  	"Synaptics"
  Option 	"Device"  	"/dev/psaux"
  Option	"Protocol"	"auto-dev"
  Option	"LeftEdge"      "1900"
  Option	"RightEdge"     "5200"
  Option	"TopEdge"       "1900"
  Option	"BottomEdge"    "4000"
  Option	"FingerLow"	"25"
  Option	"FingerHigh"	"30"
  Option	"MaxTapTime"	"180"
  Option	"MaxTapMove"	"220"
  Option	"VertScrollDelta" "100"
  Option	"MinSpeed"	"0.02"
  Option	"MaxSpeed"	"0.18"
  Option	"AccelFactor" "0.0010"
  Option	"SHMConfig"	"on"
#  Option	"Repeater"	"/dev/ps2mouse"
I don't know what is the difference between the two mouses. USB mouses work perfectly, my laptop (ASUS 2400) does not have a com port.

Perhaps it helps

Old 08-27-2005, 11:28 PM   #3
LQ Newbie
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
maybe u r kernel doesnot have a usb module compiled in that case u can compile kernel modules by this method

become root

#cd /usr/src/linux
(if this dir doesnot exist then goto /usr/src/ and find out ur kernel dir and create a symbolic link "ln -s /usr/src/<kernel no> /usr/src/linux "
#make menuconfig
(if this doesnot work because u might not have ncurses-dev package install it )
goto device drivers and select usb support
once u have finished save the configuration
then in the shell
#make modules
#make modules_install
then have fun
u can try to find out ur usb modules
and the
modprobe <modulename for usb>
if the module doesnot get loaded on the boot


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
Erratic mouse pointer with wireless USB mouse jomax Fedora 0 01-04-2005 03:38 AM
Cannot change USB mouse back to PS/2 mouse under Mandrake 10 RedUcer Linux - Hardware 11 10-27-2004 01:40 AM
How do you configure to mouses, a laptop mouse and a Logitc USB Mouse dbratton Linux - Hardware 8 03-06-2004 05:02 PM
PS/2 mouse did not work after temp removal of USB mouse edwardp Linux - Hardware 1 09-06-2003 04:57 PM
USB mouse, keyboard, hid, console mouse problems jqcaducifer Linux - General 1 08-05-2003 09:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration