Server Grafico

Ora tocca alla scheda grafica: io personalmente non sono riuscito ad installare i drivers proprietari ATI, quindi tutto il discorso fglrx salta, il Flybook è un laptop, ma chi lo possiede sa che non è "semplicemente" un laptop; chi ha provato a installarci qualcosa che non sia marchiato a fuoco con la M di microzoz, sa che è un laptop "bastardo"

Allora utilizziamo un driver di nome radeon già presente nel sistema ed abilitiamo l'accelerazione grafica sostituendo il file originale /etc/X11/xorg.conf con il seguente

Section "Files"
# FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
# SubSection "extmod"
# Option "omit xfree86-dga"
# EndSubSection
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "CorePointer"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
# Option "FlipXY" "true"
# Option "InvX" "true"
# Option "InvY" "true"
EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "touchscreen"
Driver "evtouch"
Option "Device" "/dev/input/event1"
#Option "Device" "/dev/input/event2"
Option "DeviceName" "touchscreen"
#Option "Calibrate" "1"
Option "ReportingMode" "Raw"
Option "ClickTimer" "100"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents"
Option "SwapY" "true"
Option "MinX" "31"
Option "MinY" "55"
Option "MaxX" "985"
Option "MaxY" "999"
#Option "x0" "-2"
#Option "y0" "-588"
#Option "x1" "-8"
#Option "y1" "-587"
#Option "x2" "-1"
#Option "y2" "-587"
#Option "x3" "-3"
#Option "y3" "2"
#Option "x4" "-6"
#Option "y4" "1"
#Option "x5" "-1"
#Option "y5" "0"
#Option "x6" "-4"
#Option "y6" "589"
#Option "x7" "-5"
#Option "y7" "585"
#Option "x8" "3"
#Option "y8" "582"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "radeon"
Option "AGPFastWrite true"
Option "AGPMode 4"
# Option "EnablePageFlip true"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-49
VertRefresh 43-72
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x600"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Mouse1"
# InputDevice "Mouse2"
InputDevice "touchscreen"
EndSection

Section "DRI"
Mode 0666
EndSection


Una volta riavviato X con la pressione dei tasti ctrl-alt-backspace (non canc, quello è un altro OS), tutto appare "come dovrebbe essere" :-)