zeule / asus-ec-sensors

Linux HWMON sensors driver for ASUS motherboards to get sensor readings from the embedded controller
GNU General Public License v2.0
45 stars 21 forks source link

Can't install on Ubuntu 22.04 #47

Open sloke123 opened 10 months ago

sloke123 commented 10 months ago

Hi, I'm using Asus Maximus IX Hero, z270 Chipset. I can't install the drivers. I followed the instructions but I'm getting this...

ronnie@optimus:~/Asus/asus-ec-sensors-master$ sudo make
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  You are using:           gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
ronnie@optimus:~/Asus/asus-ec-sensors-master$ sudo make modulesinstall
make: *** No rule to make target 'modulesinstall'.  Stop.
ronnie@optimus:~/Asus/asus-ec-sensors-master$ sudo make modules_install
  INSTALL /lib/modules/6.2.0-36-generic/extra/drivers/hwmon/asus-ec-sensors.ko
  SIGN    /lib/modules/6.2.0-36-generic/extra/drivers/hwmon/asus-ec-sensors.ko
  DEPMOD  /lib/modules/6.2.0-36-generic
Warning: modules_install: missing 'System.map' file. Skipping depmod.
zeule commented 10 months ago

Well, the modules_install target comes from the installed kernel build system, not from this repo. Please try running "depmod -A" manually after "make modules_install".