من یک مدتی هست اوبونتو رونصب کردم ولی کارت صدا رو نمی دونم چرا نمیشناسه!
یک جایی این مطالب پایین رو خوندم ولی موفق به نصب برنامه هاش نشدم:
You can check your codec by typing:
taufanlubis@toshiba:~$ cat /proc/asound/card0/codec#0 | grep Codec
جالبه ماله منم همینه!
Codec: Realtek ID 268taufanlubis@toshiba:~$
Check your sound card:
taufanlubis@toshiba:~$ lspci
……
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
…..
taufanlubis@toshiba:~$
Most modern distros come with soundcore compiled as a module. You can check it by typing:
taufanlubis@toshiba:~$ modinfo soundcore
filename: /lib/modules/2.6.22-14-generic/kernel/sound/soundcore.ko
alias: char-major-14-*
license: GPL
author: Alan Cox
description: Core sound module
srcversion: 548AA54AF08207316C104F8
depends:
vermagic: 2.6.22-14-generic SMP mod_unload 586
taufanlubis@toshiba:~$
If this command returns that you have this module, then you don’t need to recompile your kernel.
There few steps you need to follow:
Step 1. Download the latest driver from ALSA project.
ALSA (Advanced Linux Sound Architecture) provides audio and MIDI functionally to the Linux operating system. The web page address is:
www.alsa-project.orgThere 3 files that you have to download, alsa-driver, alsa-lib and alsa-utils.
alsa-driver-1.0.15.tar.bz2 2.6M
alsa-lib-1.0.15.tar.bz2 776K
alsa-utils-1.0.15.tar.bz2 991K
These are the latest update when I downloaded it.
Step 2. Copy the 3 files to alsa directory in /usr/src
taufanlubis@toshiba:~$ cd /usr/src
taufanlubis@toshiba:/usr/src$ sudo mkdir alsa
taufanlubis@toshiba:/usr/src$ cd alsa
taufanlubis@toshiba:/usr/src/alsa$ sudo cp /…your_alsa_location.../alsa-*
Step 3. Install the alsa-driver package
I suggest to use both bunzip2 and tar, not tar only.
cd /usr/src
mkdir alsa
cd alsa
cp /downloads/alsa-*
taufanlubis@toshiba:/usr/src/alsa$ sudo bunzip2 alsa-driver-1.0.15.tar.bz2
taufanlubis@toshiba:/usr/src/alsa$ sudo tar -xf alsa-driver-1.0.15.tar
taufanlubis@toshiba:/usr/src/alsa$ cd alsa-driver-1.0.15/
I suggest to use root access level not sudo because I got problem when I used sudo.
taufanlubis@toshiba:/usr/src/alsa/alsa-driver-1.0.15$ su root
Password:
root@toshiba:/usr/src/alsa/alsa-driver-1.0.15# ./configure –with-cards=hda-intel –with-sequencer=yes ; make ; make install
Step 4. Set permissions for dsp, mixer, sequencer and midi (if you use it).
root@toshiba:/usr/src/alsa/alsa-driver-1.0.15# ls -l /dev/dsp /dev/mixer /dev/sequencer
crw-rw—- 1 root audio 14, 3 2007-11-25 21:09 /dev/dsp
crw-rw—- 1 root audio 14, 0 2007-11-25 21:09 /dev/mixer
crw-rw—- 1 root audio 14, 1 2007-11-25 21:09 /dev/sequencer
root@toshiba:/usr/src/alsa/alsa-driver-1.0.15# chmod a+rw /dev/dsp /dev/mixer /dev/sequencer
Step 5. Install alsa-lib package
root@toshiba:/usr/src/alsa/alsa-driver-1.0.15# cd ..
root@toshiba:/usr/src/alsa# bunzip2 alsa-lib-1.0.15.tar.bz2
root@toshiba:/usr/src/alsa# cd alsa-lib-1.0.15
root@toshiba:/usr/src/alsa/alsa-lib-1.0.15# ./configure ; make ; make install
Step 6. Install alsa-utils package
root@toshiba:/usr/src/alsa/alsa-lib-1.0.15# cd ..
root@toshiba:/usr/src/alsa# bunzip2 alsa-utils-1.0.15.tar.bz2
root@toshiba:/usr/src/alsa# tar alsa-utils-1.0.15.tar
root@toshiba:/usr/src/alsa# cd alsa-utils-1.0.15
root@toshiba:/usr/src/alsa/alsa-utils-1.0.15# ./configure ; make ; make install
Step 7. Insert the modules into the kernel
root@toshiba:/usr/src/alsa/alsa-utils-1.0.15# modprobe snd-hda-intel
root@toshiba:/usr/src/alsa/alsa-utils-1.0.15# modprobe snd-pcm-oss
root@toshiba:/usr/src/alsa/alsa-utils-1.0.15# modprobe snd-mixer-oss
root@toshiba:/usr/src/alsa/alsa-utils-1.0.15# modprobe snd-seq-oss
Step 8. Adjust your sound card’s volume levels
You can quit now from root access level.
root@toshiba:/usr/src/alsa/alsa-utils-1.0.15# exit
exit
All mixer channels are muted by default, so you must unmute the channels. You can use alsamixer from alsa-utils package.
taufanlubis@toshiba:/usr/src/alsa/alsa-driver-1.0.15$ alsamixer
alsa2.png
Step 9. Setting up modprobe and kmod support
If you don’t have /etc/modules.conf, just create a new one.
taufanlubis@toshiba:/usr/src/alsa/alsa-driver-1.0.15$ cd /etc
taufanlubis@toshiba:/etc$ sudo gedit modules.conf
#Alsa portion
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-cmipci
options snd-cmipci id=”firt” mpu_port=0×330
# OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
Create alsa file in /etc/modutils/
taufanlubis@toshiba:/etc$ cd modutils/
taufanlubis@toshiba:/etc/modutils$ sudo gedit alsa
#ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
#module options should go here
#OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
#card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
Step 10. Reboot your computer.
You will get the sound after you boot your computer.
Now, you have a new sound Codec for your sound card.
alsa01.png
taufanlubis@toshiba:~$ cat /proc/asound/card0/codec#0 | grep Codec
Codec: Realtek ALC268
taufanlubis@toshiba:~$
قبلش نوشته این کارم انجام بدید ولی ماله من ران تایم ارور میده!
- $sudo apt-get update
- $sudo apt-get upgrade
- $sudo apt-get dist-upgrade
- $sudo apt-get install build-essential
حالا اگه راهی میدونید که کارته صدام نصب بشه و سیستم یک صدای ازش در بیاد لطفا راهنمایی کنید
![Huh? ???](https://forum.ubuntu-ir.org/Smileys/default/huh.gif)