Giter Club home page Giter Club logo

chromebook-linux-audio's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chromebook-linux-audio's Issues

--force-avs-install command not working and all caps verification not wokring

hi i've just installed ubuntu 22 LTS on my c223na chromebook and i'm trying to sort the sound issue out.
trying to install avs as i don't tend to have my laptop on full anyway and i need use of my headphone jack however, the all caps verification thing doesn't work as i put the sentence in all caps and it tells me to write it in full caps even tho i just did. so i tried to restart the script to use the --force-avs-install, but no matter where i use it, it doesn't work

Get audio to work with Zorin OS

I am running Zorin OS Core 16.3 on a Lenovo 300e Chromebook (2nd Gen) and I'm trying to get audio to work. I have run the commands and get an error each time. I can't remember what the error is exactly, but if it's needed to help me work out what my problem is, I'll find out. I think it's probably something about "Other distros will likely work but will require you to manually install packages." I don't know how to do this! Help!

Installation bug(s) for some zork-based Chromebooks

Hi there,

So after a good deal of reading through forum posts and wrestling with ALSA/Pipewire debug tools, I've finally got headphone jack detection working on my ASUS Chromebook Flip CM5 (Woomax)! In the process, I figured out why this script didn't fix it for me:

  1. In the UCM config in your repo for alc5682m98 cards, the acp3xalc5682m98.conf file specifies the HiFi.conf file to load as the default one in alsa-ucm-conf instead of the patched one in the same folder (File "/AMD/acp3xalc5682m98/HiFi.conf" instead of File "HiFi.conf"), so your patched config file never gets loaded.

  2. alsa-ucm-conf already provides a ucm2/conf.d/acp3xalc5682m98/acp3xalc5682m98.conf file ( a symlink to the one in ucm2/AMD/acp3xalc5682m98/acp3xalc5682m98.conf) and the current install script doesn't overwrite it. As a result, even with the above fixed, the custom conf file never actually gets installed. I'm guessing it's a question of updating the install script to check for/remove the symlink or allow the copying function to support overwriting existing files.

With the modified acp3xalc5682m98.conf file installed correctly, headphone jack detection now works perfectly!

Internal microphone returns loud noise only.

Good evening,

On Chromebook HP 11A G6 EE the Internal microphone returns loud noise only, even after using setup-audio & rebooting.

Tried with:

  • arecord
  • pipewire
  • pulseaudio
  • jack2

Not working on Google Chromebook Pixel (2015)

Hi

I'm using Fedora 38 Kernel 6.3.5-200-fc38.x86_64 on the Google Chromebook Pixel (215) i7 model.
Python version: 3.11.3
When I run the script it outputs:
Unknown/Unsupported chromebook model: samus

Looking in your list it should work. Any ideas?

Kind regards

No Audio Debian 12 Samsung Galaxy 2 Chromebook

I don't have any audio output after running this script on a debian 12 chromebook. This is being run with MrChromeBox's UEFI firmware. Kernel version is 6.1.0-10-amd64. aplay -l list no soundcards.

Samsung Chromebook Plus v2 XE520QAB (WORKS)

I recently acquired this computer. I went through the process of installing Mr. Chromebox's firmware and installing Arch Linux.

I stumbled here after some searching online. I have tested that this works fine for my device to enable audio. I was wondering, what might it take to get this added upstream so it is included by default in future Linux Distros?

Sound Randomly Crashes at fedora 38 [Chromebook 14 ForWork LARS]

i tried to remove pipewire-pulseaudio and installing pulseaudio and jack headphones work for a while until i unplug them ,if i try to plug it in again it just dont work
here is some info

W: [pulseaudio] alsa-ucm.c: Path Headset Mic is not a volume or mute control
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="3" name="platform-avs_probe_mb" card_name="alsa_card.platform-avs_probe_mb" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
W: [pulseaudio] cli-command.c: stat('/etc/pulse/default.pa.d'): No such file or directory
N: [pulseaudio] bluez5-util.c: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)?
E: [pulseaudio] backend-native.c: org.bluez.ProfileManager1.RegisterProfile() failed: org.bluez.Error.NotPermitted: UUID already registered
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.

here is more info:
aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: avsmax98357a [avs_max98357a], device 1: Built-in Speakers (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: avsnau8825 [avs_nau8825], device 1: Headset (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: hdaudioB0D2 [hdaudioB0D2], device 1: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: hdaudioB0D2 [hdaudioB0D2], device 2: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: hdaudioB0D2 [hdaudioB0D2], device 3: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Debian 12 Pixel Slate (Nocturne) topology failed to load

All,

I currently have Debian 12 installed running (dual boot) using legacy boot on my Pixel Slate. And after following the steps and installing the custom kernel I'm still not able to see any media devices. I'm using version 6.1 kernel as I am running ZFS.

name@chromebook:~$ uname -a
Linux chromebook 6.1.27chrultrabook-fixups #8 SMP PREEMPT_DYNAMIC Sun Jun 25 01:43:38 BST 2023 x86_64 GNU/Linux
name@chromebook:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: hdaudioB0D2 [hdaudioB0D2], device 1: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: hdaudioB0D2 [hdaudioB0D2], device 2: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: hdaudioB0D2 [hdaudioB0D2], device 3: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

dmesg.txt

Thanks

Support for "pujjoflex"

Hi, will there be audio support for "pujjoflex" or the Lenovo Flex 3i Chromebook? Thanks!

Speakers not working on Acer Chromebook 317

I am using Fedora 38 (linux kernel 6.3.8-200.fc38.x86_64) with chromebook-linux-audio on an Acer Chromebook 317.

It is my understanding that this is a Jasperlake Chromebook with a Magpie board, so when searching for a solution, I came across the following thread from a familiar user:
thesofproject/sof#7162

If I read it correctly, it sounds like there was a resolution in the end. But maybe not yet rolled out? Are there any instructions for how I can get this working on my machine?

ASoC: driver name too long (longer than 15 characters)

I have a Lenovo Chromebook 500e 2nd gen (PHASER360S) running Kubuntu 23.04.

I get the following entry in journalctl as well as the boot screen, because the driver name is longer than 15 characters.

Jun 27 11:41:01 chromebook kernel: bxt_da7219_max98357a glk_da7219_mx98357a: ASoC: driver name too long 'sof-glkda7219max' -> 'sof-glkda7219ma'

Otherwise, everything works fine.

It would be great if the driver length is shortened, so that this annoying message does not show up in the boot screen.

JSL UCM is missing

hello the script worked perfect on a gateway pirika chromebook but I formatted it with another linux distribution and now the script no longer works.

No audio profile Galaxy Chromebook 2 - sof-cml_max9389

I'm not sure what I'm doing wrong but I can't get the audio profile to show up in GNOME. I'm on Arch Linux running the zen kernel. The audio plays with the pro profile, but only through the right speaker.
Here's the output of
pactl list cards

Name: alsa_card.pci-0000_00_1f.3-platform-cml_da7219_mx98357a.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 = "Google-Nightfury-rev7"
api.alsa.card.name = "sof-cml_max98390_da7219"
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-platform-cml_da7219_mx98357a"
device.description = "Comet Lake PCH-LP cAVS"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3-platform-cml_da7219_mx98357a.3"
device.nick = "sof-cml_max98390_da7219"
device.plugged.usec = "3738207"
device.product.id = "0x02c8"
device.product.name = "Comet Lake PCH-LP cAVS"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/cml_da7219_mx98357a/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
media.class = "Audio/Device"
factory.id = "14"
client.id = "34"
object.id = "65"
object.serial = "217"
object.path = "alsa:pcm:0"
alsa.card = "0"
alsa.card_name = "sof-cml_max98390_da7219"
alsa.long_card_name = "Google-Nightfury-rev7"
alsa.driver_name = "snd_soc_sst_bxt_da7219_max98357a"
device.string = "0"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
pro-audio: Pro Audio (sinks: 5, sources: 4, priority: 1, available: yes)
Active Profile: off

Here's the output of a script you attached in the last Galaxy Chromebook 2 issue:
audio-debug.log

Thank you for your work, and your help.

Failed to install alsa-ucm-conf package on Fedora 38

My system:
Acer Chromebook R11 (C738T) (CYAN)
Platform: Intel Braswell
Linux fedora 6.4.15-200.fc38.x86_64

The following two lines were among the output from the setup-audio script on my system:

Error: Unable to find a match: alsa-ucm-conf
failed to run command: dnf install -y alsa-ucm-conf

I already had a package installed called "alsa-ucm", the version described here:
https://rpmfind.net/linux/RPM/fedora/updates/38/x86_64/Packages/a/alsa-ucm-1.2.10-2.fc38.noarch.html

Is this equivalent to the "alsa-ucm-conf" package available for other distros?

If so, perhaps the following change to line 201 in setup-audio would fix it?
FROM:
install_package("alsa-ucm-conf", "alsa-ucm-conf", "alsa-ucm-conf", "alsa-ucm-conf", "alsa-ucm-conf")
TO:
install_package("alsa-ucm-conf", "alsa-ucm-conf", "alsa-ucm", "alsa-ucm-conf", "alsa-ucm-conf")

Let me know if there's any other info I can provide that would be useful.

No sound cards Samsung Chromebook Plus V2 (Nautilus)

After messing around with the steps in this thread GalliumOS/galliumos-distro#536, I figured I'd give this script a try and somehow ended up making things worse, though I blame it on myself.

output from various test commands:

linux1@linux1-Nautilus:~$ aplay -l
aplay: device_list:274: no soundcards found...

dmesg output:

dmesg.txt

To me it appears to be a firmware issue, as the firmware pulled from a live installation of chromeos on the same device at least had devices show up in aplay -l

FIXED: had to make sure I was using the kernal the script installed as my default was set to an older version

audio not working on kano based on raptorlake

Hi!
I ran the script on a new kano (Acer Chromebook Spin 714) based on raptorlake. The script ran successfully, but audio was not working after reboot (archlinux). Could this be, because kano initially was based on alderlake and the script is considering kano as alderlake? Thx

Latest apt update break speaker in POP! OS 22.04 on ASUS CX5500

First I want to thank you for this awesome tool. I was almost give up and prepared to return chrome os. ( By the way, how do you figure out how to fix driver? )

The issue is after running apt upgrade and the speaker broken. Rollback apt fix it. I not sure it is worth to investigate, but this can be a note for someone encounter the same problem.

Note
Rollback command is $ awk '$1=="2023-10-13" && $3=="upgrade" {gsub(/:/, "%3a", $5); split($4, f, ":"); print "/var/cache/apt/archives/" f[1] "_" $5 "_" f[2] ".deb"}' /var/log/dpkg.log | xargs -r ls -ld
then $ dpkg -i {the package you get above}

The list of packages I upgrade

$ awk '$1=="2023-10-13" && $3=="upgrade"' /var/log/dpkg.log
2023-10-13 12:02:14 upgrade libspa-0.2-modules:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:14 upgrade libpipewire-0.3-0:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:14 upgrade libpipewire-0.3-modules:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:14 upgrade pipewire-bin:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:15 upgrade pipewire:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:15 upgrade pipewire-jack:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:15 upgrade libspa-0.2-jack:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:16 upgrade libspa-0.2-bluetooth:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:16 upgrade libspa-0.2-avb:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:16 upgrade gstreamer1.0-pipewire:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:16 upgrade pipewire-alsa:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:16 upgrade pipewire-avb:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:16 upgrade pipewire-pulse:amd64 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 12:02:16 upgrade libpipewire-0.3-common:all 0.3.80~1694700321~22.04~f043a9f 0.3.81~1696847830~22.04~cc440f7
2023-10-13 14:25:03 upgrade gstreamer1.0-pipewire:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade libpipewire-0.3-0:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade libpipewire-0.3-common:all 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade libpipewire-0.3-modules:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade libspa-0.2-avb:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade libspa-0.2-bluetooth:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade libspa-0.2-jack:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade libspa-0.2-modules:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade pipewire:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade pipewire-alsa:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade pipewire-avb:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade pipewire-bin:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade pipewire-jack:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f
2023-10-13 14:25:03 upgrade pipewire-pulse:amd64 0.3.81~1696847830~22.04~cc440f7 0.3.80~1694700321~22.04~f043a9f

SONA, audio support status. Fedora 38 KDE

Hi @WeirdTreeThing I've gone UEFI Fedora 38 KDE (6.3), board SONA HP Chromebook 14 x360, when I install audio I get the following.

Laptop
Working microphone only (I haven't tested though)

3.5" Jack
Earphone and Microphone work
(tested mic as well)

HDMI
I don't remember if I tested before or after installing, but I didn't have HDMI audio.

Please let me know if I should expect anything else to work or be fixed in the future.

What is post-install compatibility? Will it survive upgrades etc? How can I update to get the latest version when new fixes are available?

Lenovo Yoga C630 Pantheon "no DMIC ep_blob found" in dmesg

I get the following error repeated numerous times in my dmesg:

[   21.234475] snd_soc_avs 0000:00:1f.3: no DMIC ep_blob found
[   21.234479] snd_soc_avs 0000:00:1f.3: module-type create failed: -2
[   21.234481] snd_soc_avs 0000:00:1f.3: error creating module -2
[   21.234585] snd_soc_avs 0000:00:1f.3: create path failed: -2
[   21.234586] snd_soc_avs 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on DMIC Pin: -2
[   21.234590]  DMIC: ASoC: error at __soc_pcm_hw_params on DMIC: -2
[   21.234593]  Digital Microphone: ASoC: error at dpcm_fe_dai_hw_params on Digital Microphone: -2

Otherwise, most audio works well. The internal microphone is, however, quite quiet and the headphone detection/switching can sometimes be intermittent.

Boardname
Pantheon / nami
Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.5.12-300.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Google
Product Name: Pantheon
System Version: 1.0

Fedora 39 test

Hi! sound is working fine on my kano (rpl) in archlinux.
As Fedora 39 was just released I wanted to try it. The script ran successfully but there is no sound after reboot.
logs:
debug-logs.zip

Internal speakers randomly crashes on Voxel (Acer Chromebook Spin 713-3W Tiger Lake)

I'm on Arch Linux kernel 6.3.6, using pipewire-pulse and KDE. After running this script, the audio devices show up, but if I choose the internal speakers as output then it usually plays sound normally for a while then randomly crashes: sometimes it repeats the last sound indefinitely, sometimes it just stops playing sound at all. Running systemctl --user restart wireplumber makes it work again but it'll eventually bug out the same way. Plugged in headphones and HDMI out seem to work just fine though.

Error messages during startup:

$ journalctl -b -p3 -f
Jun 06 21:30:06 tiger kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
Jun 06 21:30:06 tiger kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
Jun 06 21:30:06 tiger kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
Jun 06 21:30:06 tiger kernel:  DMIC16kHz: ASoC: error at __soc_pcm_hw_params on DMIC16kHz: -22
Jun 06 21:30:06 tiger kernel:  DMIC16kHz: ASoC: error at dpcm_fe_dai_hw_params on DMIC16kHz: -22
Jun 06 21:30:06 tiger kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
Jun 06 21:30:06 tiger kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
Jun 06 21:30:06 tiger kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
Jun 06 21:30:06 tiger kernel:  DMIC16kHz: ASoC: error at __soc_pcm_hw_params on DMIC16kHz: -22
Jun 06 21:30:06 tiger kernel:  DMIC16kHz: ASoC: error at dpcm_fe_dai_hw_params on DMIC16kHz: -22

Log messages when the crash happens:

Jun 06 21:35:37 tiger pipewire[992]: spa.alsa: hw:sofrt5682: (0 missed) snd_pcm_avail after recover: Broken pipe
Jun 06 21:35:38 tiger pipewire[992]: pw.link: 0x55b7df2fd8e0: port 0x55b7df2d93d0 can't set io:1 (Spa:Enum:IO:Buffers): Input/output error
Jun 06 21:35:43 tiger pipewire[992]: spa.alsa: hw:sofrt5682: (46 missed) snd_pcm_avail after recover: Broken pipe

More info of my system:

$ lspci -k | grep -A1 audio
00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
	DeviceName: Multimedia audio controller
	Kernel driver in use: sof-audio-pci-intel-tgl
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofrt5682 [sof-rt5682], device 0: smart373-spk (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofrt5682 [sof-rt5682], device 1: Headset (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofrt5682 [sof-rt5682], device 2: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofrt5682 [sof-rt5682], device 3: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofrt5682 [sof-rt5682], device 4: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofrt5682 [sof-rt5682], device 5: HDMI4 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Acer osiris sound crashes with the latest LTS kernel in ArchLinux

  • Chromebook: Acer Chromebook 516 GE (CBG516-1H)
  • Write protect disabled, full ROM UEFI Firmware coreboot 4.20.1

Sound works in ArchLinux and is stable, but only like this:

  • Older ArchLinux LTS kernel from May 2023 - 6.1.27-1-lts
  • No sof-firmware

ArchLinux 6.1.51-1 - Starts okay, but crashes within minutes
ArchLinux 6.4.12.arch1-1 - No sound at all, however devices listed thanks to your script

Is there a patch somewhere available? I'd like to port it to the stable kernel (or LTS) and publish it to AUR if it works. I did this before for Swanky working with another contributor years ago for audio with Bay Trail.

Acer Spin 13 (akali360) microphone issues PopOS

The microphone doesn't show up anywhere, not even in pavucontrol. I checked discord to see whether it shows up and it did, but the name seemed like a device address of some type (?)
My speakers do show up and work properly. My OS is PopOS!

Boardname
Akali 360

Logs
debug-logs.tar.gz

Fedora Silverblue?

I'm interested in trying out Fedora Silverblue, but the directory for the sound drivers is read-only. Is there another way or workaround to get audio to work on Fedora Silverblue?

I don't know much about Fedora Silverblue, but here is what I'm thinking:

  • Make a package for rpm-ostree?
  • Fork Fedora Silverblue to include the drivers by default?

error when running the setup code

Hello, I am new to gallium os and Have been trying to run the setup code but I seem to run into an error for the switch statement. I assume this is because i am using the wrong version of python so I tried using a different version
output of pythong -V "python 2.7.17"
ouptut of python3 -V " python 3.6.9

here is the error error for "./setup-audio"
File "./setup-audio", line 156
match platform:
^
SyntaxError: invalid syntax
I get the same error for "python3 setup-audio"

I Tested audio in Some OSes in Chromebook 14 (LARS) Skylake

UEFI moment lmao

PopOS: Works but buggy
Ubuntu 22.04 [Jammy]: No worky :c
Ubuntu 23.04 [Lunar]: Audio fails successfully (i mean , audio cards works and everything fine , the problem here its pulseaudio :c)
Fedora: Works with a very little issue that is not bad and it can be ignored until new script update

send help

Built-in microphone very quiet on Akemi

Pretty much as the title says: audio recorded from the built-in microphone on a Lenovo IdeaPad Flex 5 is very quiet, but not totally silent. I've turned up all the mixers I can find (including the ones on alsamixer) and tried testing with Audacity direct to ALSA, but with no luck. Running kernel 6.4.7-200.fc38.x86_64 on Fedora 38.

Don't know if it helps, but dmesg has the occasional:

[ 5733.243715] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[ 5733.243723] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: PRE_PMU: DETECT9.0 event failed: -22
[ 5733.243729] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[ 5733.243732] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: POST_PMU: DETECT9.0 event failed: -22
[ 5733.243788] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[ 5733.243790] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: PRE_PMD: DETECT9.0 event failed: -22
[ 5733.243794] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[ 5733.243796] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: POST_PMD: DETECT9.0 event failed: -22
[ 5733.371279] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
[ 5733.371288] sof-audio-pci-intel-cnl 0000:00:1f.3: HW params ipc failed for stream 1
[ 5733.371291] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[ 5733.371307]  DMIC16kHz: ASoC: error at __soc_pcm_hw_params on DMIC16kHz: -22
[ 5733.371317]  DMIC16kHz: ASoC: error at dpcm_fe_dai_hw_params on DMIC16kHz: -22

no sound on barla chromebook

I ran your script but still no sound on hp chromebook with amd stoneyridge processor, codename barla. I upgraded to the latest coreboot from mrchromebox.tech as well. I am running pop os 22.04. Am I missing anything?

Ubuntu 23.10 Results

I just tested it on a samsung chromebook 4 (bluebird,casta,octopus) and sound is working for me (it works out of the box for me without running the script but for some other models and different chromebooks, running the script may be required)
NOTE: ubuntu 23.10 iso is not available yet, but the legacy installer iso is available as of time writing.

Will this work on Debian 11 for SETZER??

I'm just wondering if this will work on SETZER with debian 11 because i am looking into installing debian 11 on it

I am not related to MrChromebox by the way

Device events isn't recognized by ALSA / audio servers.

Good evening,

There are several issues towards:

  • recognizing if headphones has a microphone;
  • recognizing if headphones are unplugged;
  • recognizing Digital Surround options for audio device(s).

on driver snd_soc_acp_da7219mx98357 used in Chromebook HP 11A G6 EE.
OS is Artix Linux with custom kernel provided by Chrultrabook.

AVS installed on what should be max98357a - how to uninstall?

Describe the bug
I have an Asus C433, which according to the Chultrabook supported devices list has a max98357a. Additionally, I believe that I was able to install the audio driver in "max983357a mode" before reinstalling Linux, but after reinstalling I've been configuring i3 for hours, so it's all turned into a bit of a blur. Regardless, the AVS driver was still installed.

Boardname
Shyvana

Logs
Please add a note to your template that it's saved in ~/Desktop, I had to use find to find the file.

debug-logs.tar.gz

The code seems to check if /sys/bus/acpi/devices/MX98357A:00 exists to see if the device has a max98357a. That does not exist on my computer, instead I have /sys/bus/acpi/devices/MX98927:00. Before going any further, I'd like to uninstall the driver, just to be safe. So how would I do that?

P.S. I'm going to try some live USBs to see if any of those have MX98357A:00, will keep you updated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.