Xorg hotplugging not working for Mouse

Peter Hutterer peter.hutterer at who-t.net
Thu Jun 21 17:08:28 PDT 2012


On Thu, Jun 21, 2012 at 04:23:18PM +0800, shih dane wrote:
> hi all
> 
> i build X.Org X Server 1.11.1 for my machine
> keyboard and mouse are both USB
> hotplugging not working for mouse
> but keyboard work fine
> 
> xf86-input-keyboard-1.6.0
> xf86-input-mouse-1.7.2
> 
> Xorg.conf
> 
> Section "ServerLayout"
>         Identifier     "X.org Configured"
>         Screen 0       "Screen0" 0  0
>         InputDevice    "Mouse0" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
> 
> Section "Files"
>         ModulePath      "/opt/xorg/sys/lib/xorg/modules"
> EndSection
> 
> Section "Module"
>         Load  "glx"
>         Load  "dri2"
>         Load  "record"
>         Load  "dri"
>         Load  "extmod"
>         Load  "dbe"
> EndSection
> 
> Section "ServerFlags"
>         Option "AutoAddDevices" "False"

why do you disable hotplugging if you need hotplugging to work?

Cheers,
  Peter

> EndSection
> 
> Section "InputDevice"
>         Identifier  "Keyboard0"
>         Driver      "kbd"
>         Option      "XkbModel" "pc105"
>         Option      "XkbLayout" "us"
> EndSection
> 
> Section "InputDevice"
>         Identifier  "Mouse0"
>         Driver      "mouse"
>         Option      "Protocol" "auto"
>         Option      "Device" "/dev/mouse0"
> EndSection
> 
> Section "Monitor"
>         Identifier   "VGA"
>         VendorName   "none"
>         ModelName    "none"
>         #HorizSync    31.5-90
>         #HorizSync    28-33
>         HorizSync    28-90
>         VertRefresh  60
> EndSection
> 
> Section "Device"
>         Identifier  "card0"
>         Driver      "fbdev"
>         BusID       "PCI:0:2:0"
>         Screen      0
> EndSection
> 
> Section "Screen"
>         Identifier "Screen0"
>         Device     "card0"
>         Monitor    "VGA"
>         #DefaultDepth 24
>         #DefaultFbBpp 32
>         SubSection "Display"
>                 Viewport        0 0
>                 Depth           24
>                 Virtual
>         EndSubSection
> EndSection



More information about the xorg mailing list