All entries for Friday 20 May 2005
May 20, 2005
My Xorg.conf: reply to tim
Follow-up to sony vaio VGN FS–115B and my linux experience. from Ashutosh's blog
Since I posted my experience in installing Suse with 1280×800 resolution on FS VGN-FS115B, I have got lot of mails askign for my xorg.conf file. I thought it is better to put it on my blog:
- /.../
- SaX generated X11 config file
- Created on: 2005–04-26T05:02:43+0100.
- Version: 4.8
- Contact: Marcus Schaefer
, 2002 - Automatically generated by [ISaX] (4.8)
- PLEASE DO NOT EDIT THIS FILE!
Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection
Section "Module"
Load "glx"
Load "type1"
Load "extmod"
Load "dbe"
Load "freetype"
Load "v4l"
EndSection
Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "gb"
Option "XkbModel" "pc105"
Option "XkbRules" "xfree86"
EndSection
Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[1]"
Option "AccelFactor" "0.04"
Option "BottomEdge" "650"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
Option "CircularScrolling" "1"
Option "Device" "/dev/input/mice"
Option "EdgeMotionMaxSpeed" "15"
Option "EdgeMotionMinSpeed" "15"
Option "Emulate3Buttons" "on"
Option "EmulateMidButtonTime" "75"
Option "FingerHigh" "15"
Option "FingerLow" "14"
Option "HorizScrollDelta" "20"
Option "InputFashion" "Mouse"
Option "LeftEdge" "120"
Option "MaxSpeed" "0.5"
Option "MaxTapMove" "110"
Option "MaxTapTime" "180"
Option "MinSpeed" "0.2"
Option "Name" "ALPS;Touchpad"
Option "Protocol" "auto-dev"
Option "RightEdge" "830"
Option "SHMConfig" "on"
Option "TopEdge" "120"
Option "UpDownScrolling" "1"
Option "Vendor" "Sysp"
Option "VertScrollDelta" "20"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Option "CalcAlgorithm" "XServerPool"
DisplaySize 313 235
HorizSync 30–61
Identifier "Monitor[0]"
ModelName "TFT DISPLAY N50 (SDM-N50)"
VendorName "SONY"
VertRefresh 48–85
UseModes "Modes[0]"
EndSection
Section "Modes"
Identifier "Modes[0]"
EndSection
Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "800×600"
EndSubSection
SubSection "Display"
Depth 16
Modes "800×600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280×800"
EndSubSection
SubSection "Display"
Depth 32
Modes "800×600"
EndSubSection
SubSection "Display"
Depth 8
Modes "800×600"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
Section "Device"
BoardName "915 GM"
BusID "0:2:0"
Driver "i810"
Identifier "Device[0]"
Option "NoDDC"
Screen 0
VendorName "Intel"
EndSection
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection
Section "Extensions"
EndSection
using 915resolution : reply to mid
Using 915resolution tool is infact very easy. If you read the README file provided with it, you can use it without any confusion. Anyway, here I will write again, for the sake of completeness, how to use 915resolution.
NOTE: You must be root to install 915resolution.
$ su
#915resolution -l [ list all available Modes ]
Intel 915GM VBIOS Hack : version 0.1
Chipset: 915GM
Mode 30 : 640×480, 8 bits/pixel
Mode 32 : 800×600, 8 bits/pixel
Mode 34 : 1024×768, 8 bits/pixel
Mode 38 : 1280×1000, 8 bits/pixel
Mode 3a : 1600×1200, 8 bits/pixel
Mode 3c : 1920×1440, 8 bits/pixel
Mode 41 : 640×480, 16 bits/pixel
Mode 43 : 800×600, 16 bits/pixel
Mode 45 : 1024×768, 16 bits/pixel
Mode 49 : 1280×800, 16 bits/pixel
Mode 4b : 1600×1200, 16 bits/pixel
Mode 4d : 1920×1440, 16 bits/pixel
Mode 50 : 640×480, 32 bits/pixel
Mode 52 : 800×600, 32 bits/pixel
Mode 54 : 1024×768, 32 bits/pixel
Mode 58 : 1280×800, 32 bits/pixel
Mode 5a : 1600×1200, 32 bits/pixel
Mode 5c : 1920×1440, 32 bits/pixel
Mode 60 : 1280×770, 8 bits/pixel
Mode 61 : 1280×770, 16 bits/pixel
Mode 62 : 1280×770, 32 bits/pixel
Mode 63 : 512×771, 8 bits/pixel
Mode 64 : 512×771, 16 bits/pixel
Mode 65 : 512×771, 32 bits/pixel
NOTE: please notice that 1280×800 is not listed anywhere in the list of avialbale modes. Schade!!! So now you have to change VBIOS settings to include our darling 1280×800 resolution in it. So we have to rewrite some available mode to 1280×800. I know you will feel like re-writing all of them to 1280×800, I can understand the temptation. Even if you do, nothing will happen, but we isght want to use soem other resolution, at some other point in time and space :)). So take one of them, which you hate, I hate mode 38, so What I did was:
#915resolution 38 1280 800
and that is all. Now check whether it really wrote VBIOS or not, do the following:
#.915resolution -l
Intel 915GM VBIOS Hack : version 0.1
Chipset: 915GM
Mode 30 : 640×480, 8 bits/pixel
Mode 32 : 800×600, 8 bits/pixel
Mode 34 : 1024×768, 8 bits/pixel
Mode 38 : 1280×800, 8 bits/pixel
Mode 3a : 1600×1200, 8 bits/pixel
Mode 3c : 1920×1440, 8 bits/pixel
Mode 41 : 640×480, 16 bits/pixel
Mode 43 : 800×600, 16 bits/pixel
Mode 45 : 1024×768, 16 bits/pixel
Mode 49 : 1280×800, 16 bits/pixel
Mode 4b : 1600×1200, 16 bits/pixel
Mode 4d : 1920×1440, 16 bits/pixel
Mode 50 : 640×480, 32 bits/pixel
Mode 52 : 800×600, 32 bits/pixel
Mode 54 : 1024×768, 32 bits/pixel
Mode 58 : 1280×800, 32 bits/pixel
Mode 5a : 1600×1200, 32 bits/pixel
Mode 5c : 1920×1440, 32 bits/pixel
Mode 60 : 1280×770, 8 bits/pixel
Mode 61 : 1280×770, 16 bits/pixel
Mode 62 : 1280×770, 32 bits/pixel
Mode 63 : 512×771, 8 bits/pixel
Mode 64 : 512×771, 16 bits/pixel
Mode 65 : 512×771, 32 bits/pixel
and lo, old mode 38 is gone to make way for our own 1280×800 resolution. To check it and see 1280×800 for the first time on your machine, restart the X server. I guess init 3 and init 5 will do. —OR— do Ctrl-Alt-Backspace. I know at this time you will say wow!!!
…..Fireworks….....
…..Fireworks…......
So after having enough firework, you will restart your machine to sadle notice that your 1280×800 is gone and once again 1024×768 will greet you back. This happens because 915resolution thing does not permanantly replace this VBIOS mode settings. To do this insert follwoing lines in your /etc/rc.d/boot.local file:
/usr/sbin/915resolution 38 1280 800
and you will never have to bother about resolution buisness again.