You are not logged in.
Pages: 1
I am attempting to get the top speakers working on my Dell Inspiron 16 Plus 7630.
I cloned torvalds/linux in order to make modifications to `sound/pci/hda/patch_realtek.c` as instructed here: relevant issue
however the source directory that i get on running
pkgctl repo clone --protocol=https linux
makepkg --nobuilddoes not contain the file that i wish to patch viz. `sound/pci/hda/patch_realtek.c`
please advise on how i ought to proceed with building a custom kernel to get my speaker running.
sites referred:
- https://wiki.archlinux.org/title/Kernel … ild_system
- https://wiki.archlinux.org/title/Patching_packages
Last edited by NGStaph (2024-02-15 16:14:41)
Offline
It will have that file though the inital dir structure might be a bit different, jsut from package logistics should be src/linux-6.7.4/sound/pci/hda/patch_realtek.c or so no?
Last edited by V1del (2024-02-15 13:22:57)
Offline
my bad i was checking `sound/hda` instead of `sound/pci/hda`. I'll mark this issue as solved as soon as i get the patch working.
Offline
Alright that worked. top speakers now work! thanks for your help!
quick question: why does adding MAKEFLAGS = '-j$(nproc)' to the terminal emulator work? but adding them to /etc/environment crashes my laptop on running `makepkg -s`?
could you help me submit a patch for this?
Offline
/etc/environment is not interpreted by a shell and $(nproc) is a shell construct (you create a subshell which in turn runs a command and prints the output of the command at the location), within /etc/environment makeflags will get set to the literal string you set. You might want to export something like that in /etc/profile if you want that globally which is going to be sourced by a shell.
You'd generally configure makeflags for makepkg in /etc/makepkg.conf instead of the global environment though: https://wiki.archlinux.org/title/Makepk … uild_times
As for submitting the patch, you'd have to send one to the linux kernel mailing lists, the general process is described here: https://www.kernel.org/doc/html/v6.7/pr … tches.html , recipient wise you should send it to tiwai@suse.de
Offline
Pages: 1