AUDIO_microfono interno non funziona
-
- Prode Principiante
- Messaggi: 48
- Iscrizione: giovedì 4 agosto 2011, 15:56
Re: AUDIO_microfono interno non funziona
- noel80
- Entusiasta Emergente
- Messaggi: 1904
- Iscrizione: giovedì 11 settembre 2014, 2:49
- Desktop: plasma@linux-libre
- Distribuzione: archlinux, Pop!_OS
Re: AUDIO_microfono interno non funziona
E' su analogic output/analogic input, o su altre?
A volte devi riavviare alsa dopo le modifiche, con
Codice: Seleziona tutto
aplay -l
Codice: Seleziona tutto
killall pulseaudio; rm -r ~/.config/pulse/* ; rm -r ~/.pulse*
Codice: Seleziona tutto
pulseaudio -k
Puoi postare la configurazione attuale di alsa
Codice: Seleziona tutto
cat /etc/modprobe.d/alsa-base.conf
Codice: Seleziona tutto
sudo dmesg | grep sof
Codice: Seleziona tutto
cat ~/.config/pulse
Codice: Seleziona tutto
cat /etc/pulse/default.pa
Codice: Seleziona tutto
pacmd list-cards

Cacchio, strano che nemmeno con hdajackretask si possa far funzionare il microfono.
- noel80
- Entusiasta Emergente
- Messaggi: 1904
- Iscrizione: giovedì 11 settembre 2014, 2:49
- Desktop: plasma@linux-libre
- Distribuzione: archlinux, Pop!_OS
Re: AUDIO_microfono interno non funziona
Codice: Seleziona tutto
pulseaudio --version
Codice: Seleziona tutto
uname -r
aggiungendo in /etc/pulse/default.pa
Codice: Seleziona tutto
snd slots=snd_soc_skl_hda_dsp
options snd_hda_intel dmic_detect=0
Se la scheda non compare, mettere in blacklist in /etc/modprobe.d/blacklist.conf
Codice: Seleziona tutto
blacklist snd_hda_intel
blacklist snd_soc_skl
-
- Prode Principiante
- Messaggi: 48
- Iscrizione: giovedì 4 agosto 2011, 15:56
Re: AUDIO_microfono interno non funziona
Su pavucontrol, se vado su configuration vedo Built-in Audio due volte. Su uno c'è Profile:Off e non posso cambiare perchè su tutte le altre voci trovo unavailable, sull'altro cè Profile: Analog Stereo Duplex. Ho provato a modificarlo mettendo sia Analog stereo output che input ma non cambia nulla.
Ti posto i risultati
Codice: Seleziona tutto
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
# Opzione per il microfono
options snd-hda-intel model=auto
options snd_hda_intel index=0
options snd_hda_intel index=1
Codice: Seleziona tutto
sudo dmesg | grep sof
[sudo] password for annarita:
[ 0.593974] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.593977] software IO TLB: mapped [mem 0xc3380000-0xc7380000] (64MB)
[ 0.691375] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[ 0.691398] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[ 99.377143] audit: type=1326 audit(1614328642.116:45): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=1869 comm="snap-store" exe="/snap/snap-store/518/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7fa7afae3639 code=0x50000
[ 99.844392] audit: type=1107 audit(1614328642.584:46): pid=767 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/NetworkManager" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.13" pid=1869 label="snap.snap-store.ubuntu-software" peer_pid=768 peer_label="unconfined"
[ 101.525250] audit: type=1107 audit(1614328644.269:47): pid=767 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.9" pid=1869 label="snap.snap-store.ubuntu-software" peer_pid=780 peer_label="unconfined"
[ 101.525687] audit: type=1107 audit(1614328644.269:48): pid=767 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.9" pid=1869 label="snap.snap-store.ubuntu-software" peer_pid=780 peer_label="unconfined"
[ 104.830963] audit: type=1400 audit(1614328647.576:49): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/gdm/greeter/applications/gnome-initial-setup.desktop" pid=1869 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 104.867350] audit: type=1400 audit(1614328647.612:50): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/gdm/greeter/applications/gnome-initial-setup.desktop" pid=1869 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 105.419795] audit: type=1326 audit(1614328648.164:51): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=1869 comm="snap-store" exe="/snap/snap-store/518/usr/bin/snap-store" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7fa7afad94e7 code=0x50000
[ 105.610205] audit: type=1107 audit(1614328648.356:52): pid=767 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.9" pid=1869 label="snap.snap-store.ubuntu-software" peer_pid=780 peer_label="unconfined"
[ 105.610567] audit: type=1107 audit(1614328648.356:53): pid=767 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.9" pid=1869 label="snap.snap-store.ubuntu-software" peer_pid=780 peer_label="unconfined"
[ 106.409415] audit: type=1400 audit(1614328649.157:54): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/etc/PackageKit/Vendor.conf" pid=1869 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 129.424496] audit: type=1400 audit(1614328672.178:55): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/gdm/greeter/applications/gnome-initial-setup.desktop" pid=1869 comm="pool-org.gnome." requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 129.460882] audit: type=1400 audit(1614328672.214:56): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/gdm/greeter/applications/gnome-initial-setup.desktop" pid=1869 comm="pool-org.gnome." requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 130.031343] audit: type=1326 audit(1614328672.782:57): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=1869 comm="pool-org.gnome." exe="/snap/snap-store/518/usr/bin/snap-store" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7fa7afad94e7 code=0x50000
Codice: Seleziona tutto
cat /etc/pulse/default.pa
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)
.fail
### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties
### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available
### Use hot-plugged devices like Bluetooth or USB automatically (LP: #1702794)
.ifexists module-switch-on-connect.so
load-module module-switch-on-connect
.endif
### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink
### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif
### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif
### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix
### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish
### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv
### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor
### Load additional modules from GSettings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gsettings.so
.nofail
load-module module-gsettings
.fail
.endif
### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore
### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink
### Honour intended role device property
load-module module-intended-roles
### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle
### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif
### Enable positioned event sounds
load-module module-position-event-sounds
### Cork music/video streams when a phone stream is active
load-module module-role-cork
### Block audio recording for snap confined packages unless they have
### the "pulseaudio" or "audio-record" interfaces plugged.
.ifexists module-snap-policy.so
load-module module-snap-policy
.endif
### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply
### Make some devices default
#set-default-sink output
#set-default-source input
#PROVA MICROFONO INTERNO
load-module module-alsa-source device=hw:1,0
.ifexists module-udev-detect.so
Codice: Seleziona tutto
pacmd list-cards
2 card(s) available.
index: 0
name: <alsa_card.pci-0000_00_03.0>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "1"
alsa.card_name = "HDA Intel HDMI"
alsa.long_card_name = "HDA Intel HDMI at 0xf7a1c000 irq 50"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:03.0"
sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0a0c"
device.product.name = "Haswell-ULT HD Audio Controller"
device.form_factor = "internal"
device.string = "1"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
off: Off (priority 0, available: unknown)
active profile: <off>
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
index: 1
name: <alsa_card.pci-0000_00_1b.0>
driver: <module-alsa-card.c>
owner module: 8
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7a18000 irq 51"
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 = "9c20"
device.product.name = "8 Series HD Audio Controller"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo
sources:
alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo
ports:
analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
-
- Prode Principiante
- Messaggi: 48
- Iscrizione: giovedì 4 agosto 2011, 15:56
Re: AUDIO_microfono interno non funziona
Codice: Seleziona tutto
pulseaudio --version
pulseaudio 13.99.1
Codice: Seleziona tutto
uname -r
5.8.0-44-generic
Codice: Seleziona tutto
#PROVA MICROFONO INTERNO
#load-module module-alsa-source device=hw:1,0
#.ifexists module-udev-detect.so
snd slots=snd_soc_skl_hda_dsp
options snd_hda_intel dmic_detect=0
ANche modificando il file /etc/modprobe.d/blacklist.conf
in alsamixer non vedo cambiamenti. Premedno F6 vedo solo: HDA Intel PCH e HDA Intel HDMI
Spero di avere risposto a tutti i punti...
- noel80
- Entusiasta Emergente
- Messaggi: 1904
- Iscrizione: giovedì 11 settembre 2014, 2:49
- Desktop: plasma@linux-libre
- Distribuzione: archlinux, Pop!_OS
Re: AUDIO_microfono interno non funziona
Codice: Seleziona tutto
#PROVA MICROFONO INTERNO
load-module module-alsa-source device=hw:1,0
.ifexists module-udev-detect.so
La scheda che interessa a te dovrebbe essere solo la 1
Codice: Seleziona tutto
# Opzione per il microfono
options snd-hda-intel model=auto
options snd_hda_intel index=0
options snd_hda_intel index=1
Codice: Seleziona tutto
aplay -l
Codice: Seleziona tutto
pulseaudio -k ; pulseaudio -D
Codice: Seleziona tutto
sudo /etc/init.d/alsa-utils stop
sudo alsa force-reload
Ps: a tempo perso, potresti fare una prova con una distibuzione differente (anche se non e' certo il modo per risolvere i problemi)?
Ho appena installato Pop!_OS 20.10 sull' Asus P553M, e funziona tutto senza configurazioni (pur avendo due microfoni interni).
Una nota, qui ad esempio su pacmd list-cards i due microfoni li vede come analogici, cercando in rete "dmic" si riferisce al microfono interno digitale, "amic" a microfono interno analogico... uno come 0,1 (riferito al tuo esempio di load-module module-alsa-source device=hw:1,0) cioe' scheda numero 0, dispositivo 0 ed uno come 0,1...
Vedo di non confusionare ulteriormente la discussione.
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti