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 install failed #6

Closed
janbaer opened this issue Feb 2, 2019 · 3 comments
Closed

Make install failed #6

janbaer opened this issue Feb 2, 2019 · 3 comments

Comments

@janbaer
Copy link

janbaer commented Feb 2, 2019

After reinstalling my Matebook I also had to apply your patch again. But it failed with the following error

╰─➤ sudo make install
make -C /lib/modules/4.19.16-1-MANJARO/build/ M=/home/jan/Projects/github/Huawei-WMI modules_install
make[1]: Entering directory '/usr/lib/modules/4.19.16-1-MANJARO/build'
  INSTALL /home/jan/Projects/github/Huawei-WMI/huawei-wmi.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  4.19.16-1-MANJARO
make[1]: Leaving directory '/usr/lib/modules/4.19.16-1-MANJARO/build'
depmod -a

Do you have any idea what's missing and how I can solve the problem? I use Manjaro 18.1 with the 4.19.16.1 kernel. Thanks!

@aymanbagabas
Copy link
Owner

I don’t see any errors with the build process, it’s complaining about missing keys. Make sure you’ve disabled secured boot in your BIOS and have ca-certificates installed. Try lsmod | grep wmi and see if the module is loaded.
You could also try using PKGBUILD from here.

@janbaer
Copy link
Author

janbaer commented Feb 3, 2019

I had installed the ca-certificates. But probably the kernel requires to sign drivers before install.
As alternative I tried now to install it with using dkms and this was running without any problems and after a reboot all fn keys worked perfectly. Thanks!

So with the help of here I have now also sound from both speakers.

There's only one last thing, which we can't use on Linux. It's the finger print sensor for authentification and I'm very curious if this will also work some day.

@janbaer janbaer closed this as completed Feb 3, 2019
@aymanbagabas
Copy link
Owner

No problem! Since the PKGBUILD works for Arch based distros, maybe someone could maintain the package on AUR. This would be really helpful for other people. I'm really glad that a patch has been published for the sound issue, that's great news!

Regarding the fingerprint sensor, I've been fiddling around with it lately and trying to reverse engineer the driver on Windows but no luck yet. I was able to get some data back, however, nothing useful. I will continue working on it whenever I have time.

So, the Goodix FP 3288 (found on MBX) and 5187 (on MBXP) work along with a common SPI device "Synaptics Fingerprint Sensor SYNA8001". First, we gotta write a driver that exposes these devices to the system, then the reverse engineering part comes in to write the actual driver that interacts with user-space (mainly libfprint) which is the hard part.

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