Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Need some help to add a kernel module
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 683
Location: Close to Annecy (France)

PostPosted: Sun Dec 21, 2014 5:52 pm    Post subject: [Solved]Need some help to add a kernel module Reply with quote

Hello,

One of my BananaPI is currently running the official 3.4.103 LeMaker's kernel.
I'm looking for a way to monitor the CPU temperature and found this code which is not committed yet in the kernel line.

I did some modification in linux-sunxi/drivers/hwmon/Kconfig & linux-sunxi/drivers/hwmon/Makefile and got it compiled without even a warning.

I did a copy of the newly compiled kernel on my bPI and a20-tp.ko into its /lib/modules/3.4.103/kernel/drivers/hwmon/ but, unfortunately, the kernel won't load it.
Code:
torchwood ~ # modprobe a20-tp
modprobe: FATAL: Module a20-tp not found.


As it's the 1st time I'm doing this exercise, I probably missed something ... but what ?

Thanks for your help.

Laurent


Last edited by destroyedlolo on Sun Dec 21, 2014 6:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6957
Location: Saint Amant, Acadiana

PostPosted: Sun Dec 21, 2014 6:03 pm    Post subject: Reply with quote

Did you run depmod
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 683
Location: Close to Annecy (France)

PostPosted: Sun Dec 21, 2014 6:23 pm    Post subject: Reply with quote

You got it : thanks a lot :D
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6957
Location: Saint Amant, Acadiana

PostPosted: Sun Dec 21, 2014 7:21 pm    Post subject: Reply with quote

De rien!
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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