iul
Anmeldungsdatum: 13. September 2019
Beiträge: Zähle...
|
Hi, ich hab hier im Prinzip das gleiche Problem wie https://forum.ubuntuusers.de/topic/lubuntu-version-20-04-focal-fossa/ ...
nur auf'm ehemaligen iMac (Intel i5... 21") und unter Kubuntu 18.04 LTE - also Ton läuft OK über die Speaker, Kopfhörer (drei verschiedene Modelle) bleiben aber tot. Gern würde ich die erfolgreiche Lösung von oben ausprobieren, wäre da nicht die offensichtlich hardware-spezifische Option 😉 sudo rm /etc/modprobe.d/alsa.conf
echo -e "options snd_hda_intel model=alc256-asus-mic" | sudo tee -a /etc/modprobe.d/alsa.conf
Leider ist dem Thread die Methodik zur Erzeugung des alsa.conf Eintrags nicht zu entnehmen 🤓 daher hier meine
Infos 😉 - in der Hoffnung das das jemand zielführend anpassen kann 😉 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120 | lui@lu-mac:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
lui@lu-mac:~$ sudo inxi -Fv 6
System: Host: lu-mac Kernel: 4.15.0-99-generic x86_64 bits: 64 gcc: 7.5.0 Console: tty 0 dm: sddm,sddm
Distro: Ubuntu 18.04.4 LTS
Machine: Device: desktop System: Apple product: iMac12 1 v: 1.0 serial: xxx
Mobo: Apple model: Mac-942B5BF58194151B serial: xxx
BIOS: Apple v: IM121.88Z.0047.B1E.1110201314 date: 10/20/11
Chassis: type: 13 v: Mac-942B5BF58194151B serial: xxx
CPU: Quad core Intel Core i5-2400S (-MCP-) arch: Sandy Bridge rev.7 cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 19954
clock speeds: min/max: 1600/3300 MHz 1: 1603 MHz 2: 1620 MHz 3: 1597 MHz 4: 1606 MHz
Memory: [...]
Graphics: Card: Advanced Micro Devices [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M]
Display Server: X.Org 1.19.6 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
Resolution: 1920x1080@59.93hz
OpenGL: renderer: AMD TURKS (DRM 2.50.0 / 4.15.0-99-generic, LLVM 9.0.0)
version: 3.3 Mesa 19.2.8 (compat-v: 3.1) Direct Render: Yes
Audio: Card-1 Advanced Micro Devices [AMD/ATI] Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series]
driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 1002:aa90
Card-2 Intel 6 Series/C200 Series Family High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:1c20
Sound: Advanced Linux Sound Architecture v: k4.15.0-99-generic
[...]
#
# ...mit angestecktem Kopfhörer:
lui@lu-mac:~$ pactl list sinks
Ziel #0
Status: RUNNING
Name: alsa_output.pci-0000_00_1b.0.analog-stereo
Beschreibung: Eingebautes Tongerät Analog Stereo
Treiber: module-alsa-card.c
Abtastwert-Angabe: s16le 2ch 48000Hz
Kanalzuordnung: front-left,front-right
Besitzer-Modul: 8
Stumm: nein
Lautstärke: front-left: 47186 / 72% / -8,56 dB, front-right: 47186 / 72% / -8,56 dB
Verteilung 0,00
Basis-Lautstärke: 52057 / 79% / -6,00 dB
Quellen-Monitor: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
Latenz: 46483 usec, eingestellt 75000 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Eigenschaften:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "CS4206 Analog"
alsa.id = "CS4206 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xa8900000 irq 45"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1c20"
device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller (Apple MacBookPro8,2 [Core i7, 15\", 2011])"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Eingebautes Tongerät Analog Stereo"
alsa.mixer_name = "Cirrus Logic CS4206"
alsa.components = "HDA:10134206,106b0900,00100302"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
analog-output-speaker: Lautsprecher (priority: 10000, not available)
analog-output-headphones: Kopfhörer (priority: 9000, available)
Aktiver Port: analog-output-headphones
Formate:
pcm
#
#
lui@lu-mac:~$ amixer -Dpulse
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 47186 [72%] [on]
Front Right: Playback 47186 [72%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 21871 [33%] [on]
Front Right: Capture 21871 [33%] [on]
#
#
lui@lu-mac:~$ head -n 1 /proc/asound/card*/codec#*
==> /proc/asound/card0/codec#0 <==
Codec: Cirrus Logic CS4206
==> /proc/asound/card1/codec#0 <==
Codec: ATI R6xx HDMI
|
...mehr gern auf Anforderung. Lui
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Willkommen im Forum ☺ Du hast eine völlig andere Soundkarte (Cirrus Logic CS4206) Deshalb müssen deine Optionen ganz anders sein.Kopiere folgendes ins Terminal echo -e "options snd_hda_intel model=imac27" | sudo tee -a /etc/modprobe.d/alsa.conf Neustart und testen.
|
iul
(Themenstarter)
Anmeldungsdatum: 13. September 2019
Beiträge: 9
|
done. hm... leider nix. ...zudem schaltet nun der Output nicht mehr autom.
# ...Kopfhörer angeschlossen
lui@lu-mac:~$ sudo hdajacksensetest
Pin 0x09 (Green Headphone, Rear side): present = No
Pin 0x0c (Blue Line In, Rear side): present = No
Pin 0x0f (White SPDIF In, Rear side): present = No
Pin 0x10 (White SPDIF Out, Rear side): present = No
Pin 0x12 (Pink Mic, Rear side): present = No ...tat er bislang - ich kann jedoch weiter über die KDE-GUI ...> Wiedergabegeräte > Ports zwischen LS und Kopfhörer umschalten. sorry für's Schnellschießen... WhatNext?
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Ok,zeige mal cat /etc/modprobe.d/alsa.conf sudo apt-get install alsa-tools-gui dmesg | egrep -i "alsa|snd|hdmi"
|
iul
(Themenstarter)
Anmeldungsdatum: 13. September 2019
Beiträge: 9
|
...alles mit angeklemmtem Kopfhörer: lui@lu-mac:~$ cat /etc/modprobe.d/alsa.conf
options snd_hda_intel model=imac27
lui@lu-mac:~$ sudo apt-get install alsa-tools-gui
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
alsa-tools-gui ist schon die neueste Version (1.1.3-1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 5 nicht aktualisiert.
lui@lu-mac:~$ dmesg | egrep -i "alsa|snd|hdmi"
[ 0.041242] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 2.697265] thunderbolt 0000:07:00.0: Port 11: 8086:1513 (Revision: 2, TB Version: 1, Type: DP/HDMI (0xe0102))
[ 2.697393] thunderbolt 0000:07:00.0: Port 12: 8086:1513 (Revision: 2, TB Version: 1, Type: DP/HDMI (0xe0101))
[ 2.697521] thunderbolt 0000:07:00.0: Port 13: 8086:1513 (Revision: 2, TB Version: 1, Type: DP/HDMI (0xe0101))
[ 27.779628] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 27.789248] snd_hda_codec_hdmi hdaudioC1D0: HDMI ATI/AMD: no speaker allocation for ELD
[ 27.789555] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input7
[ 27.801170] snd_hda_codec_cirrus hdaudioC0D0: autoconfig for CS4206: line_outs=2 (0xa/0xb/0x0/0x0/0x0) type:speaker
[ 27.801173] snd_hda_codec_cirrus hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 27.801174] snd_hda_codec_cirrus hdaudioC0D0: hp_outs=1 (0x9/0x0/0x0/0x0/0x0)
[ 27.801175] snd_hda_codec_cirrus hdaudioC0D0: mono: mono_out=0x0
[ 27.801176] snd_hda_codec_cirrus hdaudioC0D0: dig-out=0x10/0x0
[ 27.801177] snd_hda_codec_cirrus hdaudioC0D0: inputs:
[ 27.801178] snd_hda_codec_cirrus hdaudioC0D0: Internal Mic=0xd
[ 27.801180] snd_hda_codec_cirrus hdaudioC0D0: Mic=0x12
[ 27.801181] snd_hda_codec_cirrus hdaudioC0D0: Line=0xc
[ 27.801182] snd_hda_codec_cirrus hdaudioC0D0: dig-in=0xf
[ 27.896070] snd_hda_codec_hdmi hdaudioC1D0: HDMI ATI/AMD: no speaker allocation for ELD
[ 28.219959] snd_hda_codec_hdmi hdaudioC1D0: HDMI ATI/AMD: no speaker allocation for ELD
[ 28.539974] snd_hda_codec_hdmi hdaudioC1D0: HDMI ATI/AMD: no speaker allocation for ELD
[ 28.859969] snd_hda_codec_hdmi hdaudioC1D0: HDMI ATI/AMD: no speaker allocation for ELD
[ 29.180114] snd_hda_codec_hdmi hdaudioC1D0: HDMI ATI/AMD: no speaker allocation for ELD
[ 29.499988] snd_hda_codec_hdmi hdaudioC1D0: HDMI ATI/AMD: no speaker allocation for ELD
[ 29.820014] snd_hda_codec_hdmi hdaudioC1D0: HDMI ATI/AMD: no speaker allocation for ELD
[ 30.140079] snd_hda_codec_hdmi hdaudioC1D0: HDMI ATI/AMD: no speaker allocation for ELD
[ 30.460112] snd_hda_codec_hdmi hdaudioC1D0: HDMI ATI/AMD: no speaker allocation for ELD
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Gut,zuerst sudo rm /etc/modprobe.d/alsa.conf dann mal im Terminal folgendes eingeben und auf lassen alsactl monitor nun den Kopfhörer mal ein und aus stecken und Ausgabe zeigen.
|
iul
(Themenstarter)
Anmeldungsdatum: 13. September 2019
Beiträge: 9
|
lui@lu-mac:~$ sudo rm /etc/modprobe.d/alsa.conf
# ...ohne Kopfhörer
lui@lu-mac:~$ alsactl monitor
# mit... ohne...mit ->kein Output!?
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Es wird schlicht nicht erkannt das du einen Kopfhörer einsteckst,was die Ausgabe von # ...Kopfhörer angeschlossen
lui@lu-mac:~$ sudo hdajacksensetest
Pin 0x09 (Green Headphone, Rear side): present = No bestätigt.Es lässt sich wohl nur mit hdajackretask vielleicht lösen.Ist ein Problem Soundchip. Nachtrag Falls du aber noch weitere Optionen testen willst https://01.org/linuxgraphics/gfx-docs/drm/sound/hd-audio/models.html#cirrus-logic-cs4206-4207
|
iul
(Themenstarter)
Anmeldungsdatum: 13. September 2019
Beiträge: 9
|
hmmm - das GUI-tool () fordert etwas... 😉 Da die Erkennung vor dem modifizieren der alsa-base.conf ging,
hilft es evtl. dass ich diese nicht entfernt sondern umbenannt hatte... 😉 Evtl. "siehst" Du die notwendig wiederherzustellenden Zeilen:
lui@lu-mac:~$ cat /etc/modprobe.d/alsa-base.conf-ex
# 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-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y 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
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
sonst geh ich mich mal einlesen... ☺
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Ich Verstehe nicht ganz,worum es geht – wir haben nur eine Option in einer dafür angelegten Datei (alsa.conf) geändert/angelegt.Diese Datei wurde durch den Befehl sudo rm /etc/modprobe.d/alsa.conf wieder gelöscht. Nun bist du irgendwie auf die "Standard" Datei alsa-base.conf gekommen. Benenne sie wieder um.In dem GUI Programm hdajackretask sind eigentlich nur zweit Pin's Wichtig:0x09 Kopfhörer und 0xa für Lautsprecher.
|
iul
(Themenstarter)
Anmeldungsdatum: 13. September 2019
Beiträge: 9
|
War spät gestern 😎 - vergiss das Letzte... Stand nach x-Tests: alsa.conf:
ändert nichts - also:
hdajackretask:
während für "internal Speaker" (0x09) die Override-Option "Headphone" exsistiert, fehlt diese gerade bei "Green Headphone" (0x0a) 😮 Mit/Im [Advanced Override] findet sich dann "Headphone" als device für 0x0a - bewirkt jedoch ebenfalls nichts...
Irgendwie hat Apple da was eigentümlich verbraten...?!
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Wähle mal bei hdajackretask im rechten Feld >Advanced override< aus und zeige ein Screenshot der beiden Pins. Zeige auch mal cat /proc/asound/card*/codec\#0
|
iul
(Themenstarter)
Anmeldungsdatum: 13. September 2019
Beiträge: 9
|
→ Anhänge Was meint die "Channel Group" (hdajackretask / [x]Advanced override > vorletztes Dropdown)?
- sound-hwimac21.txt (10.2 KiB)
- Download sound-hwimac21.txt
- Bilder
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Der Kopfhörer Ausgang ist abgeschaltet Node 0x0a [Pin Complex] wcaps 0x410581: Stereo
Pincap 0x00000054: OUT Detect Balanced
Pin Default 0x002b4050: [Jack] HP Out at Ext N/A
Power: setting=D3, actual=D3 Installiere mal sudo apt-get install alsa-tools Danach Kopfhörer einstecken und Musik laufen lassen und nun sudo hda-verb /dev/snd/hwC0D0 0x0a SET_POWER_STATE 0 eingeben.Ist Ton nun an?
|
iul
(Themenstarter)
Anmeldungsdatum: 13. September 2019
Beiträge: 9
|
|