electrified / asus-wmi-sensors

Linux HWMON (lmsensors) sensors driver for various ASUS Ryzen and Threadripper motherboards
GNU General Public License v2.0
249 stars 30 forks source link

cant compile #26

Closed vdub12 closed 4 years ago

vdub12 commented 5 years ago

getting the error "fatal error: linux/wmi.h: No such file or directory" when I try and compile.

Do you know if this will work on the TUF B450M-Plus?

electrified commented 4 years ago

Hi, what distribution are you using and what kernel version are you on?

Regarding the TUF B450M-Plus, I think it is unlikely that it has WMI support.

If you use HWiNFO in Windows does it say it's using ASUS WMI or the ITE chip directly?

vdub12 commented 4 years ago

It's openSuse Leap 15. Kernel is 4.12.14

On Mon, Jul 22, 2019, 2:44 AM Ed notifications@github.com wrote:

Hi, what distribution are you using and what kernel version are you on?

Regarding the TUF B450M-Plus, I think it is unlikely that it has WMI support.

If you use HWiNFO in Windows does it say it's using ASUS WMI or the ITE chip directly?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/electrified/asus-wmi-sensors/issues/26?email_source=notifications&email_token=AMVLRAEGDTQXOG4KECQYSILQAV6OVA5CNFSM4IFQFL22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2PMEIA#issuecomment-513720864, or mute the thread https://github.com/notifications/unsubscribe-auth/AMVLRAGOTCE5QBC7UVU5HNTQAV6OVANCNFSM4IFQFL2Q .

electrified commented 4 years ago

The WMI interface is not present in 4.12.14, it was introduced in 14.13, hence the error you are getting

https://elixir.bootlin.com/linux/v4.12.14/source/include/linux/wmi.h

vs

https://elixir.bootlin.com/linux/v4.13/source/include/linux/wmi.h

vdub12 commented 4 years ago

Awe, makes sense. Considering the TUF boards probably don't support WMI anyway I'll wait until I upgrade Leap and try again.

Next time I'm in Windows I'll check it out. It typically takes a few hours to reboot because of system lockups due to the it87 driver. I normally have to reboot about 15+ times because sensors crashes and the fans drop to their lowest speed and I get hard lockups.

Thanks.

On Mon, Jul 22, 2019, 8:39 AM Ed notifications@github.com wrote:

The WMI interface is not present in 4.12.14, it was introduced in 14.13, hence the error you are getting

https://elixir.bootlin.com/linux/v4.12.14/source/include/linux/wmi.h

vs

https://elixir.bootlin.com/linux/v4.13/source/include/linux/wmi.h

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/electrified/asus-wmi-sensors/issues/26?email_source=notifications&email_token=AMVLRAEGKBUWBQ2JFMCAG6LQAXIDDA5CNFSM4IFQFL22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2QKPCY#issuecomment-513845131, or mute the thread https://github.com/notifications/unsubscribe-auth/AMVLRADWTBKOMHQSY467BBTQAXIDDANCNFSM4IFQFL2Q .

electrified commented 4 years ago

OK. I will close this issue for now. If you do find the board uses WMI under Windows open a new ticket and I will add the board ID.