Xorg - no mouse and no keyboard

Paul Schmehl pschmehl_lists at tx.rr.com
Fri Dec 4 23:11:04 UTC 2009


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-
> questions at freebsd.org] On Behalf Of Colin Albert
> Sent: Friday, December 04, 2009 3:29 PM
> Cc: 'Free BSD Questions list'
> Subject: Re: Xorg - no mouse and no keyboard
> 
> >
> Have you tried adding AutoAddDevices false to your xorg.conf?
> 
> Section "ServerFlags"
>     Option         "AutoAddDevices" "false"
> EndSection
> 
> I had to do that until the latest hal update in order to get my
> wireless
> usb mouse and keyboard to work under X. Otherwise your settings for
> mouse and keyboard have no effect after X org 7.4.
>

I should have posted my xorg.conf file.  Yes, I have that in ServerFlags.

Here's my current xorg.conf:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
        Option "DontZap" "No"
        Option "AllowEmptyInput" "No"
        Option "AutoAddDevices" "No"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
        FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
        FontPath     "/usr/local/lib/X11/fonts/TrueType/"
EndSection

# Make flash work correctly
Section "Extensions"
        Option "Composite" "Off"
EndSection

Section "Module"
        Load  "GLcore"
EndSection

Section "DRI"
        Group 0
        Mode  0660
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Dell Computer"
        ModelName    "DELL 2009W"
        HorizSync    30.0 - 83.0
        VertRefresh  56.0 - 75.0
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier   "left"
EndSection

Section "Monitor"
        Identifier   "right"
        Option       "RightOf" "left"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeonhd"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV610"
        Option      "Monitor-DVI-I_1/digital" "left"
        Option      "Monitor-DVI-I_2/digital" "right"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Virtual 3360 1050
        EndSubSection
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

And here's the one I had that was working:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
EndSection

Section "ServerFlags"
        Option "DontZap" "No"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
        FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
        FontPath     "/usr/local/lib/X11/fonts/TrueType/"
EndSection

# Make flash work correctly
Section "Extensions"
        Option "Composite" "Off"
EndSection

Section "Module"
        Load  "GLcore"
EndSection

Section "DRI"
        Group 0
        Mode  0660
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Dell Computer"
        ModelName    "DELL 2009W"
        HorizSync    30.0 - 83.0
        VertRefresh  56.0 - 75.0
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier   "left"
EndSection

Section "Monitor"
        Identifier   "right"
        Option       "RightOf" "left"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeonhd"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV610"
        Option      "Monitor-DVI-I_1/digital" "left"
        Option      "Monitor-DVI-I_2/digital" "right"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Virtual 3360 1050
        EndSubSection
EndSection

Paul Schmehl (pschmehl_lists at tx.rr.com)
In case it isn't already obvious, my opinions
are my own and not those of my employer






More information about the freebsd-questions mailing list