This is the config file I use. Hot-connect works for USB mice and
keyboards. Comments included for completeness.
From rc.conf:
dbus_enable="YES"
moused_enable="YES"
Without running moused from rc.conf, only one of the mice would work at
a time.
HAL is not installed, so the AutoAddDevices setting is unnecessary but
kept as a reminder. The double monitor entries and Virtual setting are
for using an external projector. Note that all the InputDevice stuff is
commented. xorg doesn't need it.
xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
Option "DontZap" "On"
Option "AutoAddDevices" "Off"
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
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
Section "Monitor"
Identifier "Monitor0"
VendorName "AUO"
Option "Position" "0 0"
EndSection
Section "Monitor"
Identifier "Monitor1"
Option "Above" "LVDS"
#Option "Position" "0 800"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile GM965/GL960 Integrated Graphics Controller
(primary)"
BusID "PCI:0:2:0"
Option "Monitor-LVDS" "Monitor0"
Option "Monitor-VGA" "Monitor1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 1280 2080
EndSubSection
EndSection
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"