[ltp] USB mouse
Hector Socas Navarro
linux-thinkpad@linux-thinkpad.org
Mon, 12 Apr 2004 20:36:34 -0600
Hi folks,
Sometimes (but not always) I use a USB mouse attached to my thinkpad
T30. If I start the computer with the mouse plugged in, it works just
fine and gets along nicely with the touchpad. However, if the computer
boots without the mouse and then I plug it in, it doesn't work. I've
found a way to make it work, but it requires restarting X. It's the
following: boot without the mouse, plug the mouse in, execute
/etc/hotplug/usb.rc restart, modprobe the appropriate modules (I believe
it's hid, usb-core, usb-uhci, mousedev and input), restart X.
Is there any simple way to get my mouse to work without rebooting or
restarting X (I wouldn't mind entering a few commands for that)? I have
RedHat 7.3 with a lot of updated packages and kernel 2.4.22. Below are
some excerpts from some of my configuration files that may be helpful.
Thanks!
Hector
--
Hector Socas-Navarro
High Altitude Observatory
3450 Mitchell Lane, Boulder CO 80307-3000 (USA)
Phone: 303 497 1543, Fax: 303 497 1589, E-mail: navarro@hao.ucar.edu
From /etc/X11/XF86Config-4:
# USB Mouse
Identifier "Mouse1"
# Modified by mouseconfig
Driver "mouse"
Option "Device" "/dev/psaux"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "IMPS/2"
Option "Protocol" "PS/2"
Option "Buttons" "5"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# Touchpad
Identifier "Mouse0"
# Modified by mouseconfig
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "yes"
Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "AlwaysCore"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Modules loaded (when I boot without the mouse):
Module Size Used by Tainted: P
binfmt_misc 7104 1
cisco_ipsec 400128 1
autofs 11156 0 (autoclean) (unused)
ds 8360 2
yenta_socket 12736 2
pcmcia_core 52064 0 [ds yenta_socket]
irlan 23916 0 (unused)
irda 112304 0 [irlan]
orinoco_pci 4036 1
orinoco 35372 0 [orinoco_pci]
hermes 7204 0 [orinoco_pci orinoco]
eepro100 20564 0
mii 3784 0 [eepro100]
ide-scsi 10736 0
ide-cd 32064 0
sr_mod 16144 0
cdrom 31872 0 [ide-cd sr_mod]
scsi_mod 105460 2 [ide-scsi sr_mod]
i810_audio 25288 0
ac97_codec 15336 0 [i810_audio]
soundcore 6180 2 [i810_audio]
nfs 73848 0 (unused)
lockd 55504 0 [nfs]
sunrpc 77692 0 [nfs lockd]
vfat 11820 1
fat 36376 0 [vfat]
usb-uhci 24428 0 (unused)
usbcore 71904 1 [usb-uhci]
Modules loaded (when I boot with the mouse)
Module Size Used by Tainted: P
binfmt_misc 7104 1
cisco_ipsec 400128 0 (unused)
autofs 11156 0 (autoclean) (unused)
ds 8360 2
yenta_socket 12736 2
pcmcia_core 52064 0 [ds yenta_socket]
irlan 23916 0 (unused)
irda 112304 0 [irlan]
orinoco_pci 4036 0 (unused)
orinoco 35372 0 [orinoco_pci]
hermes 7204 0 [orinoco_pci orinoco]
eepro100 20564 1
mii 3784 0 [eepro100]
ide-scsi 10736 0
ide-cd 32064 0
sr_mod 16144 0
cdrom 31872 0 [ide-cd sr_mod]
scsi_mod 105460 2 [ide-scsi sr_mod]
i810_audio 25288 0
ac97_codec 15336 0 [i810_audio]
soundcore 6180 2 [i810_audio]
nfs 73848 0 (unused)
lockd 55504 0 [nfs]
sunrpc 77692 0 [nfs lockd]
vfat 11820 1
fat 36376 0 [vfat]
keybdev 2464 0 (unused)
mousedev 4980 2
hid 23204 0 (unused)
input 5568 0 [keybdev mousedev hid]
usb-uhci 24428 0 (unused)
usbcore 71904 1 [hid usb-uhci]