Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: zvuk zaroven ze sluchatek a reproduktoru ubuntu 9.10  (Přečteno 3611 krát)

schimi

  • Host
zvuk zaroven ze sluchatek a reproduktoru ubuntu 9.10
« kdy: 19 Listopadu 2009, 16:06:52 »
Zdravim vsechny,

vim ze toto tema tady uz bylo, ale nejak s tim co jsem nasel na notebooku si nevim rady.
po zadani aplay -l

Kód: [Vybrat]
**** Liste von PLAYBACK Geräten ****
Karte 0: ICH6 [Intel ICH6], Gerät 0: Intel ICH [Intel ICH6]
  Untergeordnete Geräte: 0/1
  Untergeordnetes Gerät '0: subdevice #0
Karte 0: ICH6 [Intel ICH6], Gerät 4: Intel ICH - IEC958 [Intel ICH6 - IEC958]
  Untergeordnete Geräte: 1/1
  Untergeordnetes Gerät '0: subdevice #0

Ve vypisu Alsa-Configuration.txt jsem se snazil najit svou zvukovku, nasel jsem nasledujici:

Kód: [Vybrat]
  Module snd-hda-intel
  --------------------

    Module for Intel HD Audio (ICH6, ICH6M, ESB2, ICH7, ICH8, ICH9, ICH10,
PCH, SCH),
ATI SB450, SB600, R600, RS600, RS690, RS780, RV610, RV620,
RV630, RV635, RV670, RV770,
VIA VT8251/VT8237A,
SIS966, ULI M5461

    [Multiple options for each card instance]
    model - force the model name
    position_fix - Fix DMA pointer (0 = auto, 1 = use LPIB, 2 = POSBUF)
    probe_mask  - Bitmask to probe codecs (default = -1, meaning all slots)
      When the bit 8 (0x100) is set, the lower 8 bits are used
  as the "fixed" codec slots; i.e. the driver probes the
  slots regardless what hardware reports back
    probe_only - Only probing and no codec initialization (default=off);
  Useful to check the initial codec status for debugging
    bdl_pos_adj - Specifies the DMA IRQ timing delay in samples.
Passing -1 will make the driver to choose the appropriate
value based on the controller chip.
   
    [Single (global) options]
    single_cmd  - Use single immediate commands to communicate with
codecs (for debugging only)
    enable_msi - Enable Message Signaled Interrupt (MSI) (default = off)
    power_save - Automatic power-saving timtout (in second, 0 =
disable)
    power_save_controller - Reset HD-audio controller in power-saving mode
(default = on)

    This module supports multiple cards and autoprobe.
   
    See Documentation/sound/alsa/HD-Audio.txt for more details about
    HD-audio driver.

    Each codec may have a model table for different configurations.
    If your machine isn't listed there, the default (usually minimal)
    configuration is set up.  You can pass "model=<name>" option to
    specify a certain model in such a case.  There are different
    models depending on the codec chip.  The list of available models
    is found in HD-Audio-Models.txt

    The model name "genric" is treated as a special case.  When this
    model is given, the driver uses the generic codec parser without
    "codec-patch".  It's sometimes good for testing and debugging.

    If the default configuration doesn't work and one of the above
    matches with your device, report it together with alsa-info.sh
    output (with --no-upload option) to kernel bugzilla or alsa-devel
    ML (see the section "Links and Addresses").

    power_save and power_save_controller options are for power-saving
    mode.  See powersave.txt for details.

    Note 2: If you get click noises on output, try the module option
    position_fix=1 or 2.  position_fix=1 will use the SD_LPIB
    register value without FIFO size correction as the current
    DMA pointer.  position_fix=2 will make the driver to use
    the position buffer instead of reading SD_LPIB register.
    (Usually SD_LPIB register is more accurate than the
    position buffer.)

    NB: If you get many "azx_get_response timeout" messages at
    loading, it's likely a problem of interrupts (e.g. ACPI irq
    routing).  Try to boot with options like "pci=noacpi".  Also, you
    can try "single_cmd=1" module option.  This will switch the
    communication method between HDA controller and codecs to the
    single immediate commands instead of CORB/RIRB.  Basically, the
    single command mode is provided only for BIOS, and you won't get
    unsolicited events, too.  But, at least, this works independently
    from the irq.  Remember this is a last resort, and should be
    avoided as much as possible...
   
    MORE NOTES ON "azx_get_response timeout" PROBLEMS:
    On some hardwares, you may need to add a proper probe_mask option
    to avoid the "azx_get_response timeout" problem above, instead.
    This occurs when the access to non-existing or non-working codec slot
    (likely a modem one) causes a stall of the communication via HD-audio
    bus.  You can see which codec slots are probed by enabling
    CONFIG_SND_DEBUG_VERBOSE, or simply from the file name of the codec
    proc files.  Then limit the slots to probe by probe_mask option.
    For example, probe_mask=1 means to probe only the first slot, and
    probe_mask=4 means only the third slot.

    The power-management is supported.

Ted otevrit soubor "alsa-base.conf" a na konec vepsat "options snd-hda-intel model=(Model, ktery vlastnim, tomto pripade "ICH6" a nebo "Intel ICH6"?)"

Kód: [Vybrat]
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Power down HDA controllers after 10 idle seconds
options snd-hda-intel power_save=10 power_save_controller=N
options snd-hda-intel model=ICH6

Nejak se v tom zacinam ztracet. V navodu sice na prostorovy zvuk

http://forum.ubuntu.cz/index.php?PHPSESSID=3f7917df1cbd1408a803b1c1fb941629&/topic,29542.msg220946.html#msg220946

jsou jasne uvedene varianty, jako "3stack" atd., staci jen vyzkouset, ale v mem pripade se v tom ztracim a nevim co bych mel presne zadat, aby po zastrceni sluchatek do notebooku prestal hrat zvuk i z integrovanych reproduktoru. Ma anglictina neni az zase tak dobra,abych se dozvedel neco blizsiho.

Mohl by mi stim prosim nekdo pomoct.

Dekuju
« Poslední změna: 19 Listopadu 2009, 16:10:55 od schimi »

TIBOR

  • Závislák
  • ***
  • Příspěvků: 6545
  • Som uzivatel linuxovej distribucie, som linuxak?
Re: zvuk zaroven ze sluchatek a reproduktoru ubuntu 9.10
« Odpověď #1 kdy: 19 Listopadu 2009, 19:22:13 »
Zda sa mi ze tieto options uz v Alsa-Configuration.txt v ubuntu 9.10 niesu. Mohol by niekto dat tento subor z 9.04 alebo 8.10 na net?
HP Laptop 17-ca1xxx Ubuntu Mate 24.04 FF 64bit.
Asus X751LB-TY014H Ubuntu Mate 20.04.1 FF 64bit.
Linus, Lajnas, Línus, Luínus, Lajnus a je mi naozaj jedno, ako ľudia vyslovujú moje meno. Ale "Linux" je vždy "Linux". LINUS TORVALDS, tvorca Linuxového jadra.(V dokumente Revolution OS)

schimi

  • Host
Re: zvuk zaroven ze sluchatek a reproduktoru ubuntu 9.10
« Odpověď #2 kdy: 20 Listopadu 2009, 11:45:17 »
Tento problem jsem mel na notebooku HP Compaq nx6110 a vyresil jsem ho takhle:

nainstaloval jsem gnome-alsamixer, konkretne jsem na to prisel tady:

https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/90609

"sudo aptitude install gnome-alsamixer"

po instalaci jsem spustil gnome alsamixer, najdete normalne v nabidce programu a aktivoval jsem

"Headphone Jack Sense". (viz. proloha)

Po zastrceni sluchatek vychazi zvuk jen ze sluchatek, po vysunuti zase z internich reproduktoru.

Takze vyreseno!

[attachment deleted by admin]
« Poslední změna: 20 Listopadu 2009, 20:11:22 od schimi »

schimi

  • Host
Re: zvuk zaroven ze sluchatek a reproduktoru ubuntu 9.10
« Odpověď #3 kdy: 20 Listopadu 2009, 20:11:06 »
Mohl by mi nekdo prozradit jak sem nahraju obrazek? Obrazek v priloze se zobrazi jen pro prihlasene uzivatele.

Dekuju

tom3f

  • Host
Re: zvuk zaroven ze sluchatek a reproduktoru ubuntu 9.10
« Odpověď #4 kdy: 21 Listopadu 2009, 13:36:48 »
Ked chces mozes nahrat obrazok napriklad na http://www.pixhost.org/ a hodit sem link to by myslim malo fungovat vpohode

cepal

  • Návštěvník
  • Příspěvků: 1
Re: zvuk zaroven ze sluchatek a reproduktoru ubuntu 9.10
« Odpověď #5 kdy: 11 Prosince 2009, 14:35:06 »
Mohl by mi nekdo prozradit jak sem nahraju obrazek? Obrazek v priloze se zobrazi jen pro prihlasene uzivatele.

Dekuju
Mne to takhle prijde fer...

olbrait

  • Stálý člen
  • **
  • Příspěvků: 814
  • Registered User #452059
Re: zvuk zaroven ze sluchatek a reproduktoru ubuntu 9.10
« Odpověď #6 kdy: 11 Prosince 2009, 18:04:03 »
mne sa to čírou náhodou podario vyriešiť zakomentovaním "options snd-hda-intel power_save=10 power_save_controller=N" - http://forum.ubuntu.cz/index.php/topic,42261.0.html Neviem či je univerzálne riešenie
laptop: HP COMPAQ 6735s, AMD QL-60, ATI HD3200, Ram 1754 MB, HDD 250 GB, Ubuntu 9.04 64bit, Debain Squeeze 64bit. ...Ubunt 9.10 64bit šlo do /dev/null/
desktop: MB SV KT 400, AMD Athlon 2000XP, MSI GeForce MX 440 64 MB, Ram 512 MB, HDD Maxtor 80 GB, Ubuntu 8.04.3
 Linuxák v mojom okolí

 

Provoz zaštiťuje spolek OpenAlt.