이 페이지는 LG X-Note Express LM70-P6MK 모델에서 리눅스를 사용하기 위한 내용입니다.
이 페이지의 모든 내용은 wiki.kldp.net으로 이동되었으며 아래 내용은 마지막 수정본의 보존입니다.

2. 하드웨어 제원

  • CPU : Intel(R) Pentium(R) M Processor 1.86GHz
  • DVD/CD-ROM : MATSHITA DVD-RAM UJ-822S
  • DISK : FUJITSU MHT2080BH
  • DISPLAY : ATI MOBILITY RADEON X600
  • LAN : [http]Yukon®-EC 88E8053 PCI Express™ Gigabit Ethernet Controller [http]참고1 [http]참고2
    sk98lin: SysKonnect SK-NET Gigabit Ethernet SK-98xx와 잘 동작한다... 고 한다.
    Address BC000000 - BC003FFF
    I/O 3000 - 30FF
    IRQ 16
  • LAN : Intel PRO/Wireless 2200BG Network Connection
  • MemoryCard Reader : Texas Instruments PCIxx20 Integrated FlashMedia Controller
  • Modem : Agere Systems HDA Modem #10
  • Sound : C-Media High Definition Audio Device : C-media CMI 9880L [http]사양 [http]드라이버
  • IEEE1394 : Texas Instruments OHCI Compliant IEEE 1394 Host Controller

  • Mainboard Chip :
    Intel(R) 82801FB/FBM USB
    Intel(R) 82801FB/FBM USB2
    Intel(R) 82801 PCI Bridge
    Intel(R) 82801FB/FBM PCI Express Root Port
    Intel(R) 82801FB/FBM SMBus Controller
    Intel(R) 82801FBM LPC Interface Controller
    Intel(R) 82802 Firmware Hub Device
    Mobile Intel(R) 915GM/PM Express PCI Express Root Port
    Mobile Intel(R) 915GM/PM/GMS/910GML Express Processor to DRAM Controller
    Intel(R) 82801FB/FBM Ultra ATA Storage Controllers
    Intel(R) 82801FBM Ultra ATA Storage Controllers

3. fedora core 3

3.1. 설치

페도라 코어를 다운받는다 : http://fedora.redhat.com/download/
언어 설정을 한국어로 하면 UTF8로 설치가 되니 편하다.
설치 CD 3장(혹은 DVD 1장)을 통해 '워크스테이션'설정으로 설치한다.

3.2. 서비스 설정

전통적인 레드햇의 서비스 관리 프로그램, ntsysv를 실행해 설정한다.
  • isdn : 사용하지 않는 사람이라면 제거한다.
  • pcmcia : express card를 사용하는 lm70에서는 서비스 시작중 종종 다운된다.
    어짜피 향후 1년간은 슬롯을 쓸 일도 없어 보이니 (호환되는 카드가 없다) 중지시키자.
  • kudzu : 하드웨어 자동 설정 프로그램.
    순전히 개인적인 취향으로, 필자는 kudzu가 처음 도입되었을 때나 지금이나 신임하지 못한다.
    (무엇 하나 삽질이 더는 것도 아니고...)
    어쩌면 이것을 사용할 경우 뒤에 나오는 몇 가지 설정을 덜 수 있을 지도 모르지만, 어쨌든 필자와 같은 사람이라면 제거한다.
  • smartd : 사용에 줄곧 실패해왔던 사람이라면 제거한다.
    man smartd 참고.
  • bluetooth : 역시 사용할 일 없는 사람이면 제거.
  • mdmonitor : 소프트웨어 RAID를 제어한다. 사용할 일 없다면 제거.
  • netfs : NFS, SMB등을 이용할 일이 없는 사람은 제거한다.
  • nfslock, rpcgssd, rpcidmapd, rpcsvcgssd : netfs를 제거했다면 이것도 제거한다.
  • sshd : 외부에서 ssh로 이 노트북에 접근할 일이 없다면 제거한다.
  • microcode_ctl : 커널에서 Intel IA32 CPU microcode support 설정하고, 이것을 사용하도록 한다.
    이것은 몇가지 내부 문제를 해결해 준다. 예컨데, halt가 제대로 이루어지지 않는 것과 같은 것이다.
    FIXME : 이것에 대한 자세한 내용을 아시는 분은 피드백을 주세요.

3.3. Yum


Yum Mirrorlist 설정 :
vi /etc/yum.repos.d/local-base
#korea
http://ftp.kreonet.re.kr/pub/Linux/fedora/core/3/$ARCH/os/
#ftp://mirror.hostway.co.kr/pub/fedora/3/$ARCH/os/
http://ftp.kaist.ac.kr/pub/fedora/linux/core/3/$ARCH/os/

vi /etc/yum.repos.d/local-updates
#korea
http://ftp.kreonet.re.kr/pub/Linux/fedora/core/updates/3/$ARCH/
#ftp://mirror.hostway.co.kr/pub/fedora/updates/3/$ARCH/
http://ftp.kaist.ac.kr/pub/fedora/linux/core/updates/3/$ARCH/

rawhide로 사용하고 싶다면 3를 development로 변경한다
fedora.repo:
...
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide
...

fedora-update.repo:
...
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
...

vi /etc/yum.repos.d/fedora.repo
mirrorlist=file:///etc/yum.repos.d/local-base 행 추가
기존 mirrorlist 행 주석 처리
gpgcheck=0 처리
About
vi /etc/yum.repos.d/fedora-updates.repo
mirrorlist=file:///etc/yum.repos.d/local-updates 행 추가
기존 mirrorlist 행 주석 처리
gpgcheck=0 처리

rpm --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY
yum list
yum update


3.4. 하드웨어 설정

3.4.1. 모니터

설치 완료 후 초기 셋팅에서
Monitor : Generic LCD 1400x1050 으로 설정.

3.4.2. 키보드

FN키 + HOME & END(디스플레이 밝기 증가 및 감소) 는 기본으로 동작한다.
FIXME : 기타 키 설정.

3.4.3. 마우스

synaptic touchpad 역시 기본으로 동작한다. 하지만 이 드라이버는 모서리의 tab click(웹사이트 전진, 후진)를 지원하며, 당신은 이 때문에 아마도 웹 써핑 도중 곤란함을 많이 당할 것이다.
더구나 탭클릭이 기본으로 Button 2(Middle Button)로 할당되어 있는 점(xev로 확실히 알 수 있다), X-Note 설계상의 문제로 타이핑 도중 패드를 건드리는 수준에 이르면
당신은 아마도 탭클릭을 끔찍하게 혐오하게 될 것이다.

이 설정을 제거하려면 다음과 같이 한다 ([http]출처1, [http]출처2):
#vi /etc/X11/xorg.conf
...
Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
        Option      "Emulate3Buttons" "yes"
        #다음 세 줄을 추가한다
        Option      "TapButton1"    "0"
        Option      "TapButton2"    "0"
        Option      "TapButton3"    "0"
        #이것은 모질라의 오동작(지나치게 예민한 동작?)현상을 없앤다.
        Option      "HorizScrollDelta" "0"
EndSection
...
...X윈도를 재시작한다.

3.4.4. 파티션 테이블 수정

vi /etc/fstab
...
/dev/sda1 /mnt ntfs defaults,auto,user,uid=일반 유저의 ID,gid=일반 유저의 그룹 0 0
mount /mnt

3.4.5. 커널 컴파일

1. kernel source 설치
Marvell Yukon 88E8053 Gigabit Lan의 드라이버 설치를 위한 작업이다.
kernel 2.6.9에 포함된 sk98lin 드라이버는 2004년 2월자인 6.23이며 최신 버전은 7.09이다.
(주의 : 문서를 업글하면서 수정하는 바람에 2.6.10에 맞추어놓긴 했습니다만 현재 2.6.10에서의 컴파일은 에러가 납니다.
2.6.9에서 다시 시도했습니다.)

fedora 3에서는 kernel-source 패키지가 사라져 드라이버 컴파일에 필요한 소스 트리를 직접 만들어야 한다.
(참고 : http://fedora.redhat.com/docs/release-notes/fc3/x86/)

우선 다음 파일을 다운받는다.(접속되지 않을 경우 다른 미러에서 시도한다.)
wget http://ftp.kaist.ac.kr/pub/fedora/linux/core/updates/3/SRPMS/kernel-2.6.10-1.766_FC3.src.rpm => FIXME : 2.6.9로 다운받으세요.

복사해 담은 씨디 혹은 SRPM 씨디를 넣고
mount /media/cdrecorder
rpm -Uvh /media/cdrecorder/kernel-2.6.10-1.766_FC3.src.rpm
cd /usr/src/redhat/SPECS/
rpmbuild -bp --target=i686 kernel-2.6.spec
cd ../BUILD/kernel-2.6.10/linux-2.6.10
cp configs/kernel-2.6.10-i686.config .config
덮어쓰겠냐는 질문에 Y 선택
make oldconfig
ln -s /usr/src/redhat/BUILD/kernel-2.6.10/linux-2.6.10 /usr/src/linux

다음 주소에서 최신 드라이버 다운로드 :
http://www.syskonnect.com/syskonnect/support/driver/htm/sk9e21_lin.htm

cd /media/cdrecorder
cp install-7 09.tar.bz2 /usr/src
cd /usr/src
tar xvjf install-7 09.tar.bz2
cd DriverInstall
./install
3. Patch Generation 선택
cd /usr/src/linux
cat /usr/src/DriverInstall/sk98lin_v7.09_2.6.10_patch | patch -p1
드라이버 버전 7.09로 패치되었는지 확인 :
more Documentation/networking/sk98lin.txt

다른 설정은 페도라 기본 커널의 내용을 그대로 쓰도록 하자.
make menuconfig
processor 에서 Pentium-M 선택
save & exit

(보다 상세한 최적화를 원한다면 [http]lm70-p6mk-kernel을 참고하자.)

make dep
make clean bzImage
make modules
make modules_install
/lib/modules/2.6.9-prep 에 모듈이 설치된다.

cp arch/i386/boot/bzImage /boot/vmlinuz-20050228
cp System.map /boot/System.map-20050228
mkinitrd /boot/initrd-20050228.img 2.6.9-prep
vi /etc/grub.conf

다음을 추가 :
title Fedora The Labstar 20050228
        root (hd0,1)
        kernel /boot/vmlinuz-20050228 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-20050228.img

리붓.
다음 부팅시에 kudzu에 의해 감지되면, DHCP 설정 (혹은 원하는 설정)을 택할 수 있다.
Enjoy!

3.4.6. 사운드

[http]참고1 [https]참고2
alsa-driver를 따로 설치하는데, 이유는 필요로 하는 snd-azx 모듈이 커널 포함중인 alsa 드라이버에는 없기 때문이다.

yum update alsa-lib(or yum install alsa-lib)
wget http://alsa-project.org/alsa/ftp/driver/alsa-driver-1.0.8.tar.bz2
tar xvjf alsa-driver-1.0.8.tar.bz2
cd alsa-driver-1.0.8
./configure --with-isapnp=no --with-cards=azx
...
checking for built-in ALSA... "yes"
configure: error: You have built-in ALSA in your kernel.
위와 같은 에러가 발생할 경우 kernel에서 alsa support(Device Drivers -> Sound -> Advanced Linux Sound Architecture)를 제거했는지 다시 확인하고, 제거되지 않았다면 제거하고 다시 컴파일한다.
위의 커널 컴파일 메뉴 참고.

# make
# make install
# ./snddevices
# modprobe snd-azx
lsmod 명령으로 확인해서 이상없이 모듈이 올라갔다면 fglrx와 같은 방법으로 부팅 스크립트에 추가해 준다.

xine, xmms 등으로 테스트

주의점 : 가끔씩 볼륨 조절의 설정이 전혀 먹히지 않는 경우가 있는데, 이것은 OSS 출력시의 문제로 해당 프로그램에서 ALSA로 출력하도록 해 주면 잘 동작한다.
차후 드라이버에서 보완해야할 부분으로 보인다.

[http]참고 : 소리 동시에 나게 하는 설정 FIXME: 이것을 그대로 가져다 쓸 경우에 동작 안합니다.

3.4.7. 3D 가속

[http]참고1 : YUM 설치를 이용할 경우 YUM에서 제공되는 kernel-image를 이용해야 합니다.


wget http://www2.ati.com/drivers/linux/fglrx_6_8_0-8.10.19-1.i386.rpm
rpm -ivh --replacefiles fglrx_6_8_0-8.10.19-1.i386.rpm

이때 다음과 같은 에러 메시지가 나는 경우가 있다.
준비 중...               ########################################### [100%]
   1:fglrx_6_8_0            ########################################### [100%]
gcc: couldn't run 'i386-redhat-linux-gcc-3.4.2': 부적절한 인수
make.sh: line 60: [: !=: unary operator expected

문제는 폐기(Deprecated)된 -V 옵션이다. 다음과 같이 해결한다.
[root@blackjack ~]# gcc -V 3.4.2
gcc: couldn't run 'i386-redhat-linux-gcc-3.4.2': 부적절한 인수
[root@blackjack ~]# ln -s /usr/bin/gcc /usr/bin/i386-redhat-linux-gcc-3.4.2
[root@blackjack ~]# gcc -V 3.4.2
i386-redhat-linux-gcc-3.4.2: no input files

fglrx_6_8_0을 제거하고 다시 설치해보면 에러 메시지가 발생하지 않는다.

# cd /lib/modules/fglrx
# chmod +x make_install.sh
# ./make_install.sh
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.

# cd build_mod
# chmod +x make.sh
# ./make.sh
The GCC version that is required to compile this module is version 3.4.2.
Please install this GCC or recompile your kernel with 4.0.0

#yum install compat-gcc
Setting up Install Process
Setting up Repos
base                      100% |=========================| 1.1 kB    00:00
updates-released          100% |=========================|  951 B    00:00
Reading repository metadata in from local files
base      : ################################################## 3605/3605
updates-re: ################################################## 69/69
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for compat-gcc to pack into transaction set.
compat-gcc-8-3.3.4.2.i386 100% |=========================|  24 kB    00:00
---> Package compat-gcc.i386 0:8-3.3.4.2 set to be updated
--> Running transaction check

Dependencies Resolved
Transaction Listing:
  Install: compat-gcc.i386 0:8-3.3.4.2 - base
Total download size: 3.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): compat-gcc-8-3.3.4 100% |=========================| 3.4 MB    00:10
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: compat-gcc                   ######################### [1/1]

Installed: compat-gcc.i386 0:8-3.3.4.2
Complete!

# mv /usr/bin/gcc /usr/bin/gcc4
# ln -s /usr/bin/gcc33 /usr/bingcc

커널을 이 GCC로 다시 컴파일 후 실행

# ./make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================

# cd ..
# ./make_install.sh

# vi /etc/rc.d/rc 
#! /bin/bash
#
...
modprobe fglrx
check_runlevel ()...


vi .xorg
# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "AlwaysCore"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection

Section "Module"
        Load  "dbe"
        SubSection  "extmod"
                Option    "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        Load  "synaptics"
        Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#       Option  "Xleds"         "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#       Option  "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#       Option  "XkbModel"      "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#       Option  "XkbModel"      "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#       Option  "XkbLayout"     "de"
# or:
#       Option  "XkbLayout"     "de"
#       Option  "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#       Option  "XkbOptions"    "ctrl:swapcaps"
# Or if you just want both to be control, use:
#       Option  "XkbOptions"    "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
        Option      "Emulate3Buttons" "yes"
        Option      "TapButton1" "0"
        Option      "TapButton2" "0"
        Option      "TapButton3" "0"
        Option      "HorizScrollDelta" "0"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "LCD Panel 1400x1050"
        HorizSync    31.5 - 90.0
        VertRefresh  59.0 - 75.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
#       Driver      "radeon"
#       VendorName  "Videocard vendor"
#       BoardName   "ATI Radeon Mobility X600"
#    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# ### generic DRI settings ###
# disable PnP Monitor
    #Option                              "NoDDC"
# disable/enable XAA/DRI
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# misc DRI settings
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# Screen Management
    # Single Head (1 screen, second dark)
    #Option             "DesktopSetup"  "0x00000000"
    #Option             "MonitorLayout" "AUTO, AUTO"

    # Laptop Mode (Ability to toggle between internal / external screen)
    Option              "DesktopSetup"  "0x00000100"
    #주의 : 1이 외부, 2가 내부 모니터입니다. AUTO로 설정할 경우 노트북 모니터는 절대로 활성화되지 않습니다.(Blank Screen 문제, Xorg.1.log 참고)
    Option              "MonitorLayout" "AUTO, LVDS"

    # Clone Mode (2 screens - same content)
    #Option             "DesktopSetup"  "0x00000100"
    #Option             "MonitorLayout" "AUTO, AUTO"
    #Option             "MonitorLayout" "AUTO, STV"

    # Big Desktop (2 screens - one framebuffer)
    # horizontal arrangement: monitor connector 1 => left display
    #Option             "DesktopSetup"  "0x00000200"
    # horizontal arrangement: monitor connector 1 => right display
    #Option             "DesktopSetup"  "0x00000201"
    # vertical arrangement:   monitor connector 1 => top display
    #Option             "DesktopSetup"  "0x00000300"
    # vertical arrangement:   monitor connector 1 => bottom display
    #Option             "DesktopSetup"  "0x00000301"
    #Option             "MonitorLayout" "AUTO, AUTO"

    # Dual Head (2 screens - two drivers)
    #Option             "DesktopSetup"  "0x00000000"
    #Option             "MonitorLayout" "AUTO, AUTO"
    #Screen 0
    #Screen 1

    # Monitor Layout Options
    #(p) auto detect        -(s) auto detect
    #Option             "MonitorLayout" "AUTO, AUTO"
    #(p) CRT display device -(s) CRT display device
    #Option             "MonitorLayout" "CRT, CRT"
    #(p) DVI display device -(s) CRT display device
    #Option             "MonitorLayout" "TMDS, CRT"
    #(p) DVI display device -(s) DVI display device(FireGL Z1/X1/X2 only!)
    #Option             "MonitorLayout" "TMDS, TMDS"
    #(p) Laptop Panel device-(s) CRT display device(Laptops w. M9/M10 only!)
    #Option             "MonitorLayout" "LVDS, CRT"
    #(p) Laptop Panel device-(s) DVI display device(Laptops w. M9/M10 only!)
    #Option             "MonitorLayout" "LVDS, TMDS"
    #(p) auto detect        -(s) TV out
    #Option             "MonitorLayout" "AUTO, STV"
    #(p) CRT display device -(s) TV out
    #Option             "MonitorLayout" "CRT, STV"
    #(p) DVI display device -(s) TV out
    #Option             "MonitorLayout" "TMDS, STV"
    #(p) Laptop Panel device-(s) TV out
    #Option             "MonitorLayout" "LVDS, STV"
    #(p) TV out             -(s) auto detect
    #Option             "MonitorLayout" "STV, AUTO"

    #Option "DesktopSetup"               "0x00000000"
    #Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                 "off"
    #Option "HSync2"                     "unspecified"
    #Option "VRefresh2"                  "unspecified"
        Option "HSync2"                 "31.5 - 90.0"
        Option "VRefresh2"              "59.0 - 75.0"
    Option "ScreenOverlap"              "0"
# TV-out Management
    Option "NoTV"                       "yes"
    Option "TVStandard"                 "NTSC-M"
    Option "TVHSizeAdj"                 "0"
    Option "TVVSizeAdj"                 "0"
    Option "TVHPosAdj"                  "0"
    Option "TVVPosAdj"                  "0"
    Option "TVHStartAdj"                "0"
    Option "TVColorAdj"                 "0"
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# OpenGL specific profiles/settings
    Option "Capabilities"               "0x00000000"
# Video Overlay for the Xv extension
    Option "VideoOverlay"               "on"
# OpenGL Overlay
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "off"
# Center Mode (Laptops only)
    Option "CenterMode"                 "off"
# Pseudo Color Visuals (8-bit visuals)
    Option "PseudoColorVisuals"         "off"
# QBS Management
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# FSAA Management
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=3150
    #Screen 0
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection

다음과 같이 확인한다.
[setzer@blackjack ~]$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON X600 Generic
OpenGL version string: 1.3.4893 (X4.3.0-8.10.19)

최종 벤치마크.
[setzer@blackjack ~]$ glxgears
9190 frames in 5.0 seconds = 1838.000 FPS
11267 frames in 5.0 seconds = 2253.400 FPS
11267 frames in 5.0 seconds = 2253.400 FPS
11252 frames in 5.0 seconds = 2250.400 FPS
[setzer@blackjack ~]$ fgl_glxgears
2019 frames in 5.0 seconds = 403.800 FPS
2290 frames in 5.0 seconds = 458.000 FPS
2271 frames in 5.0 seconds = 454.200 FPS
2286 frames in 5.0 seconds = 457.200 FPS
2290 frames in 5.0 seconds = 458.000 FPS
2282 frames in 5.0 seconds = 456.400 FPS

3.4.7.1. Unreal Tournament 2004
최신 데모 다운로드 : http://www.unrealtournament.com/ut2004/downloads.php
# gzip -d UT2004-LNX-Demo3334.run.gz

아래와 같이 에러가 나오면 :
gzip: UT2004-LNX-Demo3334.run.gz: unexpected end of file
파일 깨진 것이니 다른데서 받으셩.

# chmod +x UT2004-LNX-Demo3334.run
#./UT2004-LNX-Demo3334.run

3.5. 응용 프로그램

3.5.1. hangul

[http]imhangul 참고 [http]IIIM(Internet/Intranet Input Method) 참고
IIIM은 현재 Ctrl + Space로만 설정 가능하여 불편하니 Nabi를 이용했습니다.
[setzer@blackjack ~]# rpm -qa | grep iiim
iiimf-csconv-12.1.1-7.svn2208
iiimf-gnome-im-switcher-12.1.1-7.svn2208
iiimf-docs-12.1.1-7.svn2208
iiimf-libs-12.1.1-7.svn2208
iiimf-server-12.1.1-7.svn2208
iiimf-le-hangul-12.1.1-7.svn2208
iiimf-gtk-12.1.1-7.svn2208
iiimf-libs-devel-12.1.1-7.svn2208
iiimf-x-12.1.1-7.svn2208
[setzer@blackjack ~]# rpm -e iiimf-csconv iiimf-server iiimf-libs iiimf-docs iiimf-server iiimf-le-hangul iiimf-gtk iiimf-libs-devel iiimf-x
#X RESTART


wget http://kldp.net/frs/download.php/1443/imhangul-0.9.11.tar.bz2
tar xvjf imhangul-0.9.11.tar.bz2
configure prefix=/usr/lib/gtk-2.0/
make
ln -s /usr/bin/gtk-query-immodules-2.0-32 /usr/bin/gtk-query-immodules-2.0
make install

#GDM으로 로그인한다면 다음 파일을 설정하고, 커맨드에서 startx 명령으로 X를 시작한다면 .xsession 파일을 아래와 같이 작성한다.
vi .i18n
export GTK_IM_MODULE=hangul3f


글꼴은
http://kldp.net/frs/?group_id=300&release_id=863 에서 다운받아 푼다.(core + extra)
cp un-fonts/*.ttf /usr/share/fonts/korean/TrueType/


3.5.2. mplayer & xine & VLC

http://bbs.kldp.org/viewtopic.php?t=51541&highlight=mplayer 파일 내용을 /etc/yum.repos.d/fedora-updates.repo 파일 아래에 추가
gpg_check의 주석을 풀고 0으로 바꾸어 줄 것

yum install mplayer

의존성 문제가 발생하면 수동 설치 하는 방법이 있다 :
1. http://luna.cs.ccsu.edu/dominik/mplayer/downloads.html
Fedora Core 1의 것을 다운, 설치
2. http://luna.cs.ccsu.edu/dominik/mplayer/downloads-optional.html
Binaries - mplayer-vidix-ATI-Radeon
Codecs - mplayer-codecs-essential

자막, 화질 등을 고려하여 다음과 같이 설정한다.
# vi .mplayer/config
# Write your default config options here!
zoom=yes
unicode=1
font=/usr/share/fonts/korean/TrueType/UnBom.ttf
subcp=cp949
subfont-outline=3
#xv, sdl, opengl2
#best=gl2
#alter=sdl
#FIXME : gl2가 더 낫다고 하는데 실행이 되질 않는다. 뭔가 안 깔아서?
vo=sdl
#FIXME : esd나 oss로 설정하면 볼륨 조절이 안되고, alsa로 설정하면 no sound. 에러를 내며 사운드가 나오지 않는다.
#ao=alsa
ao=oss
#aop=list=volume:volume=101
#ao=sdl


xine의 설치는 매우 쉽다. yum install xine 하면 끝난다.
자막을 보기 위해서는 [http]참고 인데... 안 해봤다 :-)

[http]VLC 설치는 홈페이지에서 [http]Fedora Core용을 다운받는다.
tar.gz 파일을 받아 압축을 풀면 rpm파일이 나온다.
최신을 보장 못하는 스크립트는 아래와 같다 :
wget http://download.videolan.org/pub/videolan/vlc/0.8.1/rpm/fedora/fc3/vlc-binary.tar.gz
tar xvzf vlc-binary.tar.gz
cd vlc


3.5.3. Notebook Status

Gnome 2.9 이상에서 상태 표시줄 메뉴(left-click) - 패널에 더하기 -CPU 클럭 스케일링 감시와 배터리 충전 감시기를 켜면 현재 남은 배터리 잔량과 CPU 클럭을 확인할 수 있다.

3.5.4. Java

http://java.sun.com/j2se/1.5.0/download.jsp
Linux RPM in self-extracting file (jdk-1_5_0_01-linux-i586-rpm.bin) 다운로드

su -
cd 다운 디렉토리
chmod +x jdk-1_5_0_01-linux-i586-rpm.bin
./jdk-1_5_0_01-linux-i586-rpm.bin
라이센스에 yes 동의
RPM이 만들어지면 자동으로 설치까지 완료된다.
rpm -e libgcj-3.4.2-6.fc3 libgcj-devel-3.4.2-6.fc3 gcc-java-3.4.2-6.fc3.i386
vi /etc/profile
export JAVA_HOME=/usr/java/jdk1.5.0_01/
export JRE_HOME=/usr/java/jdk1.5.0_01/jre/
export CLASSPATH="."
export PATH=$PATH:/usr/java/jdk1.5.0_01/bin/

3.5.5. Tomcat 5.5.7

최신 버전 : http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi
wget http://mirror.apache.or.kr/jakarta/tomcat-5/v5.5.7/bin/jakarta-tomcat-5.5.7.tar.gz
tar xvzf jakarta-tomcat-5.5.7.tar.gz --directory=/usr/local/
ln -s /usr/local/jakarta-tomcat-5.5.7 /usr/local/tomcat
ln -s /usr/local/tomcat/bin/catalina.sh /etc/init.d/tomcat
vi /etc/profile
export CATALINA_HOME=/usr/local/tomcat
export TOMCAT_HOME=/usr/local/tomcat

3.5.6. Eclipse

아직 패키지를 찾지 못해서, eclipse를 참고.



3.5.7. PostgreSQL

yum install postgresql postgresql-server
/etc/init.d/postgresql start
이후는 아파치 설정의 PGSQL 부분을 참고.

serviceconf 에서 pgsql 등록

3.5.8. wine

http://www.winehq.com/site/download-rh 에서 최신 버전의 i686 wine 다운로드, 설치. (현재 20050310)
http://www.von-thadden.de/Joachim/WineTools/#download 에서 최신 버전의 rpm 다운로드, 설치 (현재 2.1.1)
http://dag.wieers.com/packages/xdialog/ 에서 xdialog 설치(winetools와 의존성, 현재 2.1.1)

다음 명령으로 .wine 디렉터리를 생성한다.
$ wine
다음 명령으로 winetools 실행
$ winetools
Base Setup ->
Create a Fake Windows drive 설정. CD/DVD 마운트 지점을 물어오면 /media/cdrecorder 를 입력해준다.
TrueType Font Arial 을 선택하면 기본 폰트를 다운로드하여 설치한다.
DCOM98 선택하여 다운로드, 설치.
Internet Explorer 6.0 SP1 English 로 설치한다.
Install Windows system software ->
Windows Installer 이하 모두 설치(English로)
Install Microsoft TrueType core fonts 는 굳이 하지 않아도 된다.

추가로 Install Tested Software를 이용해
Player ->
QuickTime 6.5.2 : 독일어로 설치된다 ㅡ.ㅡ
Flash, Shockwave Plugin

~/bin/ie6 실행이 가능하며, 은행 사이트에도 로긴할 수 있다(TT)

MSXML 4.0 :
http://download.microsoft.com/download/9/6/5/9657c01e-107f-409c-baac-7d249561629c/msxml.msi
wine "C:\windows\system\msiexec.exe" -- /i msxml.msi
그러나 실행시 "명령줄 매개변수가 잘못되었습니다.(Invalid command line argument)." 에러 (Windows Installer 버전 2.0)
다음과 같이 실행하면 정상 동작 :
wine msiexec.exe /i msxml.msi

Microsoft XML Parser 3.0 Service Pack 5 :
http://download.microsoft.com/download/a/5/e/a5e03798-2454-4d4b-89a3-4a47579891d8/msxml3.msi
windowsupdate.com 에 들어가서 필요한 ActiveX를 깔고 '업데이트 검색' 하면 Microsoft XML parser의 최신 버전을 깔라고 한다.
그러나 여전히 입장 불가다....


DirectX 8.1(FOR 98/ME) :
http://download.microsoft.com/download/win98/Install/8.1/W98Me/EN-US/DX81eng.exe
설치가 정상적으로 완료된다.

WMP 7.1 : 모두 잘 설치됨.

Windows Media Player 9 Series for Windows 98 Second Edition, Me, and 2000 :
http://download.microsoft.com/download/1/b/c/1bc0b1a3-c839-4b36-8f3c-19847ba09299/MPSetup.exe
이미 설치가 되어 있다면서 설치 안됨.

Age of Empires II Trial Version :
http://download.microsoft.com/download/aoeaok/Trial/1.0/WIN98/EN-US/AoE2demo.exe
Non-Pentium Processor라는 메시지.
파일 설치가 끝나고 시작 메뉴 바로가기 생성중 다운.
실행하면 그래픽카드 설정에 실패했다며, Direct Show와 호환되는 그래픽카드 드라이버를 깔란다.

FireFox 1.1 :
wget http://download.mozilla.org/?product=firefox-1.0.1&os=win&lang=ko-KR
wine Firefox\ Setup\ 1.0.1.exe
탭 생성하면 꺼짐 -_- 시작 페이지를 kldp.net 등 다른 페이지로 인자를 줘야 함... google firefox 시작 페이지는 꺼짐...

4. debian

  • 2005년 2월말 현재 버전의 JIGDO(Sarge) 씨디는 S-ATA 하드를 인식하지 못한다.
FIXME : 설치 가능한 CD를 아시는 분은 적어 주세요.

5. windows

  • ATI Catalyst 드라이버는 공식적으로 Mobility Radeon 시리즈를 지원하지 않는다. [http]Mobility Modder를 설치하면 되며, 설치하기 전에 [http]DriverCleaner를 이용해 기존 드라이버를 제거하자.

6. 참고 문헌

  • 본문에 다 써놨어요.

맺음말

이 문서는 tuxmobile에 한건 더 올릴 목적으로 만들었습니다.
동일 모델을 쓰시는 분들 누구나 수정! 건의! 부탁드리오며, LM70의 다른 버전을 쓰시는 분은 이 문서에 덧붙이지 마시고 그대로 복사하여(복사 가능할 정도로 잘 된 문서는 아니지만) 다른 부분만 수정하여 새 페이지를 만드시길 권합니다.

감사의 글

KLDP를 운영해 주시는 분들,
모니위키 프로젝트를 이끄는 분들,
리눅스를 만드는 분들,
언제나 좋은 삽질기를 올려 주는 모든 유저분들께 감사의 말씀 전합니다.

문서 변경사항
  • 처음 만듦: mmx900

See also:
--
CategoryHardware, CategoryNotebook
powered by Moniwiki | themed by clockoon
last modified 2008-12-30 10:44:13
Processing time 0.0198 sec