Help! No audio card available

After going through some pactl and pacmd commands to look at PulseAudio settings, my L5 now don’t display any sound card.

Where previously this command gave me this:

purism@pureos:~$ pactl list short cards
0	alsa_card.platform-sound	module-alsa-card.c
1	alsa_card.platform-sound-wwan	module-alsa-card.c

it now gives me:

$ pactl list short cards
Connection error: Connection refused
pa_context_connect() failed: Connection refused

Rebooting doesn’t seem to help here. This is the my dmesg output related to audio:

$ sudo dmesg | grep -i audio
[    3.473736] reg-fixed-voltage regulator-audio-pwr-en: GPIO lookup for consumer (null)
[    3.473747] reg-fixed-voltage regulator-audio-pwr-en: using device tree for GPIO lookup
[    3.473766] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-audio-pwr-en[0]'
[    3.473805] of_get_named_gpiod_flags: parsed 'gpio' property of node '/regulator-audio-pwr-en[0]' - status (0)
[    3.474063] reg-fixed-voltage regulator-audio-1v8: GPIO lookup for consumer (null)
[    3.474072] reg-fixed-voltage regulator-audio-1v8: using device tree for GPIO lookup
[    3.474086] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-audio-1v8[0]'
[    3.474105] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-audio-1v8[0]'
[    3.474123] reg-fixed-voltage regulator-audio-1v8: using lookup tables for GPIO lookup
[    3.474131] reg-fixed-voltage regulator-audio-1v8: No GPIO consumer (null) found
[   23.368077] of_get_named_gpiod_flags: parsed 'simple-audio-card,hp-det-gpio' property of node '/sound[0]' - status (0)
[   23.368220] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound[0]'
[   23.752363] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound-wwan[0]'
[   23.752397] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound-wwan[0]'
[  128.450341] usb 3-1: Product: USB Audio
[  128.595026] input: Generic USB Audio Consumer Control as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1:1.3/0003:2F6D:49A1.0001/input/input8
[  128.653774] input: Generic USB Audio as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1:1.3/0003:2F6D:49A1.0001/input/input9
[  128.654265] hid-generic 0003:2F6D:49A1.0001: input,hiddev96,hidraw0: USB HID v1.11 Device [Generic USB Audio] on usb-xhci-hcd.5.auto-1/input3
[  129.042739] usbcore: registered new interface driver snd-usb-audio

What should I do?

I don’t know if this information helps?

purism@pureos:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: L5 [Librem 5], device 0: 308b0000.sai-wm8962 wm8962-0 [308b0000.sai-wm8962 wm8962-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Modem [Modem], device 0: 30030000.sai-bm818 bm818-0 [30030000.sai-bm818 bm818-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
purism@pureos:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: L5 [Librem 5], device 0: 308b0000.sai-wm8962 wm8962-0 [308b0000.sai-wm8962 wm8962-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Modem [Modem], device 0: 30030000.sai-bm818 bm818-0 [30030000.sai-bm818 bm818-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
purism@pureos:~$ cat /proc/asound/cards
 0 [L5             ]: simple-card - Librem 5
                      Librem 5
 1 [Modem          ]: simple-card - Modem
                      Modem

Ok, back to where I was. I deleted the folder ~/.config/pulse and then issued the command
pulseaudio --start
After that, soundcards were back.

1 Like