Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 04-09-2003, 12:16 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 11

Rep: Reputation: 0
RH9 and Hotplug USB mouse

How would you set RH9 to use alternatively the builtin PS/2 mouse of my laptop or the USB external mouse I might plug-in ?

Everytime I boot to Linux, it remembers the last configuration and ask me if I want to set the USB mouse if plugged in or set the PS/2 mouse if removed.

Any idea ?

Old 04-12-2003, 05:20 PM   #2
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
You will have to edit your /etc/X11/XF86Config file using vi, emacs, kate whichever editor you like. You will need to have these lines in your XF86Config file, then you will be able to use the USB mouse or touchpad:

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "DevInputMice" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"

Then for your USB mouse:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"

Then for your Touchpad:

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"

Then you will be able to use both at the same time or individually.

Good Luck


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
No usb mouse after hotplug loaded (acpi also has to do with it) Erik Plaggenmar Linux - Hardware 2 04-13-2005 10:40 AM
can't hotplug usb mouse bobwall Linux - Hardware 1 12-23-2004 01:54 PM
Unusual dmesg output on hotplug of Logitech USB mouse tisource Linux - Hardware 0 12-07-2004 06:05 PM
Want 2 use USB mouse in RH9.0 shiben Linux - Hardware 7 10-16-2003 07:24 AM
RH9 usb mouse/keyboard hotplug men$an Linux - Distributions 2 07-16-2003 12:09 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:27 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