USB Mouse not there

Sebastian Kügler sebas at kde.nl
Thu Jun 9 19:07:32 UTC 2005


On Friday 03 June 2005 05:54, James A.R. Koehler wrote:
> I have a Compaq Presario laptop with the AMD-64.  I installed the
> 64-bit version of Kubuntu and everything is fine except that I can
> only use the touch-pad rather than my preference of a USB mouse. 
> I've tried a Logitech Optical mouse and also a wireless USB Optical
> mouse.  Neither are detected.  How do I get the system to recognize
> the mouse?

You probably need to add it to your /etc/X11/xorg.conf, it goes like 
this:

* First off, you need a section that tells Xorg that there's a USB 
  mouse, add something like this to your xorg.conf:

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

* Then you have to tell Xorg to take your mouse into account, like this:

------------------------------------------------------------------------
Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Usbmouse" # This line has to be added.
	InputDevice 	"Touchpad"  "CorePointer"
EndSection
------------------------------------------------------------------------

Note that the ServerLayout section should already be there, the 
interesting part is 'InputDevice	"Usbmouse"' which refers to 
'Identifier	"Usbmouse"', so these names have to be the same.

If that doesn't work or you've got other problems, check if the device 
is right by

cat /dev/input/mice

and then moving the mouse. If it's the good one, you'll see rubbish 
printed to your console.

If all fails, let's have a look at your xorg.conf here.

Cheers,

sebas
-- 
  http://vizZzion.org   |   GPG Key ID: 9119 0EF9 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Anything cut to length will be too short.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20050609/2dbf5c2e/attachment.sig>


More information about the kubuntu-users mailing list