Strona 1 z 3

Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 21 sty 2008, 18:53
autor: jarzyna-szczecin
Witam wszystkich, moje pytanie brzmi, jak następuje:
Mam ci ja w swoim laptopie Toshiba satellite l30-10x kartę muzyczną ATI Technologies Inc SB450 HDA Audio (rev 01). Mam problem z konfiguracją alsy. Gdy ustawiam w alsa-base

Kod: Zaznacz cały

options snd-hda-intel model=3stack
to dźwięk pojawia się jedynie na głośnikach, słuchawki milczą zaklęte.
Gdy natomiast wybiorę

Kod: Zaznacz cały

options snd-hda-intel model=stack
milczą głośniki, a dźwięk pojawia się na słuchawkach...
Próbowałem już chyba wszystkie sensowne opcje z dokumentacji i zawsze ten sam skutek - albo jedno, albo drugie :shock:
Czy ktoś ma może jakiś pomysł?
Dodam jeszcze, że mam jednocześnie winde i tam wszystko jest ok :wall: (jak na winde :w00t: )

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 22 sty 2008, 10:05
autor: cnl
mialem podobny problem, tyle, ze mam stacjonarnego compaq EN i tam tez jest glosniczek wbudowany... gralo mi z kolumn i z glosniczka, czyli jeszcze inaczej, niz u Ciebie :) Proponuje pobawic sie regulacja glosnosci, u mnie pomoglo wyciszenie dzwonka systemowego i podglosnienie jakiegos pcm, teraz dziala super, pobaw sie tym programem

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 22 sty 2008, 19:47
autor: jarzyna-szczecin
No niestety, jeśli chodzi o zabawę z głośnością to było to pierwsze co zrobiłem :)

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 25 sty 2008, 16:42
autor: mario_7
Jaki chipset karty (sprawdź w alsamixer)?

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 26 sty 2008, 16:50
autor: spitf1r3
Też mam ten problem, moja karta to (wg. ALSA mixer'a) HD ATI SB.

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 26 sty 2008, 16:58
autor: mario_7
Ale jaki chip?

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 26 sty 2008, 17:07
autor: spitf1r3
Chciałbym wiedzieć:D
Jak to sprawdzić?

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 26 sty 2008, 17:24
autor: mario_7
W alsamixer jest podany...

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 27 sty 2008, 02:09
autor: spitf1r3
I w ALSAmikserze jest napisane tyle.
Nie więcej, nie mniej;/
A nie wiem jak wydobyć bardziej szczegółowe informacje (w terminalu, czy gdziekolwiek indziej)....

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 27 sty 2008, 02:23
autor: mario_7
W terminalu wpisz

Kod: Zaznacz cały

alsamixer
Chyba inny program uruchomiłeś...

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 27 sty 2008, 02:32
autor: spitf1r3
Tak...sorry, myślałem, że aplet zmiany głośności to ten alsamixer.
Mój wynik:

Kod: Zaznacz cały

Card: HDA TI SB
Chip: Realtek ALC262         

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 27 sty 2008, 15:08
autor: mario_7
Nowy chipset. Może wystarczy nowsze sterowniki zainstalować:

Kod: Zaznacz cały

sudo apt-get install linux-backports-modules

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 27 sty 2008, 16:12
autor: spitf1r3

Kod: Zaznacz cały

mieszko@mieszko-laptop1:~$ sudo apt-get install linux-backports-modules
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Reading state information... Gotowe
linux-backports-modules jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Czyli to już było, dalej żadnej poprawy...:wall:
Wydaje mi się, że to wcześniej u mnie działało, ale na pewno nic nie zmieniałem w ustawieniach miksera itd...

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 27 sty 2008, 17:25
autor: mario_7
Już kiedyś napisałem instrukcje dla tego chipsetu: viewtopic.php?p=345105#p345105 - spróbuj.

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 27 sty 2008, 19:46
autor: spitf1r3
Ok mam wpisać [ ciach ]

Mój chip to: Realtek ALC262


=====EDIT=====
[ ciach ]
nie działa.
Nie mogę włączyć alsamixera
(wyrzuca:
mieszko@mieszko-laptop1:~$ alsamixer

alsamixer: function snd_mixer_load failed: Invalid argument
), a aplet Gnome, od ustawiania głośności używa OSS, ALSY nie da się włączyć.
Poza tym brak zauważalnych zmian.
Dźwięk dalej leci równocześnie z głośników laptopa i wyjście liniowe(albo sluchawkowe - nie wiem).

// mario_7: wyciąłem te dziwne zapisy, bo jeszcze ktoś mógłby próbować tego użyć... :P

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 27 sty 2008, 20:08
autor: mario_7
spitf1r3, przecież nie napisałem tego po chińsku... Masz napisać to co ja podałem w tamtym poście. Dokładnie tak jak napisałem, bo to odnosi się do konfiguracji sterownika pod kątem Twojego chipsetu.
To, co Ty napisałeś to... Nie wiem co to jest, ale na pewno nie zadziała...

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 27 sty 2008, 22:02
autor: spitf1r3
Sorry, przejrzałem tamten wątek w CAŁOŚCI i dopiero zorientowałem się, że to dot mojej karty a nie innej...
Myślałem, że mam zamienić na model mojej karty wg schematu...
Sorry za nieporozumienie xD

======EDIT=======
Dodałem

Kod: Zaznacz cały

options snd-hda-intel model=basic
i pojawiło się w applecie parę nowych regulatorów, ale dalej dźwięk nie jest wyciszany na laptopowych głośnikach, gdy podłączę zewnętrzne...:-?

EDIT:
Ale ta karta dalej nie działa jak powinna....

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 27 sty 2008, 22:15
autor: mario_7
W takim razie usuń tą linię z opcją model i spróbuj z najnowszymi sterownikami - Alsą: http://alsa-project.org/main/index.php/Main_Page
Skompiluj i zainstaluj Alsę 1.0.16rc1 (archiwa alsa-driver, alsa-lib, alsa-utils). Proces kompilacji wielokrotnie opisywałem już na forum - poszukaj.

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 28 sty 2008, 21:15
autor: spitf1r3
Dzwięk nie działa wogóle;/
Kompilowałem Alsę (standardowo: ./configure, make sudo make install), bez żadnych instrukcji, bo nie znalazłem nic na forum...

Kopilacja alsa-driver wyrzuciła błędy

Kod: Zaznacz cały

mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-driver-1.0.16rc1$ make
make dep
SUBDIRS=/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1  CPP="gcc -E" CC="gcc" modules
make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/info_oss.o
In file included from /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:29,
                 from /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/info_oss.c:7:
include/linux/utsname.h:76:52: error: macro "init_utsname" passed 1 arguments, but takes just 0
In file included from /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:29,
                 from /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/info_oss.c:7:
include/linux/utsname.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
In file included from /home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/info_oss.c:7:
/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c: In function ‘snd_sndstat_proc_read’:
/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: ‘system_utsname’ undeclared (first use in this function)
/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: (Each undeclared identifier is reported only once
/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/../alsa-kernel/core/info_oss.c:96: error: for each function it appears in.)
make[3]: *** [/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore/info_oss.o] Błąd 1
make[2]: *** [/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1/acore] Błąd 2
make[1]: *** [_module_/home/mieszko/Pulpit/ALSA/alsa-driver-1.0.16rc1] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [compile] Błąd 2
mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-driver-1.0.16rc1$ 
ale mimo to zainstalowałem.
Instalacja (i kompilacja) alsa-lib się udała.
Co do alsa-utils, to configure wyrzuciło błąd:

Kod: Zaznacz cały

mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-utils-1.0.16rc1$ make
make: *** Nie podano obiektów i nie znaleziono makefile. Stop.
mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-utils-1.0.16rc1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cross-compiler... gcc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS... 
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.15... found.
checking for snd_ctl_open in -lasound... yes
checking for snd_tlv_get_dB_range... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for initscr in -lncurses... no
checking for initscr in -lcurses... no
configure: error: this packages requires a curses library
Znalazłem i zainstalowałem libcurses-perl i libcurses-ruby (zwykłego curses ani libcurses nie znalazłem), nie pomogło...
Reinstalacja alsy nie pomogła.
Gdy chcę uruchomić alsamixer

Kod: Zaznacz cały

mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-utils-1.0.16rc1$ make
make: *** Nie podano obiektów i nie znaleziono makefile. Stop.
mieszko@mieszko-laptop1:~/Pulpit/ALSA/alsa-utils-1.0.16rc1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cross-compiler... gcc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS... 
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.15... found.
checking for snd_ctl_open in -lasound... yes
checking for snd_tlv_get_dB_range... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for initscr in -lncurses... no
checking for initscr in -lcurses... no
configure: error: this packages requires a curses library
Gdy klikam na aplet regulacji głośności:

Kod: Zaznacz cały

Nie odnaleziono wtyczek GStreamer i/lub urządzeń kontroli głośności.
Co robić?

Odp: Dźwięk na SB450 tylko na słuchawkach lub głośnikach

: 28 sty 2008, 21:47
autor: mario_7
Te instrukcje działały dla 1.0.15, więc powinny też działać dla 1.0.16rc1:

Zakładając, że na pulpicie jest katalog o nazwie alsa i w nim są rozpakowane archiwa alsa-driver-1.0.16rc1, alsa-lib-1.0.16rc1 i alsa-utls-1.0.16rc1

Kod: Zaznacz cały

sudo apt-get install build-essential linux-headers-`uname -r` libncurses5-dev gettext
cd ~/Desktop/alsa/alsa-driver-1.0.16rc1
./configure
make
sudo make install
cd ..
cd alsa-lib-1.0.16rc1
./configure
sudo make install
cd ..
cd alsa-utils-1.0.16rc1
./configure
sudo make install
sudo alsaconf
sudo depmod -a