Forum Linux.pl

Sprzęt => Karty muzyczne => Wątek zaczęty przez: schabowy w 2011-10-12, 21:53:15

Tytuł: [Debian] Realtek HD audio - instalacja
Wiadomość wysłana przez: schabowy w 2011-10-12, 21:53:15
Mam problem z instalacją sterowników do karty dźwiękowej. W instrukcji instalacji pisze:
Cytuj
Installation:
This Source Code is from www.alsa-project.org.
For OS installation, please remember add the Development tool kit.
For driver installation, please follow below steps.

Automatic install:
execute

  ./install

Note: Please check Development tool kit on your OS.  

Manual install:
Step 1. unzip source code
        tar xfvj alsa-driver-1.0.xx.tar.bz2

Step 2. Complied source code
   a. cd alsa-driver-1.0.xx
   b. ./configure --with-cards=hda-intel
   c. make
   d. make install

Step 3. reboot your machine

Step 4. Use the alsamixer the disable mute (All audio line default is mute)
        Must to compile and to install the ALSA library and utility. (Use automatic install is already install)
        excute alsamixer
Automatyczna instalacja przebiega tak:
Cytuj
root@debian:/home/user1/realtek-linux-audiopack-5.16# ./install
.....Decompress Driver source v1.0.24-5.16rc17
Compile Driver........
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/user1/realtek-linux-audiopack-5.16/alsa-driver-1.0.24':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
./install: 20: make: not found
./install: 21: make: not found
Creating mixer?...done.
Creating sequencer...done.
Creating midi0?...done.
Creating dsp?...done.
Creating audio?...done.
Creating sndstat...done.
Creating music...done.
Creating dmmidi?...done.
Creating dmfm?...done.
Creating amixer?...done.
Creating adsp?...done.
Creating amidi?...done.
Creating admmidi?...done.
rm: nie można usunąć `/dev/snd': Jest katalogiem
rm: nie można usunąć `/dev/snd/by-path': Jest katalogiem
rmdir: nie udało się usunąć `/dev/snd': Katalog nie jest pusty
Creating snd/control?...done.
Creating snd/seq...done.
Creating snd/timer...done.
Creating snd/hw??...done.
Creating snd/midi??...done.
Creating snd/pcm??p...done.
Creating snd/pcm??c...done.
Creating aload?...done.
Creating aloadSEQ...done.
Remove Folder.....
./install: 48: alsaconf: not found
Ręczna przebiega tak:
Cytuj
root@debian:/home/user1/realtek-linux-audiopack-5.16/alsa-driver-1.0.24# ./configure --with-cards=hda-intel
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/user1/realtek-linux-audiopack-5.16/alsa-driver-1.0.24':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
root@debian:/home/user1/realtek-linux-audiopack-5.16/alsa-driver-1.0.24# ./configure --with-cards=hda-intel
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/user1/realtek-linux-audiopack-5.16/alsa-driver-1.0.24':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Sugerując się radami z http://debian.linux.pl/threads/443-ALSA-dźwięk-w-Linuksie:
Cytuj
root@debian:/home/user1# uname -r
2.6.32-5-amd64
root@debian:/home/user1# aptitude install alsa-base alsa-utils
Nie zostaną zainstalowane, zaktualizowane ani usunięte żadne pakiety.
0 pakietów aktualizowanych, 0 instalowanych, 0 do usunięcia i 0 nie aktualizowanych.
Do pobrania 0 B archiwów. Zajęte po rozpakowaniu: 0 B.
                                                 
root@debian:/home/user1# alsaconf
bash: alsaconf: nie znaleziono polecenia
root@debian:/home/user1# alsamixer
cannot open mixer: Nie ma takiego urządzenia
Linuksa mam od wczoraj i nie rozumiem o co chodzi z linijką
Cytuj
Note: Please check Development tool kit on your OS.
Być może w tym tkwi problem. Prosze o pomoc. Pozdrawiam.
Tytuł: [Debian] Realtek HD audio - instalacja
Wiadomość wysłana przez: ultr w 2011-10-13, 01:47:28
Przy ręcznej konfiguracji wcześniej masz ten sam błąd co przy automatycznej instalacji:
checking for gcc... no
checking for cc... no
checking for cl.exe... no
[...]
configure: error: no acceptable C compiler found in $PATH
Rozwiązanie: zainstaluj kompilator języka C ;)
# apt-get install gcc
Tytuł: [Debian] Realtek HD audio - instalacja
Wiadomość wysłana przez: ultr w 2011-10-13, 01:52:39
Choć może zacznijmy od tego, po co ręcznie kompilujesz ALSĘ, skoro jest dostępna w repozytorium ;)

Wystarczy zainstalować (jako root):
# apt-get install alsa-base
Tytuł: [Debian] Realtek HD audio - instalacja
Wiadomość wysłana przez: schabowy w 2011-10-13, 11:04:32
Chyba jednak nie w tym problem :( suwaki wszystkie na maksa w góre.

Cytuj
root@debian:/home/user1# apt-get install alsa-base
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności      
Odczyt informacji o stanie... Gotowe
alsa-base jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Edit: pomogło ustawienie motywu w Regulacja głośności -> motyw dźwiękowy -> default... :) w każdym razie dzieki za pomoc, mam jeszcze problem z instalacją karty wifi, opisany w dziale sieci.