Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiling snd_hda_macbook_pro cs8409 help needed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fspnet
n00b
n00b


Joined: 07 Jul 2017
Posts: 14

PostPosted: Wed Jul 24, 2024 11:24 pm    Post subject: compiling snd_hda_macbook_pro cs8409 help needed Reply with quote

https://github.com/davidjo/snd_hda_macbookpro
this is the github page that hosts this altericified driver for the sound card im using
im back on gentoo and have my current kernel-config for iMac 2017 First Generation Non-Retina:

https://pastebin.com/AmHeFjBC <- just add scsi drivers and the first few sof-firmware and install-firmware #broadcom-fullmac firmware required and... usb-cdc ... and might want ia32

if someone can find why it builds no driver .... perhaps is the way ive tuned the kernel
and says compiler used to build the kernel is different than the one using to build the module, <-
i try using a compiled driver from otherworld and says version mismatch but the hardwares confirmed -working-

i build it like this where you click general ok and has the version<- tab 6.6.38-gentoo-x86_64 is what
you should enter in
Back to top
View user's profile Send private message
salahx
Guru
Guru


Joined: 12 Mar 2005
Posts: 556

PostPosted: Thu Jul 25, 2024 12:29 am    Post subject: Reply with quote

I believe that is already part of the kernel. https://www.kernelconfig.io/config_snd_hda_codec_cs8409 . If you are building a custom kernel, you just need to select it. Instead of compiling your own kernel, consider use a distribution one instead that already comes preconfigured for you: See https://wiki.gentoo.org/wiki/Kernel#Distribution_kernels.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22600

PostPosted: Thu Jul 25, 2024 12:42 am    Post subject: Reply with quote

fspnet, what exactly are you trying to do, and why do you think the system is not behaving as you desire? You reference something that "builds no driver", but show no output to confirm that no driver is built.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20476

PostPosted: Thu Jul 25, 2024 2:12 am    Post subject: Reply with quote

Moved from Gentoo Chat to Kernel & Hardware.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
fspnet
n00b
n00b


Joined: 07 Jul 2017
Posts: 14

PostPosted: Thu Jul 25, 2024 5:30 am    Post subject: Reply with quote

i apologize it just decided it wanted to work
but ill find out if it actually did within the next 24 hours as im building qtcreator atm

ls /lib/modules/*/updates
snd-hda-codec-cs8409.ko

i apologize it just decided it wanted to work

--2024-07-25 05:27:21-- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.38.tar.xz


Hunk #1 succeeded at 1445 (offset 175 lines).


INSTALL /lib/modules/6.6.38-gentoo-x86_64/updates/snd-hda-codec-cs8409.ko

i think that from what i gathered is... ..........nobody wins! in a dairy challenge!

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

ok so to clarify ive installed the module manually but i dont know
how to tell what directory it would normally
ask for me to copy the module into <-
lets say a developer makes a kernel-module
how does linux know where this module gets copied
into if its part of the kernel-tree<-
also* <- the drivers not working
lsmod
Module Size Used by
snd_hda_codec_cs8409 176128 0

and only has internal mic and blank spdif <- this would
say that the backboard of supporting drivers it patches might not be loaded
and is the script used to configure it is highly untailored for gentoo

https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-kernel/rt-sources/rt-sources-6.5.2_p8.ebuild
ive maybe caught a kernel in time that i can try to use
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum