´ÙÀ½ ÀÌÀü Â÷·Ê

Notebook¿¡¼­ XFree86 »ç¿ëÇϱâ

±èÁØÈÖ pundegee@yahoo.co.kr

v.1, 2000. 2. 8.

¿ì¼± /dev/fb0°¡ ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù. Notebook¿¡¼­ XFree86À» »ç¿ëÇϽà À§Çؼ­´Â ¸®´ª½ºÀÇ FrameBuffer Device°¡ ÇÊ¿äÇϱ⠶§¹®ÀÔ´Ï´Ù. ¸¸¾à¿¡ ¾ø´Ù¸é rootÀÇ ±ÇÇÑÀ¸·Î ´ÙÀ½°ú °°ÀÌ ÇϽʽÿÀ.

# mknod /dev/fb0 c 29 0

ÀÚ¼¼ÇÑ ¹®¼­´Â /usr/src/linux/Documentation/fb/framebuffer.txt ¸¦ ÂüÁ¶Çϼ¼¿ä.

À̹ø¿¡´Â lilo¸¦ ¼öÁ¤ÇØ¾ß ÇÕ´Ï´Ù. /etc/lilo.conf¿¡

vga = xxx

¶ó°í Ĩ´Ï´Ù. ¿©±â¼­ xxx´Â Àû´çÇÑ ¼ö·Î ´ÙÀ½ Áß¿¡¼­ Çϳª¸¦ ¼±ÅÃÇÏ¸é ¹«¸®°¡ ¾øÀ» °ÍÀÔ´Ï´Ù.

Depth   640x480 800x600 1024x768
8bpp    301     303     305
16bpp   311     314     317
32bpp   312     315     318

/etc/lilo.conf¸¦ °íÃÆÀ¸¸é,

# lilo -v
¸¦ Ãļ­ lilo¸¦ ¼öÁ¤ÇÏ¿©¾ß ÇÕ´Ï´Ù.

ÀÚ ÀÌÁ¦ ¸®´ª½ºÀÇ ÇÁ·¹ÀÓ¹öÆÛ¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ¾ÕÀ¸·Î ÇؾßÇÒ ÀÏÀº XFree86¿¡¼­ ÀÌ ÇÁ·¹ÀÓ¹öÆÛ¸¦ »ç¿ëÇϵµ·Ï ÇÏ´Â °ÍÀÔ´Ï´Ù. ¿ì¼±Àº »ç¿ëÇÒ ¼­¹ö¸¦ ¼³Ä¡ÇØ¾ß ÇÕ´Ï´Ù. ÀϹÝÀûÀ¸·Î XF86_SVGA³ª XF86_SVGA16°°Àº ÆÄÀϵéÀÌ ¼­¹ö·Î ¼³Á¤µÇ¾î ÀÖÁö¸¸, ÇÁ·¹ÀÓ¹öÆÛ¸¦ »ç¿ëÇÏ´Â ¼­¹ö´Â XF86_FBDevÀÔ´Ï´Ù. ÀÌ°ÍÀº ¹èÆ÷º» CD-ROM¿¡¼­ ±¸ÇÒ ¼öµµ ÀÖ°í, ¾Æ´Ï¸é ´ÙÀ½ »çÀÌÆ®¿¡¼­µµ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù.

ftp://ftp.xfree86.org
ftp://ftp.kr.xfree86.org

(XFree86ÀÌ Áö±Ý ÇöÀç 3.3.3ÀÌ ±ò·ÁÀִµ¥, 3.3.6ÀÇ Xserver¸¦ ¹Þ¾Æµµ ¹«¸®¾øÀÌ µ¹¾Æ°¥ °ÍÀÔ´Ï´Ù.)

ftp¿¡¼­ ¹ÞÀº °æ¿ì ÀϹÝÀûÀ¸·Î ´ÙÀ½°ú °°ÀÌ ÇÏ¸é ¼³Ä¡°¡ µË´Ï´Ù.

# cd /usr/X11R6
# tar xzvf (your downloaded directory)/XFB.tgz

±×·¯¸é, /usr/X11R6/bin/XF86_FBDev°¡ ÀÖ´Â °ÍÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.

´ÙÀ½ ´Ü°è´Â X¼­¹ö ¼³Á¤ÀÔ´Ï´Ù. ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.

# rm /usr/X11R6/bin/X
# ln -s /usr/X11R6/bin/XF86_FBDev /usr/X11R6/bin/X

ÀÌ·¸°Ô Çϸé, startxÇÑ ÈÄ¿¡ XFree86Àº XF86_FBDev¼­¹ö¸¦ ·ÎµåÇÕ´Ï´Ù. ±×·¸´Ù¸é, XF86_FBDev°¡ Âü°í ÇÒ ScreenÀÌ ÇÊ¿äÇϰԵ˴ϴÙ.

ÀÌÁ¦ /etc/XF86Config¶Ç´Â /etc/X11/XF86ConfigÀÇ ³»¿ëÀ» °íÃĺ¾½Ã´Ù. ´ÙÀ½ÀÇ ³»¿ëÀ» Ãß°¡ÇÕ´Ï´Ù.

Section "Monitor"
        Identifier      "Junk LCD"
        VendorName      "Samsung"
        ModelName       "Unknown"
        HorizSync       31.5-48.5
        VertRefresh     55-90
EndSection

Section "Device"
        Identifier      "Junk Video Card"
EndSection

Section "Screen"
        Driver  "FBDev"
        Device  "Junk Video Card"
        Monitor "Junk LCD"
        SubSection      "Display"
                Depth   16
                Modes   "default"
        EndSubSection
EndSection

´Ù¸¥ Monitor, Device, Screen SectionÀº Áö¿ì¼Åµµ »ó°ü¾ø½À´Ï´Ù.

Screen Section¿¡¼­ Driver´Â X¼­¹ö¸¦ °í¸£´Â °ÍÀ¸·Î ¹Ýµå½Ã fbdevÀ̾î¾ß¸¸ ÇÏ°ÚÁö¿ä. ±×¸®°í

fbdevScreenInit: unable to set screen params (Invalid argument)

¶ó°í ³ª¿À´Â °ÍÀº »öÀÌ ¸ÂÀÌ ¾Ê¾Æ¼­ ÀÔ´Ï´Ù. Depth¸¦ Á¶Á¤Çϼ¼¿ä.

XFree86 3.3.6¿¡¼­´Â Áö¿øÀÌ µÉ °Í °°¾Ò´Âµ¥, ¼³Ä¡¸¦ Çغ¸´Ï, XF86_Mach64¼­¹ö°¡ ¸»À» ¾È µè´Â±º¿ä. °¡¼Ó±â´ÉÀÌ ÀÖ´Â ¼­¹ö´Â ¾Æ¸¶ XFree86 4.0ºÎÅÍ´Â Áö¿øÀÌ µÇÁö ¾ÊÀ»±î ±â´ë¸¦ ÇÏ°í ÀÖ½À´Ï´Ù. ±×·¯¸é ÇÁ·¹ÀÓ¹öÆÛ°¡ Áö¿øµÇÁö ¾Ê´Â ´Ù¸¥ UNIXµé¿¡¼­µµ X¸¦ ³ëÆ®ºÏ¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖ°ÚÁö¿ä. ;-)


´ÙÀ½ ÀÌÀü Â÷·Ê