Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable on Manjaro/Arch #32

Closed
bushblade opened this issue Jun 24, 2020 · 9 comments
Closed

How to enable on Manjaro/Arch #32

bushblade opened this issue Jun 24, 2020 · 9 comments

Comments

@bushblade
Copy link

Hi, I've installed this via the AUR on Manjaro, but running
sudo modprobe zenpower as per the README
I get
modprobe: FATAL: Module zenpower not found in directory /lib/modules/5.6.16-1-MANJARO

@Benzhaomin
Copy link

Hi, which package did you install from the AUR?

https://aur.archlinux.org/packages/?O=0&K=zenpower

If you're using a dkms package you don't need to modprobe the module.

@bushblade
Copy link
Author

bushblade commented Jun 25, 2020

Hi thanks for the reply.
I used zenpower-dkms from the AUR.
So how do I use/enable it then?

@Benzhaomin
Copy link

I suppose you had just upgraded your kernel and zenpower was built for another version. Simply rebooting or reinstalling after having rebooted should be enough.

@bushblade
Copy link
Author

bushblade commented Jun 26, 2020

rebooting was the first thing i tried
I'm using 5.6.16-1-MANJARO

@TheSecureTux
Copy link

what does this get you:

 ╱  ~   at 23:39:55  ─╮
❯ dkms status ─╯
acpi_call, 1.1.0, 5.6.0-1-amd-staging-drm-next-git-01003-gcd5dd023c24f, x86_64: installed
acpi_call, 1.1.0, 5.7.6-arch1-1, x86_64: installed (WARNING! Missing some built modules!)
exfat, 206.297a573, 5.6.0-1-amd-staging-drm-next-git-01003-gcd5dd023c24f, x86_64: installed
r8168, 8.048.03, 5.6.0-1-amd-staging-drm-next-git-01003-gcd5dd023c24f, x86_64: installed
r8168, 8.048.03, 5.7.6-arch1-1, x86_64: installed (WARNING! Missing some built modules!)
r8169_aspm, v4.15.3: added
vboxhost, 6.1.10_OSE, 5.6.0-1-amd-staging-drm-next-git-01003-gcd5dd023c24f, x86_64: installed
vboxhost, 6.1.10_OSE, 5.7.6-arch1-1, x86_64: installed (WARNING! Missing some built modules!) (WARNING! Missing some built modules!) (WARNING! Missing some built modules!)
zenpower, 0.1.12, 5.6.0-1-amd-staging-drm-next-git-01003-gcd5dd023c24f, x86_64: installed <- good
zenpower, 0.1.12, 5.7.6-arch1-1, x86_64: installed (WARNING! Missing some built modules!) < - wont work without rebuild

You sure you have the headers for your current version of kernel? In theory dkms handles most of the hassle for you, but with no headers, no module.

Once you install them, run

dkms autoinstall

and should be ok

@xythrez
Copy link

xythrez commented Jun 28, 2020

@bushblade AUR package maintainer here, do you have the corresponding linux-headers (or linux56-headers for Manjaro) installed? It's technically a dependency but I can't put it in due to DKMS package guidelines. Let me know if installing it fixes your problem.

@bushblade
Copy link
Author

Hi @xythrez thanks for taking the time to answer.
Yeah pretty sure I do...?
Screenshot_2020-06-28_19-23-38
@jmg87 I don't get any output from dkms status

@xythrez
Copy link

xythrez commented Jun 28, 2020

@bushblade I believe that the linux56-rt-headers is for the linux-rt kernel, there should be a separate headers package called "linux56-headers" for the kernel you are using. The easiest way to confirm would be installing any kernel related packages via pacman. If pacman -Syu linux56-headers shows Installing DKMS Modules with no errors, then the zenpower should at least be installed. Otherwise, the module may have failed to compile, which would explain why it is missing.

@bushblade
Copy link
Author

Ah that did indeed install the module.
And all is working now, I can read my CPU temps just fine.
Thanks so much for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants