[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

enabling dri makes kbd and mouse not work



i have two cards. one is an agp 9200, but i don't think it's supported.
right now, i have a pci 7500 installed. i changed some stuff in the config
and now it almost works. the only problem is, the kbd and mouse buttons
don't work! the mouse cursor moves just fine, though. weird.

here's my config:



Section "ServerLayout"
Identifier     "XFree86 Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath     "/usr/X11R6/lib/X11/fonts/TrueType"
FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
EndSection

Section "Module"
Load  "GLcore"
Load  "extmod"
Load  "xie"
Load  "pex5"
Load  "dri"
Load  "dbe"
Load  "ddc"
Load  "vbe"
Load  "int10"
Load  "record"
Load  "xtrap"
Load  "glx"
Load  "speedo"
Load  "type1"
Load  "freetype"
EndSection

#Section "DRI"
#	mode 0666
#EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "keyboard"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option 	"Protocol"        "PS/2"
#Option          "ZAxisMapping"  "4 5"
Option          "Device"        "/dev/psaux"

EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
UseModes	"Modes0"
HorizSync       30-100
VertRefresh     50-200
Gamma 0.95
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     "Dac6Bit"            	# [<bool>]
#Option     "Dac8Bit"            	# [<bool>]
#Option     "ForcePCIMode"       	# [<bool>]
#Option     "CPPIOMode"          	# [<bool>]
#Option     "CPusecTimeout"      	# <i>
#Option     "AGPMode"            	# <i>
#Option     "AGPFastWrite"       	# [<bool>]
#Option     "AGPSize"            	# <i>
#Option     "RingSize"           	# <i>
#Option     "BufferSize"         	# <i>
#Option     "EnableDepthMoves"   	# [<bool>]
#Option     "EnablePageFlip"     	# [<bool>]
#Option     "NoBackBuffer"       	# [<bool>]
#Option     "PanelOff"           	# [<bool>]
#Option     "DDCMode"            	# [<bool>]
#Option     "CloneDisplay"       	# <i>
#Option     "CloneMode"          	# [<str>]
#Option     "CloneHSync"         	# [<str>]
#Option     "CloneVRefresh"      	# [<str>]
#Option     "UseFBDev"           	# [<bool>]
#Option     "VideoKey"           	# <i>

Identifier  "Card0"
Option "UseFBDev"
Driver      "radeon"
VendorName  "ATI Technologies Inc"
BoardName   "Radeon 7500"
#BusID       "PCI:0:16:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes	"1280x1024"
#Modes	"1600x1200"
#Modes	"1024x768"
#Modes	"1152x864"
EndSubSection
EndSection

#Section "DRI"
#	Mode 0666
#EndSection

Section "Modes"
        Identifier      "Modes0"
	# mode generated by Xeasyconf
#	Modeline "1024x768" 65.003 1024 1048 1184 1344  768 771 777 806  -HSync -VSync



# 1024x768 @ 100Hz, 80.21 kHz hsync
#Modeline "1024x768"   115.5  1024 1056 1248 1440  768  771  781  802 -HSync -VSync
# 1280x1024 @ 76 Hz, 81.13 kHz hsync
Modeline "1280x1024"  135    1280 1312 1416 1664  1024 1027 1030 1064

EndSection

-- 
Tom Vier <tmv@comcast.net>
DSA Key ID 0xE6CB97DA



Reply to: