ubuntuusers.de

Klinken-Anschluss als Soundeingang statt als Soundausgang verwenden

Status: Gelöst | Ubuntu-Version: Kubuntu 20.04 (Focal Fossa)
Antworten |

Atompilz

(Themenstarter)

Anmeldungsdatum:
15. April 2009

Beiträge: 84

ls /etc/modprobe.d
alsa-base.conf                  blacklist-ath_pci.conf  blacklist-firewire.conf     blacklist-modem.conf  blacklist-rare-network.conf     iwlwifi.conf
amd64-microcode-blacklist.conf  blacklist.conf          blacklist-framebuffer.conf  blacklist-oss.conf    intel-microcode-blacklist.conf
cat /etc/modprobe.d/alsa-base.conf
# 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
options snd-hda-intel model=alc283-sense-combo

marant...

Anmeldungsdatum:
2. Februar 2021

Beiträge: 645

Ok, der 2. Versuch, selbes Vorgehen, aber Diesmal die letzte Zeile in alsa-base.conf ersetzen(wichig!)

sudo kate /etc/modprobe.d/alsa-base.conf

öffnen, unten Zeile (options snd-hda-intel..) ersetzen mit:

options snd-hda-intel model=alc283-headset

Neustart. Posten danach v. dmesg

Atompilz

(Themenstarter)

Anmeldungsdatum:
15. April 2009

Beiträge: 84

... es sieht leider nicht so aus, als ob es eine relevante Änderung gegeben hätte:

sudo dmesg | egrep -i "BOOT_IMAGE|Linux version|DMI:|snd|sound|audio|codec|hda|hdmi|'/input'|fail"
[    0.000000] Linux version 5.8.0-55-generic (buildd@lgw01-amd64-050) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #62~20.04.1-Ubuntu SMP Wed Jun 2 08:55:04 UTC 2021 (Ubuntu 5.8.0-55.62~20.04.1-generic 5.8.18)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.8.0-55-generic root=UUID=1278024d-8af6-4c02-8f35-9d7074bf62b1 ro quiet splash resume=UUID=1278024d-8af6-4c02-8f35-9d7074bf62b1 resume_offset=1380352 vt.handoff=7
[    0.000000] DMI: Acer Aspire E5-571G/EA50_HB   , BIOS V1.21 11/17/2014
[    0.029936] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.8.0-55-generic root=UUID=1278024d-8af6-4c02-8f35-9d7074bf62b1 ro quiet splash resume=UUID=1278024d-8af6-4c02-8f35-9d7074bf62b1 resume_offset=1380352 vt.handoff=7
[    0.120368] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.206251] pci 0000:04:00.0: Enabling HDA controller
[    0.569354] pci 0000:04:00.0: BAR 6: failed to assign [mem size 0x00080000 pref]
[    1.228432]     BOOT_IMAGE=/boot/vmlinuz-5.8.0-55-generic
[    6.290627] iwlwifi 0000:03:00.0: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
[    6.859064] usbcore: registered new interface driver snd-usb-audio
[    7.066282] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC283: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    7.066285] snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.066287] snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    7.066289] snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
[    7.066290] snd_hda_codec_realtek hdaudioC2D0:    inputs:
[    7.066292] snd_hda_codec_realtek hdaudioC2D0:      Mic=0x12
[    7.096856] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    7.152547] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input28
[    7.152725] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input29
[    7.152851] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input30
[    7.152968] input: HDA Intel HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/sound/card0/input31
[    7.153080] input: HDA Intel HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.0/sound/card0/input32
[    7.336160] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card2/input33
[   92.616903] WARNING: CPU: 0 PID: 663 at drivers/gpu/drm/i915/display/intel_ddi.c:1065 intel_ddi_pre_enable_hdmi.isra.0+0x515/0x580 [i915]
[   92.616904] Modules linked in: ccm rfcomm snd_hda_codec_hdmi cmac algif_hash snd_hda_codec_realtek snd_hda_codec_generic intel_rapl_msr ledtrig_audio algif_skcipher af_alg snd_hda_intel bnep snd_intel_dspcfg snd_hda_codec snd_hda_core mei_hdcp intel_rapl_common x86_pkg_temp_thermal intel_powerclamp snd_usb_audio coretemp snd_usbmidi_lib snd_hwdep kvm_intel snd_seq_midi snd_seq_midi_event snd_rawmidi kvm rapl intel_cstate serio_raw iwlmvm mc acer_wmi hid_multitouch mac80211 sparse_keymap wmi_bmof libarc4 snd_seq snd_pcm iwlwifi at24 joydev input_leds btusb btrtl btbcm snd_seq_device btintel snd_timer cfg80211 bluetooth intel_pch_thermal snd ecdh_generic mei_me ecc mei soundcore acpi_pad mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj usbhid hid_generic nouveau mxm_wmi crct10dif_pclmul crc32_pclmul i915 rtsx_pci_sdmmc ghash_clmulni_intel ttm i2c_algo_bit drm_kms_helper aesni_intel syscopyarea sysfillrect crypto_simd sysimgblt
[   92.617003] RIP: 0010:intel_ddi_pre_enable_hdmi.isra.0+0x515/0x580 [i915]

marant...

Anmeldungsdatum:
2. Februar 2021

Beiträge: 645

probiere mal die (Zeile wieder ersetzen)

options snd-hda-intel model=auto,dell-headset-multi index=1,0

kommt von

https://forums.linuxmint.com/viewtopic.php?f=49&t=308376&start=60

ext mic nicht beachten/ es geht um die Pins

Atompilz

(Themenstarter)

Anmeldungsdatum:
15. April 2009

Beiträge: 84

Jetzt steht "HDA Intel PCH Headphone Mic" statt "HDA Intel PCH Headphone" in der letzten input-Zeile. Hier die vollständige Ausgabe:

sudo dmesg | egrep -i "BOOT_IMAGE|Linux version|DMI:|snd|sound|audio|codec|hda|hdmi|'/input'|fail"
#[    0.000000] Linux version 5.8.0-59-generic (buildd@lcy01-amd64-022) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 (Ubuntu 5.8.0-59.66~20.04.1-generic 5.8.18)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.8.0-59-generic root=UUID=1278024d-8af6-4c02-8f35-9d7074bf62b1 ro quiet splash resume=UUID=1278024d-8af6-4c02-8f35-9d7074bf62b1 resume_offset=1380352 vt.handoff=7
[    0.000000] DMI: Acer Aspire E5-571G/EA50_HB   , BIOS V1.21 11/17/2014
[    0.030108] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.8.0-59-generic root=UUID=1278024d-8af6-4c02-8f35-9d7074bf62b1 ro quiet splash resume=UUID=1278024d-8af6-4c02-8f35-9d7074bf62b1 resume_offset=1380352 vt.handoff=7
[    0.120579] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.198921] pci 0000:04:00.0: Enabling HDA controller
[    0.553547] pci 0000:04:00.0: BAR 6: failed to assign [mem size 0x00080000 pref]
[    1.346113]     BOOT_IMAGE=/boot/vmlinuz-5.8.0-59-generic
[    3.608849] WARNING: CPU: 3 PID: 40 at drivers/gpu/drm/i915/display/intel_ddi.c:1065 intel_ddi_pre_enable_hdmi.isra.0+0x515/0x580 [i915]
[    3.609034] RIP: 0010:intel_ddi_pre_enable_hdmi.isra.0+0x515/0x580 [i915]
[    7.106534] iwlwifi 0000:03:00.0: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
[    7.826052] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    7.922811] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC283: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    7.922814] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.922816] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    7.922817] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    7.922819] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    7.922821] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[    7.922822] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
[    7.922824] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    7.928801] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card1/input25
[    7.928900] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card1/input26
[    7.928983] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card1/input27
[    7.929083] input: HDA Intel HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/sound/card1/input28
[    7.929188] input: HDA Intel HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.0/sound/card1/input29
[    8.000431] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input30

marant...

Anmeldungsdatum:
2. Februar 2021

Beiträge: 645

Naja, Du hast jetzt 3 Mic Eingänge 😉

inputs:
[    7.922821] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[    7.922822] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
[    7.922824] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12

Teste mal auf Funktion das interne und externe (bzw. Headset)

..zu sehen in

pavucontrol -t 4

u. spaßenshalber mal per Klinke Signal vom VCR(od. was auch immer) einspeisen. (ob Ausschlag zu sehen ist)

Atompilz

(Themenstarter)

Anmeldungsdatum:
15. April 2009

Beiträge: 84

Ja, stimmt, jetzt funktionierte auch die Einspeisung! Ich in pavucontrol die Mikrofonlautstärke auf 22% reduziert, da bei 100% der Ton vollkommen übersteuert war.

Vielen Dank für die Hilfe!

Antworten |