l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Apr 21 13:34

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] usb hotplug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] usb hotplug

On Wed, Apr 21, 2004 at 09:34:59AM -0700, Charles McLaughlin wrote:
> When I plug in a usb mouse while my computer is up and running,
> I have to restart my window manager (gnome/gdm) in order to use the mouse.
> How can I make the mouse automatically work when I plug it in?
> The distro is is debian... am I am missing some package?  Do I need to 
> add something to my XFree86 config file?

Here's a snippet from my XF86Config:

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option      "CorePointer"
    Option      "Device"        "/dev/psaux"
    Option      "Protocol"      "ImPS/2"
    Option      "ZAxisMapping"      "4 5"

Section "InputDevice"
    Identifier  "Generic Mouse"
    Driver      "mouse"
    Option      "SendCoreEvents"    "true"
    Option      "Device"        "/dev/input/mice"
    Option      "Protocol"      "ImPS/2"
    Option      "ZAxisMapping"      "4 5"

The first is the definition for my touchpad, the second stanza allows me to
plug in a usb mouse at any time and have it work.  The most important Options
being "SendCoreEvents" and the "Device" line.

To get the '/dev/input/mice' device requires that CONFIG_INPUT_MOUSEDEV (under
input core support) be set in your kernel config.  The module is called
'mousedev', and I make sure that it is loaded before starting X.


vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
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:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.