Closed MilkyDeveloper closed 2 years ago
I have done some testing and found that the issue with the trackpad on the Acer Spin 512 is Ubuntu itself. I am not sure what specifically about it is broken, but the trackpad works perfectly when using Debian as the chosen distro.
Maybe I should try debian
I'm picking up a 12b (bloog) this weekend and have the (sparky360) Lenovo 500e already. Happy to test anything specific if it can be of any help.
I also have a HP Chromebook 14a (BLOOGLET) I flashed Mr.Chromebox UEFI test firmware and installed Manjaro, audio didn't work either on all the distro's listed below. So I flashed back stock firmware to try Breath. Altough audio doesn't work either I have to say it's an awesome project!! Creating the USB was very straight-forward and it's nice to be able to dual-boot ChromeOS!
I created a topic on the Manjaro forums when I was still on Mr.Chromebox UEFI firmware. He also replied in there that he also has a Gemini Lake (AMPTON) Chromebook and that audio is working on this device. He says "it needs the sof drivers and sof firmware (blobs) - specifically: sof-audio-pci-intel-apl
and glk_rt5682_max98357a
"
Ampton does have a N4020 CPU instead of a N5030 though.
according to the site below I need: sof-glkda7219max too. I checked those files, I don’t see anything helpful in them: Content
Audio doesn't work on:
Trackpad works very buggy on Ubuntu:
This is the output of:
(chromium_source_tree)/src/overlays/overlay-octopus
.
├── chromeos-base
│ ├── chromeos-bsp-octopus
│ │ ├── chromeos-bsp-octopus-0.0.2-r48.ebuild
│ │ ├── chromeos-bsp-octopus-9999.ebuild
│ │ ├── files
│ │ │ ├── 93-powerd-overrides.rules
│ │ │ ├── 99-chromeos-octopus-usb-charge-mode.rules
│ │ │ ├── 99-chromeos-octopus-usb-runtime-suspend.rules
│ │ │ ├── blooglet
│ │ │ │ ├── audio
│ │ │ │ │ ├── cras-config
│ │ │ │ │ │ ├── board.ini
│ │ │ │ │ │ ├── card2_settings
│ │ │ │ │ │ ├── card_settings
│ │ │ │ │ │ └── dsp.ini
│ │ │ │ │ └── ucm-config
│ │ │ │ │ ├── sof-glkda7219max.1loc
│ │ │ │ │ │ ├── HiFi.conf
│ │ │ │ │ │ └── sof-glkda7219max.conf
│ │ │ │ │ └── sof-glkrt5682max.1loc
│ │ │ │ │ ├── HiFi.conf
│ │ │ │ │ └── sof-glkrt5682max.conf
│ │ │ │ └── thermal
│ │ │ │ └── dptf.dv
Crouton shows:
cat /proc/asound/cards
0 [sofglkda7219max]: sof-glkda7219ma - sof-glkda7219max
HP-Bloog-rev4-Bloog
I hope this helps, if there's anything I could test I'd be glad to do so! Cheers!
Looks like the main culprit is:
[ 10.718788] sof-audio-pci-intel-apl 0000:00:0e.0: error: cl_copy_fw: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
[ 10.719336] sof-audio-pci-intel-apl 0000:00:0e.0: error: extended rom status: 0x81000012 0x2c 0x0 0x0 0x0 0x0 0x1551100 0x0
[ 10.719338] sof-audio-pci-intel-apl 0000:00:0e.0: error: load fw failed ret: -110
[ 10.719364] sof-audio-pci-intel-apl 0000:00:0e.0: error: failed to reset DSP
[ 10.719367] sof-audio-pci-intel-apl 0000:00:0e.0: error: failed to boot DSP firmware -110
[ 10.769790] sof-audio-pci-intel-apl 0000:00:0e.0: error: hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read
[ 10.769795] sof-audio-pci-intel-apl 0000:00:0e.0: error: dsp core reset failed: core_mask 1
[ 10.770940] sof-audio-pci-intel-apl 0000:00:0e.0: error: sof_probe_work failed err: -110
I think a good idea would be to mount /dev/mmcblk0p3
to /mnt
like:
sudo mount -t ext2 -o ro /dev/mmcblk0p3 /mnt
Then, copy all files in /mnt/lib/firmware
to /lib/firmware
by running:
sudo cp -rv /mnt/lib/firmware/* /lib/firmware
Be sure to then write to the disk by running:
sync
Reboot and then post a dmesg
. Try your luck, but I still don't think it will work. After some searching, it looks like the BIOS of this Chromebook doesn't initialize the audio device properly (or something similar), explaining why audio would work with Mr. Chromebox's UEFI. Here's some more details.
@Denisuu I thought Mr. Chromebox firmware doesn't work with the HP Chromebook 14. I have the exact same model as you, and I would be interested to know if I can flash the firmware and install a full linux distro
@MilkyDeveloper
Maybe my last post was a bit confusing. Audio doesn't work with Mr.Chromebox UEFI on this device. Neither does it work in Crouton. Mr.Chromebox firmware does have working audio OOB on other octopus boards. It seems to be the same on Breath too right?
Would it be benificial to try and get audio working in Crouton before we try to fix it on Breath?
Ok I did that, but without luck. There's a lot of sof
errors showing in dmesg
now.
Full output: dmesg
denisuu@ubuntu:~$ sudo dmesg | grep glk
[ 2.446263] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4)
[ 9.251438] bxt_da7219_max98357a glk_da7219_mx98357a: ASoC: failed to instantiate card -22
[ 9.251546] bxt_da7219_max98357a: probe of glk_da7219_mx98357a failed with error -22
[ 9.558252] sof-audio-pci-intel-apl 0000:00:0e.0: error: panic at ...sof-glk-final/src/lib/agent.cK:75
denisuu@ubuntu:~$ sudo dmesg | grep 'sof'
[ 0.531724] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.531727] software IO TLB: mapped [mem 0x00000000759f5000-0x00000000799f5000] (64MB)
[ 6.216284] snd_hda_intel 0000:00:0e.0: attach allowed to drvr sof-audio-pci-intel-apl [internal device]
[ 7.968629] pci 0000:00:0e.0: attach allowed to drvr sof-audio-pci-intel-apl [internal device]
[ 7.968665] sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 7.969851] sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if 0x040100
[ 7.970006] sof-audio-pci-intel-apl 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops)
[ 7.987786] sof-audio-pci-intel-apl 0000:00:0e.0: attach allowed to drvr snd_soc_skl [internal device]
[ 8.001028] sof-audio-pci-intel-apl 0000:00:0e.0: use msi interrupt mode
[ 8.003584] sof-audio-pci-intel-apl 0000:00:0e.0: attach allowed to drvr snd_hda_intel [internal device]
[ 8.010960] sof-audio-pci-intel-apl 0000:00:0e.0: hda codecs found, mask 4
[ 8.105275] sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 1:1:0-42e25
[ 8.105278] sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:8:0 Kernel ABI 3:18:0
[ 8.105280] sof-audio-pci-intel-apl 0000:00:0e.0: Firmware debug build 1 on Jun 24 2021-23:30:04 - options:
[ 8.245216] sof-audio-pci-intel-apl 0000:00:0e.0: Topology: ABI 3:7:0 Kernel ABI 3:18:0
[ 8.245509] sof-audio-pci-intel-apl 0000:00:0e.0: ASoC: Parent card not yet available, widget card binding deferred
[ 8.245715] sof-audio-pci-intel-apl 0000:00:0e.0: error : DSP panic!
[ 8.245723] sof-audio-pci-intel-apl 0000:00:0e.0: status: fw entered - code 00000005
[ 8.245772] sof-audio-pci-intel-apl 0000:00:0e.0: error: runtime exception
[ 8.245773] sof-audio-pci-intel-apl 0000:00:0e.0: error: trace point 00004000
[ 8.245775] sof-audio-pci-intel-apl 0000:00:0e.0: error: panic at :0
[ 8.245778] sof-audio-pci-intel-apl 0000:00:0e.0: error: DSP Firmware Oops
[ 8.245779] sof-audio-pci-intel-apl 0000:00:0e.0: error: Exception Cause: LoadStorePIFDataErrorCause, Synchronous PIF data error during LoadStore access
[ 8.245782] sof-audio-pci-intel-apl 0000:00:0e.0: EXCCAUSE 0x0000000d EXCVADDR 0x00000038 PS 0x00060120 SAR 0x00000000
[ 8.245784] sof-audio-pci-intel-apl 0000:00:0e.0: EPC1 0xbe025d49 EPC2 0xbe02bae4 EPC3 0xbe028c64 EPC4 0x00000000
[ 8.245786] sof-audio-pci-intel-apl 0000:00:0e.0: EPC5 0x00000000 EPC6 0x00000000 EPC7 0x00000000 DEPC 0x00000000
[ 8.245788] sof-audio-pci-intel-apl 0000:00:0e.0: EPS2 0x00060720 EPS3 0x00060b22 EPS4 0x00000000 EPS5 0x00000000
[ 8.245790] sof-audio-pci-intel-apl 0000:00:0e.0: EPS6 0x00000000 EPS7 0x00000000 INTENABL 0x00000000 INTERRU 0x00000222
[ 8.245792] sof-audio-pci-intel-apl 0000:00:0e.0: stack dump from 0xbe07f9c0
[ 8.245795] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9c0: be025d49 00000000 00000000 00000000
[ 8.245797] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9c4: be068a00 00000064 be051500 00000180
[ 8.245799] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9c8: d67f2900 1c3b287d 000c0800 00000000
[ 8.245801] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9cc: 0dead000 00000000 03805028 ffff8881
[ 8.245804] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9d0: a02f1044 ffffffff 0ee8ef00 ffff8881
[ 8.245806] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9d4: 00000004 ffffc900 d67f2900 1c3b287d
[ 8.245808] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9d8: 068e28c0 ffff8881 0095bc50 ffffc900
[ 8.245810] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9dc: 068e28c0 ffff8881 00000000 00000000
[ 8.745921] sof-audio-pci-intel-apl 0000:00:0e.0: error: ipc timed out for 0x50010000 size 108
[ 8.745933] sof-audio-pci-intel-apl 0000:00:0e.0: status: fw entered - code 00000005
[ 8.745981] sof-audio-pci-intel-apl 0000:00:0e.0: error: runtime exception
[ 8.745983] sof-audio-pci-intel-apl 0000:00:0e.0: error: trace point 00004000
[ 8.745985] sof-audio-pci-intel-apl 0000:00:0e.0: error: panic at :0
[ 8.745987] sof-audio-pci-intel-apl 0000:00:0e.0: error: DSP Firmware Oops
[ 8.745989] sof-audio-pci-intel-apl 0000:00:0e.0: error: Exception Cause: LoadStorePIFDataErrorCause, Synchronous PIF data error during LoadStore access
[ 8.745991] sof-audio-pci-intel-apl 0000:00:0e.0: EXCCAUSE 0x0000000d EXCVADDR 0x00000038 PS 0x00060120 SAR 0x00000000
[ 8.745993] sof-audio-pci-intel-apl 0000:00:0e.0: EPC1 0xbe025d49 EPC2 0xbe02bae4 EPC3 0xbe028c64 EPC4 0x00000000
[ 8.745995] sof-audio-pci-intel-apl 0000:00:0e.0: EPC5 0x00000000 EPC6 0x00000000 EPC7 0x00000000 DEPC 0x00000000
[ 8.745997] sof-audio-pci-intel-apl 0000:00:0e.0: EPS2 0x00060720 EPS3 0x00060b22 EPS4 0x00000000 EPS5 0x00000000
[ 8.745999] sof-audio-pci-intel-apl 0000:00:0e.0: EPS6 0x00000000 EPS7 0x00000000 INTENABL 0x00000000 INTERRU 0x00000222
[ 8.746001] sof-audio-pci-intel-apl 0000:00:0e.0: stack dump from 0xbe07f9c0
[ 8.746004] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9c0: be025d49 00000000 00000000 00000000
[ 8.746007] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9c4: be068a00 00000064 be051500 00000180
[ 8.746009] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9c8: e4a11000 f3b2fac8 150e6728 ffff8881
[ 8.746011] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9cc: 00000000 00000000 a02cce8f ffffffff
[ 8.746013] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9d0: 0031b950 ffffc900 0031b950 ffffc900
[ 8.746015] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9d4: 0e15b800 ffff8881 a02c4046 ffffffff
[ 8.746017] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9d8: 00000010 00000000 0000005c 00000000
[ 8.746020] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9dc: 00000000 ffff8881 40070000 30010000
[ 8.746027] sof-audio-pci-intel-apl 0000:00:0e.0: error: hda irq intsts 0x00000000 intlctl 0xc0000000 rirb 00
[ 8.746029] sof-audio-pci-intel-apl 0000:00:0e.0: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[ 8.746035] sof-audio-pci-intel-apl 0000:00:0e.0: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[ 8.746038] sof-audio-pci-intel-apl 0000:00:0e.0: error: set/get ctrl ipc comp 2
[ 8.746040] sof-audio-pci-intel-apl 0000:00:0e.0: error: failed kcontrol value set for widget: 2
[ 8.746042] sof-audio-pci-intel-apl 0000:00:0e.0: error: fail to set up kcontrols for widget PGA1.0
[ 8.746044] sof-audio-pci-intel-apl 0000:00:0e.0: error: failed to restore kcontrols for widget PGA1.0
[ 9.250917] sof-audio-pci-intel-apl 0000:00:0e.0: error: ipc timed out for 0x30020000 size 12
[ 9.250928] sof-audio-pci-intel-apl 0000:00:0e.0: status: fw entered - code 00000005
[ 9.251171] sof-audio-pci-intel-apl 0000:00:0e.0: error: runtime exception
[ 9.251173] sof-audio-pci-intel-apl 0000:00:0e.0: error: trace point 00004000
[ 9.251175] sof-audio-pci-intel-apl 0000:00:0e.0: error: panic at :0
[ 9.251177] sof-audio-pci-intel-apl 0000:00:0e.0: error: DSP Firmware Oops
[ 9.251179] sof-audio-pci-intel-apl 0000:00:0e.0: error: Exception Cause: LoadStorePIFDataErrorCause, Synchronous PIF data error during LoadStore access
[ 9.251181] sof-audio-pci-intel-apl 0000:00:0e.0: EXCCAUSE 0x0000000d EXCVADDR 0x00000038 PS 0x00060120 SAR 0x00000000
[ 9.251184] sof-audio-pci-intel-apl 0000:00:0e.0: EPC1 0xbe025d49 EPC2 0xbe02bae4 EPC3 0xbe028c64 EPC4 0x00000000
[ 9.251186] sof-audio-pci-intel-apl 0000:00:0e.0: EPC5 0x00000000 EPC6 0x00000000 EPC7 0x00000000 DEPC 0x00000000
[ 9.251188] sof-audio-pci-intel-apl 0000:00:0e.0: EPS2 0x00060720 EPS3 0x00060b22 EPS4 0x00000000 EPS5 0x00000000
[ 9.251190] sof-audio-pci-intel-apl 0000:00:0e.0: EPS6 0x00000000 EPS7 0x00000000 INTENABL 0x00000000 INTERRU 0x00000222
[ 9.251192] sof-audio-pci-intel-apl 0000:00:0e.0: stack dump from 0xbe07f9c0
[ 9.251195] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9c0: be025d49 00000000 00000000 00000000
[ 9.251197] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9c4: be068a00 00000064 be051500 00000180
[ 9.251200] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9c8: e4a11000 f3b2fac8 150e6728 ffff8881
[ 9.251202] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9cc: 00000000 00000000 a02cce8f ffffffff
[ 9.251204] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9d0: 0031b978 ffffc900 0031b978 ffffc900
[ 9.251206] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9d4: 0031ba3c ffffc900 a02c4046 ffffffff
[ 9.251208] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9d8: 03805028 ffff8881 00000000 00000000
[ 9.251210] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f9dc: 00000002 ffff8881 02589df0 ffff8881
[ 9.251217] sof-audio-pci-intel-apl 0000:00:0e.0: error: hda irq intsts 0x00000000 intlctl 0xc0000000 rirb 00
[ 9.251219] sof-audio-pci-intel-apl 0000:00:0e.0: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[ 9.251224] sof-audio-pci-intel-apl 0000:00:0e.0: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
[ 9.251227] sof-audio-pci-intel-apl 0000:00:0e.0: error: failed to free widget PGA1.0
[ 9.251360] sof-audio-pci-intel-apl 0000:00:0e.0: error: tplg component load failed -110
[ 9.251381] sof-audio-pci-intel-apl 0000:00:0e.0: error: failed to load DSP topology -22
[ 9.251384] sof-audio-pci-intel-apl 0000:00:0e.0: ASoC: error at snd_soc_component_probe on 0000:00:0e.0: -22
[ 9.558192] sof-audio-pci-intel-apl 0000:00:0e.0: error : DSP panic!
[ 9.558202] sof-audio-pci-intel-apl 0000:00:0e.0: status: fw entered - code 00000005
[ 9.558249] sof-audio-pci-intel-apl 0000:00:0e.0: error: runtime exception
[ 9.558250] sof-audio-pci-intel-apl 0000:00:0e.0: error: trace point 00004000
[ 9.558252] sof-audio-pci-intel-apl 0000:00:0e.0: error: panic at ...sof-glk-final/src/lib/agent.cK:75
[ 9.558255] sof-audio-pci-intel-apl 0000:00:0e.0: error: DSP Firmware Oops
[ 9.558256] sof-audio-pci-intel-apl 0000:00:0e.0: error: Exception Cause: LoadStorePIFDataErrorCause, Synchronous PIF data error during LoadStore access
[ 9.558259] sof-audio-pci-intel-apl 0000:00:0e.0: EXCCAUSE 0x0000000d EXCVADDR 0x00000000 PS 0x00060525 SAR 0x00000000
[ 9.558261] sof-audio-pci-intel-apl 0000:00:0e.0: EPC1 0xbe02a49c EPC2 0xbe02a50d EPC3 0xbe028c64 EPC4 0x00000000
[ 9.558263] sof-audio-pci-intel-apl 0000:00:0e.0: EPC5 0x00000000 EPC6 0x00000000 EPC7 0x00000000 DEPC 0x00000000
[ 9.558265] sof-audio-pci-intel-apl 0000:00:0e.0: EPS2 0x00060120 EPS3 0x00060b22 EPS4 0x00000000 EPS5 0x00000000
[ 9.558267] sof-audio-pci-intel-apl 0000:00:0e.0: EPS6 0x00000000 EPS7 0x00000000 INTENABL 0x00000000 INTERRU 0x00000222
[ 9.558269] sof-audio-pci-intel-apl 0000:00:0e.0: stack dump from 0xbe07f450
[ 9.558272] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f450: be02a49c 00000000 00000000 00000000
[ 9.558275] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f454: 0dead009 be07f680 00000650 00000000
[ 9.558277] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f458: d67f2900 1c3b287d 000c0800 00000000
[ 9.558279] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f45c: 0dead000 00000000 03805028 ffff8881
[ 9.558281] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f460: a02f1044 ffffffff 0ee8ef00 ffff8881
[ 9.558284] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f464: 00000004 ffffc900 d67f2900 1c3b287d
[ 9.558286] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f468: 068e28c0 ffff8881 0095bc50 ffffc900
[ 9.558288] sof-audio-pci-intel-apl 0000:00:0e.0: 0xbe07f46c: 068e28c0 ffff8881 00000000 00000000
@Denisuu I thought Mr. Chromebox firmware doesn't work with the HP Chromebook 14. I have the exact same model as you, and I would be interested to know if I can flash the firmware and install a full linux distro
You'll have to email him to get the test UEFI but sound isn't working either. As mentioned above, all bugs are the same as they are on Breath. Touchpad is also buggy on ubuntu and I also experience some shutdown/suspend issue's that I don't have on Breath.
@Denisuu I thought Mr. Chromebox firmware doesn't work with the HP Chromebook 14. I have the exact same model as you, and I would be interested to know if I can flash the firmware and install a full linux distro
You'll have to email him to get the test UEFI but sound isn't working either. As mentioned above, all bugs are the same as they are on Breath. Touchpad is also buggy in on ubuntu and I also experience some shutdown/suspend issue's that I don't have on Breath.
I tried Breath on my Chromebook and the touchpad worked fine. Everything except Audio worked.
I tried Breath on my Chromebook and the touchpad worked fine. Everything except Audio worked.
Trackpad works fine here too on Manjaro but not on Ubuntu. You also have Blooglet?
This is the output of dmesg
on ChromeOs through Crosh shell. Maybe it helps to see what ChromeOs does to get audio working. Doesn't seem like sof-glkrt5682max gets used at all.
Full output: dmesg
sof & glk:
chronos@localhost / $ sudo dmesg | grep 'glk\|sof'
[ 0.470149] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.470152] software IO TLB: mapped [mem 0x759f5000-0x799f5000] (64MB)
[ 1.477151] LoadPin: firmware pinned obj="/lib/firmware/i915/glk_dmc_ver1_04.bin" pid=34 cmdline=""
[ 1.478581] [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4)
[ 6.435499] sof-audio-pci 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if 0x040100
[ 6.435723] sof-audio-pci 0000:00:0e.0: use msi interrupt mode
[ 6.464867] sof-audio-pci 0000:00:0e.0: Linked as a consumer to 0000:00:02.0
[ 6.464884] sof-audio-pci 0000:00:0e.0: bound 0000:00:02.0 (ops 0xffffffff960a15c0)
[ 6.477043] sof-audio-pci 0000:00:0e.0: hda codecs found, mask 4
[ 6.530084] sof-audio-pci 0000:00:0e.0: Firmware info: version 1:1:0-42e25
[ 6.530093] sof-audio-pci 0000:00:0e.0: Firmware: ABI 3:8:0 Kernel ABI 3:4:0
[ 6.530096] sof-audio-pci 0000:00:0e.0: warn: FW ABI is more recent than kernel
[ 6.530099] sof-audio-pci 0000:00:0e.0: Firmware debug build 1 on Jun 24 2021-23:30:04 - options:
[ 6.530283] sof-audio-pci 0000:00:0e.0: firmware boot complete
[ 6.643712] bxt_da7219_max98357a glk_da7219_max98357a: info: override FE DAI link SSP1-Codec
[ 6.643720] bxt_da7219_max98357a glk_da7219_max98357a: info: override FE DAI link SSP2-Codec
[ 6.643723] bxt_da7219_max98357a glk_da7219_max98357a: info: override FE DAI link dmic01
[ 6.643725] bxt_da7219_max98357a glk_da7219_max98357a: info: override FE DAI link iDisp1
[ 6.643728] bxt_da7219_max98357a glk_da7219_max98357a: info: override FE DAI link iDisp2
[ 6.643730] bxt_da7219_max98357a glk_da7219_max98357a: info: override FE DAI link iDisp3
[ 6.644681] sof-audio-pci 0000:00:0e.0: Topology: ABI 3:7:0 Kernel ABI 3:4:0
[ 6.644687] sof-audio-pci 0000:00:0e.0: warn: topology ABI is more recent than kernel
[ 6.644695] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name ssp1 Tx not handled
[ 6.645589] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name ssp2 Rx not handled
[ 6.646241] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name ssp2 Tx not handled
[ 6.646882] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name DMIC01 Rx not handled
[ 6.647584] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name DMic not handled
[ 6.648620] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name dmic01_hifi not handled
[ 6.649387] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name hif5-0 Output not handled
[ 6.650166] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name hif6-0 Output not handled
[ 6.650172] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name hif7-0 Output not handled
[ 6.650175] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name iDisp3_out not handled
[ 6.650179] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name iDisp2_out not handled
[ 6.650182] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name iDisp1_out not handled
[ 6.650185] sof-audio-pci 0000:00:0e.0: warning: widget type 1 name codec0_out not handled
[ 6.650189] sof-audio-pci 0000:00:0e.0: warning: widget type 1 name codec1_out not handled
[ 6.650192] sof-audio-pci 0000:00:0e.0: warning: widget type 0 name codec0_in not handled
[ 6.650195] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name iDisp3 Tx not handled
[ 6.650198] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name iDisp2 Tx not handled
[ 6.650202] sof-audio-pci 0000:00:0e.0: warning: widget type 7 name iDisp1 Tx not handled
[ 6.653851] sof-audio-pci 0000:00:0e.0: ASoC: Parent card not yet available, widget card binding deferred
[ 6.667677] bxt_da7219_max98357a glk_da7219_max98357a: HiFi <-> SSP1 Pin mapping ok
[ 6.667840] bxt_da7219_max98357a glk_da7219_max98357a: da7219-hifi <-> SSP2 Pin mapping ok
[ 6.667855] bxt_da7219_max98357a glk_da7219_max98357a: dmic-hifi <-> DMIC01 Pin mapping ok
[ 6.667872] bxt_da7219_max98357a glk_da7219_max98357a: intel-hdmi-hifi1 <-> iDisp1 Pin mapping ok
[ 6.667887] bxt_da7219_max98357a glk_da7219_max98357a: intel-hdmi-hifi2 <-> iDisp2 Pin mapping ok
[ 6.667904] bxt_da7219_max98357a glk_da7219_max98357a: intel-hdmi-hifi3 <-> iDisp3 Pin mapping ok
[ 6.668038] bxt_da7219_max98357a glk_da7219_max98357a: snd-soc-dummy-dai <-> Speakers 0 mapping ok
[ 6.668114] bxt_da7219_max98357a glk_da7219_max98357a: snd-soc-dummy-dai <-> Headset 1 mapping ok
[ 6.668158] bxt_da7219_max98357a glk_da7219_max98357a: snd-soc-dummy-dai <-> DMIC01 99 mapping ok
[ 6.668201] bxt_da7219_max98357a glk_da7219_max98357a: snd-soc-dummy-dai <-> HDMI1 5 mapping ok
[ 6.668244] bxt_da7219_max98357a glk_da7219_max98357a: snd-soc-dummy-dai <-> HDMI2 6 mapping ok
[ 6.668289] bxt_da7219_max98357a glk_da7219_max98357a: snd-soc-dummy-dai <-> HDMI3 7 mapping ok
[ 6.668380] bxt_da7219_max98357a glk_da7219_max98357a: ASoC: sink widget DMic overwritten
[ 6.668386] bxt_da7219_max98357a glk_da7219_max98357a: ASoC: source widget hif5-0 Output overwritten
[ 6.668390] bxt_da7219_max98357a glk_da7219_max98357a: ASoC: source widget hif6-0 Output overwritten
[ 6.668394] bxt_da7219_max98357a glk_da7219_max98357a: ASoC: source widget hif7-0 Output overwritten
[ 6.668433] bxt_da7219_max98357a glk_da7219_max98357a: ASoC: source widget Capture overwritten
[ 6.668465] bxt_da7219_max98357a glk_da7219_max98357a: ASoC: source widget hif5-0 Output overwritten
[ 6.670308] input: sof-glkda7219max Headset Jack as /devices/pci0000:00/0000:00:0e.0/glk_da7219_max98357a/sound/card0/input6
[ 6.670600] input: sof-glkda7219max HDMI/DP, pcm=5 Jack as /devices/pci0000:00/0000:00:0e.0/glk_da7219_max98357a/sound/card0/input7
[ 6.670850] input: sof-glkda7219max HDMI/DP, pcm=6 Jack as /devices/pci0000:00/0000:00:0e.0/glk_da7219_max98357a/sound/card0/input8
[ 6.671257] input: sof-glkda7219max HDMI/DP, pcm=7 Jack as /devices/pci0000:00/0000:00:0e.0/glk_da7219_max98357a/sound/card0/input9
[ 6.970622] sof-audio-pci 0000:00:0e.0: firmware boot complete
[ 14.253208] sof-audio-pci 0000:00:0e.0: firmware boot complete
[ 177.021644] sof-audio-pci 0000:00:0e.0: firmware boot complete
[ 226.139753] sof-audio-pci 0000:00:0e.0: firmware boot complete
[ 482.183621] sof-audio-pci 0000:00:0e.0: firmware boot complete
[ 513.202147] sof-audio-pci 0000:00:0e.0: firmware boot complete
[ 753.428322] sof-audio-pci 0000:00:0e.0: firmware boot complete
[ 785.307922] sof-audio-pci 0000:00:0e.0: firmware boot complete
[ 865.097578] sof-audio-pci 0000:00:0e.0: firmware boot complete
Looks like it's using a different kernel version... otherwise the conditions are basically identical in Breath and ChromeOS. Could you post the output of uname -r
within ChromeOS?
Oh ok, hopefully the devs at sof-audio see where it's going wrong. It feels like looking for a needle in a haystack to me.
crosh> uname -r
4.14.256-18461-g6eaaee8fb397
On the Linux computer you built the USB with, run VERSION=5.4 bash updatekernel.sh
in the directory you cloned this project. Try seeing if audio works then.
I think the output of dmesg
looks a lot more promissing. There's no: cl_dsp_init: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
error. When I tried sof-setup-audio
or SOUNDCARD=rtk sof-setup-audio
I got a bootloop.
Then I tried to flash ubuntu xenial-16.04 with kernel 4.14.264 but it wouldn't boot.
dmseg: Full output
I think it’s because of the alsa reload
command that is always ran at startup. Try rebuilding the usb to the default Ubuntu version, run sof-setup-audio
, and then chroot
into the second partition of the USB mounted on a separate computer. Once your chrooted, run rm /etc/systemd/system/alsa-reload.service; systemd daemon-reload
. Then, try booting it.
Sorry for all of these steps. We eventually got audio working on a similar device in #3 ;)
The system is booting again now, but still no sound.
Here's the output of: dmesg
I also removed the one listed below:
root@X580GD:/# find / -name alsa-reload.service
/etc/systemd/system/multi-user.target.wants/alsa-reload.service
I couldn't run this command though:
root@X580GD:/# systemd daemon-reload
Excess arguments.
The system is booting again now, but still no sound.
there's no SOF drivers being loaded
What happens when you run alsa-reload
?
I get: alsa-reload command not found
. Which seems normal right? I just removed the services. Should I move them back after boot?
Oops! I meant sudo alsa reload
Oops! I meant
sudo alsa reload
I get an instant kernel panic & reboot.
Do you do this project completely on your own? You don't have a donate button on your website/github?
Yeah, I do it on my own :D. I'll consider adding a donate button, but if someone could afford donating to me, wouldn't they get a normal laptop?
Yeah, I got as far as a kernel panic too. Maybe @MrChromebox could help?
I don't have a problematic GLK device; AMPTON uses a slightly different audio setup, works fine on upstream kernels with SOF
Yeah, I do it on my own :D. I'll consider adding a donate button, but if someone could afford donating to me, wouldn't they get a normal laptop?
I wouldn't expect anyone to donate 'normal laptop' amounts, more of a grand mother pocket-money amount haha.
Audio wasn't working in Arch Crostini either until I ran: cp -rT /etc/skel/.config/pulse ~/.config/pulse
Maybe I can try to copy over those 2 files daemon.conf
& default.pa
?
EDIT: This didn't work.
I have an update for the Acer Spin 512 touchpad issue. For reasons I don't seem to understand, newer versions of the usb have a functioning touchpad now.
Awesome! Must be a kernel update :D
A separate issue is I now cannot get sound to work (I mean, I never could, but I never focused on it becuase of other issues). Here is my lsmod
and find
output;
@aghebert what does sudo dmesg
look like? Do you also have line below?
cl_copy_fw: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
It looks like these devices have almost exactly the same overlay tree. While Ampton only octopus board I know that works OOB looks significantly different.
@Denisuu I don't get that message.
Post the output of dmesg
and I'll have a go at finding out the issue (btw: Thanks for the donation @aghebert :D)
I just want to mention that audio is partially working. The system soundcard shows up in alsamixer
and sound is adjustable, but it does not show up in the GNOME system settings for audio, nor is the audio adjustable there. This happened after my workaround for running the sof-setup-audio
script in one of my issues (#65)
Does the audio itself work (e.g. from firefox)?
No, but the system itself makes sounds (eg. terminal error sound, or system prompt ding).
I see. It must be a userspace problem. Could you try running speaker-test
and firefox
and tell me if the audio works?
I don't understand, but after a few restarts, the hardware shows now and is working with firefox.
@aghebert Which firmware-sof-signed
did you install? The link you posted is for Impish 21.10.
@Denisuu That's correct, I installed the 1.9 deb. I don't know what long-term issues it might have installing on 20.04, but it seems to be fine so far.
I made an image of the Breath USB and tried several things, restoring to frash-install everytime. I just can't get it to work tried several firmware-sof-signed versions and ubuntu releases too.
Maybe I should open an issue on sof's Github.
Maybe I should open an issue on sof's Github.
agreed, seems there is some issue with the da7219+max98357a combo
Hello there, first I'd like to thank @MilkyDeveloper for the fantastic work! I own a Samsung Chromebook 4 (which is a Gemini Lake device) and I had no more hopes of giving my laptop a survival due to its UEFI problem. The laptop is working perfectly with Ubuntu and Xfce right now and performs way better than Chrome OS. All peripherals work except for the audio jack. Could it be something related to some kernel module that must be loaded? I've tried to modprobe various "snd-" named modules, but no success. Bluetooth on the other hand works normally, but I needed to install PulseAudio to get a2dp protocol to get recognized.
@brunocmorais
In Crosh (ChromeOS CTRL + T) when you type shell
and then cat /proc/asound/cards
what's the output? Looks like your device only uses sof-glkda7219max
chronos@localhost / $ ls /etc/cras/bluebird
dsp.ini
sof-glkda7219max
@Denisuu here is the content of /proc/asound/cards, got it from Ubuntu because I wiped ChromeOS.
0 [sofglkda7219max]: sof-glkda7219ma - sof-glkda7219max
Google-Casta-rev6
@brunocmorais That's the same output as on my machine. I added your device to the issue above on Sof's Github. I though only the devices that have both sof-glkrt5682max
and sof-glkda7219max
would be problematic, but your device only seems to have glkda7219max. Maybe all glkda7219max devices are affected?
Yeah it seems all glkda7219max are affected :( Thanks for adding that info to the sof's Github issue!
Alright, I think I know how to fix this issue. As @plbossart said, this:
Manufacturer: HP
Product Name: Bloog
Product Version: rev4
Firmware Version: Google_Bloog.11297.275.0
System SKU: sku68
Board Vendor: HP
Board Name: Bloog
is problematic. The Board Vendor should normally be Google rather than HP, else SOF thinks you don't have a chromebook. MrChromebox has discussed doing an SMBIOS override (overriding the "Board Vendor" within the BIOS, I think) which I cannot do. I believe I could just patch the SOF code to also include HP Board Vendors as Chromebooks, since this project can only work on Chromebooks anyways. I am rebuilding the kernel now, expect a fix soon!
There's no way we are going to Ack patches to add HP, Asus, and all Chrome OEMs etc in our DMI matches. Please be reasonable.
Oh sorry about that, I'm patching the kernel for this project only at build time (e.g. it will use a .patch
file when building the kernel solely for this project). This project uses the ChromeOS kernel with patches.
@plbossart seems to me this change would exist only in the Breath kernel fork, not for upstreaming
This issue tracks progress on support for boards derived on the common Gemini-Lake baseboard
octopus
.Chromebooks using the board
blooglet
, but listed asbloog
in the recovery config file. Notblooguard
)bloog
, unconfirmed whether this chromebook is also affected)Issues
Octopus (Geminilake) Chromebooks, or the baseboard of Bloog Chromebooks, are well supported.
Users have reported working Bluetooth, Touchscreen, Audio, and all other peripherals other than the audio jack in a variety of Octopus Chromebooks.
However, a particular board,
bloog
, has issues with Audio (#22) and Suspend to S3 (#23, the default suspend state).sparky360
appears to have touchpad issues (#18).Audio
On further investigation, the
dmesg
shows this snippet:I am not an audio expert, so I am unable to decipher this error. This report is from (kernel) 5.10. 5.4, with the same config, causes more errors, so I am disregarding it. A move to kernel 4.19 may be neccessary on certain chromebooks. Reef chromebooks exhibit similar audio errors. Certain Morphius Chromebooks have the same error (#12).
Touchpad
The Acer Spin 512 has touchpad problems. There are no
dmesg
logs that help.sparky360
has a Synaptics touchpad. It is possible that compilingelan_ts
into the kernel hijacks the synaptics drivers. Other similar reports can be found around the web.