Hello I tried to be as most descriptive as I can, feel free to change the subject or move anywhere. The thing is I have a problem with my soundcard that does not recognize the headset mic properly. Then I started "hdajackretask" to fix it and I found that I got a "segmentation fault".
Then I went to scripts located in /tmp and ran it manually. The problematic command is this:
#echo 1 | tee /sys/class/sound/hwC0D0/reconfig
You should get a "segmentation fault" and the machine became unresponsive, that's mean "poweroff" and "reboot" commands does not work. The only way to back is keep pushing the power button until the computer poweroff and reboot again.
Other information that could be useful:
uname -a
Linux a3seclaptop 5.7.10-artix1-1 #1 SMP PREEMPT Thu, 23 Jul 2020 15:41:52 +0000 x86_64 GNU/Linux
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC256 Analog [ALC256 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
dmesg | grep snd
[ 2.437774] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 2.545113] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 2.593111] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC256: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:speaker
[ 2.593112] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 2.593113] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 2.593114] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 2.593115] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 2.593116] snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19
[ 2.593116] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x1a
[ 2.593117] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x13
I don't know if anyone else has the same problem. If so, is this the right please to report?
Best regards.