Closed ghost closed 4 years ago
I saw there was a previous issue similar that was similar to mine, and it was solved by rebooting. However, I have also tried that but it doesnt seem to solve my problem
There is a bug with DKMS > 2.6 where it doesn't update modules that already exist in the kernel. Please try manual installation.
On Sun, Dec 29, 2019, 7:17 AM RuSern notifications@github.com wrote:
I saw there was a previous issue similar that was similar to mine, and it was solved by rebooting. However, I have also tried that but it doesnt seem to solve my problem
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aymanbagabas/Huawei-WMI/issues/32?email_source=notifications&email_token=AAYKJ3AJQTAIWSOFYTTXYMDQ3CIOBA5CNFSM4KAZITZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHY6DOA#issuecomment-569500088, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYKJ3HRIYQQDEIUUFHI4QTQ3CIOBANCNFSM4KAZITZA .
I tried to build it from source using your instructions: git clone https://github.com/aymanbagabas/Huawei-WMI cd Huawei-WMI make
sudo cp huawei-wmi.ko /lib/modules/$(uname -r)/updates/ sudo depmod
sudo make install
When I ran sudo make install, this is the error message that returned: make -C /lib/modules/5.3.0-24-generic/build/ M=/home/rusern/Huawei-WMI modules_install make[1]: Entering directory '/usr/src/linux-headers-5.3.0-24-generic' INSTALL /home/rusern/Huawei-WMI/huawei-wmi.ko At main.c:160:
That's a SSL error, shouldn't affect anything. Did you reboot?
On Sun, Dec 29, 2019, 7:47 AM RuSern notifications@github.com wrote:
I tried to build it from source using your instructions: git clone https://github.com/aymanbagabas/Huawei-WMI cd Huawei-WMI make To update use:
sudo cp huawei-wmi.ko /lib/modules/$(uname -r)/updates/ sudo depmod To install use:
sudo make install
When I ran sudo make install, this is the error message that returned: make -C /lib/modules/5.3.0-24-generic/build/ M=/home/rusern/Huawei-WMI modules_install make[1]: Entering directory '/usr/src/linux-headers-5.3.0-24-generic' INSTALL /home/rusern/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 5.3.0-24-generic Warning: modules_install: missing 'System.map' file. Skipping depmod. make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-24-generic' depmod -a
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aymanbagabas/Huawei-WMI/issues/32?email_source=notifications&email_token=AAYKJ3BSUSWJN5ICAC4K44TQ3CL7JA5CNFSM4KAZITZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHY6T4Y#issuecomment-569502195, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYKJ3CRO772OVLZNWTVEN3Q3CL7JANCNFSM4KAZITZA .
Oh sorry. I rebooted my device, but I still dont see the files in the stated location.
What's the output of lsmod | grep wmi
now that you've installed the driver manually and rebooted?
Hi, this is what I got:
lsmod | grep wmi
snd_rawmidi 36864 1 snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
mxm_wmi 16384 1 nouveau
snd 86016 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
intel_wmi_thunderbolt 20480 0
wmi_bmof 16384 0
wmi 32768 4 intel_wmi_thunderbolt,wmi_bmof,mxm_wmi,nouveau
Hi, this is what I got:
lsmod | grep wmi
snd_rawmidi 36864 1 snd_seq_midi snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi mxm_wmi 16384 1 nouveau snd 86016 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi intel_wmi_thunderbolt 20480 0 wmi_bmof 16384 0 wmi 32768 4 intel_wmi_thunderbolt,wmi_bmof,mxm_wmi,nouveau
The driver is clearly not loaded. Closing.
Describe the bug Hi, I have installed Ubuntu 18.04 on my Matebook 13. I followed your instructions and installed the v3.2 driver. However, after installation I cannot find the "sys/class/power_supply/BAT0/chargecontrol{start,end}_threshold or /sys/devices/platform/huawei-wmi/charge_control_thresholds" files for controlling the thresholds. I tried then to upgrade to Ubuntu 19.10 to use the v3.4 driver, but I still cant find the files. I performed the installation using dkms tarball. Could you help me out?
Desktop (please complete the following information):
lsmod | grep wmi
snd_rawmidi 36864 1 snd_seq_midi snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi mxm_wmi 16384 1 nouveau wmi_bmof 16384 0 intel_wmi_thunderbolt 20480 0Maybe I did not understand your installation instructions properly, could you help me out? Thanks.