notebook/LM70-P6MK
2. 하드웨어 제원 ¶
3.2. Grub ¶설치 직후 부팅하면 pcmcia에서 에러가 난다.
일단 부팅하기 위해 grub 메뉴에서 e를 눌러 커널 옵션을 적는 제일 마지막 부분에 acpi=off를 추가해준다.
부팅되면 pcmcia-cs 패키지를 제거한다.
3.3. 서비스 설정 ¶ntsysv를 실행해 설정한다.
3.4.2. 키보드 ¶FN키 + HOME & END(디스플레이 밝기 증가 및 감소)와 F6(Wireless Radio : On/Off) 는 기본으로 동작한다.
FIXME : 기타 키 설정.
3.4.3. 마우스 ¶synaptic touchpad는 기본으로 동작한다. 하지만 이 드라이버는 모서리의 tab click(웹사이트 전진, 후진)를 지원하며, 당신은 이 때문에 아마도 웹 써핑 도중 곤란함을 많이 당할 것이다. 더구나 탭클릭이 기본으로 Button 2(Middle Button)로 할당되어 있는 점(xev로 확실히 알 수 있다), X-Note 설계상의 문제로 타이핑 도중 패드를 건드리는 수준에 이르면 당신은 아마도 탭클릭을 끔찍하게 혐오하게 될 것이다.
이 설정을 제거하려면 다음과 같이 한다 (
![]() ![]() #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 0mount /mnt 3.4.5. 커널 2.6.12 컴파일 ¶1.
![]() # rpm -Uvh kernel-2.6.12-1.1398_FC4.src.rpm # cd /usr/src/redhat/SPECS/ # rpmbuild -bp --target=i686 kernel-2.6.spec # cd ../BUILD/kernel-2.6.12/linux-2.6.12 # cp configs/kernel-2.6.12-i686.config .config cp: overwrite `.config`? y # make oldconfig # ln -s /usr/src/redhat/BUILD/kernel-2.6.12/linux-2.6.12 /usr/src/linux ![]() ![]() # mv Marvel_drivers.tar /usr/src/install-8_15_patched.tar # tar xvf install-8_15_patched.tar DriverInstall/ DriverInstall/README DriverInstall/install.sh DriverInstall/sk98lin.4 DriverInstall/sk98lin.tar.bz2 # cd DriverInstall # ./install.sh Installation script for sk98lin driver. Version 8.15.1.3 (Mar-07-2005) (C)Copyright 2003-2004 Marvell(R). ==================================================== Add to your trouble-report the logfile install.log which is located in the DriverInstall directory. ==================================================== 1) user installation 3) generate patch 2) expert installation 4) exit Choose your favorite installation method: 3 Create tmp dir (/tmp/Sk98IQRkUQpRRedVhHQoYZRhR) [ OK ] Unpack the sources (done) [ OK ] Kernel source directory (/usr/src/linux) : [엔터] Patch name (/usr/src/DriverInstall/sk98lin_v8.15.1.3_2.6.12_patch) : [엔터] Kernel version (2.6.11) [ OK ] Driver version (8.15.1.3) [ OK ] Release date (Mar-07-2005) [ OK ] Check kernel functions (Changed: nothing) [ OK ] Generate driver patches (done) [ OK ] Generate readme patch (done) [ OK ] Generate Kconfig patch (done) [ OK ] Delete temp directories (done) [ OK ] All done. Patch successfully generated. To apply the patch to the system, proceed as follows: # cd /usr/src/linux # cat /usr/src/DriverInstall/sk98lin_v8.15.1.3_2.6.12_patch | patch -p1 Have fun... # cd /usr/src/linux # cat /usr/src/DriverInstall/sk98lin_v8.15.1.3_2.6.12_patch | patch -p1 more Documentation/networking/sk98lin.txt
make menuconfig
![]() NTFS는 하드디스크의 Windows XP 파티션을 마운트하기 위한 것으로, 리눅스만 사용할 경우 필요 없다.
설정을 저장하고 나온 뒤, 커널을 컴파일, 설치 한다.
# make dep # make clean bzImage # make modules # make modules_install # cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.12-20050826 # cp System.map /boot/System.map-2.6.12-20050826 # mkinitrd /boot/initrd-2.6.11-20050826.img 2.6.12-prep 이제 /etc/grub.conf 를 열어서 해당 커널로 부팅할 수 있도록 하자.
title Fedora 20050826 root (hd0,1) kernel /boot/vmlinuz-2.6.12-20050826 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.12-20050826.img 리붓한다.
3.4.6. 무선랜 ¶0. 준비
커널에서 다음 모듈이 선택되어 있는지 확인 :
# modprobe ipw2200
1. ![]() # mkdir ipw2200-fw # tar xvzf ipw2200-fw-2.2.tgz -C ipw2200-fw # cp ipw2200-fw/*.fw /lib/firmware/ # modprobe ipw2200 ... 3.4.7. 사운드 ¶wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.9b.tar.bz2 tar xvjf alsa-driver-1.0.9.tar.bz2 cd alsa-driver-1.0.9 ./configure --with-isapnp=no --with-cards=hda-intel ... checking for built-in ALSA... "yes" configure: error: You have built-in ALSA in your kernel. # make # make install # ./snddevices # modprobe snd-hda-intel 가끔씩 볼륨 조절의 설정이 전혀 먹히지 않는 경우가 있는데, 이것은 OSS 출력시의 문제로 해당 프로그램에서 ALSA로 출력하도록 해 주면 잘 동작한다.
차후 드라이버에서 보완해야할 부분으로 보인다.
alsa-lib가 현재 update 트리에서 1.0.6이 최신이므로 FC4 소스 트리에서 받아서 설치한다.
(그대로 써도 되지만 소리의 질이 아주 떨어지고, alsamixer를 이용한 볼륨 컨트롤이 되지 않는다.)
# wget ftp://rpmfind.net/linux/fedora/core/updates/4/i386/alsa-lib-devel-1.0.9rf-2.FC4.i386.rpm # wget ftp://rpmfind.net/linux/fedora/core/updates/4/i386/alsa-lib-1.0.9rf-2.FC4.i386.rpm # wget ftp://rpmfind.net/linux/fedora/core/updates/4/i386/alsa-utils-1.0.9rf-2.FC4.i386.rpm # rpm -Uvh *.rpm ... ![]() 3.4.8. 3D 가속 ¶1.
![]() 2. 드라이버 패키지를 설치. libGL.so.1.2에서 파일 충돌이 일어날 경우 --force 옵션을 사용해 설치한다.
# rpm -ivh --force fglrx_6_8_0-8.16.20-1.i386.rpm # rpm -Uvh fglrx_6_8_0-8.16.20-1.i386.rpm 준비 중... ########################################### [100%] 1:fglrx_6_8_0 ########################################### [100%] # cd /lib/modules/fglrx/build_mod # chmod +x make.sh # ./make.sh ATI module generator V 2.0 ... 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 .. # chmod +x make_install.sh # ./make_install.sh 설치가 무사히 완료되면, 부트 스크립트에 fglrx 모듈을 자동으로 로드하도록 추가한다.
# vi /etc/rc.d/rc #! /bin/bash # ... modprobe fglrx check_runlevel ()... 다음은 필자의 /etc/X11/xorg.conf 파일이다.
# 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 X윈도를 시작하고 나서 드라이버가 제대로 사용되고 있는지 확인한다.
[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.5.1. mplayer ¶자막, 화질 등을 고려하여 다음과 같이 설정한다.
# 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 3.5.2. Notebook Status ¶Gnome 2.10 이상에서 패널 메뉴(left-click) - 패널에 더하기 -CPU 클럭 스케일링 감시와 배터리 충전 감시기를 켜면 현재 남은 배터리 잔량과 CPU 클럭을 확인할 수 있다.
4.2. 무선랜 ¶
5. ubuntu ¶
6. windows ¶
|
A king's castle is his home. |