|
|
发表于 2009-3-11 18:29:46
|
显示全部楼层
http://dev.gentoo.org/~compnerd/temp/hal-config-examples/
作个参考吧~
我的hal policy- kim@Boxer ~ $ cat /etc/hal/fdi/policy/11-x11-synaptics.fdi
- <?xml version="1.0" encoding="ISO-8859-1"?>
- <deviceinfo version="0.2">
- <device>
- <match key="info.capabilities" contains="input.touchpad">
- <merge key="input.x11_driver" type="string">synaptics</merge>
- <merge key="input.x11_options.SHMConfig" type="string">true</merge>
- <merge key="input.x11_options.AlwaysCore" type="string">true</merge>
- <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
- <merge key="input.x11_options.TapButton1" type="string">1</merge>
- </match>
- </device>
- </deviceinfo>
复制代码
我的xorg.conf .. 正在调整中~- kim@Boxer ~ $ cat /etc/X11/xorg.conf
- Section "ServerLayout"
- Identifier "Layout0"
- Screen 0 "Screen0" 0 0
- EndSection
- Section "Monitor"
- Identifier "Monitor0"
- Option "DPMS"
- EndSection
- Section "Device"
- Identifier "Device0"
- Driver "nvidia"
- VendorName "NVIDIA Corporation"
- BoardName "GeForce 8600M GT"
- Option "NoLogo" "True"
- #-------2009/3/8 add----------
- Option "RenderAccel" "True"
- Option "ConnectedMonitor" "DFP" # 数字平板
- Option "TripleBuffer" "True"
- Option "RegistryDwords" "PowerMizerEnable=0x1;PerfLevelSrc=0x2233;PowerMizerDefault=0x3" # 电池-最省电, 交流电-自适应
- Option "OnDemandVBlankInterrupts" "True" # Disable vblank (for laptop)
- #-------2009/3/8 end----------
- EndSection
- Section "Screen"
- Identifier "Screen0"
- Device "Device0"
- Monitor "Monitor0"
- Option "DPI" "98 x 98"
- SubSection "Display"
- Depth 24
- Modes "1280x800"
- EndSubSection
- EndSection
- Section "Extensions"
- Option "Composite" "Enable"
- EndSection
复制代码 |
|