질문있으시면 gooshin at popsmail.com으로 해주세요..^^
linux on Sony VAIO C1VR/BP(J)
+ kernel 2.4.6-ac5
+ ymfpci sound card set
+ usb mouse support
+ full width console
+ x windows setup for xfree86 4.0.3
hint ; if you system is Debian GNU/Linux potato-r3,
so let upgrade sid or woody.,why full width
console is not with xfree86 3.3.6
- kernel 2.4.6-ac5
; dependence
modutils-2.4.6.tar.gz
linux-2.4.6.tar.gz
patch-2.4.6-ac5.gz ( alan kernel patch)
; how does it get?
ftp://ftp.kernel.org ; kernel compile
# cp modutils-2.4.6.tar.gz /usr/src
# cp linux-2.4.6.tar.gz /usr/src
# cp patch-2.4.6-ac5.gz
+ modutils compile
# cd /usr/src
# tar xvfz modutils-2.4.6.tar.gz
# cd modutils-2.4.6
# ./configure
# make
# make install
+ kernel patch
# cd /usr/src
# tar xvfz linux-2.4.6.tar.gz
# mv linux linux.vanilla
# gzip -cd patch-2.4.6-ac5.gz | patch -p0
# ln -s linux.vanilla linux
+ kernel compile and install
# cd /usr/src/linux
# make mrproper
# make menuconfig (or make xconfig or make config)
# make dep
# make clean
# make bzImage
# make modules
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.6-ac5
# cp System.map /boot/System.map-2.4.6-ac5
- ymfpci sound card set
; kernel config
-----/usr/src/linux/.config------------------------
#
# Sound
#
CONFIG_SOUND=y
CONFIG_SOUND_OSS=m
CONFIG_SOUND_TRACEINIT=y
CONFIG_SOUND_DMAP=y
CONFIG_SOUND_VMIDI=m
CONFIG_SOUND_MPU401=m
CONFIG_SOUND_YMFPCI=m
CONFIG_SOUND_YMFPCI_LEGACY=y
; modules configure
-----/etc/modules.conf-----------------------------
### Sound Card
alias char-major-116 snd
alias snd-card-0 ymfpci
alias sound-slot-0 snd-card-0
; modules load
-----/etc/modules----------------------------------
### Sound Card load
ymfpci
; device config
# chmod 666 /dev/dsp
# chmod 666 /dev/mixer
- usb mouse support
; kernel config
-----/usr/src/linux/.config------------------------
#
# Input core support
#
CONFIG_INPUT=y
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_EVDEV=m
#
# USB support
#
CONFIG_USB=m
CONFIG_USB_DEVICEFS=y
CONFIG_USB_UHCI=m
CONFIG_USB_HID=m
CONFIG_USB_MOUSE=m
; modules configure
-----/etc/modules.conf-----------------------------
### USB Mouse
alias usb-controller usb-uhci
post-install usb-uhci modprobe mousedev
post-install mousedev modprobe hid
; modules load
-----/etc/modules----------------------------------
# USB Mouse
usb-uhci
mousedev
hid
; device config
# mkdir /dev/input
# mknod /dev/input/mice c 13 63
- full width console
; kernel config
-----/usr/src/linux/.config------------------------
#
# Watchdog Cards
#
CONFIG_SONYPI=y
#
# Console drivers
#
CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
#
# Frame-buffer support
#
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FB_VGA16=y
CONFIG_VIDEO_SELECT=y
CONFIG_FB_ATY=y
CONFIG_FB_ATY_CT=y
CONFIG_FB_ATY_CT_VAIO_LCD=y
; /etc/lilo.conf edit
-----/etc/lilo.conf--------------------------------
image=/boot/wmlinuz-2.4.6-ac5
label=Fox
read-only
vga=0x301 # full width console option
append="ide2=0x180,0x386"
- x windows setup for xfree86 4.0.3
; configure file
-----/etc/X11/XF86Config-4-------------------------
# XFree86 4.0 configuration generated by Xconfigurator
Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/johabfont/"
FontPath "/usr/X11R6/lib/X11/fonts/hanyangfont/"
EndSection
# This loads all the modules...
Section "Module"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "pex5"
Load "record"
Load "xie"
Load "v4l"
Load "freetype"
Load "speedo"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "AutoRepeat" "500 30"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "NippleMouse"
Driver "mouse"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "yes"
EndSection
Section "InputDevice"
Identifier "USBMouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "imps/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Generic LCD Panel"
VendorName "Unknown"
ModelName "Unknown"
# HorizSync 30-64
# VertRefresh 50-100
ModeLine "1024x480m" 65.00 1024 1032 1176 1344 480 488 494 560 -hsync -vsync
Option "DPMS"
EndSection
Section "Device"
Identifier "My Video Card"
Driver "ati"
BoardName "Unknown"
BusID "PCI:0:13:0"
ClockChip "Internal"
EndSection
Section "Screen"
Identifier "Screen0"
Device "My Video Card"
Monitor "Generic LCD Panel"
DefaultDepth 24
Subsection "Display"
Depth 32
Modes "1024x480m" "800x375m" "640x480m" "640x300m" "512x240m"
Virtual 1024 480
ViewPort 1024 480
EndSubSection
Subsection "Display"
Depth 24
Modes "1024x480m" "800x375m" "640x480m" "640x300m" "512x240m"
Virtual 1024 480
ViewPort 1024 480
EndSubSection
Subsection "Display"
Depth 16
Modes "1024x480m" "800x375m" "640x480m" "640x300m" "512x240m"
Virtual 1024 480
ViewPort 1024 480
EndSubSection
Subsection "Display"
Depth 8
Modes "1024x480m" "800x375m" "640x480m" "640x300m" "512x240m"
Virtual 1024 480
ViewPort 1024 480
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Section "ServerLayout"
Identifier "My Layout"
Screen "Screen0"
InputDevice "NippleMouse" "CorePointer"
InputDevice "USBMouse" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
- reference
linux on laptop
http://www.stevebarr.com/cgi-bin/cgiwrap/barrst/goto.pl?c1vnlinks