l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2004 Mar 22 08:55

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] [Fwd: [vox] USB vs. PS/2 mouse]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] [Fwd: [vox] USB vs. PS/2 mouse]



Dave Margolis wrote:
Hello,

I have an IBM thinkpad with an _eraser head_ mouse. I like the eraser head and I've grown rather fond of it over the years (I had an old toshiba laptop with the same mouse before). However, every once and I while I like to plug in my USB scroll mouse...

So here's my question: Is there a USB insertion script somewhere that I can add a line or two to re-point /dev/mouse (currently points to /dev/psaux, would need to point to /dev/input/mice)? Would this kind of think require hotplug? I don't have hotplug turned on. Also, this would need to work in the reverse, if possible, upon removal.

Thanks,
Dave

I have a laptop with a touchpad which always "just works" as a ps/2 mouse on /dev/psaux. Most of the time I also have a usb wheel mouse plugged in. They can both work simultaneously with a proper XF86Config:

Section "ServerLayout"
...
InputDevice "Mouse0" "CorePointer"
InputDevice "DevInputMice" "AlwaysCore"
EndSection
...
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "yes"
EndSection
Section "InputDevice"
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

I am using devfs and hotplug, which I don't know much about. I assume they take care of detecting whether the usb mouse is plugged in or not.

HTH,
Jonathan
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!