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

make module error #11

Closed
doomdevelop opened this issue Dec 25, 2018 · 3 comments
Closed

make module error #11

doomdevelop opened this issue Dec 25, 2018 · 3 comments

Comments

@doomdevelop
Copy link

doomdevelop commented Dec 25, 2018

Hi ,
Thank you so much for the work on the "power status" issue for the surface devices.
My device is surface 2017.
I get your precompiled kernel and did make . Unfortunately get error..
I am "passive" linux user , maybe I just did stupid mistake , could you please look in to this error ?
Thank you!

yo@yo-Surface-Pro:~/git/linux-surfacegen5-acpi/module$ sudo make
make -C /lib/modules/"4.18.20-surface+"/build M= modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.20-surface+'
make[2]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/asm/syscalls_32.h'. Stop.
make[1]: *** [arch/x86/Makefile:255: archheaders] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.20-surface+'
make: *** [Makefile:23: all] Error 2

@doomdevelop doomdevelop changed the title insmod: ERROR: could not load module surfacegen5_acpi: No such file or directory make module error Dec 25, 2018
@doomdevelop
Copy link
Author

I could build without the modul without sudo .
But get the stuck during insmod>

yo@yo-Surface-Pro:~/git/linux-surfacegen5-acpi/module$ sudo insmod surfacegen5_acpi
[sudo] password for yo:
insmod: ERROR: could not load module surfacegen5_acpi: No such file or directory

@qzed
Copy link
Member

qzed commented Dec 25, 2018

Ahh I messed that up in the readme: You need to run sudo insmod surfacegen5_acpi.ko (with the .ko ending). Sorry for the inconvenience, I'll fix that immediately!

@doomdevelop
Copy link
Author

Great ! The Power State is working !
Thank you so much !

@qzed qzed closed this as completed Dec 26, 2018
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

2 participants