XOrg on Efika MX Smartbook.
Hope you will like it :-) XOrg on Efika MX Smartbook.
Xpdf with huge i.MX51 development manual (22MB)
I hope you already run FreeBSD on your Efika MX Smartbook :) (read here)
So, you have FreeBSD on Smartbook and want to run Xorg. You need two not standard items:
- Patched Xorg port. Extract it over original /usr/ports/x11-servers/xorg-server.
- Port of new xf86-video-scfb driver. Extract it into /usr/ports/x11-drivers/
Then build/install both.
cd /usr/ports/..../
make install clean
It will take some time, maybe next morning you will find that some port from dependency list asking you some question and it was happen right after you went to sleep last night :)))) To not have such situation, better to read man ports first about BATCH and INTERACTIVE modes. It’s good idea to build xinit port also, since project branch still not ready to test ARM EABI and with old ARM ABI I found problems with build gobject-introspection which makes impossible to build many parts of Gnome (maybe not only Gnome apps). IIRC, same happen with KDE/Qt parts. So, don’t be so fast, and try xinit with xterm and xclock :) And xpdf :) (See image in header).
What next?! Ahh! Yeah, /etc/X11/xorg.conf, I make small Xorg.conf, because Xorg fail to autodetect things (maybe it’s already fixed by some my fix, but I’ve not checked it again yet).
Section "Files"
EndSection
Section "Module"
Load "dbe"
Disable "dri"
Disable "dri2"
Disable "glx"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection
Section "ServerFlags"
Option "AIGLX" "false"
Option "NoAccel" "True"
Option "NoDRI" "True"
Option "DRI" "False"
Option "DRI2" "False"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
EndSection
Section "Monitor"
Identifier "Monitor"
Mode "1024x600"
DotClock 25.175
HTimings 1024 1048 1148 1200
VTimings 600 610 620 700
EndMode
EndSection
Section "Device"
Identifier "Generic FB"
Driver "scfb"
Option "NoAccel" "True"
EndSection
Section "Screen"
Identifier "Screen"
Device "Generic FB"
Monitor "Monitor"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x600"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout"
Screen 0 "Screen" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Now just do: startx
Done!
It will be very nice if you will get everything working after first attempt :) Anyway, glad to hear any opinions! (ray@… )
Thank you very much!