# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"record"
	Load	"type1"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"macintosh"
	Option		"XkbLayout"	"jp"
	#HHK
	#Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Buttons"		"5"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "InputDevice"
	Identifier	"USBmouse"
	Driver		"mouse"
	Option		"SendCoreEvents" "true"
	Option		"Device" "/dev/input/mice"
	Option		"Protocol" "ImPS/2"
EndSection

Section "Device"
	Identifier	"ATI Radeon Mobility 9200 M9+"
	Driver		"radeon"
	Option		"AGPMode" "4"
	Option		"UseFBDev" "yes"
	#Option		"EnablePageFlip"
	Option "Monitor-LVDS" "Generic Monitor"
#added
	BusID       "PCI:0:16:0"
 	Option      "DRIReinit"
EndSection

Section "Monitor"
	Identifier	"Apple iBook G4 LCD"
	Gamma		0.75
	Option		"DPMS"
	#extra
	# HorizSync    60 - 60
	# VertRefresh  60 - 60
	Mode "1024x768"
		# D: 65.003 MHz, H: 48.365 kHz, V: 60.006 Hz
		DotClock 65.004
		HTimings 1024 1048 1184 1344
		VTimings 768 771 777 806
		Flags "-HSync" "-VSync"
	EndMode
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Radeon Mobility 9200 M9+"
	Monitor		"Apple iBook G4 LCD"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"USBmouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
