chimeraos
chimeraos copied to clipboard
No Audio out through Internal Speakers for OneXPlayer2 Pro
The driver says Family 17/19 HD Audio Controller Pro Wired headphones and bluetooth speakers work but no audio out through internal speakers
It's possible this device uses an amplifier. It's likely we'll need a device in hand to add functionality.
Is there anything i can do to help you guys test it/fix it? Please let me know. Thanks!
Is there anything i can do to help you guys test it/fix it? Please let me know. Thanks!
Can you get me an alsa dump? You'll need to unlock the filesystem and install some packages.
sudo frzr-unlock
sudo pacman -S alsa-tools tree
/usr/bin/alsa-info.sh
Here it is: http://alsa-project.org/db/?f=280c56830a60868346995b41309f663c5fe7510b
Thanks for looking into this.
Here it is: http://alsa-project.org/db/?f=280c56830a60868346995b41309f663c5fe7510b
Thanks for looking into this.
Thanks for the info. Any chance I could get a dmesg as well?
sudo dmesg > oxp2pro-dmesg.log
Ofcourse. oxp2pro-dmesg.log
Please let me know anything you need.
Thanks! It looks like we might need a dump from Windows to verify the pins and verbs. Are you able to boot Windows with audio drivers installed and working and run this utility? RtHDDump_V236.zip
Here it is: RtHDDump.txt
Here's one with scan all PCI devices selected
Thanks. I think I got the information I need. I'll need to make a kernel patch for you to try. It's late here now ATM so I'll start working on this tomorrow.
That's amazing!! Thank you so much 🙏😊.
Here we go. I have a patch for you to try. Are you able to build the kernel with a patch on your own or would you like me to compile it?
oxp2-pro-audio-patch-test-patch.txt
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 44fccfb93cff..a4858a6409af 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6501,6 +6501,23 @@ static void alc295_fixup_chromebook(struct hda_codec *codec,
}
}
+static void alc245_fixup_oxp2pro_pins(struct hda_codec *codec,
+ const struct hda_fixup *fix,
+ int action)
+{
+ static const hda_nid_t conn1[] = { 0x02 };
+ static const hda_nid_t conn2[] = { 0x03 };
+
+ if (action != HDA_FIXUP_ACT_PRE_PROBE)
+ return;
+
+ /* It appears as though the OXP2 Pro has 0x17 connected to 0x02
+ * and 0x21 connected to 0x03 on Windows
+ */
+ snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn1), conn1);
+ snd_hda_override_conn_list(codec, 0x21, ARRAY_SIZE(conn2), conn2);
+}
+
static void alc_fixup_disable_mic_vref(struct hda_codec *codec,
const struct hda_fixup *fix, int action)
{
@@ -7219,6 +7236,7 @@ enum {
ALC287_FIXUP_LEGION_16ACHG6,
ALC287_FIXUP_CS35L41_I2C_2,
ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED,
+ ALC245_FIXUP_OXP2PRO,
ALC245_FIXUP_CS35L41_SPI_2,
ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED,
ALC245_FIXUP_CS35L41_SPI_4,
@@ -7580,6 +7598,10 @@ static const struct hda_fixup alc269_fixups[] = {
.type = HDA_FIXUP_FUNC,
.v.func = alc269_fixup_x101_headset_mic,
},
+ [ALC245_FIXUP_OXP2PRO] = {
+ .type = HDA_FIXUP_FUNC,
+ .v.func = alc245_fixup_oxp2pro_pin,
+ },
[ALC269_FIXUP_ASUS_X101_VERB] = {
.type = HDA_FIXUP_VERBS,
.v.verbs = (const struct hda_verb[]) {
@@ -9934,6 +9956,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
SND_PCI_QUIRK(0x1d72, 0x1945, "Redmi G", ALC256_FIXUP_ASUS_HEADSET_MIC),
SND_PCI_QUIRK(0x1d72, 0x1947, "RedmiBook Air", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
+ SND_PCI_QUIRK(0x1f75, 0x1602, "ONEXPLAYER 2 PRO ARP23P", ALC245_FIXUP_OXP2PRO),
SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),
SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),
SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", ALC256_FIXUP_INTEL_NUC10),
Thank you so much!
Unfortunately, I do not know how to build a kernel with the patch. If you can send me the instructions, I can try it out. If its easier for you to build the patch than telling me how, that would be great too. Anything works.
EDIT: I think I figured out how to build the kernel with makepkg. I will try it out.
Thank you so much!
Unfortunately, I do not know how to build a kernel with the patch. If you can send me the instructions, I can try it out. If its easier for you to build the patch than telling me how, that would be great too. Anything works.
EDIT: I think I figured out how to build the kernel with makepkg. I will try it out.
I have it building on my end as well just in case.
I am getting this error after adding this patch
==> Starting prepare()...
Setting version...
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf
*** Default configuration is based on 'x86_64_defconfig'
#
# configuration written to .config
#
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN include/config include/generated .config
Applying patch 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch...
patching file include/linux/user_namespace.h
patching file init/Kconfig
patching file kernel/fork.c
patching file kernel/sysctl.c
patching file kernel/user_namespace.c
Applying patch 0002-drivers-firmware-skip-simpledrm-if-nvidia-drm.modese.patch...
patching file drivers/firmware/sysfb.c
Applying patch 0003-tpm-dont-make-vendor-check-required-for-probe.patch...
Applying patch 0001-mm-Support-soft-dirty-flag-reset-for-VA-range.patch...
patching file fs/proc/task_mmu.c
Hunk #1 succeeded at 1079 (offset 47 lines).
Hunk #2 succeeded at 1172 (offset 45 lines).
Hunk #3 succeeded at 1230 (offset 45 lines).
Hunk #4 succeeded at 1257 (offset 45 lines).
Hunk #5 succeeded at 1271 (offset 45 lines).
Hunk #6 succeeded at 1311 (offset 46 lines).
Hunk #7 succeeded at 1422 (offset 45 lines).
Hunk #8 succeeded at 1497 (offset 47 lines).
Hunk #9 succeeded at 1563 (offset -14 lines).
Hunk #10 succeeded at 1587 (offset 68 lines).
Applying patch 0001-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-2.patch...
patching file drivers/gpu/drm/drm_panel_orientation_quirks.c
Applying patch 0002-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-F.patch...
patching file drivers/gpu/drm/drm_panel_orientation_quirks.c
Applying patch 0003-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-G.patch...
patching file drivers/gpu/drm/drm_panel_orientation_quirks.c
Applying patch 0003-asus-ally-asus-hid-6.3-v2.patch...
patching file drivers/hid/hid-asus.c
Hunk #1 succeeded at 911 (offset 1 line).
Hunk #2 succeeded at 1278 (offset 1 line).
patching file drivers/hid/hid-ids.h
Applying patch 0001-hwmon-oxp-sensors-staged-changes-for-v6.5.patch...
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
patching file drivers/hwmon/oxp-sensors.c
Applying patch 0001-Cirrus-no-dsdt.patch...
patching file sound/pci/hda/Makefile
Hunk #1 succeeded at 28 with fuzz 1.
patching file sound/pci/hda/cs35l41_hda.c
Hunk #2 succeeded at 1161 (offset -155 lines).
Hunk #3 succeeded at 1215 (offset -155 lines).
Hunk #4 succeeded at 1240 (offset -155 lines).
Hunk #5 succeeded at 1340 (offset -155 lines).
patching file sound/pci/hda/cs35l41_hda.h
patching file sound/pci/hda/cs35l41_hda_property.c
patching file sound/pci/hda/cs35l41_hda_property.h
Applying patch 0001-ALSA-hda-cs35l41-Support-ASUS-2023-laptops-with-miss.patch...
patching file sound/pci/hda/cs35l41_hda_property.c
Applying patch 0001-ayaneo-geek-headset-fix.patch...
patching file sound/pci/hda/patch_realtek.c
Hunk #2 succeeded at 7028 (offset -3 lines).
Hunk #3 succeeded at 8452 (offset -3 lines).
Hunk #4 succeeded at 9948 (offset -3 lines).
Applying patch 0002-ayaneo-2-headphone-fix.patch...
patching file sound/pci/hda/patch_realtek.c
Hunk #1 succeeded at 7028 (offset -3 lines).
Hunk #2 succeeded at 8453 (offset -3 lines).
Hunk #3 succeeded at 9953 (offset -3 lines).
Applying patch 0001-GPU-reset.patch...
patching file drivers/gpu/drm/drm_sysfs.c
Hunk #1 succeeded at 435 (offset 1 line).
patching file include/drm/drm_sysfs.h
patching file drivers/gpu/drm/amd/amdgpu/amdgpu.h
Hunk #1 succeeded at 58 (offset -2 lines).
Hunk #2 succeeded at 993 (offset -10 lines).
Hunk #3 succeeded at 1026 (offset -11 lines).
patching file drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
Hunk #1 succeeded at 80 with fuzz 2 (offset 4 lines).
Hunk #2 succeeded at 3465 (offset 109 lines).
Hunk #3 succeeded at 3728 (offset 110 lines).
patching file drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
Hunk #1 succeeded at 5065 (offset 141 lines).
Applying patch 0001-ALSA-cs35l41-Use-mbox-command-to-enable-speaker-outp.patch...
patching file include/sound/cs35l41.h
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 515 (offset 1 line).
Hunk #2 succeeded at 675 (offset 1 line).
patching file sound/soc/codecs/cs35l41-lib.c
patching file sound/soc/codecs/cs35l41.c
Applying patch 0002-ALSA-cs35l41-Poll-for-Power-Up-Down-rather-than-wait.patch...
patching file sound/soc/codecs/cs35l41-lib.c
patching file sound/soc/codecs/cs35l41.c
Applying patch 0003-ALSA-hda-cs35l41-Check-mailbox-status-of-pause-comma.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 782 (offset 1 line).
Applying patch 0004-ALSA-hda-cs35l41-Ensure-we-correctly-re-sync-regmap-.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 575 (offset 1 line).
Applying patch 0005-ALSA-hda-cs35l41-Ensure-we-pass-up-any-errors-during.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 627 (offset 1 line).
Hunk #2 succeeded at 665 (offset 1 line).
Applying patch 0006-ALSA-hda-cs35l41-Move-Play-and-Pause-into-separate-f.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 484 (offset 1 line).
Hunk #2 succeeded at 590 (offset 1 line).
Hunk #3 succeeded at 741 (offset 1 line).
Applying patch 0007-ALSA-hda-hda_component-Add-pre-and-post-playback-hoo.patch...
patching file sound/pci/hda/hda_component.h
patching file sound/pci/hda/patch_realtek.c
Hunk #1 succeeded at 6730 (offset 14 lines).
Applying patch 0008-ALSA-hda-cs35l41-Use-pre-and-post-playback-hooks.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 557 (offset 1 line).
Hunk #2 succeeded at 1073 (offset 5 lines).
Applying patch 0009-ALSA-hda-cs35l41-Rework-System-Suspend-to-ensure-cor.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 596 (offset 1 line).
Hunk #2 succeeded at 691 (offset 1 line).
Hunk #3 succeeded at 722 (offset 1 line).
Hunk #4 succeeded at 772 (offset 1 line).
Hunk #5 succeeded at 805 (offset 1 line).
Hunk #6 succeeded at 1639 (offset -31 lines).
Applying patch 0010-ALSA-hda-cs35l41-Add-device_link-between-HDA-and-cs3.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 1068 (offset 5 lines).
Hunk #2 succeeded at 1108 (offset 5 lines).
Hunk #3 succeeded at 1123 (offset 5 lines).
Applying patch 0011-ALSA-hda-cs35l41-Ensure-amp-is-only-unmuted-during-p.patch...
patching file sound/pci/hda/cs35l41_hda.c
Hunk #1 succeeded at 59 (offset 1 line).
Hunk #2 succeeded at 81 (offset 1 line).
Hunk #3 succeeded at 529 (offset 1 line).
Hunk #4 succeeded at 1598 (offset -31 lines).
Applying patch oxp2-pro-audio-patch-test-patch.patch...
patching file sound/pci/hda/patch_realtek.c
Hunk #2 succeeded at 7257 (offset 21 lines).
Hunk #3 succeeded at 7619 (offset 21 lines).
Hunk #4 FAILED at 9956.
1 out of 4 hunks FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej
==> ERROR: A failure occurred in prepare().
Aborting...
I am getting this error after adding this patch
==> Starting prepare()... Setting version... HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf *** Default configuration is based on 'x86_64_defconfig' # # configuration written to .config # CLEAN scripts/basic CLEAN scripts/kconfig CLEAN include/config include/generated .config Applying patch 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch... patching file include/linux/user_namespace.h patching file init/Kconfig patching file kernel/fork.c patching file kernel/sysctl.c patching file kernel/user_namespace.c Applying patch 0002-drivers-firmware-skip-simpledrm-if-nvidia-drm.modese.patch... patching file drivers/firmware/sysfb.c Applying patch 0003-tpm-dont-make-vendor-check-required-for-probe.patch... Applying patch 0001-mm-Support-soft-dirty-flag-reset-for-VA-range.patch... patching file fs/proc/task_mmu.c Hunk #1 succeeded at 1079 (offset 47 lines). Hunk #2 succeeded at 1172 (offset 45 lines). Hunk #3 succeeded at 1230 (offset 45 lines). Hunk #4 succeeded at 1257 (offset 45 lines). Hunk #5 succeeded at 1271 (offset 45 lines). Hunk #6 succeeded at 1311 (offset 46 lines). Hunk #7 succeeded at 1422 (offset 45 lines). Hunk #8 succeeded at 1497 (offset 47 lines). Hunk #9 succeeded at 1563 (offset -14 lines). Hunk #10 succeeded at 1587 (offset 68 lines). Applying patch 0001-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-2.patch... patching file drivers/gpu/drm/drm_panel_orientation_quirks.c Applying patch 0002-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-F.patch... patching file drivers/gpu/drm/drm_panel_orientation_quirks.c Applying patch 0003-drm-panel-orientation-quirks-Add-quirk-for-AYA-NEO-G.patch... patching file drivers/gpu/drm/drm_panel_orientation_quirks.c Applying patch 0003-asus-ally-asus-hid-6.3-v2.patch... patching file drivers/hid/hid-asus.c Hunk #1 succeeded at 911 (offset 1 line). Hunk #2 succeeded at 1278 (offset 1 line). patching file drivers/hid/hid-ids.h Applying patch 0001-hwmon-oxp-sensors-staged-changes-for-v6.5.patch... patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c patching file drivers/hwmon/oxp-sensors.c Applying patch 0001-Cirrus-no-dsdt.patch... patching file sound/pci/hda/Makefile Hunk #1 succeeded at 28 with fuzz 1. patching file sound/pci/hda/cs35l41_hda.c Hunk #2 succeeded at 1161 (offset -155 lines). Hunk #3 succeeded at 1215 (offset -155 lines). Hunk #4 succeeded at 1240 (offset -155 lines). Hunk #5 succeeded at 1340 (offset -155 lines). patching file sound/pci/hda/cs35l41_hda.h patching file sound/pci/hda/cs35l41_hda_property.c patching file sound/pci/hda/cs35l41_hda_property.h Applying patch 0001-ALSA-hda-cs35l41-Support-ASUS-2023-laptops-with-miss.patch... patching file sound/pci/hda/cs35l41_hda_property.c Applying patch 0001-ayaneo-geek-headset-fix.patch... patching file sound/pci/hda/patch_realtek.c Hunk #2 succeeded at 7028 (offset -3 lines). Hunk #3 succeeded at 8452 (offset -3 lines). Hunk #4 succeeded at 9948 (offset -3 lines). Applying patch 0002-ayaneo-2-headphone-fix.patch... patching file sound/pci/hda/patch_realtek.c Hunk #1 succeeded at 7028 (offset -3 lines). Hunk #2 succeeded at 8453 (offset -3 lines). Hunk #3 succeeded at 9953 (offset -3 lines). Applying patch 0001-GPU-reset.patch... patching file drivers/gpu/drm/drm_sysfs.c Hunk #1 succeeded at 435 (offset 1 line). patching file include/drm/drm_sysfs.h patching file drivers/gpu/drm/amd/amdgpu/amdgpu.h Hunk #1 succeeded at 58 (offset -2 lines). Hunk #2 succeeded at 993 (offset -10 lines). Hunk #3 succeeded at 1026 (offset -11 lines). patching file drivers/gpu/drm/amd/amdgpu/amdgpu_device.c Hunk #1 succeeded at 80 with fuzz 2 (offset 4 lines). Hunk #2 succeeded at 3465 (offset 109 lines). Hunk #3 succeeded at 3728 (offset 110 lines). patching file drivers/gpu/drm/amd/amdgpu/amdgpu_device.c Hunk #1 succeeded at 5065 (offset 141 lines). Applying patch 0001-ALSA-cs35l41-Use-mbox-command-to-enable-speaker-outp.patch... patching file include/sound/cs35l41.h patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 515 (offset 1 line). Hunk #2 succeeded at 675 (offset 1 line). patching file sound/soc/codecs/cs35l41-lib.c patching file sound/soc/codecs/cs35l41.c Applying patch 0002-ALSA-cs35l41-Poll-for-Power-Up-Down-rather-than-wait.patch... patching file sound/soc/codecs/cs35l41-lib.c patching file sound/soc/codecs/cs35l41.c Applying patch 0003-ALSA-hda-cs35l41-Check-mailbox-status-of-pause-comma.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 782 (offset 1 line). Applying patch 0004-ALSA-hda-cs35l41-Ensure-we-correctly-re-sync-regmap-.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 575 (offset 1 line). Applying patch 0005-ALSA-hda-cs35l41-Ensure-we-pass-up-any-errors-during.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 627 (offset 1 line). Hunk #2 succeeded at 665 (offset 1 line). Applying patch 0006-ALSA-hda-cs35l41-Move-Play-and-Pause-into-separate-f.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 484 (offset 1 line). Hunk #2 succeeded at 590 (offset 1 line). Hunk #3 succeeded at 741 (offset 1 line). Applying patch 0007-ALSA-hda-hda_component-Add-pre-and-post-playback-hoo.patch... patching file sound/pci/hda/hda_component.h patching file sound/pci/hda/patch_realtek.c Hunk #1 succeeded at 6730 (offset 14 lines). Applying patch 0008-ALSA-hda-cs35l41-Use-pre-and-post-playback-hooks.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 557 (offset 1 line). Hunk #2 succeeded at 1073 (offset 5 lines). Applying patch 0009-ALSA-hda-cs35l41-Rework-System-Suspend-to-ensure-cor.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 596 (offset 1 line). Hunk #2 succeeded at 691 (offset 1 line). Hunk #3 succeeded at 722 (offset 1 line). Hunk #4 succeeded at 772 (offset 1 line). Hunk #5 succeeded at 805 (offset 1 line). Hunk #6 succeeded at 1639 (offset -31 lines). Applying patch 0010-ALSA-hda-cs35l41-Add-device_link-between-HDA-and-cs3.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 1068 (offset 5 lines). Hunk #2 succeeded at 1108 (offset 5 lines). Hunk #3 succeeded at 1123 (offset 5 lines). Applying patch 0011-ALSA-hda-cs35l41-Ensure-amp-is-only-unmuted-during-p.patch... patching file sound/pci/hda/cs35l41_hda.c Hunk #1 succeeded at 59 (offset 1 line). Hunk #2 succeeded at 81 (offset 1 line). Hunk #3 succeeded at 529 (offset 1 line). Hunk #4 succeeded at 1598 (offset -31 lines). Applying patch oxp2-pro-audio-patch-test-patch.patch... patching file sound/pci/hda/patch_realtek.c Hunk #2 succeeded at 7257 (offset 21 lines). Hunk #3 succeeded at 7619 (offset 21 lines). Hunk #4 FAILED at 9956. 1 out of 4 hunks FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej ==> ERROR: A failure occurred in prepare(). Aborting...
It's conflicting with another patch and I had a typo in the patch as well. I'll have a built kernel here in a bit.
Contributor
Thank you. I'll wait for the built kernel.
Contributor
Thank you. I'll wait for the built kernel.
Here you go! https://drive.google.com/file/d/1iyWUxBoAq1UDs8EvEOBegndUGnGZsImN/view?usp=sharing https://drive.google.com/file/d/1j1zJ91pk_B0IMbvcXJJ7BwFiN0o7UVMH/view?usp=sharing
Contributor
Thank you. I'll wait for the built kernel.
Here you go! https://drive.google.com/file/d/1iyWUxBoAq1UDs8EvEOBegndUGnGZsImN/view?usp=sharing https://drive.google.com/file/d/1j1zJ91pk_B0IMbvcXJJ7BwFiN0o7UVMH/view?usp=sharing
I installed both using
sudo pacman -U --noconfirm
and after reboot, almost everything stopped working. I don't have network, bluetooth, sound, etc.
Was this the wrong command?
Contributor
Thank you. I'll wait for the built kernel.
Here you go! https://drive.google.com/file/d/1iyWUxBoAq1UDs8EvEOBegndUGnGZsImN/view?usp=sharing https://drive.google.com/file/d/1j1zJ91pk_B0IMbvcXJJ7BwFiN0o7UVMH/view?usp=sharing
I installed both using
sudo pacman -U --noconfirmand after reboot, almost everything stopped working. I don't have network, bluetooth, sound, etc.
Was this the wrong command?
Did you have DKMS installed? Strangely enough I had this issue with a different kernel the other day myself.
Contributor
Thank you. I'll wait for the built kernel.
Here you go! https://drive.google.com/file/d/1iyWUxBoAq1UDs8EvEOBegndUGnGZsImN/view?usp=sharing https://drive.google.com/file/d/1j1zJ91pk_B0IMbvcXJJ7BwFiN0o7UVMH/view?usp=sharing
I installed both using
sudo pacman -U --noconfirmand after reboot, almost everything stopped working. I don't have network, bluetooth, sound, etc. Was this the wrong command?Did you have DKMS installed? Strangely enough I had this issue with a different kernel the other day myself.
Ah, It looks like i did not have DKMS installed. I'll reinstall the OS and try again with DKMS installed.
After installing DKMS, the header install gives this error.
[gamer@chimeraos ~]$ sudo pacman -U --noconfirm Downloads/linux-chimeraos-headers-6.5.rc6.chos1-1-x86_64.pkg.tar.zst
loading packages...
warning: linux-chimeraos-headers-6.5.rc6.chos1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux-chimeraos-headers-6.5.rc6.chos1-1
Total Installed Size: 123.53 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#############################################################] 100%
(1/1) checking package integrity [#############################################################] 100%
(1/1) loading package files [#############################################################] 100%
(1/1) checking for file conflicts [#############################################################] 100%
(1/1) checking available disk space [#############################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
:: Processing package changes...
(1/1) reinstalling linux-chimeraos-headers [#############################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> dkms install --no-depmod hid-xpadneo/v0.9.5 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/hid-xpadneo/v0.9.5/build/make.log for more information.
==> WARNING: `dkms install --no-depmod hid-xpadneo/v0.9.5 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod xpad-noone/1.0 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/xpad-noone/1.0/build/make.log for more information.
==> WARNING: `dkms install --no-depmod xpad-noone/1.0 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod r8168/8.051.02 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/r8168/8.051.02/build/make.log for more information.
==> WARNING: `dkms install --no-depmod r8168/8.051.02 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod rtl8812au/5.13.6.r168.gb5f4e6e -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/rtl8812au/5.13.6.r168.gb5f4e6e/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8812au/5.13.6.r168.gb5f4e6e -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod nvidia/530.41.03 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/nvidia/530.41.03/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/530.41.03 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod rtl88x2bu/5.13.1.r189.12cfcd8 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/rtl88x2bu/5.13.1.r189.12cfcd8/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl88x2bu/5.13.1.r189.12cfcd8 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod xone/0.3.r2.gbbf0dcc -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/xone/0.3.r2.gbbf0dcc/build/make.log for more information.
==> WARNING: `dkms install --no-depmod xone/0.3.r2.gbbf0dcc -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod rtl8814au/5.8.5.1.r170.g8a1908d -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/rtl8814au/5.8.5.1.r170.g8a1908d/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8814au/5.8.5.1.r170.g8a1908d -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod 8821au/5.12.5.2.r208.g50c3332 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/8821au/5.12.5.2.r208.g50c3332/build/make.log for more information.
==> WARNING: `dkms install --no-depmod 8821au/5.12.5.2.r208.g50c3332 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod rtw89/r529.8f8efa6 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/rtw89/r529.8f8efa6/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw89/r529.8f8efa6 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.5.0-chos1-rc6-chimeraos-1
/usr/bin/dkms: line 106: patch: command not found
Error! Application of patch 001-null-pointer-fix.patch failed.
Check /var/lib/dkms/broadcom-wl/6.30.223.271/build for more information.
==> WARNING: `dkms install --no-depmod broadcom-wl/6.30.223.271 -k 6.5.0-chos1-rc6-chimeraos-1' exited 6
==> dkms install --no-depmod oxp-sensors/v0.9.r0.gf75d844 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/oxp-sensors/v0.9.r0.gf75d844/build/make.log for more information.
==> WARNING: `dkms install --no-depmod oxp-sensors/v0.9.r0.gf75d844 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> dkms install --no-depmod r8152/2.16.3.20221209 -k 6.5.0-chos1-rc6-chimeraos-1
Error! Bad return status for module build on kernel: 6.5.0-chos1-rc6-chimeraos-1 (x86_64)
Consult /var/lib/dkms/r8152/2.16.3.20221209/build/make.log for more information.
==> WARNING: `dkms install --no-depmod r8152/2.16.3.20221209 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
==> WARNING: `dkms install --no-depmod r8152/2.16.3.20221209 -k 6.5.0-chos1-rc6-chimeraos-1' exited 10
Hmm, I'll try installing it on a Chimera box here.
Works on the Aya Neo Air Plus running ChimeraOS.
Works on the Aya Neo Air Plus running ChimeraOS.
I was going through the log files from the above failures and it looks like I am missing a bunch of dependencies needed for make. I am trying to sort them out and reinstall the kernel.
Works on the Aya Neo Air Plus running ChimeraOS.
I was going through the log files from the above failures and it looks like I am missing a bunch of dependencies needed for make. I am trying to sort them out and reinstall the kernel.
You can try installing the base-devel package to bring in a lot of those dependencies most likely.
Works on the Aya Neo Air Plus running ChimeraOS.
I was going through the log files from the above failures and it looks like I am missing a bunch of dependencies needed for make. I am trying to sort them out and reinstall the kernel.
You can try installing the
base-develpackage to bring in a lot of those dependencies most likely.
I'm also trying out a fresh install. Just so that I don't miss out on any steps.
Step 1: sudo frzr-unlock Step 2: sudo pacman -S DMKS Step 3: sudo pacman -S base-devel Step 4: sudo pacman -U --noconfirm linux-chimeraos-6.5.rc6.chos1-1-x86_64.pkg.tar.zst Step 5: sudo pacman -U --noconfirm linux-chimeraos-headers-6.5.rc6.chos1-1-x86_64.pkg.tar.zst
Thanks so much!
If you are using chimeraos be sure to update your kernel lines in /boot/loader/entries/frzr.conf
It'll be vmlinuz-linux-chimeraos and initramfs-linux-chimeraos.img
title chimeraos-44_98e8284
linux /vmlinuz-linux-chimeraos
initrd /amd-ucode.img
initrd /intel-ucode.img
initrd /initramfs-linux-chimeraos.img
I also remove the blacklist for xpad because it'll cause weird issues when switching out the kernel on chimeraos. This config is located at /etc/modprobe.d/xone-blacklist.conf
Apologies for not providing this information. I looked at your dmesg again..I must have been tired when I was looking at it last night, I thought I saw that you was using chimera packages on an Arch Linux install.
When I switched back to 6.4 from the 6.5 kernel I ran into the issue where I have no sound, no wifi, no ethernet, no nothing. I'll look into what's causing this. I had this issue when I went from 6.4 to 6.3.9 and back to 6.4 the other day as well.
Apologies for not providing this information. I looked at your dmesg again..I must have been tired when I was looking at it last night, I thought I saw that you was using chimera packages on an Arch Linux install.
No worries, thank you so much. I'll try the above lines and reinstall.
