[SOLVED] Wired headphones not shown in audio output. No sound.

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
aq74i
Level 1
Level 1
Posts: 34
Joined: Sun May 21, 2023 5:11 am

[SOLVED] Wired headphones not shown in audio output. No sound.

Post by aq74i »

Hullo,
Am a beginner to Linux and most computer things.

This is a Macbook13,2 model running Linux Mint (6.1.0-1013-oem kernel). The speakers themselves don't work, wired headphones don't appear in audio output.
I did manage to get a bluetooth connection to a「sony pxc 550 ii」and there was sound, though intermittent, very scratchy, and with weird old radio-ish static like noises. [edit: After all the attempts to fix the detection of the wired headphones but failing, the sound quality of the wireless headphones seems to have been fixed..I don't know what happened. Am still trying to figure out how to get the wired connection working though.]

Is there anyway to get wired headphones to work?
Sorry and thank you.




Results from: $ inxi -SMA
System:
Host: aqsy Kernel: 6.1.0-1013-oem x86_64 bits: 64 Desktop: Cinnamon 5.6.8
Distro: Linux Mint 21.1 Vera
Machine:
Type: Laptop System: Apple product: MacBookPro13,2 v: 1.0
serial: <superuser required>
Mobo: Apple model: Mac-66E35819EE2D0D05 v: MacBookPro13,2
serial: <superuser required> UEFI: Apple v: 512.0.0.0.0 date: 04/05/2023
Audio:
Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
Sound Server-1: ALSA v: k6.1.0-1013-oem running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes

ALSA also didn't look like it does on pictures in tutorials.
https://pasteboard.co/a5xaOe9s1Zq7.png

Have tried fixes from here and stack exchange/overflow(?), but none of them work.
https://itsfoss.com/fix-sound-ubuntu-1304-quick-tip/
https://askubuntu.com/questions/132440/ ... ot-working

Also tried sudo evtest, then plugging out and in the wired headphones, but there was no change in the terminal text.




☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆
another edit: There was another thread with a similar issue, and they got wireless bluetooth headphones to work too. Don't think the wired headphone issue got resolved though. 【viewtopic.php?t=317609

Also, adding the results for ~$ dmesg | grep snd
[ 9.201295] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 9.232595] snd_hda_codec_cs8409 hdaudioC0D0: autoconfig for CS8409: line_outs=2 (0x24/0x25/0x0/0x0/0x0) type:speaker
[ 9.232600] snd_hda_codec_cs8409 hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 9.232603] snd_hda_codec_cs8409 hdaudioC0D0: hp_outs=1 (0x2c/0x0/0x0/0x0/0x0)
[ 9.232605] snd_hda_codec_cs8409 hdaudioC0D0: mono: mono_out=0x0
[ 9.232606] snd_hda_codec_cs8409 hdaudioC0D0: inputs:
[ 9.232608] snd_hda_codec_cs8409 hdaudioC0D0: Internal Mic=0x44
[ 9.232609] snd_hda_codec_cs8409 hdaudioC0D0: Mic=0x3c

Even if my problem doesn't get solved, this information might help someone in the future, so am going to just update to this post if there's anything noteworthy.


☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆
Followed the instructions on this and installed pipewire successfully. However, bluetooth headphones became significantly crackly in sound quality, and the wired headphones were still not picked up. Have a suspicion that the headphone jack just isn't working.

https://linuxconfig.org/how-to-install- ... untu-linux
Last edited by LockBot on Thu Nov 30, 2023 11:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
aq74i
Level 1
Level 1
Posts: 34
Joined: Sun May 21, 2023 5:11 am

[SOLVED] Re: Wired headphones not shown in audio output. No sound.

Post by aq74i »

Was browsing this forum.
https://unix.stackexchange.com/question ... 7-on-linux

Because this computer also uses Codec: Cirrus Logic CS8409,
attempted François Romain's fix in the uppermost comment, which is copy pasted below.

Today, the computer surprised me by making a few notification beeps out of its speaker, and upon checking sound settings in the applet down at the task bar, speakers being recognised and displayed (there was previously nothing at all).
Plugged in wired headphones and it recognised the headphones. Can listen to things now without any issue. Sound feels slightly louder than in the past, when this computer was running macOS, but that was solved by tweaking volume and amplification settings.
# install the kernel headers

Code: Select all

sudo dnf install kernel-devel
# clone the repo of the module

Code: Select all

git clone https://github.com/egorenar/snd-hda-codec-cs8409.git
# make and install

Code: Select all

cd snd-hda-codec-cs8409

Code: Select all

make

Code: Select all

sudo make install
reboot.
Locked

Return to “Sound”