-
Notifications
You must be signed in to change notification settings - Fork 28
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
Support for Asus UX490UAR #62
Comments
+1 on this |
My UX490UAR has been overheating on me when compiling, so I've been digging into this a bit.
I'm running Ubuntu 18.04. It looks like the tachometer is working. Just need to figure out how to disable auto mode... |
The speed setting is here: sudo ~/bin/do_acpi_call '_SB_.PCI0.LPCB.EC0_.TSTP' I figured this out one out by using https://github.com/hirschmann/nbfc/ with the UX430UA configuration. That configuration points to 0x97 as the EC0 register for the speed configuration, and it seems to work. The configuration also writes two other registers when writing the fan speed, which I suspect is how they disable auto mode. 0xA0 and 0xA6. my DSDT claims that 0xA6 is TH0R, while 0xA0 seems to be unnamed (unless I'm misinterpreting the Offset lines).
nbfc seems to be controlling the fan well enough for me, so I'm going to move on. Maybe somebody can figure out how to make this work better. FWIW, it looks to me like the DSDT on the UX490UAR is just incomplete. That said, I'd love to have this working in asus-fan, or asus-wmi. To use nbfc I need to disable the kernel lockdown, which is unfortunate -- I'd rather rely on a signed kernel module to do the work than allow random acpi/memory accesses. |
Yes, I know development is not happening currently, mainly still due to a non existing Zenbook on my side. Nevertheless the control concepts seem to be very similar with most if not all the recent Zenbooks. Means, you should clearly take a look at #44 which despite its huge history also brought up @HorstBaerbel, who is currently realizing some of the ideas how to have core parts of asus-fan more flexible in order to support a wider variety of ACPI incarnations. There is already something to test and what I've seen it's running, adapting this towards UX490UAR will be quite straight forward once there is some more progress on the transition. On top of that I've drawn the necessary conclusions and are overcoming my permanent time-shortage situation, which will until latest end of 19' also lead to my next Zenbook 😄 |
Hello,
I've compiled the module but it is not working:
may 03 21:52:45 kernel: asus-fan (debug) - starting initialization...
may 03 21:52:45 kernel: asus-fan (init) - dmi sys info: 'ASUSTeK COMPUTER INC.'
may 03 21:52:45 kernel: asus-fan (init) - dmi product: 'UX490UAR'
may 03 21:52:45 kernel: asus-fan (debug) - dmi chassis type: '10'
may 03 21:52:45 kernel: asus-fan (debug) - fan-id: 0 | get RPM
may 03 21:52:45 kernel: asus-fan (debug) - |--> get RPM using acpi
may 03 21:52:45 kernel: asus-fan (debug) - |--> evaluate acpi request: _SB.PCI0.LPCB.EC0.TACH
may 03 21:52:45 kernel: asus-fan (debug) - |--> acpi request returned: 0
may 03 21:52:45 kernel: asus-fan (init) - fan-id: 1 | success getting rpm
may 03 21:52:45 kernel: asus-fan (debug) - fan-id: 1 | get RPM
may 03 21:52:45 kernel: asus-fan (debug) - |--> get RPM using acpi
may 03 21:52:45 kernel: asus-fan (debug) - |--> evaluate acpi request: _SB.PCI0.LPCB.EC0.TACH
may 03 21:52:45 kernel: asus-fan (debug) - |--> acpi request returned: 0
may 03 21:52:45 kernel: asus-fan (init) - fan-id: 2 | failed to get rpm
may 03 21:52:45 kernel: asus-fan (init) - temp-id: 1 | success getting temp
may 03 21:52:45 kernel: asus-fan (debug) - fan-id: (both) | set max speed: 255, force reset: 0
may 03 21:52:45 kernel: asus-fan (debug) - fan_set_max_speed() call succeeded, ret: 0
may 03 21:52:45 kernel: asus-fan (debug) - fan-id: (both) | set to automatic mode
may 03 21:52:45 kernel: asus-fan (set_auto) - failed reseting fan(s) to auto-mode! errcode: 5 - DANGER! OVERHEAT? DANGER!
may 03 21:52:45 kernel: asus-fan (init) - set auto-mode speed to active, failed! errcode: 5
The module is not loaded properly. If you could point me in the right direction I could perform some tests and try to add support to this Asus Model.
If you need more information let me know.
Regards,
The text was updated successfully, but these errors were encountered: