(10-12-2020, 12:25)dedito napisał(a): Brak pełnej ścieżki w tym poleceniu.
Ogólnie to obchodzimy ten problem zamiast go rozwiązać
Jaka jest pełna ścieżka?
Ogólnie nie wiem czy nie jest to jakiś bug systemowy Ponieważ gdy aktywuje sobie dźwięki systemowe to po restarcie systemu znów są wyłączone
To coś robisz źle, skoro "z palca" działa.
W zasadach forum znajdziesz punkt odnośnie problemów z dźwiękiem.
Tam znajdziesz informacje o skrypcie zbierającym informacje o urządzeniach dźwiękowych.
Jak będziemy więcej wiedzieć, to może coś zaradzimy.
Daj zrzut skryptu z działającym i niedziałającym dźwiękiem.
(10-12-2020, 14:06)dedito napisał(a): To coś robisz źle, skoro "z palca" działa.
W zasadach forum znajdziesz punkt odnośnie problemów z dźwiękiem.
Tam znajdziesz informacje o skrypcie zbierającym informacje o urządzeniach dźwiękowych.
Jak będziemy więcej wiedzieć, to może coś zaradzimy.
Daj zrzut skryptu z działającym i niedziałającym dźwiękiem.
(10-12-2020, 16:33)magnus napisał(a): W "Programy Startowe" skrót ~ nie zadziała, trzeba podać nazwę katalogu domowego:
rm /home/wc/.config/pulse/* && pulseaudio -k
Też nie poszło.
(10-12-2020, 14:06)dedito napisał(a): To coś robisz źle, skoro "z palca" działa.
W zasadach forum znajdziesz punkt odnośnie problemów z dźwiękiem.
Tam znajdziesz informacje o skrypcie zbierającym informacje o urządzeniach dźwiękowych.
Jak będziemy więcej wiedzieć, to może coś zaradzimy.
Daj zrzut skryptu z działającym i niedziałającym dźwiękiem.
Wyniki ze skryptu w załączniku. Dodano po pewnym czasie:
Sprawa wyjaśniona.
Najprawdopodobniej mam uszkodzone gniazdo mikrofonu w pececie.
Podłączyłem testowo słuchawki z mikrofonem i chodź mikrofon był wykrywany to nie dawał dźwięku dopóki nie poruszałem wtyczką przy gnieździe.
(10-12-2020, 20:18)dedito napisał(a): Porównałem oba pliki:
Kod:
diff Nie\ wykrywa.txt Wykrywa.txt
6c6
< !!Script ran on: Thu Dec 10 13:50:40 UTC 2020
---
> !!Script ran on: Thu Dec 10 13:37:25 UTC 2020
240c240
< Converter: stream=0, channel=0
---
> Converter: stream=1, channel=0
268c268
< Converter: stream=1, channel=0
---
> Converter: stream=0, channel=0
571,582c571,582
< crw-rw----+ 1 root audio 116, 11 Dec 10 14:49 /dev/snd/controlC0
< crw-rw----+ 1 root audio 116, 4 Dec 10 14:49 /dev/snd/controlC1
< crw-rw----+ 1 root audio 116, 10 Dec 10 14:49 /dev/snd/hwC0D0
< crw-rw----+ 1 root audio 116, 3 Dec 10 14:49 /dev/snd/hwC1D0
< crw-rw----+ 1 root audio 116, 6 Dec 10 14:49 /dev/snd/pcmC0D0c
< crw-rw----+ 1 root audio 116, 5 Dec 10 14:49 /dev/snd/pcmC0D0p
< crw-rw----+ 1 root audio 116, 8 Dec 10 14:49 /dev/snd/pcmC0D1c
< crw-rw----+ 1 root audio 116, 7 Dec 10 14:49 /dev/snd/pcmC0D1p
< crw-rw----+ 1 root audio 116, 9 Dec 10 14:49 /dev/snd/pcmC0D2c
< crw-rw----+ 1 root audio 116, 2 Dec 10 14:49 /dev/snd/pcmC1D3p
< crw-rw----+ 1 root audio 116, 1 Dec 10 14:49 /dev/snd/seq
< crw-rw----+ 1 root audio 116, 33 Dec 10 14:49 /dev/snd/timer
---
> crw-rw----+ 1 root audio 116, 11 Dec 10 12:34 /dev/snd/controlC0
> crw-rw----+ 1 root audio 116, 4 Dec 10 12:34 /dev/snd/controlC1
> crw-rw----+ 1 root audio 116, 10 Dec 10 12:34 /dev/snd/hwC0D0
> crw-rw----+ 1 root audio 116, 3 Dec 10 12:34 /dev/snd/hwC1D0
> crw-rw----+ 1 root audio 116, 6 Dec 10 14:31 /dev/snd/pcmC0D0c
> crw-rw----+ 1 root audio 116, 5 Dec 10 14:31 /dev/snd/pcmC0D0p
> crw-rw----+ 1 root audio 116, 8 Dec 10 12:34 /dev/snd/pcmC0D1c
> crw-rw----+ 1 root audio 116, 7 Dec 10 12:34 /dev/snd/pcmC0D1p
> crw-rw----+ 1 root audio 116, 9 Dec 10 12:34 /dev/snd/pcmC0D2c
> crw-rw----+ 1 root audio 116, 2 Dec 10 12:34 /dev/snd/pcmC1D3p
> crw-rw----+ 1 root audio 116, 1 Dec 10 12:34 /dev/snd/seq
> crw-rw----+ 1 root audio 116, 33 Dec 10 12:34 /dev/snd/timer
586,589c586,589
< drwxr-xr-x 2 root root 80 Dec 10 14:49 .
< drwxr-xr-x 3 root root 300 Dec 10 14:49 ..
< lrwxrwxrwx 1 root root 12 Dec 10 14:49 pci-0000:00:14.2 -> ../controlC0
< lrwxrwxrwx 1 root root 12 Dec 10 14:49 pci-0000:01:00.1 -> ../controlC1
---
> drwxr-xr-x 2 root root 80 Dec 10 12:34 .
> drwxr-xr-x 3 root root 300 Dec 10 12:34 ..
> lrwxrwxrwx 1 root root 12 Dec 10 12:34 pci-0000:00:14.2 -> ../controlC0
> lrwxrwxrwx 1 root root 12 Dec 10 12:34 pci-0000:01:00.1 -> ../controlC1
1578a1579
> isofs
1696,1698c1697,1699
< [ 0.148616] ACPI: Added _OSI(Linux-Dell-Video)
< [ 0.148616] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
< [ 0.148616] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
---
> [ 0.148884] ACPI: Added _OSI(Linux-Dell-Video)
> [ 0.148884] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
> [ 0.148884] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
1700,1702c1701,1703
< [ 2.336776] [drm] Connector 1:
< [ 2.336777] [drm] HDMI-A-1
< [ 2.336779] [drm] HPD1
---
> [ 2.341017] [drm] Connector 1:
> [ 2.341019] [drm] HDMI-A-1
> [ 2.341020] [drm] HPD1
1704,1722c1705,1725
< [ 4.450573] scsi host9: vhba
< [ 4.812259] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input8
< [ 4.828647] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC888: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
< [ 4.828660] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
< [ 4.828661] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
< [ 4.828662] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
< [ 4.828663] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
< [ 4.828664] snd_hda_codec_realtek hdaudioC0D0: inputs:
< [ 4.828666] snd_hda_codec_realtek hdaudioC0D0: Rear Mic=0x18
< [ 4.828667] snd_hda_codec_realtek hdaudioC0D0: Front Mic=0x19
< [ 4.828668] snd_hda_codec_realtek hdaudioC0D0: Line=0x1a
< [ 4.828669] snd_hda_codec_realtek hdaudioC0D0: CD=0x1c
< [ 4.828670] snd_hda_codec_realtek hdaudioC0D0: dig-in=0x1f
< [ 4.842180] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
< [ 4.842236] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
< [ 4.842297] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
< [ 4.842358] input: HDA ATI SB Line Out as /devices/pci0000:00/0000:00:14.2/sound/card0/input12
< [ 4.842450] snd_hda_intel 0000:00:14.2: device 1458:a002 is on the power_save blacklist, forcing power_save to 0
< [ 4.848840] mc: Linux media interface: v0.10
---
> [ 4.971195] EDAC amd64: Node 0: DRAM ECC disabled.
> [ 4.972606] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input8
> [ 4.981944] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC888: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
> [ 4.981947] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
> [ 4.981949] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
> [ 4.981950] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
> [ 4.981951] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
> [ 4.981951] snd_hda_codec_realtek hdaudioC0D0: inputs:
> [ 4.981953] snd_hda_codec_realtek hdaudioC0D0: Rear Mic=0x18
> [ 4.981954] snd_hda_codec_realtek hdaudioC0D0: Front Mic=0x19
> [ 4.981956] snd_hda_codec_realtek hdaudioC0D0: Line=0x1a
> [ 4.981957] snd_hda_codec_realtek hdaudioC0D0: CD=0x1c
> [ 4.981958] snd_hda_codec_realtek hdaudioC0D0: dig-in=0x1f
> [ 5.016876] EDAC amd64: F10h detected (node 0).
> [ 5.016900] EDAC amd64: Node 0: DRAM ECC disabled.
> [ 5.017081] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
> [ 5.017155] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
> [ 5.017211] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
> [ 5.017265] input: HDA ATI SB Line Out as /devices/pci0000:00/0000:00:14.2/sound/card0/input12
> [ 5.017359] snd_hda_intel 0000:00:14.2: device 1458:a002 is on the power_save blacklist, forcing power_save to 0
> [ 5.017701] mc: Linux media interface: v0.10
Wygląda na to, że w obu przypadkach mikrofon jest wykrywany.
Pokaż co masz w wyniku cat /etc/pulse/default.pa
Cytat:wc@wc-GA-770T-D3L:~$ 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
### 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
### 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
wc@wc-GA-770T-D3L:~$