Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Mouse on Laptop, Help!!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gudentach12
Apprentice
Apprentice


Joined: 21 Feb 2003
Posts: 184
Location: tr.rhp.ger.earth

PostPosted: Tue Mar 11, 2003 2:16 am    Post subject: USB Mouse on Laptop, Help!!! Reply with quote

Hi i have a Targa Notebook with a normal two button touchpad.

I hate the touchpad, so i decided to get a usb mouse. I m still a noob in linux so i dont know how to get the usb mouse to work.

Please somebody tell me how to setup the mouse.

Thank you, gudentach.
Back to top
View user's profile Send private message
CodeHacker84
n00b
n00b


Joined: 22 Jan 2003
Posts: 68
Location: Rapids of Cedar, IA

PostPosted: Tue Mar 11, 2003 4:15 am    Post subject: Reply with quote

Ok, I have a Toshiba Satellite 5005-S504 (yes the one with the pending lawsuit), and I also use a nice little USB wheel mouse. The trick for me was to alter a file called XF86Config. It's in the /etc/X11 directory.

Here's a little excerpt of the pertinent lines from my /etc/X11/XF86Config file:
Quote:

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


Also, make sure that you have USB HID support compiled into your kernel.

If you only have the hid module type "modprobe hid" as the root user.
If you need more info post again.

Now, all I know is that this works for me. It might not work for you, but it's worth a shot because it won't hurt anything.
_________________
Athlon64 3200
1GB Corsair PC3200 C2
MSI K8T Neo FIS2R
CoolerMaster WaveMaster (Black)
Antec TruePower 550W
120 GB WD SATA Drive
160 GB WD PATA Drive
54x32x54 CD-R/RW
Dual head: ATI 9800 AiW/LG1720P && Voodoo3 PCI/IBM G40 CRT
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Tue Mar 11, 2003 7:57 am    Post subject: Reply with quote

In your kernelconfiguration, make sure you have
Code:

CONFIG_USB=y
CONFIG_USB_UHCI_ALT=y
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
Back to top
View user's profile Send private message
amasidlover
Apprentice
Apprentice


Joined: 16 Jun 2002
Posts: 293
Location: Manchester, UK

PostPosted: Tue Mar 11, 2003 9:54 am    Post subject: Reply with quote

A useful trick is to leave your original mouse (touchpad) in the XF86Config and add the USB mouse as say Mouse2, then add the following line
Code:
   InputDevice "Mouse2" "SendCoreEvents"
to your server layout section (without removing the corepointer "mouse1" line). This means that both mice will still work. And if you emerge hotplug then when you plug your usbmouse in you can use that and when you don't you can still use the touchpad.
Back to top
View user's profile Send private message
eeknay
Guru
Guru


Joined: 07 Jul 2003
Posts: 402
Location: EndOfTheRainbow

PostPosted: Fri Aug 01, 2003 11:33 am    Post subject: Reply with quote

and what do you say as the driver for mouse2 and which device do you use for that?
right now i'm trying to get both to work
_________________
Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum