LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 30
Setting up a USB mouse.


Hi,

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"
[options]
....
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, 09:32 PM   #2
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
Hi,

here is just a sample from my XF86Config:

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

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"
EndSection

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"
EndSection
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

Ott
 
Old 08-28-2005, 12:28 AM   #3
hariprasath_v
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
bye
lsmod
and the
modprobe <modulename for usb>
if the module doesnot get loaded on the boot
 
  


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


All times are GMT -5. The time now is 05:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration