DMESG reports clevo_xsm_wmi: hwmon_device_register() is deprecated.
Issue #19
new
Running DMESG reports the following bug:
[ 476.234714] clevo_xsm_wmi clevo_xsm_wmi: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
Here Im too with this clevo model P775DM3(-G):
$ dmesg | grep clevo [ 3.184798] clevo_xsm_wmi: loading out-of-tree module taints kernel. [ 3.188027] input: Clevo Airplane-Mode Hotkey as /devices/platform/clevo_xsm_wmi/input/input7 [ 3.188053] clevo_xsm_wmi: Polling thread started (PID: 238), polling at 5 Hz [ 3.189100] clevo_xsm_wmi clevo_xsm_wmi: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
Any solution or suggestion?
The module seems be loaded fine:
$ modinfo clevo-xsm-wmi filename: /lib/modules/4.13.8-1-ARCH/extra/clevo-xsm-wmi.ko.gz version: 0.1.1 license: GPL description: Clevo SM series laptop driver. author: TUXEDO Computer GmbH tux@tuxedocomputers.com srcversion: DE5D287CE6647014F2F601C alias: dmi:svnECT:rnP750ZM: alias: dmi:pnP5Pro: alias: dmi:pnP5ProSE: alias: dmi:pnDeimos/Phobos1x15S: alias: dmi:pnN85_N87,HJ,HJ1,HK1: alias: dmi:pnN85_N87: alias: dmi:pnP775DM3(-G): alias: dmi:pnN85_N87: alias: dmi:pnP95_HP,HR,HQ: alias: dmi:pnP7xxDM2(-G): alias: dmi:pnP15xEMx: alias: dmi:pnP65xRP: alias: dmi:pnP65_67RSRP: alias: dmi:pnP150EM: alias: dmi:pnP15SM: alias: dmi:pnP17SM: alias: dmi:pnP15SM-A: alias: dmi:pnP15SM1-A: alias: dmi:pnP17SM-A: alias: dmi:pnP370SM-A: alias: dmi:pnP750ZM: alias: dmi:pnP7xxDM(-G): alias: dmi:pnP870DM*: depends: rfkill,led-class,wmi name: clevo_xsm_wmi vermagic: 4.13.8-1-ARCH SMP preempt mod_unload modversions parm: kb_color:Set the color(s) of the keyboard (sections) (array of kb_color) parm: kb_brightness:Set the brightness of the keyboard backlight (kb_brightness) parm: kb_off:Switch keyboard backlight off (bool) parm: kb_cycle_colors:Cycle colors rather than modes (bool) parm: poll_freq:Set polling frequency (poll_freq) parm: led_invert:Invert airplane mode LED state. (bool) parm: rfkill:Enable WWAN-RFKILL capability. (bool)
And this command didnt work: sudo tee /etc/modprobe.d/clevo-xsm-wmi.conf <<< options clevo-xsm-wmi kb_color=white,white,white kb_brightness=1 The keyb dont change color.
The gui "sudo clevo-xsm-wmi" also didnt apply any change.