ooverfloow
Anmeldungsdatum: 23. Oktober 2014
Beiträge: 28
|
Hallo zusammen, ich habe Probleme mit meinem ton über Hdmi, welche ich mir mehr oder minder selber verursacht habe. Ausganggssituation ist die folgende: ich wollte einen Film über Fernsehen schauen, habe ein bisschen gegoogelt und herausgefunden das man wenn man vlc installiert da einfach Hdmi auswählen kann. gesagt getan hat gut geklappt. habe aber auch noch andere Lösungen gesehen unter anderem um auch die ausgabe von z.b. youtube und generell den audio stram auf hdmi zu stellen gefunden. und dachte mir ist doch eigentlich ne gute idee.( war es nicht). Habe dann nach dieser Anleitung http://askubuntu.com/questions/774458/installed-lubuntu-16-04-version-no-audio-now programme installiert und leider alsa deinstalliert. Danach ging auch die Lösung über vlc nicht mehr und das pavucontrol hat die hdmi karte nicht gefunden. und von diesem punkt aus komme ich nicht mehr zurück. ich habe mitlerweile mehrere anleitungen versucht und nichts half. die normale laptop tonausgabe funktioniert zum glück noch. Unter anderem habe ich pavucontrol wieder deinstalliert, alsa-tools-gui installiert. welches ich allerdings nicht aufrufen kann und am ende auch mit sudo apt-get install --reinstall linux-image-$(uname -r) den kernel neu installiert, was allerdings auch nicht viel geholfen hat. Ich weiß das dies vermutlich ein bekanntes Problem ist, was auch schon einigermaßen häufig gepostet wurde, aber ich habe einfach den Überblick verloren und komme an dieser Stelle mit googel nicht weiter. schon einmal Vielen Dank an eure Hilfe. Die AUsgabe von aplay lautet
Lenovo-G50-30:~$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: PCH [HDA Intel PCH], Gerät 0: CX20751/2 Analog [CX20751/2 Analog]
Sub-Geräte: 0/1
Sub-Gerät #0: subdevice #0
Karte 0: PCH [HDA Intel PCH], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0 Bearbeitet von XM-Franz: Bitte verwende in Zukunft Absätze, um die Übersicht im Forum zu verbessern! Danke.
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Hi.Versuche folgendes sudo apt-get install alsa-base alsa-utils gstreamer1.0-alsa linux-sound-base Falls es misslingt(Kein Hdmi Sound) zeige die Ausgabe von inxi -FNZ oder sudo lshw
|
ooverfloow
(Themenstarter)
Anmeldungsdatum: 23. Oktober 2014
Beiträge: 28
|
sudo apt-get install alsa-base alsa-utils gstreamer1.0-alsa linux-sound-base
[sudo] Passwort für kilian:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
»alsa-base« ist bereits die neuste Version (1.0.25+dfsg-0ubuntu5).
»alsa-utils« ist bereits die neuste Version (1.1.0-0ubuntu5).
»linux-sound-base« ist bereits die neuste Version (1.0.25+dfsg-0ubuntu5).
linux-sound-base wurde als manuell installiert festgelegt.
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
libgtkmm-3.0-1v5 python3-pyparsing
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
Die folgenden NEUEN Pakete werden installiert:
gstreamer1.0-alsa
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 8 nicht aktualisiert.
Es müssen 33,4 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 169 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gstreamer1.0-alsa amd64 1.8.2-1ubuntu0.1 [33,4 kB]
Es wurden 33,4 kB in 0 s geholt (64,9 kB/s).
Vormals nicht ausgewähltes Paket gstreamer1.0-alsa:amd64 wird gewählt.
(Lese Datenbank ... 174680 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../gstreamer1.0-alsa_1.8.2-1ubuntu0.1_amd64.deb ...
Entpacken von gstreamer1.0-alsa:amd64 (1.8.2-1ubuntu0.1) ...
gstreamer1.0-alsa:amd64 (1.8.2-1ubuntu0.1) wird eingerichtet ...
das war die ausgabe jetzt mache ich erstmal einen restart um zu schauen, ob es nun geht.
|
ooverfloow
(Themenstarter)
Anmeldungsdatum: 23. Oktober 2014
Beiträge: 28
|
und das ist die sehr lange ausgabe von dem zweiten Befehl
sudo lshw
[sudo] Passwort für kilian:
kilian-lenovo-g50-30
Beschreibung: Notebook
Produkt: 80G0 (LENOVO_MT_80G0_BU_idea_FM_Lenovo G50-30)
Hersteller: LENOVO
Version: Lenovo G50-30
Seriennummer: PF04V80J
Breite: 64 bits
Fähigkeiten: smbios-2.7 dmi-2.7 vsyscall32
Konfiguration: boot=normal chassis=notebook family=IDEAPAD sku=LENOVO_MT_80G0_BU_idea_FM_Lenovo G50-30 uuid=1DD5091B-EF50-E411-9F6E-68F72808AD67
*-core
Beschreibung: Hauptplatine
Produkt: Lancer 5A6
Hersteller: LENOVO
Physische ID: 0
Version: 31900058WIN
Seriennummer: PF04V80J
Steckplatz: Type2 - Board Chassis Location
*-firmware
Beschreibung: BIOS
Hersteller: LENOVO
Physische ID: 0
Version: A7CN40WW
date: 07/18/2014
Größe: 64KiB
Kapazität: 4032KiB
Fähigkeiten: pci upgrade shadowing cdboot bootselect edd int9keyboard int14serial int17printer int10video acpi usb zipboot biosbootspecification netboot
*-cpu
Beschreibung: CPU
Produkt: Intel(R) Pentium(R) CPU N3530 @ 2.16GHz
Hersteller: Intel Corp.
Physische ID: 4
Bus-Informationen: cpu@0
Version: Intel(R) Pentium(R) CPU N3530 @ 2.16GHz
Steckplatz: CPU 1
Größe: 1580MHz
Kapazität: 2582MHz
Breite: 64 bits
Takt: 83MHz
Fähigkeiten: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat cpufreq
Konfiguration: cores=4 enabledcores=4 threads=1
*-cache:0
Beschreibung: L1 Cache
Physische ID: 8
Steckplatz: Unknown
Größe: 32KiB
Kapazität: 32KiB
Fähigkeiten: synchronous internal write-back instruction
Konfiguration: level=1
*-cache:1
Beschreibung: L2 Cache
Physische ID: 9
Steckplatz: Unknown
Größe: 1MiB
Kapazität: 1MiB
Fähigkeiten: synchronous internal write-back unified
Konfiguration: level=2
*-cache
Beschreibung: L1 Cache
Physische ID: 7
Steckplatz: Unknown
Größe: 24KiB
Kapazität: 24KiB
Fähigkeiten: synchronous internal write-back data
Konfiguration: level=1
*-memory
Beschreibung: Systemspeicher
Physische ID: 25
Steckplatz: Systemplatine oder Hauptplatine
Größe: 4GiB
*-bank:0
Beschreibung: SODIMM DDR3 Synchron 1333 MHz (0,8 ns)
Produkt: M471B5173EB0-YK0
Hersteller: Samsung
Physische ID: 0
Seriennummer: 57577325
Steckplatz: DIMM0
Größe: 4GiB
Breite: 64 bits
Takt: 1333MHz (0.8ns)
*-bank:1
Beschreibung: SODIMMProject-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2012-05-30 08:16+0000Last-Translator: Hendrik Knackstedt <Unknown>Language-Team: German <de@li.org>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2016-06-27 17:08+0000X-Generator: Launchpad (build 18115) [leer]
Physische ID: 1
Steckplatz: DIMM1
*-pci
Beschreibung: Host bridge
Produkt: Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
Hersteller: Intel Corporation
Physische ID: 100
Bus-Informationen: pci@0000:00:00.0
Version: 0e
Breite: 32 bits
Takt: 33MHz
Konfiguration: driver=iosf_mbi_pci
Ressourcen: irq:0
*-display
Beschreibung: VGA compatible controller
Produkt: Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Hersteller: Intel Corporation
Physische ID: 2
Bus-Informationen: pci@0000:00:02.0
Version: 0e
Breite: 32 bits
Takt: 33MHz
Fähigkeiten: pm msi vga_controller bus_master cap_list rom
Konfiguration: driver=i915 latency=0
Ressourcen: irq:89 memory:90000000-903fffff memory:80000000-8fffffff ioport:3050(Größe=8)
*-storage
Beschreibung: SATA controller
Produkt: Atom Processor E3800 Series SATA AHCI Controller
Hersteller: Intel Corporation
Physische ID: 13
Bus-Informationen: pci@0000:00:13.0
Version: 0e
Breite: 32 bits
Takt: 66MHz
Fähigkeiten: storage msi pm ahci_1.0 bus_master cap_list
Konfiguration: driver=ahci latency=0
Ressourcen: irq:87 ioport:3048(Größe=8) ioport:305c(Größe=4) ioport:3040(Größe=8) ioport:3058(Größe=4) ioport:3020(Größe=32) memory:90804000-908047ff
*-generic
Beschreibung: Encryption controller
Produkt: Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
Hersteller: Intel Corporation
Physische ID: 1a
Bus-Informationen: pci@0000:00:1a.0
Version: 0e
Breite: 32 bits
Takt: 33MHz
Fähigkeiten: pm msi bus_master cap_list
Konfiguration: driver=mei_txe latency=0
Ressourcen: irq:90 memory:90700000-907fffff memory:90600000-906fffff
*-multimedia
Beschreibung: Audio device
Produkt: Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller
Hersteller: Intel Corporation
Physische ID: 1b
Bus-Informationen: pci@0000:00:1b.0
Version: 0e
Breite: 64 bits
Takt: 33MHz
Fähigkeiten: pm msi bus_master cap_list
Konfiguration: driver=snd_hda_intel latency=0
Ressourcen: irq:91 memory:90800000-90803fff
*-pci:0
Beschreibung: PCI bridge
Produkt: Atom Processor E3800 Series PCI Express Root Port 1
Hersteller: Intel Corporation
Physische ID: 1c
Bus-Informationen: pci@0000:00:1c.0
Version: 0e
Breite: 32 bits
Takt: 33MHz
Fähigkeiten: pci pciexpress msi pm normal_decode cap_list
Konfiguration: driver=pcieport
Ressourcen: irq:16 ioport:4000(Größe=4096)
*-pci:1
Beschreibung: PCI bridge
Produkt: Atom Processor E3800 Series PCI Express Root Port 3
Hersteller: Intel Corporation
Physische ID: 1c.2
Bus-Informationen: pci@0000:00:1c.2
Version: 0e
Breite: 32 bits
Takt: 33MHz
Fähigkeiten: pci pciexpress msi pm normal_decode bus_master cap_list
Konfiguration: driver=pcieport
Ressourcen: irq:18 ioport:2000(Größe=4096) memory:90500000-905fffff
*-network
Beschreibung: Kabellose Verbindung
Produkt: RTL8723BE PCIe Wireless Network Adapter
Hersteller: Realtek Semiconductor Co., Ltd.
Physische ID: 0
Bus-Informationen: pci@0000:02:00.0
Logischer Name: wlp2s0
Version: 00
Seriennummer: 10:08:b1:b2:4f:9f
Breite: 64 bits
Takt: 33MHz
Fähigkeiten: pm msi pciexpress bus_master cap_list ethernet physical wireless
Konfiguration: broadcast=yes driver=rtl8723be driverversion=4.4.0-31-generic firmware=N/A ip=192.168.178.55 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
Ressourcen: irq:18 ioport:2000(Größe=256) memory:90500000-90503fff
*-pci:2
Beschreibung: PCI bridge
Produkt: Atom Processor E3800 Series PCI Express Root Port 4
Hersteller: Intel Corporation
Physische ID: 1c.3
Bus-Informationen: pci@0000:00:1c.3
Version: 0e
Breite: 32 bits
Takt: 33MHz
Fähigkeiten: pci pciexpress msi pm normal_decode bus_master cap_list
Konfiguration: driver=pcieport
Ressourcen: irq:19 ioport:1000(Größe=4096) memory:90400000-904fffff
*-network
Beschreibung: Ethernet interface
Produkt: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Hersteller: Realtek Semiconductor Co., Ltd.
Physische ID: 0
Bus-Informationen: pci@0000:03:00.0
Logischer Name: enp3s0
Version: 10
Seriennummer: 68:f7:28:08:ad:67
Größe: 10Mbit/s
Kapazität: 1Gbit/s
Breite: 64 bits
Takt: 33MHz
Fähigkeiten: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
Konfiguration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
Ressourcen: irq:88 ioport:1000(Größe=256) memory:90404000-90404fff memory:90400000-90403fff
*-usb
Beschreibung: USB controller
Produkt: Atom Processor Z36xxx/Z37xxx Series USB EHCI
Hersteller: Intel Corporation
Physische ID: 1d
Bus-Informationen: pci@0000:00:1d.0
Version: 0e
Breite: 32 bits
Takt: 33MHz
Fähigkeiten: pm debug ehci bus_master cap_list
Konfiguration: driver=ehci-pci latency=0
Ressourcen: irq:23 memory:90805000-908053ff
*-usbhost
Produkt: EHCI Host Controller
Hersteller: Linux 4.4.0-31-generic ehci_hcd
Physische ID: 1
Bus-Informationen: usb@1
Logischer Name: usb1
Version: 4.04
Fähigkeiten: usb-2.00
Konfiguration: driver=hub slots=8 speed=480Mbit/s
*-usb
Beschreibung: USB-Hub
Hersteller: Intel Corp.
Physische ID: 1
Bus-Informationen: usb@1:1
Version: 0.14
Fähigkeiten: usb-2.00
Konfiguration: driver=hub slots=4 speed=480Mbit/s
*-usb:0
Beschreibung: Maus
Produkt: USB-PS/2 Optical Mouse
Hersteller: Logitech
Physische ID: 1
Bus-Informationen: usb@1:1.1
Version: 27.20
Fähigkeiten: usb-2.00
Konfiguration: driver=usbhid maxpower=98mA speed=1Mbit/s
*-usb:1
Beschreibung: USB-Hub
Produkt: USB2.0 Hub
Hersteller: Genesys Logic, Inc.
Physische ID: 4
Bus-Informationen: usb@1:1.4
Version: 88.32
Fähigkeiten: usb-2.00
Konfiguration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
*-usb:0
Beschreibung: Video
Produkt: Lenovo EasyCamera
Hersteller: Generic
Physische ID: 1
Bus-Informationen: usb@1:1.4.1
Version: 36.55
Seriennummer: 200901010001
Fähigkeiten: usb-2.00
Konfiguration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
*-usb:1
Beschreibung: Allgemeines USB-Gerät
Produkt: USB2.0-CRW
Hersteller: Generic
Physische ID: 2
Bus-Informationen: usb@1:1.4.2
Version: 39.60
Seriennummer: 20100201396000000
Fähigkeiten: usb-2.00
Konfiguration: driver=rtsx_usb maxpower=500mA speed=480Mbit/s
*-usb:2
Beschreibung: Bluetooth-Schnittstelle
Produkt: Bluetooth Radio
Hersteller: Realtek
Physische ID: 3
Bus-Informationen: usb@1:1.4.3
Version: 2.00
Seriennummer: 00e04c000001
Fähigkeiten: bluetooth usb-2.10
Konfiguration: driver=btusb maxpower=500mA speed=12Mbit/s
*-isa
Beschreibung: ISA bridge
Produkt: Atom Processor Z36xxx/Z37xxx Series Power Control Unit
Hersteller: Intel Corporation
Physische ID: 1f
Bus-Informationen: pci@0000:00:1f.0
Version: 0e
Breite: 32 bits
Takt: 33MHz
Fähigkeiten: isa bus_master cap_list
Konfiguration: driver=lpc_ich latency=0
Ressourcen: irq:0
*-serial UNGEFORDERT
Beschreibung: SMBus
Produkt: Atom Processor E3800 Series SMBus Controller
Hersteller: Intel Corporation
Physische ID: 1f.3
Bus-Informationen: pci@0000:00:1f.3
Version: 0e
Breite: 32 bits
Takt: 33MHz
Fähigkeiten: pm cap_list
Konfiguration: latency=0
Ressourcen: memory:90806000-9080601f ioport:3000(Größe=32)
*-scsi:0
Physische ID: 1
Logischer Name: scsi0
Fähigkeiten: emulated
*-disk
Beschreibung: ATA Disk
Produkt: ST500LM000-SSHD-
Hersteller: Seagate
Physische ID: 0.0.0
Bus-Informationen: scsi@0:0.0.0
Logischer Name: /dev/sda
Version: LVD4
Seriennummer: W761TCKW
Größe: 465GiB (500GB)
Fähigkeiten: gpt-1.00 partitioned partitioned:gpt
Konfiguration: ansiversion=5 guid=265a962f-d6c5-43bd-9ecd-571de448691e logicalsectorsize=512 sectorsize=4096
*-volume:0 UNGEFORDERT
Beschreibung: Windows FAT Laufwerk
Hersteller: mkfs.fat
Physische ID: 1
Bus-Informationen: scsi@0:0.0.0,1
Version: FAT32
Seriennummer: 5330-1870
Größe: 510MiB
Kapazität: 511MiB
Fähigkeiten: boot fat initialized
Konfiguration: FATs=2 filesystem=fat name=EFI System Partition
*-volume:1
Beschreibung: EXT4-Laufwerk
Hersteller: Linux
Physische ID: 2
Bus-Informationen: scsi@0:0.0.0,2
Logischer Name: /dev/sda2
Logischer Name: /
Version: 1.0
Seriennummer: afda15f8-d074-43bb-bdf2-5d0e1f62c5ab
Größe: 461GiB
Fähigkeiten: journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
Konfiguration: created=2016-07-30 16:09:55 filesystem=ext4 lastmountpoint=/ modified=2016-09-18 10:30:40 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2016-09-18 10:30:41 state=mounted
*-volume:2
Beschreibung: Linux swap Laufwerk
Hersteller: Linux
Physische ID: 3
Bus-Informationen: scsi@0:0.0.0,3
Logischer Name: /dev/sda3
Version: 1
Seriennummer: 00d09455-d6f8-4e5e-9edb-62965a6968f3
Größe: 3978MiB
Kapazität: 3978MiB
Fähigkeiten: nofs swap initialized
Konfiguration: filesystem=swap pagesize=4095
*-scsi:1
Physische ID: 2
Logischer Name: scsi1
Fähigkeiten: emulated
*-cdrom
Beschreibung: DVD-RAM writer
Produkt: DVDRAM GUA0N
Hersteller: HL-DT-ST
Physische ID: 0.0.0
Bus-Informationen: scsi@1:0.0.0
Logischer Name: /dev/cdrom
Logischer Name: /dev/cdrw
Logischer Name: /dev/dvd
Logischer Name: /dev/dvdrw
Logischer Name: /dev/sr0
Version: AL00
Fähigkeiten: removable audio cd-r cd-rw dvd dvd-r dvd-ram
Konfiguration: ansiversion=5 status=nodisc
*-battery
Beschreibung: Lithium-Ionen Battery
Produkt: SR Real Battery
Hersteller: Intel SR 1
Physische ID: 1
Version: Date
Seriennummer: 123456789
Steckplatz: I2C2
Konfiguration: voltage=3,8V
*-power UNGEFORDERT
Beschreibung: OEM_Define1
Produkt: OEM_Define5
Hersteller: OEM_Define2
Physische ID: 2
Version: OEM_Define6
Seriennummer: OEM_Define3
Kapazität: 75mWh
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Wir werden mal Versuchen Alsa komplett zurück zu setzen sudo /etc/init.d/alsa-utils reset danach noch sudo alsa reload Neustart Kannst du jetzt nach dem Neustart im Terminal den Alsamixer aufrufen
|
ooverfloow
(Themenstarter)
Anmeldungsdatum: 23. Oktober 2014
Beiträge: 28
|
das waren die ausgaben vom zweiten befehl (beim ersten war nichts) ~$ sudo alsa reload
Unloading ALSA sound driver modules: snd-hda-codec-hdmi snd-hda-codec-conexant snd-hda-codec-generic snd-hda-intel snd-hda-codec snd-intel-sst-acpi snd-hda-core snd-hwdep snd-intel-sst-core snd-soc-rt5640 snd-soc-sst-mfld-platform snd-soc-rl6231 snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer snd-soc-sst-acpi (failed: modules still loaded: snd-hda-codec-hdmi snd-hda-codec-conexant snd-hda-codec-generic snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-hda-codec-hdmi snd-hda-codec-conexant snd-hda-codec-generic snd-hda-intel snd-hda-codec snd-intel-sst-acpi snd-hda-core snd-hwdep snd-intel-sst-core snd-soc-rt5640 snd-soc-sst-mfld-platform snd-soc-rl6231 snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer snd-soc-sst-acpi.
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Was ist denn jetzt wenn du im Terminal alsamixer eingibst und über f6 die HDMI Soundkarte wählst? Zeige noch die Ausgabe von cat /etc/init.d/alsa-utils Das der Befehl sudo /etc/init.d/alsa-utils reset keine Ausgabe erzeugt ist merkwürdig ☹
|
ooverfloow
(Themenstarter)
Anmeldungsdatum: 23. Oktober 2014
Beiträge: 28
|
cat /etc/init.d/alsa-utils
#!/bin/sh
#
# alsa-utils initscript
#
### BEGIN INIT INFO
# Provides: alsa-utils
# Required-Start: $local_fs $remote_fs
# Required-Stop: $remote_fs
# Default-Start: S
# Default-Stop: 0 1 6
# Short-Description: Restore and store ALSA driver settings
# Description: This script stores and restores mixer levels on
# shutdown and bootup.On sysv-rc systems: to
# disable storing of mixer levels on shutdown,
# remove /etc/rc[06].d/K50alsa-utils. To disable
# restoring of mixer levels on bootup, rename the
# "S50alsa-utils" symbolic link in /etc/rcS.d/ to
# "K50alsa-utils".
### END INIT INFO
# Don't use set -e; check exit status instead
# Exit silently if package is no longer installed
[ -x /usr/sbin/alsactl ] || exit 0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
MYNAME=/etc/init.d/alsa-utils
ALSACTLHOME=/run/alsa
[ -d "$ALSACTLHOME" ] || mkdir -p "$ALSACTLHOME"
. /lib/lsb/init-functions
. /usr/share/alsa/utils.sh
# $1 EXITSTATUS
# [$2 MESSAGE]
log_action_end_msg_and_exit()
{
log_action_end_msg "$1" ${2:+"$2"}
exit $1
}
# $1 PROGRAM
executable()
{
# If which is not available then we must be running before
# /usr is mounted on a system that has which in /usr/bin/.
# Conclude that $1 is not executable.
[ -x /bin/which ] || [ -x /usr/bin/which ] || return 1
which "$1" >/dev/null 2>&1
}
executable amixer || { echo "${MYNAME}: Error: No amixer program available." >&2 ; exit 1 ; }
# $1 <card ID> | "all"
restore_levels()
{
[ -f /var/lib/alsa/asound.state ] || return 1
CARD="$1"
[ "$1" = all ] && CARD=""
# Assume that if alsactl prints a message on stderr
# then it failed somehow. This works around the fact
# that alsactl doesn't return nonzero status when it
# can't restore settings for the card
if MSG="$(alsactl -E HOME="$ALSACTLHOME" restore $CARD 2>&1 >/dev/null)" && [ ! "$MSG" ] ; then
return 0
else
# Retry with the "force" option. This restores more levels
# but it results in much longer error messages.
alsactl -F restore $CARD >/dev/null 2>&1
log_action_cont_msg "warning: 'alsactl -E HOME="$ALSACTLHOME" restore${CARD:+ $CARD}' failed with error message '$MSG'"
return 1
fi
}
# $1 <card ID> | "all"
store_levels()
{
CARD="$1"
[ "$1" = all ] && CARD=""
if MSG="$(alsactl -E HOME="$ALSACTLHOME" store $CARD 2>&1)" ; then
sleep 1
return 0
else
log_action_cont_msg "warning: 'alsactl store${CARD:+ $CARD}' failed with error message '$MSG'"
return 1
fi
}
# $1 <card ID>
mute_and_zero_levels_on_card()
{
CARDOPT="-c $1"
for CTL in \
Master \
PCM \
Synth \
CD \
Line \
Mic \
"PCM,1" \
Wave \
Music \
AC97 \
"Master Digital" \
DAC \
"DAC,0" \
"DAC,1" \
Headphone \
Speaker \
Playback
do
mute_and_zero_level "$CTL"
done
# for CTL in \
# "Audigy Analog/Digital Output Jack" \
# "SB Live Analog/Digital Output Jack"
# do
# switch_control "$CTL" off
# done
return 0
}
# $1 <card ID> | "all"
mute_and_zero_levels()
{
TTZML_RETURNSTATUS=0
case "$1" in
all)
for CARD in $(echo_card_indices) ; do
mute_and_zero_levels_on_card "$CARD" || TTZML_RETURNSTATUS=1
done
;;
*)
mute_and_zero_levels_on_card "$1" || TTZML_RETURNSTATUS=1
;;
esac
return $TTZML_RETURNSTATUS
}
# $1 <card ID> | "all"
card_OK()
{
[ "$1" ] || bugout
if [ "$1" = all ] ; then
[ -d /proc/asound ]
return $?
else
[ -d "/proc/asound/card$1" ] || [ -d "/proc/asound/$1" ]
return $?
fi
}
# If a card identifier is provided in $2 then regard it as an error
# if that card is not present; otherwise don't regard it as an error.
case "$1" in
start)
EXITSTATUS=0
TARGET_CARD="$2"
case "$TARGET_CARD" in
""|all) TARGET_CARD=all ; log_action_begin_msg "Setting up ALSA" ;;
*) log_action_begin_msg "Setting up ALSA card ${TARGET_CARD}" ;;
esac
card_OK "$TARGET_CARD" || log_action_end_msg_and_exit "$( [ ! "$2" ] ; echo $? ; )" "none loaded"
preinit_levels "$TARGET_CARD" || EXITSTATUS=1
if ! restore_levels "$TARGET_CARD" ; then
sanify_levels "$TARGET_CARD" || EXITSTATUS=1
restore_levels "$TARGET_CARD" >/dev/null 2>&1 || :
fi
log_action_end_msg_and_exit "$EXITSTATUS"
;;
stop)
EXITSTATUS=0
TARGET_CARD="$2"
case "$TARGET_CARD" in
""|all) TARGET_CARD=all ; log_action_begin_msg "Shutting down ALSA" ;;
*) log_action_begin_msg "Shutting down ALSA card ${TARGET_CARD}" ;;
esac
card_OK "$TARGET_CARD" || log_action_end_msg_and_exit "$( [ ! "$2" ] ; echo $? ; )" "none loaded"
store_levels "$TARGET_CARD" || EXITSTATUS=1
#mute_and_zero_levels "$TARGET_CARD" || EXITSTATUS=1
log_action_end_msg_and_exit "$EXITSTATUS"
;;
restart|force-reload)
EXITSTATUS=0
$0 stop || EXITSTATUS=1
$0 start || EXITSTATUS=1
exit $EXITSTATUS
;;
reset)
TARGET_CARD="$2"
case "$TARGET_CARD" in
""|all) TARGET_CARD=all ; log_action_begin_msg "Resetting ALSA" ;;
*) log_action_begin_msg "Resetting ALSA card ${TARGET_CARD}" ;;
esac
card_OK "$TARGET_CARD" || log_action_end_msg_and_exit "$( [ ! "$2" ] ; echo $? ; )" "none loaded"
preinit_levels "$TARGET_CARD"
sanify_levels "$TARGET_CARD"
log_action_end_msg_and_exit "$?"
;;
*)
echo "Usage: $MYNAME {start [CARD]|stop [CARD]|restart [CARD]|reset [CARD]}" >&2
exit 3
;;
esac
Das ist die ausgabe und wenn ich alsamixer eingebe und f6 drücke kann ich da nur 2 sachen auswählen. hab einen screenshot gemacht
- Bilder
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Ok. Führe mv ~/.config/pulse ~/.config/pulse-backup aus und starte Pulse neu (Alternativ Neustart) pulseaudio -k Rufe dann wieder den Alsamixer im Terminal auf,ist HDMI jetzt anwählbar?
|
ooverfloow
(Themenstarter)
Anmeldungsdatum: 23. Oktober 2014
Beiträge: 28
|
wieder keine Ausgabe bei beiden.
kilian@kilian-Lenovo-G50-30:~$ mv ~/.config/pulse ~/.config/pulse-backup
kilian@kilian-Lenovo-G50-30:~$ pulseaudio -k
kilian@kilian-Lenovo-G50-30:~$
Und ist immer noch dasselbe bild.
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Demnach läuft Pulseaudio aber noch auf deinem System.Du hattest geschrieben das du es Deinstalliert hattest. Zeige mal bitte dmesg | egrep -i "alsa|snd" sowie ps -C pulseaudio
|
ooverfloow
(Themenstarter)
Anmeldungsdatum: 23. Oktober 2014
Beiträge: 28
|
Ich hatte zumindest sudo apt-get remove pulseaudio mal eingegeben. es scheint aber wieder da zu sein das hier ist die ausgabe.
kilian@kilian-Lenovo-G50-30:~$ dmesg | egrep -i "alsa|snd"
[ 5.167866] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 5.254134] snd_hda_codec_conexant hdaudioC0D0: CX20751/2: BIOS auto-probing.
[ 5.255663] snd_hda_codec_conexant hdaudioC0D0: autoconfig for CX20751/2: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[ 5.255670] snd_hda_codec_conexant hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 5.255673] snd_hda_codec_conexant hdaudioC0D0: hp_outs=1 (0x16/0x0/0x0/0x0/0x0)
[ 5.255676] snd_hda_codec_conexant hdaudioC0D0: mono: mono_out=0x0
[ 5.255679] snd_hda_codec_conexant hdaudioC0D0: inputs:
[ 5.255683] snd_hda_codec_conexant hdaudioC0D0: Internal Mic=0x1a
[ 5.255686] snd_hda_codec_conexant hdaudioC0D0: Mic=0x19
[ 5.258742] snd_hda_codec_conexant hdaudioC0D0: Enable sync_write for stable communication
[ 182.207962] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 5 not registered
[ 182.377739] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 5 not registered
[ 316.245643] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 5 not registered
[ 2486.048841] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 5 not registered
[ 2487.201228] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 5 not registered
[ 2824.706551] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 5 not registered
kilian@kilian-Lenovo-G50-30:~$ ps -C pulseaudio
PID TTY TIME CMD
3868 ? 00:00:02 pulseaudio
kilian@kilian-Lenovo-G50-30:~$ ^C
kilian@kilian-Lenovo-G50-30:~$
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Neuer Versuch ohne Pulse gksudo gedit /etc/pulse/client.conf leafpadist glaube ich Standard bei Lubuntu dort die Zeile ; autospawn = yes ändern in autospawn = no dann noch mv ~/.config/pulse Neustart Pulse sollte jetzt nicht mehr laufen
|
ooverfloow
(Themenstarter)
Anmeldungsdatum: 23. Oktober 2014
Beiträge: 28
|
die ausgabe von unterem befehl leiferte nach dem ändern in no der datei folgendes
kilian@kilian-Lenovo-G50-30:~$ mv ~/.config/pulse
mv: Fehlender Zieldatei‐Operand hinter '/home/kilian/.config/pulse'
„mv --help“ liefert weitere Informationen.
kilian@kilian-Lenovo-G50-30:~$
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Gebe folgendes ein mv ~/.config/pulse ~/.config/pulse-old Nicht so sparsam mit Informationen sein!Wie sieht es jetzt aus mit der Anwahl von HDMI?
|