Kako promeniti audio izlaz na zvučnoj kartici

1

Kako promeniti audio izlaz na zvučnoj kartici

offline
  • dekao  Male
  • Moderator foruma
  • Dejan Trajković
  • Realist painter
  • Pridružio: 06 Apr 2006
  • Poruke: 3591
  • Gde živiš: Somewhere in time

Na glavnom audio izlazu na zvučnoj kartici koji ubuntu po defaultu koristi prestao je da radi jedan zvučnik. Sad bih želeo da izlaz za audio prebacim na drugi izlaz koji je slobodan jer ne koristim ni mikrofon ni slušalice a imam 2.0 zvuk. Na windowsu je to lako jer postoji ovo:


ali na linuxu mi nikako ne ide. Probao sam pomoću ovog:



ali se ne dešava apsolutno ništa, i dalje dobijam zvuk samo sa glavnog izlaza na samo jednom zvučniku. Tražio sam rešenje na netu ali ni traga. Postoji li uopšte ta mogućnost?



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • bocke  Male
  • Moderator foruma
  • Glavni moderator Linux foruma
  • Veliki Pingvin
  • Guru
  • Pridružio: 16 Dec 2005
  • Poruke: 12486
  • Gde živiš: Južni pol

Ta opcija je vezana za RTP mrežni protokol:
Citat:RTP provides end-to-end network transport functions suitable for applications transmitting real-time data, such as audio, video or simulation data, over multicast or unicast network services.

Nažalost nisam siguran da postoji jednostavna panel aplikacija za podešavanje zvuka poput ove Realtekove. Možeš pokušati da promeniš Pulseaudio opcije u Pulseaudio volume control appletu. Izmeni opciju zvučna karta iz 2.0 ili 2+1 u 4+1, napr.

Ako to ne uspe postoji još jedna opcija koja bi možda mogla biti malo (ili više) frustrantna pa je čuvam za kasnije.



offline
  • dekao  Male
  • Moderator foruma
  • Dejan Trajković
  • Realist painter
  • Pridružio: 06 Apr 2006
  • Poruke: 3591
  • Gde živiš: Somewhere in time

Daj i tu frustrantnu, ova nefrustrantna ne daje rezultate.

offline
  • bocke  Male
  • Moderator foruma
  • Glavni moderator Linux foruma
  • Veliki Pingvin
  • Guru
  • Pridružio: 16 Dec 2005
  • Poruke: 12486
  • Gde živiš: Južni pol

Izvini, nisam imao vremena i strpljenja da gledam u vezi remapiranja portova za Intel HDA. Čačkao sam oko toga ranije ali bez mnogo uspeha.

Međutim, malopre sam naišao na jedan sound setup panel koji bi možda mogao da pomogne:



http://0pointer.de/blog/projects/speaker-setup.html

Btw, moraćeš ga instalirati iz gita:
git clone git://git.0pointer.de/gnome-speaker-setup.git

offline
  • dekao  Male
  • Moderator foruma
  • Dejan Trajković
  • Realist painter
  • Pridružio: 06 Apr 2006
  • Poruke: 3591
  • Gde živiš: Somewhere in time

Nikako da ga iskompajliram. Rešio sam zavisnosti ali ovde zaglavim:

/home/dejan/gnome-speaker-setup/gnome-speaker-setup.c:12: fatal error: pulse/pulseaudio.h: No such file or directory
compilation terminated.
error: cc exited with status 256
Compilation failed: 1 error(s), 16 warning(s)
make: *** [gnome-speaker-setup] Error 1


To je nekoliko poslednjih linija, ostali izlaz mi se čini u redu. Evo ga:
https://www.mycity.rs/must-login.png

offline
  • bocke  Male
  • Moderator foruma
  • Glavni moderator Linux foruma
  • Veliki Pingvin
  • Guru
  • Pridružio: 16 Dec 2005
  • Poruke: 12486
  • Gde živiš: Južni pol

sudo apt-get install libpulse-dev

Inače na http://packages.ubuntu.com/ možeš pretraživati pakete i po sadržaju. Recimo ovog puta sam tražio paket koji sadrži pulseaudio.h:

offline
  • dekao  Male
  • Moderator foruma
  • Dejan Trajković
  • Realist painter
  • Pridružio: 06 Apr 2006
  • Poruke: 3591
  • Gde živiš: Somewhere in time

Crying or Very sad

https://www.mycity.rs/must-login.png

Mada, mislim da ovaj program u suštini radi isto što i defaultni pulseaudio kontroler na ubuntu:



A od toga nije bilo nikakve pomoći.

offline
  • Pridružio: 30 Dec 2007
  • Poruke: 4759
  • Gde živiš: Niš

znači u realtekovom panelu se na klik
odredi koji je ulaz , jel tako
e sad šta u stvari on tu promeni , neki bit u HDA kartici ili kako Question



i koja je analogija na linuxima

offline
  • bocke  Male
  • Moderator foruma
  • Glavni moderator Linux foruma
  • Veliki Pingvin
  • Guru
  • Pridružio: 16 Dec 2005
  • Poruke: 12486
  • Gde živiš: Južni pol

Dekao nisam siguran da je samo to funkcija gornjeg progama, ali nisam mogao da proverim. Trenutno sam na Slackwareu (tj. nemam PulseAudio). Testiraću u VirtualBoxu.

Ok, onda da ti bacim par informacija za onaj teži metod. Nažalost ja lično nisam imao mnogo uspeha sa time.

Najvažniji članak

U ovom članku je sažeto gotovo sve što postoji o podešavanju Intel HDA i njegovih kodeka.

http://www.kernel.org/pub/linux/kernel/people/tiwai/docs/HD-Audio.html

Alati za podešavanje

Skup alata pomenutih u gornjem članku.

hda-verb

Citat:hda-verb is a tiny program that allows you to access the HD-audio codec directly. You can execute a raw HD-audio codec verb with this. This program accesses the hwdep device, thus you need to enable the kernel config CONFIG_SND_HDA_HWDEP=y beforehand.

The hda-verb program takes four arguments: the hwdep device file, the widget NID, the verb and the parameter. When you access to the codec on the slot 2 of the card 0, pass /dev/snd/hwC0D2 to the first argument, typically. (However, the real path name depends on the system.)

The second parameter is the widget number-id to access. The third parameter can be either a hex/digit number or a string corresponding to a verb. Similarly, the last parameter is the value to write, or can be a string for the parameter type.

  % hda-verb /dev/snd/hwC0D0 0x12 0x701 2
  nid = 0x12, verb = 0x701, param = 0x2
  value = 0x0

  % hda-verb /dev/snd/hwC0D0 0x0 PARAMETERS VENDOR_ID
  nid = 0x0, verb = 0xf00, param = 0x0
  value = 0x10ec0262

  % hda-verb /dev/snd/hwC0D0 2 set_a 0xb080
  nid = 0x2, verb = 0x300, param = 0xb080
  value = 0x0


Although you can issue any verbs with this program, the driver state won’t be always updated. For example, the volume values are usually cached in the driver, and thus changing the widget amp value directly via hda-verb won’t change the mixer value.

The hda-verb program is found in the ftp directory:

* ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/misc/

Also a git repository is available:

* git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/hda-verb.git

See README file in the tarball for more details about hda-verb program.


hda-analyzer

Citat:hda-analyzer provides a graphical interface to access the raw HD-audio control, based on pyGTK2 binding. It’s a more powerful version of hda-verb. The program gives you an easy-to-use GUI stuff for showing the widget information and adjusting the amp values, as well as the proc-compatible output.

The hda-analyzer is a part of alsa.git repository in alsa-project.org:

* http://git.alsa-project.org/?p=alsa.git;a=tree;f=hda-analyzer



Codecgraph

Citat:Codecgraph is a utility program to generate a graph and visualizes the codec-node connection of a codec chip. It’s especially useful when you analyze or debug a codec without a proper datasheet. The program parses the given codec proc file and converts to SVG via graphiz program.

The tarball and GIT trees are found in the web page at:

* http://helllabs.org/codecgraph/


hda-emu

Citat:hda-emu is an HD-audio emulator. The main purpose of this program is to debug an HD-audio codec without the real hardware. Thus, it doesn’t emulate the behavior with the real audio I/O, but it just dumps the codec register changes and the ALSA-driver internal changes at probing and operating the HD-audio driver.

The program requires a codec proc-file to simulate. Get a proc file for the target codec beforehand, or pick up an example codec from the codec proc collections in the tarball. Then, run the program with the proc file, and the hda-emu program will start parsing the codec file and simulates the HD-audio driver:

% hda-emu codecs/stac9200-dell-d820-laptop
# Parsing..
hda_codec: Unknown model for STAC9200, using BIOS defaults
hda_codec: pin nid 08 bios pin config 40c003fa
....

The program gives you only a very dumb command-line interface. You can get a proc-file dump at the current state, get a list of control (mixer) elements, set/get the control element value, simulate the PCM operation, the jack plugging simulation, etc.

The package is found in:

* ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/misc/

A git repository is available:

* git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/hda-emu.git

See README file in the tarball for more details about hda-emu program


Dodatni linkovi

https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture
http://www.gentoo.org/doc/en/alsa-guide.xml
https://help.ubuntu.com/community/HdaIntelSoundHowto
http://en.opensuse.org/SDB:Intel-HDA_sound_problems
http://ubuntuforums.org/showthread.php?t=314383
http://ubuntuforums.org/showthread.php?t=342681
http://www.alsa-project.org/main/index.php/Matrix:Module-hda-intel

offline
  • dekao  Male
  • Moderator foruma
  • Dejan Trajković
  • Realist painter
  • Pridružio: 06 Apr 2006
  • Poruke: 3591
  • Gde živiš: Somewhere in time



Kakav domaći zadatak!! Ništa, neću da izlazim do 8. marta.

Ko je trenutno na forumu
 

Ukupno su 1202 korisnika na forumu :: 46 registrovanih, 9 sakrivenih i 1147 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: 357magnum, A.R.Chafee.Jr., Apok, babaroga, Boris Bosiljčić, BORUTUS, Brana01, Bubili, Bubimir, cemix, croato, DENIRO, Dimitrise93, DPera, dule10savic, GenZee, GveX, ikan, Kruger, Kubovac, KUZMAR, ladro, Lieutenant, ljuba, Luka Blažević, mercedesamg, milenko crazy north, Miroljub1979, MiroslavD, mkukoleca, naki011, ostoja, pein, prle122, royst33, sasakrajina, Shinobi, sickmouse, suponik, taz1cl, vathra, VJ, vladulns, voja64, VP6919, |_MeD_|