Hi there! I’ve been a long-time lurker and created my account for this post since I’ve been stuck on this problem for weeks now. It’s my first time installing Manjaro myself (been using it for years when a friend installed it but i got a new laptop after my old one gave out).
When first installing, even in the usb live-boot, I had no sound. running aplay -l
I could see that alse detects my soundcard correctly, but using pavucontrol, it said “no cards available for configuration” and the output and input devices were dummy output and input.
After looking online for a bit, i found this tutorial on the forum. I had some issues running the ionsound.service, but when changing the shebang from #!/bin/bash
to #!/bin/sh
, systemctl status told me the exit status was 0, so as far as i know, everything is executed correctly. When I now open pavucontrol, everything seems correct:
- I can select profiles in the configuration tab
- correct output and input devices are listed
- when playing a video on youtube, it no longer stops (because the audio used to be unable to go anywhere)
- when looking at the speaker device, i can see the volume bar moving when playing a video, representing sound
- the input device’s volume bar goes up and down, responding to sound
In amixer the correct card is selected and the volume on every bar is up, not exceeding 0dB gain, as stated in the afformentioned tutorial.
When I connect my headphones via bluetooth, using blueman-manager, I get audio though, so at least that isn’t broken.
Below is some output that might be relevant:
aplay:
[boterham@toast ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: Deepbuffer HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
pulseaudio.service status:
[boterham@toast ~]$ systemctl --user status pulseaudio.service
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; preset: enabled)
Active: active (running) since Wed 2024-05-08 17:51:47 CEST; 38min ago
TriggeredBy: ● pulseaudio.socket
Main PID: 2233 (pulseaudio)
Tasks: 12 (limit: 18649)
Memory: 21.5M (peak: 23.5M)
CPU: 3min 7.652s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
├─2233 /usr/bin/pulseaudio --daemonize=no --log-target=journal
└─2251 /usr/lib/pulse/gsettings-helper
May 08 17:51:46 toast systemd[2018]: Starting Sound Service...
May 08 17:51:47 toast systemd[2018]: Started Sound Service.
May 08 17:56:40 toast pulseaudio[2233]: [70B blob data]
May 08 17:56:41 toast pulseaudio[2233]: Battery Level: 70%
ionsound and ionsounsleep statuses from the tutorial:
[boterham@toast ~]$ systemctl status ionsound.service ionsoundsleep.service
○ ionsound.service - Custom Sound
Loaded: loaded (/etc/systemd/system/ionsound.service; enabled; preset: disabled)
Active: inactive (dead) since Wed 2024-05-08 17:49:31 CEST; 41min ago
Duration: 8.562s
Process: 670 ExecStart=/home/boterham/scripts/T0912.sh (code=exited, status=0/SUCCESS)
Main PID: 670 (code=exited, status=0/SUCCESS)
CPU: 3.304s
May 08 17:49:31 toast T0912.sh[2004]: nid = 0x20, verb = 0xc00, param = 0x0
May 08 17:49:31 toast T0912.sh[2004]: value = 0x7418
May 08 17:49:31 toast sudo[2002]: pam_unix(sudo:session): session closed for user root
May 08 17:49:31 toast sudo[2005]: root : PWD=/ ; USER=root ; COMMAND=/usr/bin/hda-verb /dev/snd/hwC0D0 0x20 0x500 0x11
May 08 17:49:31 toast sudo[2005]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
May 08 17:49:31 toast T0912.sh[2007]: nid = 0x20, verb = 0x500, param = 0x11
May 08 17:49:31 toast T0912.sh[2007]: value = 0x0
May 08 17:49:31 toast sudo[2005]: pam_unix(sudo:session): session closed for user root
May 08 17:49:31 toast systemd[1]: ionsound.service: Deactivated successfully.
May 08 17:49:31 toast systemd[1]: ionsound.service: Consumed 3.304s CPU time.
○ ionsoundsleep.service - Custom Sound Sleep Fix
Loaded: loaded (/etc/systemd/system/ionsoundsleep.service; enabled; preset: disabled)
Active: inactive (dead)
alsa-info.sh output: output
Any help is greatly appreciated since exams are coming up and I really need audio for online exams (otherwise I have to boot into Windows )