“ALSA (an acronym for Advanced Linux Sound Architecture) is a Linux kernel module that replaces several different kernel drivers for sound cards with a single device driver which handles the diversity of sound cards internally. Some of the goals of the ALSA project were to support automatic configuration of sound card hardware, and graceful handling of multiple sound devices in a system, goals which it has largely met.
Unpack the source:
# bunzip2 alsa-driver* && tar -xvf alsa-driver*
Change to the new directory:
# cd alsa*
Configure and compilation alsa:
# ./configure && make
Begin install:
# make install
If your card is supported(http://www.alsa-project.org/alsa-doc/), run ‘alsaconf’ and follow the directions:
# alsaconf
Then, to configure sound and mixer options:
# alsamixer
Author :
remote-exploits.blogspot.com
Ditulis dalam Modding. 2 Komentar »
Compiling and Installing The Kernel
Desember 25, 2007 — atoz-chevara
Before you do any kind of such work, have a backup of everything.
Obtain the kernel you wish to compile: ftp://ftp.kernel.org/pub/linux/kernel/ for me this was 2.6.21.4 this was key for getting my 965GM video card working correctly.
# cd to /usr/src
# wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.XX.XX.tar.gz
Edit your lilo.conf config, make the following changes:
image = /boot/vmlinuz.old
label = OldKernel
Next open up
/usr/src/linux/Makefile
Uncomment the line...
#export INSTALL_PATH=/boot
Then cd back to where you downloaded the new kernel too and
# tar zxf linux-2.6.XX.XX.tar.gz
Next we create a symlink to linux from the new kernel:
# ln -s linux-2.6.21.3 linux
# cd /usr/src/linux
It’s a good idea to use the configuration of your current working kernel as a basis for your new kernel. You will be editing it in a second if you nee to change anything before the install, do it then. So we copy the existing configuration to /usr/src/linux:
# make clean && make mrproper
# cp /boot/config-`uname -r` ./.config
Now we run:
# make menuconfig
The kernel configuration menu will pop up, proceed to the bottom where it says:
Load an Alternate Configuration File
Type:
.config
If you happen to have the same chipset I do, this next step is imperative. Navigate to:
Device Driver -> Character Devices -> Scroll down to /dev/agpgart
Press space to build this module into the kernel. It should show up as a (*) to the left of it.
Exit out of everything when you’re done and it will ask if you’d like to save your changes, select Yes.
Now that we have everything configured let’s go ahead and start to build the kernel:
# make bzImage
# make
# make install
# make modules
# make modules_install
This could take a while if you have a slow computer.
When all is said and done check to make sure it installed the bzImage to you /boot directory and that lilo.conf was altered to reflect the new kernel compilation.
Reboot and enjoy your new kernel. If something goes wrong, you can always boot back to you’re old kernel and see what happened.
Author :
remote-exploits.blogspot.com
Rabu, 18 Mei 2011
COmpiling alsa
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar