You are not logged in.

#1 2023-01-07 14:20:49

fch07
Member
Registered: 2021-09-22
Posts: 71

Headphone not detected and no sound

I was trying to listen audio through a headphone connected by cable, but it does not work. I am using gnome and on settings-audio I can't change from internal speaker to headphones as it's not detected. I am not sure what logs to provide if necessary.

Offline

#2 2023-01-09 01:27:04

babaliaris
Member
From: Greece
Registered: 2017-09-29
Posts: 88
Website

Re: Headphone not detected and no sound

Run the following, and post the output in code tags:

sudo journalctl -p 3 -b

Also, check about Pulse Audio (If this is not the audio middleware you have installed).
I almost never had any problems using it and everything always worked out of the box.


Github Account: github.com/babaliaris     big_smileArch General Guidelinesbig_smile
Favourite Distro: archlinux.org                           big_smileArch Wikibig_smile

Offline

#3 2023-01-09 18:50:48

fch07
Member
Registered: 2021-09-22
Posts: 71

Re: Headphone not detected and no sound

gen 09 14:11:49 computer kernel: x86/cpu: SGX disabled by BIOS.
gen 09 14:11:52 computer bluetoothd[1361]: src/plugin.c:plugin_init() Failed>
gen 09 14:11:52 computer bluetoothd[1361]: src/plugin.c:plugin_init() Failed>
gen 09 14:11:52 computer bluetoothd[1361]: src/plugin.c:plugin_init() Failed>
gen 09 14:11:54 computer kernel: Bluetooth: hci0: Malformed MSFT vendor even>
gen 09 14:11:54 computer bluetoothd[1361]: Failed to set mode: Failed (0x03)
gen 09 14:12:03 computer gdm-password][1727]: gkr-pam: unable to locate daem>
gen 09 14:12:04 computer systemd[1740]: Failed to start Application launched>
gen 09 14:12:04 computer systemd[1740]: Failed to start Application launched>
gen 09 14:12:07 computer gdm-launch-environment][1323]: GLib-GObject: g_obje>
lines 1-15/15 (END)...skipping...
gen 09 14:11:49 computer kernel: x86/cpu: SGX disabled by BIOS.
gen 09 14:11:52 computer bluetoothd[1361]: src/plugin.c:plugin_init() Failed to init vcp plugin
gen 09 14:11:52 computer bluetoothd[1361]: src/plugin.c:plugin_init() Failed to init mcp plugin
gen 09 14:11:52 computer bluetoothd[1361]: src/plugin.c:plugin_init() Failed to init bap plugin
gen 09 14:11:54 computer kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
gen 09 14:11:54 computer bluetoothd[1361]: Failed to set mode: Failed (0x03)
gen 09 14:12:03 computer gdm-password][1727]: gkr-pam: unable to locate daemon control file
gen 09 14:12:04 computer systemd[1740]: Failed to start Application launched by gnome-session-binary.
gen 09 14:12:04 computer systemd[1740]: Failed to start Application launched by gnome-session-binary.
gen 09 14:12:07 computer gdm-launch-environment][1323]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

I am using pipewire...

Last edited by fch07 (2023-01-09 21:52:11)

Offline

#4 2023-01-09 19:25:26

babaliaris
Member
From: Greece
Registered: 2017-09-29
Posts: 88
Website

Re: Headphone not detected and no sound

You have quite some problems, mostly related to your Bluetooth device. I can't clearly see if one of them is causing your headphone issues.
But one of the errors also indicates that there is a systemd related issue as well.

Run the following commands and post the outputs individually:

cat /proc/version

and

systemctl --failed

Last edited by babaliaris (2023-01-09 19:26:19)


Github Account: github.com/babaliaris     big_smileArch General Guidelinesbig_smile
Favourite Distro: archlinux.org                           big_smileArch Wikibig_smile

Offline

#5 2023-01-09 19:54:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,259

Re: Headphone not detected and no sound

BT issues aren't going to be relevant to a jack detection issue.

To better get at the status quo, what do you get from

aplay -lL
amixer -c0
sudo dmesg | grep -iE 'sof|snd'
pactl list cards
pactl list sinks

what's your actual hardware/sound card/mainboard? Post these outputs in code tags: https://bbs.archlinux.org/help.php#bbcode

Online

#6 2023-01-09 21:53:53

fch07
Member
Registered: 2021-09-22
Posts: 71

Re: Headphone not detected and no sound

babaliaris wrote:

You have quite some problems, mostly related to your Bluetooth device. I can't clearly see if one of them is causing your headphone issues.
But one of the errors also indicates that there is a systemd related issue as well.

Run the following commands and post the outputs individually:

cat /proc/version

Linux version 6.1.4-arch1-1 (linux@archlinux) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0) #1 SMP PREEMPT_DYNAMIC Sat, 07 Jan 2023 15:10:07 +0000

and

systemctl --failed

$ systemctl --failed
  UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.

Offline

#7 2023-01-09 22:00:18

fch07
Member
Registered: 2021-09-22
Posts: 71

Re: Headphone not detected and no sound

V1del wrote:

BT issues aren't going to be relevant to a jack detection issue.

To better get at the status quo, what do you get from

aplay -lL
amixer -c0
sudo dmesg | grep -iE 'sof|snd'
pactl list cards
pactl list sinks

what's your actual hardware/sound card/mainboard? Post these outputs in code tags: https://bbs.archlinux.org/help.php#bbcode

$ cat /proc/version
Linux version 6.1.4-arch1-1 (linux@archlinux) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0) #1 SMP PREEMPT_DYNAMIC Sat, 07 Jan 2023 15:10:07 +0000
[fch@computer ~]$ systemctl --failed
  UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.
[fch@computer ~]$ amixer -c0
bash: amixer: comando non trovato
[fch@computer ~]$ aplay -lL
bash: aplay: comando non trovato
[fch@computer ~]$ sudo dmesg | grep -iE 'sof|snd'
[sudo] password di fch: 
[    0.029901] software IO TLB: area num 8.
[    0.113743] ACPI: \_SB_.PCI0.HDAS.SNDW: PRP0001 requires 'compatible' property
[    0.125627] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.164896] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.164897] software IO TLB: mapped [mem 0x00000000738c3000-0x00000000778c3000] (64MB)
[   22.599167] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   24.358517] snd_hda_codec_realtek hdaudioC0D0: ALC269VC: SKU not ready 0x411111f0
[   24.359495] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC269VC: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   24.359501] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   24.359505] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   24.359508] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   24.359510] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   24.359512] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[   24.359514] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[fch@computer ~]$ pactl list cards
Card #43
	Name: alsa_card.pci-0000_00_1f.3
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HDA Intel PCH at 0x9122c000 irq 137"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.description = "Audio interno"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "24385866"
		device.product.id = "0x9d71"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "43"
		object.serial = "43"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x9122c000 irq 137"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Spento (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Duplex stereo analogico (sinks: 1, sources: 1, priority: 6565, available: yes)
		output:analog-stereo: Uscita «Stereo analogico» (sinks: 1, sources: 0, priority: 6500, available: yes)
		output:hdmi-stereo+input:analog-stereo: Uscita «Stereo digitale (HDMI)» + Ingresso «Stereo analogico» (sinks: 1, sources: 1, priority: 5965, available: no)
		output:hdmi-stereo: Uscita «Stereo digitale (HDMI)» (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Uscita «Digital Stereo (HDMI 2)» + Ingresso «Stereo analogico» (sinks: 1, sources: 1, priority: 5765, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Uscita «Digital Stereo (HDMI 3)» + Ingresso «Stereo analogico» (sinks: 1, sources: 1, priority: 5765, available: no)
		output:hdmi-stereo-extra1: Uscita «Digital Stereo (HDMI 2)» (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Uscita «Digital Stereo (HDMI 3)» (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround+input:analog-stereo: Uscita «Surround digitale 5.1 (HDMI)» + Ingresso «Stereo analogico» (sinks: 1, sources: 1, priority: 865, available: no)
		output:hdmi-surround71+input:analog-stereo: Uscita «Digital Surround 7.1 (HDMI)» + Ingresso «Stereo analogico» (sinks: 1, sources: 1, priority: 865, available: no)
		output:hdmi-surround: Uscita «Surround digitale 5.1 (HDMI)» (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Uscita «Digital Surround 7.1 (HDMI)» (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Uscita «Digital Surround 5.1 (HDMI 2)» + Ingresso «Stereo analogico» (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Uscita «Digital Surround 7.1 (HDMI 2)» + Ingresso «Stereo analogico» (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Uscita «Digital Surround 5.1 (HDMI 3)» + Ingresso «Stereo analogico» (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Uscita «Digital Surround 7.1 (HDMI 3)» + Ingresso «Stereo analogico» (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround-extra1: Uscita «Digital Surround 5.1 (HDMI 2)» (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1: Uscita «Digital Surround 7.1 (HDMI 2)» (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra2: Uscita «Digital Surround 5.1 (HDMI 3)» (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Uscita «Digital Surround 7.1 (HDMI 3)» (sinks: 1, sources: 0, priority: 600, available: no)
		input:analog-stereo: Ingresso «Stereo analogico» (sinks: 0, sources: 1, priority: 65, available: yes)
		pro-audio: Audio Professionale (sinks: 4, sources: 1, priority: 1, available: yes)
	Active Profile: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input-internal-mic: Microfono interno (type: Mic, priority: 8900, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
		analog-input-mic: Microfono (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "1"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
		analog-output-speaker: Altoparlanti (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 3, availability unknown)
			Properties:
				port.type = "speaker"
				port.availability-group = "Legacy 3"
				device.icon_name = "audio-speakers"
				card.profile.port = "2"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 4"
				device.icon_name = "video-display"
				card.profile.port = "3"
			Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 5, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 5"
				device.icon_name = "video-display"
				card.profile.port = "4"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 6, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 6"
				device.icon_name = "video-display"
				card.profile.port = "5"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo
[fch@computer ~]$ pactl list sinks
Sink #52
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.analog-stereo
	Description: Audio interno Stereo analogico
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 29759 /  45% / -20,57 dB,   front-right: 29759 /  45% / -20,57 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC269VC Analog"
		alsa.long_card_name = "HDA Intel PCH at 0x9122c000 irq 137"
		alsa.name = "ALC269VC Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA Intel PCH at 0x9122c000 irq 137"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "front:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "6"
		device.api = "alsa"
		device.class = "sound"
		device.id = "43"
		device.profile.description = "Stereo analogico"
		device.profile.name = "analog-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Audio interno"
		node.name = "alsa_output.pci-0000_00_1f.3.analog-stereo"
		node.nick = "ALC269VC Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:front:0:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "52"
		object.serial = "52"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "24385866"
		device.product.id = "0x9d71"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "0"
	Ports:
		analog-output-speaker: Altoparlanti (type: Speaker, priority: 10000, availability group: Legacy 3, availability unknown)
	Active Port: analog-output-speaker
	Formats:
		pcm

Offline

#8 2023-01-09 22:36:09

babaliaris
Member
From: Greece
Registered: 2017-09-29
Posts: 88
Website

Re: Headphone not detected and no sound

Install the alsa-utils package before running:

aplay -lL
amixer -c0

Check out here: Alsa utils (Arch Wiki)

alsa-utils installation:

sudo pacman -S alsa-utils

Last edited by babaliaris (2023-01-09 22:36:39)


Github Account: github.com/babaliaris     big_smileArch General Guidelinesbig_smile
Favourite Distro: archlinux.org                           big_smileArch Wikibig_smile

Offline

#9 2023-01-10 10:22:16

fch07
Member
Registered: 2021-09-22
Posts: 71

Re: Headphone not detected and no sound

babaliaris wrote:

Install the alsa-utils package before running:

aplay -lL
amixer -c0

Check out here: Alsa utils (Arch Wiki)

alsa-utils installation:

sudo pacman -S alsa-utils
$ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC269VC Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC 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
$ amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 68 [78%] [-14.25dB] [on]
  Front Right: Playback 68 [78%] [-14.25dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 254 [100%] [-0.20dB]
  Front Right: Playback 254 [100%] [-0.20dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'

Offline

#10 2023-01-10 12:11:11

babaliaris
Member
From: Greece
Registered: 2017-09-29
Posts: 88
Website

Re: Headphone not detected and no sound

I've reached my knowledge limits. I don't see anything wrong with these outputs. Hopefully someone else, like V1del will probably be able to help you.

You can also ask here on the PipeWire subreddit they might be able to help you.

Last edited by babaliaris (2023-01-10 12:11:44)


Github Account: github.com/babaliaris     big_smileArch General Guidelinesbig_smile
Favourite Distro: archlinux.org                           big_smileArch Wikibig_smile

Offline

#11 2023-01-10 13:23:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,259

Re: Headphone not detected and no sound

From a general logistics perspective there simply doesn't exist a headphone control, this doesn't necessarily have to mean anything, but if it does then you have a low level kernel issue that can't get fixed by pipewire or pulseaudio.

FWIW what do you get from

speaker-test -c2 -Dhw:0

normal output (... it will be noise, but do you hear noise?) while on speakers, no output on headphones?

Try

options snd_hda_intel model=headset-mode

in /etc/modprobe.d/hda-fix.conf and reboot. Which exact laptop is this?

Last edited by V1del (2023-01-10 13:31:25)

Online

#12 2023-01-10 13:46:33

fch07
Member
Registered: 2021-09-22
Posts: 71

Re: Headphone not detected and no sound

I hear the noise only on the speakers not on headphones with the code bellow

$ speaker-test -c2 -Dhw:0

speaker-test 1.2.8

Playback device is hw:0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 10,932499
 0 - Front Left
 1 - Front Right
Time per period = 10,936984
 0 - Front Left
 1 - Front Right
Time per period = 10,931786
 0 - Front Left
 1 - Front Right
Time per period = 10,942599
 0 - Front Left
 1 - Front Right
Time per period = 10,940165
 0 - Front Left
 1 - Front Right
Time per period = 10,941179
 0 - Front Left
 1 - Front Right
Time per period = 10,938234
 0 - Front Left
 1 - Front Right

It's a starlabs labtop mkIII

Should I just add this line 'options snd_hda_intel model=headset-mode' on /etc/modprobe.d/hda-fix.conf (just checked and it's an empty file on my machine).

Offline

#13 2023-01-10 13:55:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,259

Re: Headphone not detected and no sound

Yes create the file with that content and try to reboot and recheck/repost the outputs

Last edited by V1del (2023-01-10 15:07:12)

Online

#14 2023-01-10 14:59:01

fch07
Member
Registered: 2021-09-22
Posts: 71

Re: Headphone not detected and no sound

$ speaker-test -c2 -Dhw:0

speaker-test 1.2.8

Playback device is hw:0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 10,933158
 0 - Front Left
 1 - Front Right
Time per period = 10,933504
 0 - Front Left
 1 - Front Right
Time per period = 10,935800
 0 - Front Left
 1 - Front Right
Time per period = 10,939610
 0 - Front Left
 1 - Front Right
Time per period = 10,931038
 0 - Front Left
 1 - Front Right
Time per period = 10,937513
 0 - Front Left
 1 - Front Right
Time per period = 10,937076

Still after editing that config file with that like and rebooting the headphones does not work yet.
Should I change pipeware to pulseaudio?

Offline

#15 2023-01-10 15:03:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,259

Re: Headphone not detected and no sound

will not help, unless you get the speaker-test to work there's nothing either of these two can do to make it work. With the change in place what do you get from

amixer -c0

now? potentially test the LTS kernel or so. Sanity check - your headphones are ok? Do they work on another system/phone/whatever?

Last edited by V1del (2023-01-10 15:07:48)

Online

#16 2023-01-10 15:24:28

fch07
Member
Registered: 2021-09-22
Posts: 71

Re: Headphone not detected and no sound

$ amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 60 [69%] [-20.25dB] [on]
  Front Right: Playback 60 [69%] [-20.25dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 254 [100%] [-0.20dB]
  Front Right: Playback 254 [100%] [-0.20dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Headset Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Headset Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'

Just tested the headphone on a phone and it works fine. I will test the LTS kernel, I forgot to mention that I am using coreboot not an AMI BIOS. I will inform the devs of my coreboot as well.

Offline

#17 2023-01-10 15:27:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,259

Re: Headphone not detected and no sound

The BIOS having a bug here/incorrectly set up verb tables can definitely be an issue as well, yes.

Online

#18 2023-01-10 15:54:17

fch07
Member
Registered: 2021-09-22
Posts: 71

Re: Headphone not detected and no sound

$ amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 60 [69%] [-20.25dB] [on]
  Front Right: Playback 60 [69%] [-20.25dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 254 [100%] [-0.20dB]
  Front Right: Playback 254 [100%] [-0.20dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Headset Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Headset Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'

Just tested the headphone on a phone and it works fine. I will test the LTS kernel, I forgot to mention that I am using coreboot not an AMI BIOS. I will inform the devs of my coreboot as well.

Offline

#19 2023-01-13 10:45:14

fch07
Member
Registered: 2021-09-22
Posts: 71

Re: Headphone not detected and no sound

I tried twice to install linux-lts and it worked with no problems, I also checked I don't need linux-lts-headers. But I am lost about how to install GRUB and boot from the linux-lts. I will create a new thread about it.

Offline

Board footer

Powered by FluxBB