Fórum WebTuga

Arquivo => Informática => GNU/Linux => Topic started by: _Newbie_ on March 15, 2008, 07:40:37 PM

Title: Problema de Som no Ubuntu
Post by: _Newbie_ on March 15, 2008, 07:40:37 PM
Saudações!

Penso que já existe um tópico sobre este assunto, mas entretanto já o perdi de vista   :?  

Já há algum tempo que não tenho som no Ubuntu...desapareceu de repente (até mesmo o som de início do Ubuntu) e tenho tentando várias soluções mas sem sucesso...  

Se alguém me pudesse dar alguma dica, agradecia imenso!

Obrigada
Title: Problema de Som no Ubuntu
Post by: lycosman on March 15, 2008, 09:31:00 PM
Tás a usar uma conta do grupo Administradores?
Title: Problema de Som no Ubuntu
Post by: _Newbie_ on March 16, 2008, 12:05:30 PM
Sim..
Title: Problema de Som no Ubuntu
Post by: southafrikanse on March 16, 2008, 02:06:00 PM
Fizeste alguma actualização recente ao Ubuntu?
Title: Problema de Som no Ubuntu
Post by: _Newbie_ on March 16, 2008, 02:46:03 PM
Não...continuo com a versão 7.04 (Feisty Fawn).
Title: Problema de Som no Ubuntu
Post by: southafrikanse on March 16, 2008, 06:39:45 PM
QuoteNão...continuo com a versão 7.04 (Feisty Fawn).

Estou a falar de actualizações de software (programas, correcção de bugs e por aí).

Mas tenta ver se na nova versão (Gutsy Gibbon) esse problema fica resolvido.

Senão quiseres fazer o upgrade diz-nos que placa de som é que tens (comando lspci)
Title: Problema de Som no Ubuntu
Post by: _Newbie_ on March 17, 2008, 12:19:19 AM
Sorry pelo mal entendido..

Não quero a nova versão por enquanto.

Quanto à placa de som: Intel Corporation 82801CA/CAM AC\\'97 Audio C
Title: Problema de Som no Ubuntu
Post by: southafrikanse on March 17, 2008, 04:37:55 AM
É assim, não sou grande pro no linux. Já usei Ubuntu mas agora estou a usar OpenSuse. Ainda sou um bocado noob nestas andanças mas encontrei isto aqui e talvez te possa resolver o teu problema:

QuoteUbuntuForuns[/url]]1. Go to a shell and type: aplay -l

* Success - You will get a list of the all the soundcards installed on your system. Your sound just might be muted. See alsamixer section.
Failure - You will get a message like aplay: device_list:221: no soundcard found... then you will have to move on to step two.

2. Type this into the shell: lspci -v

* Success - At this point, you should see your sound card listed. This is a positive sign because it means that Ubuntu is detecting the presence of your soundcard, but the drivers are not installed/running. Leave your shell running since you will need it.
* Failure - If it is not listed, then there are a few things that you can do.
o If your soundcard is an onboard sound card, then it might be disabled in the system\\'s BIOS. You will have to reboot and hit the key that lets you enter into the BIOS (usually Delete, F2, or F8).
o If your soundcard is not onboard, make sure that it is properly seated in the PCI slot. If your card is working under Windows then this is not a problem.

3. Check to see if the ALSA driver for your sound card exists. Go to http://www.alsa-project.org/alsa-doc/ (http://www.alsa-project.org/alsa-doc/) and search for your sound card (chipset) manufacturer in the dropdown box. You\\'ll be given a matrix of the sound cards made by the manufacturer. Try to match the chipset you found in step 2 with the driver(green hyperlink text).

* Success - You will have found the driver for your soundcard\\'s chipset.
* Failure - You will have not found the driver for your soundcard chipset. (at the moment I cannot help you,


4. Install the required tools

sudo apt-get install build-essential ncurses-dev gettext

5. Install your kernel headers
sudo apt-get install linux-headers-`uname -r`

6.Download the latest version of alsa from AlsaProject (http://www.alsa-project.org/main/index.php/Main_Page) (driver, library, and utils) to a directory (eg. ~/downloads). In the following we assume that the latest version is 1.0.14rc4. Please change this in accordance with the one you downloaded from the Alsa project site:
alsa-driver
alsa-lib
alsa-utils

7.Setup installation directories

Now this worked for me after trying many different things.
sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/downloads/alsa* .
sudo tar xjf alsa-driver-1.0.14rc4.tar.bz2  (modifica os números para a nova versão)
sudo tar xjf alsa-lib-1.0.14rc4.tar.bz2        (modifica os números para a nova versão)
sudo tar xjf alsa-utils-1.0.14rc4.tar.bz2     (modifica os números para a nova versão)

8.Compile and install alsa-driver
cd alsa-driver-1.0.14rc4
sudo ./configure --with-cards=<Your>
sudo make
sudo make install
./snddevices

9.Compile and install alsa-lib
cd ../alsa-lib-1.0.14rc4
sudo ./configure
sudo make
sudo make install

10.Compile and install alsa-utils
cd ../alsa-utils-1.0.14rc4
sudo ./configure
sudo make
sudo make install

11.Reboot
And your audio should work.

Peço desculpas se está em Inglês mas parece-me que com isto deverás ter tudo a funcionar. Entretanto se alguem encontrar uma maneira mais simples de resolver o problema agradecia.