Fresh install - no audio - change audio driver?

Hi,
As the title says, fresh install, no audio. I believe, from my travels through the forum, that the source of the problem is the wrong audio driver. I could be off track here as well of course…

From the system dump I have the snd_soc_skl installed but from similar posts there seems to be a better driver specific to my Apollo Lake chip set: snd_sof_pci_intel_apl.

2 questions,

  1. am I on the right track?
  2. if so, is it a relatively simple matter to update the driver?

Thanks,
Jeff

$ inxi -Fazy
System:
  Kernel: 6.1.31-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=0e5394e0-28d4-4f28-83e2-60e60ba2e240 rw quiet splash
    resume=UUID=7907932d-3957-4470-945e-7e04f44bcb51 udev.log_priority=3
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Google product: Babytiger v: rev5 serial: <filter>
    Chassis: type: 9 serial: N/A
  Mobo: Google model: Babytiger v: rev5 serial: <filter> UEFI: coreboot
    v: MrChromebox-4.20.0 date: 05/15/2023
Battery:
  ID-1: BAT0 charge: 26.3 Wh (79.9%) condition: 32.9/37.9 Wh (86.7%) volts: 7.9
    min: 7.9 model: AS1GTGE C523-50 type: Li-ion serial: <filter>
    status: discharging cycles: 104
CPU:
  Info: model: Intel Celeron N3350 bits: 64 type: MCP arch: Goldmont level: v2
    built: 2016 process: Intel 14nm family: 6 model-id: 0x5C (92) stepping: 9
    microcode: 0x48
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 112 KiB
    desc: d-2x24 KiB; i-2x32 KiB L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 791 high: 796 min/max: 800/2400 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 796 2: 786 bogomips: 4378
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD Graphics 500 driver: i915 v: kernel arch: Gen-9
    process: Intel 14n built: 2015-16 ports: active: eDP-1 empty: DP-1,DP-2
    bus-ID: 00:02.0 chip-ID: 8086:5a85 class-ID: 0380
  Device-2: Quanta USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:2 chip-ID: 0408:3090
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting alternate: fbdev,vesa dri: iris gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31") monitors: <missing: xrandr>
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x15e6 built: 2016 res: 1366x768
    dpi: 101 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1366x768
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster
    driver: snd_soc_skl v: kernel alternate: snd_hda_intel, snd_soc_avs,
    snd_sof_pci_intel_apl bus-ID: 00:0e.0 chip-ID: 8086:5a98 class-ID: 0401
  API: ALSA v: k6.1.31-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PulseAudio v: 16.1 status: active (root, process)
    with: pulseaudio-alsa type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 8086:095a class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-6:3 chip-ID: 8087:0a2a
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 58.31 GiB used: 11.03 GiB (18.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/mmcblk1 maj-min: 179:0 vendor: Kingston model: TA2964
    size: 58.31 GiB block-size: physical: 512 B logical: 512 B tech: SSD
    serial: <filter> fw-rev: 0x8 scheme: GPT
Partition:
  ID-1: / raw-size: 49.85 GiB size: 49.79 GiB (99.87%) used: 10.55 GiB (21.2%)
    fs: xfs block-size: 512 B dev: /dev/mmcblk1p2 maj-min: 179:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 296 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/mmcblk1p1
    maj-min: 179:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.16 GiB used: 492.2 MiB (5.9%)
    priority: -2 dev: /dev/mmcblk1p3 maj-min: 179:3
Sensors:
  System Temperatures: cpu: 38.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 192 Uptime: 9h 25m wakeups: 32145 Memory: available: 3.71 GiB
  used: 2.24 GiB (60.4%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1056 libs: 342 tools: pamac Shell: Zsh (su) v: 5.9 running-in: kitty
  inxi: 3.3.27

Bumping this post.

Researching and not finding out how to change the default audio driver. Would love to hear from anyone regarding the first post question: Should I change my audio driver to snd_sof_pci_intel_apl??

I have recently tried mhwd -lh -d --pci, and it seems snd_sof_pci_intel_apl is installed.

How do I set it to the default?

$ mhwd -lh -d --pci
...
20: PCI 0e.0: 0401 Multimedia audio controller                                  
   SysFS ID: /devices/pci0000:00/0000:00:0e.0                                    
   SysFS BusID: 0000:00:0e.0                                                     
   Hardware Class: sound                                                         
   Device Name: "Multimedia audio controller"                                    
   Model: "Intel Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster"    
   Vendor: pci 0x8086 "Intel Corporation"                                        
   Device: pci 0x5a98 "Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster"
   SubVendor: pci 0x8086 "Intel Corporation"                                     
   SubDevice: pci 0x7270                                                         
   Revision: 0x0b                                                                
   Driver: "snd_soc_skl"                                                         
   Driver Modules: "snd_soc_skl"                                                 
   Memory Range: 0x91210000-0x91213fff (rw,non-prefetchable)                     
   Memory Range: 0x91000000-0x910fffff (rw,non-prefetchable)                     
   IRQ: 25 (49 events)                                                           
   Module Alias: "pci:v00008086d00005A98sv00008086sd00007270bc04sc01i00"         
   Driver Info #0:                                                               
     Driver Status: snd_hda_intel is active                                      
     Driver Activation Cmd: "modprobe snd_hda_intel"                             
   Driver Info #1:                                                               
     Driver Status: snd_soc_skl is active                                        
     Driver Activation Cmd: "modprobe snd_soc_skl"                               
   Driver Info #2:                                                               
     Driver Status: snd_soc_avs is active                                        
     Driver Activation Cmd: "modprobe snd_soc_avs"                               
   Driver Info #3:                                                               
     Driver Status: snd_sof_pci_intel_apl is active                              
     Driver Activation Cmd: "modprobe snd_sof_pci_intel_apl"

Thx to anyone who can help with this.

Well … we can try and do what you think should be done:

sudo modprobe -r snd_soc_skl
sudo modprobe snd_sof_pci_intel_apl

Also … look around in alsamixer.

Information from linux-hardware.org suggests driver snd_sof_pci_intel_apl has been superseded by snd_soc_avs
https://linux-hardware.org/?id=pci:8086-5a98-8086-7270&page=2#status
But there are only 5 hardware scans posted for Google Baybytiger systems. 4 scans do not have any ALSA data and the 1 scan that shows ALSA data is from Dec 2022 for Kernel v5.15